Update fee preference

Update fee preference on Clanker

Base
Base

Acts onchain

Chooses which token one reward slot of a Clanker token takes its fees in. The slot's reward admin calls updateFeePreference on the locker holding the token: Both keeps each fee in the token it was paid in, Paired converts the slot's share into the paired token, and Clanker converts it into the Clanker token, every time the locker collects. A slot the wallet administers is set by the wallet sending the call itself, and one the Plug account administers in its plug. Reach for it to take a token's creator fees entirely in WETH before claiming them into the next step.

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