Loyalty Volatility Dynamic Fee Hook
BaseRegisteredDynamic LP fee hook that adjusts the swap fee based on recent tick volatility (using configurable gamma and tick-delta threshold) and grants a discount to swappers holding a configured ERC-20 or ERC-721 loyalty token above a threshold. A fixed 0.01% developer fee is extracted from the unspecified currency on every swap via afterSwapReturnsDelta. Fee bounds and loyalty parameters are configurable per pool by the pool owner.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
1
Last new pool
5mo
Code size
9,988 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.
Runs at pool creation
It runs when a pool is created, often to lock in that pool’s settings.
Pools using this hook
1 totalPairCreatedFeePool ID