The Cabal Docs
  • The Cabal - Token Launch Platform
  • โš™๏ธ How It Works
  • ๐ŸŽ Claiming Creator Rewards
  • ๐Ÿ’ฐ Protocol Fees
  • ๐Ÿงฑ Cabal Protocol: Contract Overview
    • ๐Ÿ’  CabalToken
    • ๐Ÿญ CabalFactory
    • ๐Ÿ› ๏ธ CabalV3Helpers
    • ๐Ÿ” CabalLiquidityLocker
    • โš™๏ธ CabalV4Helpers
    • ๐Ÿ” CabalV4LiquidityLocker
    • ๐Ÿงช V4LiquidityHelpers
    • ๐Ÿ“ Latest Deployment Addresses (Base Mainnet)
  • ๐Ÿค Stay Connected
Powered by GitBook
On this page
  • โš™๏ธ Responsibilities
  • ๐Ÿ’ธ Fee Collection
  • ๐Ÿ›ก๏ธ Security
  • ๐Ÿ“Œ Notes
Export as PDF
  1. ๐Ÿงฑ Cabal Protocol: Contract Overview

๐Ÿ” CabalLiquidityLocker

The CabalLiquidityLocker is responsible for securely locking Uniswap V3 LP positions and enabling automated fee distribution.

This contract ensures all liquidity added through The Cabal's V3 deployments is time-locked for a minimum of 5 years, significantly reducing rug risk and enforcing long-term commitment.


โš™๏ธ Responsibilities

  • Locks Uniswap V3 position NFTs on launch

  • Prevents early liquidity withdrawal via strict unlock time enforcement

  • Collects and distributes protocol + user fees

  • Tracks multiple locked positions per user

  • Provides emergency recovery tools for ETH and tokens


๐Ÿ’ธ Fee Collection

  • Fees accrue on the locked Uniswap V3 LP position

  • Anyone (owner or platform) can call collectFees(tokenId)

  • Fees are automatically split between:

    • The position owner

    • The protocol fee collector

  • Defaults to a 50/50 split (500 basis points)

  • Supports batch claiming via collectAllUserFees()


๐Ÿ›ก๏ธ Security

  • Only the authorized helper contract (e.g. CabalV3Helpers) can initialize positions

  • Only the contract owner can unlock a position

  • Position NFTs are validated to be owned by the locker before any action


๐Ÿ“Œ Notes

  • Default lock period: 1825 days (5 years)

  • Fees are claimable anytime without affecting the lock

  • All events are emitted for indexing: PositionLocked, FeesCollected, PositionUnlocked

Previous๐Ÿ› ๏ธ CabalV3HelpersNextโš™๏ธ CabalV4Helpers

Last updated 8 days ago