Clanker Dynamic Fee Hook (V2)
RobinhoodRegisteredA dynamic fee hook for Clanker pools that adjusts LP fees based on realized volatility. It simulates each swap to estimate the post-swap tick, computes a volatility accumulator from tick displacement relative to a reference tick, and calls updateDynamicLPFee with a fee that scales quadratically with volatility, bounded by configurable base and max fee parameters.
ALooks safeRegistered, verified, immutable
Pools
7
Dynamic-fee pools
7
Last new pool
2mo
Code size
20,230 B
What it can do
Runs code on every swap
Its code executes inside each trade in pools that use it.
Can take tokens from swaps
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
Sets its own swap fee
Pools using it let the hook choose the swap fee instead of a fixed tier.
Gates who can add liquidity
It checks every deposit before it goes in.
Runs at pool creation
It runs when a pool is created, often to lock in that pool’s settings.
Pools using this hook
7 totalPairCreatedFeePool ID