Unisocks Launch Guard Hook
EthereumRegisteredValidates that swaps occur in the designated ETH/token pool. On buy swaps, records transient credit for the external market contract to consume via `consumeBuyCredit()`. On sell swaps, calls `collectFromHook()` on the locker contract to trigger fee collection. Swaps require no custom hookData from public routers.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
2mo
Code size
3,794 B
What it can do
Runs code on every swap
Its code executes inside each trade in pools that use it.
Can block LP withdrawals
It runs before liquidity is removed, so it can delay or refuse LP exits.
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.