๐ 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
Last updated