PoolMetrics
EthereumRegisteredOracle-guarded hook that blocks token0-to-token1 swaps when a configured oracle reports a price below a minimum threshold. In afterSwap, if amount0 > 0 and the oracle check fails, the hook returns an invalid selector to force a revert; otherwise returns a zero delta and valid selector.
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