NFTStrategyHook
BaseRegisteredManages NFT-backed strategy pools with gated initialization and liquidity (only callable via a factory), and applies time-decaying buy fees that start at 99% and decrease every 5 blocks. Fees are taken from swaps via afterSwapReturnsDelta and distributed to a vault, collection owner, and protocol address; if the fee is in a non-ETH token, it is first swapped back to ETH internally.
ALooks safeRegistered, verified, immutable
Pools
3
Dynamic-fee pools
0
Last new pool
11mo
Code size
14,690 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.
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.