OneTimeLaunchHookTemplate
EthereumRegisteredA launch hook that restricts pool initialization and initial liquidity addition to once per token. In afterSwap, it tracks buy-direction swap recipients and can revert sell-direction swaps for addresses not on a deployer-managed allowlist. Makes non-standard calls (msgSender, msgTarget, msgData) on the token contract that will revert on standard ERC-20 tokens.
ALooks safeRegistered, verified, immutable
Pools
8
Dynamic-fee pools
0
Last new pool
6mo
Code size
4,717 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
8 totalPairCreatedFeePool ID