ClankerHookStaticFee
Documentation for Clanker's Static Fee Hook
The ClankerHookStaticFee hook inherits from the ClankerHook and is used to set a static fee for both the deployed token and the paired token. The fees are able to be different from each other and have a max of 30%.
The expected PoolConfig.poolData
is in the form of:
struct PoolStaticConfigVars {
// the fee taken on the deployed token when it's the input token
uint24 clankerFee;
// the fee taken on the paired token when it's the input token
uint24 pairedFee; // the fee taken on the paired token when it's the input token
}
These fees are not changeable post deployment.
Last updated