LP Locker Contract
The LP Locker holds LP positions permanently and forwards collected fees.
Addresses
| Network | Address |
|---|---|
| Base | 0x5821e651D6fBF096dB3cBD9a21FaE4F5A1E2620A |
| Ethereum | 0x05492c0091e49374e71c93e74739d3f650b59077 |
Purpose
The LP Locker serves two critical functions:
- •Rug Pull Prevention: Locks initial liquidity permanently
- •Fee Collection: Collects LP fees and forwards to FeeDistributor
How It Works
Locking Liquidity
When a token is deployed:
- •Factory creates LP position
- •LP NFT is transferred to LP Locker
- •Position is locked permanently
Collecting Fees
Anyone can trigger fee collection:
solidity
function collectFees(uint256 positionId) external {
// Collects accumulated LP fees
// Forwards to FeeDistributor
}Automated Collection
Fees are collected automatically when:
- •New swaps occur
- •Manual collection is triggered
- •Claim is initiated
Security
- •LP positions cannot be withdrawn
- •Only fee collection is allowed
- •No admin functions to modify lock