Uniswap v4 hook for NFTX collection pools, pairing NFT collection tokens against a native token. Implements dynamic LP fees with per-address flat-fee exemptions, an optional AMM fee taken from the unspecified swap leg, pending-donation queuing for LP fee distribution, and a truncated-tick oracle; pool creation and lifecycle are restricted to the NFTX Locker contract.
4Pools
32Swaps, 7 days
$0Volume, 7 days
70 days agoFirst pool
What it can do to your swap
Can block swapsSwaps are gated (governance): 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.
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 after liquidity is removedCalled after each withdrawal.
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, afterRemoveLiquidity, beforeSwap, afterSwap, afterSwapReturnsDelta. Flags glossary.
Last test swap
A quote for a tiny exact-in swap each way through flETH / CASHCATX 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 2 days ago, every hour.