LuckyPoolHook
BaseRegisteredImplements dynamic LP fees for a specific protocol token (LUCKY) pool, applying buy fees, sell fees, and time-windowed penalty fees for traders who sell more than a threshold within a rolling window. Fee context is passed from beforeSwap to afterSwap, where a protocol revenue contract accrues a share.
?CheckingBytecode not analysed yet
Pools
2
Dynamic-fee pools
2
Last new pool
3mo
Code size
—
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