DynamicFeeHook
EthereumRegisteredA hook that overrides the pool's LP fee on every swap with a fixed fee (set as a whole percentage at deployment), and restricts liquidity additions to only the original pool creator identified by tx.origin at initialization time.
ALooks safeRegistered, verified, immutable
Pools
2
Dynamic-fee pools
2
Last new pool
8mo
Code size
6,614 B
What it can do
Runs code on every swap
Its code executes inside each trade in pools that use it.
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
2 totalPairCreatedFeePool ID