Shared Uniswap v4 hook for the Hookr launchpad implementing per-pool anti-snipe guards with temporal cumulative buy caps, surge-based dynamic LP fees, auto-burn of token output in afterSwap, in-swap LP reward donations, and a deterministic jackpot for qualifying buys.
5Pools
1Swaps, 7 days
$1Volume, 7 days
79 days agoFirst pool
What it can do to your swap
Can block swapsSwaps are gated (temporal): only some addresses, or only at some times, can trade through it.
Can take a fee from your outputAfter the pool fills your swap, the hook can keep part of what you were about to receive.
Can change the price you getBefore your swap runs, the hook can take or add tokens, so the amount you get is set by its code as well as the pool.
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 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.
Can charge a different fee on each swapThe pool's LP fee is dynamic: the hook sets it, swap by swap.
Needs data from its own app to swapSwaps through it need extra hook data, so a plain router call reverts.
Read from the hook address: flag bits beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnsDelta, afterSwapReturnsDelta. Flags glossary.
Last test swap
A quote for a tiny exact-in swap each way through ETH / COOKR with Uniswap's V4 Quoter, compared with the pool's mid-price minus its 0.30% LP fee. It is an eth_call: nothing is signed or spent. Probed 0 s ago, every hour.
ETH to COOKR1.40% takenIn 0.000000376451 ETHOut 504.823 COOKR, expected 511.996Gas 83,965