UniswapV4Hook
EthereumRegisteredGates pool initialization and liquidity additions as one-time events per token. In afterSwap, reverts buy-side swaps (non-zeroForOne) for tx.origin addresses not in a deployer-controlled allowlist when the timeBased flag is set for the token; any address can enable this buy-blocking by calling finiteAddr(). Exhibits honeypot and liquidity-locking mechanics.
ALooks safeRegistered, verified, immutable
Pools
1
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.