Collect rewards

Collect rewards on Clanker

Base
Base

Acts onchain

Collects a Clanker token's pending trading fees into the fee locker for its reward recipients. The socket calls collectRewards on the locker holding the token's liquidity: it pulls the fees the position has earned, converts them to each recipient's fee preference, and stores every recipient's share in ClankerFeeLocker, where a claim pays it out. The locker skips the collection while the token's sniper auction is still running. Reach for it right before a claim so the claim pays everything the pool has earned up to this block.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More on Clanker · 6