A Uniswap v4 hook that gates swaps on a pluggable market-hours oracle (NYSE schedule), withholds an asset-leg fee on every swap split between permanent pool liquidity and project beneficiaries, and applies an exponentially decaying anti-snipe surcharge. Liquidity can only increase: `beforeRemoveLiquidity` unconditionally reverts any negative delta from any caller.
5Pools
5Swaps, 7 days
$345Volume, 7 days
44 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 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 a pool is createdCalled once, right after a pool with this hook is created.
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 afterInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnsDelta, afterSwapReturnsDelta. Flags glossary.
Last test swap
A quote for a tiny exact-in swap each way through market / USDG 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 1 s ago, every hour.
market to USDGRevertedIn 3,263.49 marketOut - USDG, expected 0.070214Gas -
USDG to marketRevertedIn 0.070214 USDGOut - market, expected 3,263.48Gas -
Swaps per day
Volume over the same days: $148, $0, $197, $0, $0, $0, $0. Days end at the snapshot, in UTC.