Gates pool initialization and pre-graduation liquidity additions to an authorized sale contract; enforces price-floor constraints in afterSwap (reverts if price falls below start FDV or if a target-price crossing is reversed); maintains a 64-slot TWAP oracle with a 30-minute window updated on each swap.
ALooks safeRegistered, verified, immutable
Pools
2
Dynamic-fee pools
0
Last new pool
3mo
Code size
12,749 B
What it can do
Runs code on every swap
Its code executes inside each trade in pools that use it.
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