TestHook
EthereumRegisteredA fee-collecting hook for a native ETH / token pair that takes a 1% (100 BPS) fee from the token side of each swap, forwarding collected fees to the paired token contract's `distribute()` function. Restricted to a single canonical pool; only the owner can initialize it.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
1
Last new pool
5mo
Code size
3,498 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.
Sets its own swap fee
Pools using it let the hook choose the swap fee instead of a fixed tier.
Runs at pool creation
It runs when a pool is created, often to lock in that pool’s settings.
Pools using this hook
1 totalPairCreatedFeePool ID