An upgradeable ERC1967 proxy hook with beforeSwap, afterSwap (returning a delta), beforeInitialize, beforeAddLiquidity, and beforeRemoveLiquidity permissions. The implementation contract was not resolved, so full logic cannot be verified.
5Pools
5Swaps, 7 days
$16Volume, 7 days
95 days agoFirst pool
What it can do to your swap
Its code can be replacedThe hook is a proxy (EIP-1967). Whoever controls it can swap in new code, so what it does today is not a promise for tomorrow.
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 when a pool is createdCalled once, when someone creates a pool with this hook.
Read from the hook address: flag bits beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, afterSwapReturnsDelta. Flags glossary.
Last test swap
A quote for a tiny exact-in swap each way through ETH / INK with Uniswap's V4 Quoter, compared with the pool's mid-price minus its 0.10% LP fee. It is an eth_call: nothing is signed or spent. Probed 0 s ago, every hour.
ETH to INK2.00% takenIn 0.0000148883 ETHOut 6,972.92 INK, expected 7,115.3Gas 121,054