1Pools
0Swaps, 7 days
$0Volume, 7 days
115 days agoFirst pool
What it can do to your swap
Can take a fee from your outputAfter the pool fills your swap, the hook can keep part of what you were about to receive.
Runs code before your swap and can block itThe hook is called before every swap. It can revert, which makes your swap fail.
Runs code after your swap and can block itThe hook is called after every swap. It can revert, which undoes your swap.
Can block LPs from withdrawingCalled before each withdrawal. It can revert, which stops liquidity providers from leaving.
Can block people from adding liquidityCalled before each deposit into the pool.
Runs code after liquidity is addedCalled after each deposit into the pool.
Runs code when a pool is createdCalled once, when someone creates a pool with this hook.
Can charge a different fee on each swapThe pool's LP fee is dynamic: the hook sets it, swap by swap.
Read from the hook address: flag bits beforeInitialize, beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, afterSwapReturnsDelta. Flags glossary.
Last test swap
A quote for a tiny exact-in swap each way through WETH / ? with Uniswap's V4 Quoter, compared with the pool's mid-price minus its 0.00% LP fee. It is an eth_call: nothing is signed or spent. Probed 0 s ago, every hour.
WETH to ?0.00% takenIn 0.0000570746 WETHOut 2,863.79 ?, expected 2,863.81Gas 41,479
? to WETH2.00% takenIn 2,863.81 ?Out 0.0000559325 WETH, expected 0.0000570746Gas 73,311
Pools
| Pair | Fee | Swaps 7d | Volume 7d | Created | |
|---|
WETH / ?
0xd3a981…6ab8c0 | Dynamic | 0 | $0 | 109 days ago | Swap |