LpLockerv2
The LpLockerv2 contract manages trading fees from the Clanker contract, with a 20/80 split between Clanker and token's interface / creator. Only the Clanker contract can deposit new liquidity position NFTs. The tokenId
parameter is the token's associated liquidity position NFT ID (emitted and returned from deployToken()
).
User Functions
updateCreatorRewardAdmin()
: Allows creator NFT admin to change the admin for their token
A similar function exists for the interface's reward recipient, updateInterfaceRewardAdmin()
.
updateCreatorRewardRecipient()
: Allows creator NFT admin to update the reward recipient for their token
A similar function exists for the interface's reward recipient, updateInterfaceRewardRecipient()
.
claimRewards()
: Allows any address to claim accumulated trading fees
Claimed rewards are distributed with 20% going to Clanker and 80% split between the creator and the interface. If the reward recipient is set to the zero address for non-Clanker rewards, the Clanker receives all fees.
Last updated