UniswapV4Hook
EthereumRegisteredOne-time pool initialization and liquidity gate hook that selectively blocks sell-direction swaps (token1→token0) for addresses not in an owner-managed allowlist when a per-token flag is set, while buy-direction swaps always succeed. Anyone can call tokenSet() to activate the sell restriction at any time. Only the deployer's tx.origin is initially allowlisted.
ALooks safeRegistered, verified, immutable
Pools
3
Dynamic-fee pools
0
Last new pool
5mo
Code size
3,971 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
3 totalPairCreatedFeePool ID