PoolMetrics
EthereumRegisteredAn afterSwap hook that enforces a minimum oracle price for swaps yielding token0. When a swap produces a positive token0 amount, it queries a constructor-supplied oracle; if the call fails or the returned price falls below a minimum threshold, the hook returns an invalid selector, reverting the swap. The afterSwapReturnsDelta flag is set but the returned delta is always zero.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
2mo
Code size
289 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.
Pools using this hook
1 totalPairCreatedFeePool ID