UniHooks

Explore hooks

Every hook that has been attached to at least one Uniswap v4 pool.

AgeHookChainPermissionsPools
21mo CounterA minimal hook that counts beforeSwap, afterSwap, beforeAddLiquidity, and beforeRemoveLiquidity calls per pool. Does not modify swap behavior or fees. Base beforeAddLiqbeforeRemoveLiqbeforeSwapafterSwap 5 21mo Bonsai DefaultHookA Uniswap v4 hook for the Bonsai trading app that overrides the LP swap fee dynamically based on the caller's Bonsai NFT balance: NFT holders pay 0% while non-holders pay 1.5%. Base beforeSwap 5 11mo NFTStrategyHookCharges a 15% flat fee on all swaps via afterSwap delta, distributing 14% to a vault FeeContract and 1% split between two founder wallets. Pool initialization and liquidity addition are gated to authorized factory operations, and fees collected in non-ETH tokens are swapped back to ETH before distribution. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 4 12mo SuperStratSkims 2.30% from each swap (2.00% to hook reserves, 0.30% to a protocol fee manager) using BeforeSwapDelta, accumulates fees per pool, and reinvests them into Uniswap v4 LP positions via the PositionManager. Supports multi-pool liquidity management for both ETH and ERC20 pools with owner-controlled pause functionality. Base beforeInitafterInitbeforeSwapafterSwap+1 4 12mo TokenMesaHookA Uniswap v4 hook that collects a configurable USDC fee (up to 1%) on swaps and liquidity operations via afterSwap/afterLiquidity delta returns, and maintains a per-pool TWAP oracle using a circular buffer of tick observations recorded before each swap. Base afterAddLiqafterRemoveLiqbeforeSwapafterSwap+3 4 15mo BoardHookA Uniswap v4 hook that powers a token launch platform ("publiphi"), implementing a fair launch mechanism with optional Merkle-based whitelisting, temporal release scheduling (tokens cannot be swapped before a configurable timestamp), and custom fee distribution that splits swap fees among protocol, token creator, and "inspired" recipients. Base beforeInitbeforeAddLiqafterAddLiqbeforeRemoveLiq+6 4 16mo BoardHookA Uniswap v4 hook for token launch management ("publiphi") featuring a time-gated fair launch mechanism with optional Merkle-proof whitelist, custom fee capture distributed to creators, referrers, and protocol, and BeforeSwapDelta fills from a managed one-sided fair launch liquidity position. Base beforeInitbeforeAddLiqafterAddLiqbeforeRemoveLiq+6 4 16mo DynamicFeeHookA Uniswap v4 hook that adjusts LP fees dynamically based on swap volume tiers (0.05%–3%), with circuit breakers that limit fee increases per block, a minimum-blocks-at-elevated-fee MEV protection window, price-deviation-based manipulation detection, and an owner-controlled emergency mode. Base beforeInitafterInitbeforeSwapafterSwap 4 17mo 0x083b…10c0Runs code on every swap · Runs at pool creation Base afterInitbeforeSwapafterSwap 4 17mo 0xe06d…10c0Runs code on every swap · Runs at pool creation Base afterInitbeforeSwapafterSwap 4 18mo TokenFabA token factory hook that deploys new ERC20 tokens on bonding curve Uniswap v4 pools. Blocks external pool initialization and liquidity additions; collects a fixed 1% swap fee split equally between a creator and platform fee receiver via afterSwapReturnsDelta; migrates all liquidity to a full-range AMM pool once the bonding curve supply is fully absorbed. Base beforeInitbeforeAddLiqafterSwapafterSwapDelta 4 18mo MMOracle-based automated market maker hook that rebalances pool liquidity before each swap: removes all current liquidity, executes an internal price-adjustment swap to align the pool price with an external oracle, and re-adds liquidity centered around the oracle price. After each swap, it adjusts hedging positions via an external hedge pool to manage net token exposure. Base beforeInitbeforeSwapafterSwap 4 18mo 0x4772…00ccRuns code on every swap · Can take tokens from swaps · Sets its own swap fee Base beforeSwapafterSwapswapDeltaafterSwapDelta 4 19mo 0x1f5c…8888Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity Base beforeAddLiqbeforeSwapswapDelta 4 19mo 0x7f56…40ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 4 19mo ExponentialLiquidityHookA bonding curve token launch hook that deploys ERC20 tokens paired with WBTC, distributing initial liquidity across 10 exponential tick ranges. In afterSwap, it tracks circulating supply and removes all pool liquidity when the full bonding curve supply has been distributed. Base beforeInitafterSwap 4 10mo UniswapV4SwapFeeHookV1A Uniswap v4 hook that charges configurable buy and sell fees (in basis points) on swaps involving a designated fee token. Fees are collected in the fee token via BeforeSwapDelta and AfterSwapDelta return values and forwarded to a configurable recipient contract, with separate rates for buy and sell operations. Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 10mo NFTStrategyHookA Uniswap v4 hook for NFT strategy pools that charges time-decaying buy fees (starting at 95%, decaying to 15%) and flat 15% sell fees, taken via afterSwapReturnsDelta. Collected fees are distributed in ETH to a FeeContract vault (93.33%), founder wallets, and an optional buy-and-burn mechanism for a brand asset token. Pool initialization and liquidity additions are restricted to the NFT strategy factory. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 3 10mo NFTStrategyHookA Uniswap v4 hook for NFT-backed token pools that applies a decaying buy fee (starting at 95%, dropping to a 15% flat fee over blocks) and a flat 15% sell fee. Fees are taken via afterSwapReturnsDelta, converted to ETH via nested swaps when needed, and distributed to a FeeContract vault, founder wallets, or used to buy-and-burn a configurable brand asset token. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 3 11mo 0xbc87…9000Sets its own swap fee · Runs at pool creation Base afterInit 3 11mo 0x0122…c044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 3 11mo ZoraV4CoinHookUniswap V4 hook for Zora coins that on every swap collects accrued LP fees from all positions, converts a portion to a backing currency via multi-hop swap paths, and distributes market rewards to configured recipients. On pool initialization, creates multiple liquidity positions based on the coin's pool configuration. Base afterInitafterSwap 3 11mo TokenMesaHookA Uniswap v4 hook that collects a configurable USDC-denominated fee (up to 1% in basis points) on each swap via beforeSwapReturnDelta and afterSwapReturnDelta, directing fees to a designated recipient. Also maintains a simple on-chain TWAP oracle using a circular buffer of up to 100 tick observations recorded per swap. Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 11mo CornersHookStaticFeeA Uniswap v4 hook that configures directional static LP fees per pool (separate rates for corners-token swaps vs paired-token swaps), collects a 20% protocol fee on each swap via BeforeSwapDelta/AfterSwapDelta, and runs an optional MEV protection module for the first 2 minutes after pool creation. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 3 11mo CornersHookStaticFeeA Uniswap v4 hook for the Corners protocol that applies configurable static directional LP fees (cornersFee vs. pairedFee) per pool via updateDynamicLPFee, collects a 20% protocol fee on swaps using BeforeSwapDelta and AfterSwapDelta, distributes fees through an LP locker, and temporarily activates an MEV protection module for the first 2 minutes after pool creation. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 3 11mo ZoraV4CoinHookUniswap v4 hook for Zora coin pools that, on every swap, collects LP fees from all positions, converts them to the coin's backing currency via multi-hop swap paths, distributes market rewards to stakeholders, and triggers Zora limit order fills. Base afterInitbeforeSwapafterSwap 3 11mo IpStrategyHookA Uniswap v4 hook that restricts pool initialization and liquidity additions to an IpStrategyFactory contract. After each swap, it takes a 2.5% fee from the output token, converts non-ETH fees to ETH via a nested pool swap, then distributes the ETH to the strategy's NFT vault, owner, and platform through the factory. Base beforeInitbeforeAddLiqafterSwapafterSwapDelta 3 11mo TokenMesaHookCollects a configurable USDC-denominated fee (up to 1%, adjustable by owner) on every swap by shaving the fee from the input amount via BeforeSwapDelta, then taking the USDC to a designated recipient in afterSwap. Also maintains a 100-slot circular-buffer TWAP oracle recording per-block tick observations. Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 11mo wASSBLASTER420A Uniswap v4 hook for the wASS token that charges a 0.7% fee on the wASS side of every swap, distributing fees equally between an Apple Staking contract and the protocol owner. Registered market makers are exempt from fees; fee capture uses beforeSwapReturnsDelta for wASS sells and afterSwapReturnsDelta for wASS buys. Base beforeInitbeforeSwapafterSwapswapDelta+1 3 11mo CDHookUniswap v4 hook for CoinDAT token pools that collects a time-decaying fee in afterSwap (starting at 99%, decreasing by 1% per minute to a 7% floor) and distributes it among the CD token (72%), a protocol treasury (14%), and the pool deployer (14%). Only ETH/CD-token pools deployed via the CoinDAT factory are supported. Base beforeInitafterAddLiqafterSwapafterSwapDelta 3 11mo NFTStrategyHookManages NFT-backed strategy pools with gated initialization and liquidity (only callable via a factory), and applies time-decaying buy fees that start at 99% and decrease every 5 blocks. Fees are taken from swaps via afterSwapReturnsDelta and distributed to a vault, collection owner, and protocol address; if the fee is in a non-ETH token, it is first swapped back to ETH internally. Base beforeInitbeforeAddLiqafterAddLiqbeforeSwap+2 3 12mo UniV4HookSets a dynamic LP fee (2% initially) on pool initialization via afterInitialize, and allows the owner to update the fee at any time via forceUpdateLPFee. Has no swap hooks; fee changes take effect on subsequent swaps through the pool manager's dynamic fee mechanism. Base afterInit 3 13mo 0x0000…1888Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base afterInitbeforeAddLiqbeforeSwapswapDelta 3 13mo 0xb6d5…dac0Runs code on every swap · Can block LP withdrawals · Gates who can add liquidity · Runs at pool creation Base afterInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+1 3 13mo 0x8b7f…c0a0Runs code on every swap · Handles donations to LPs Base beforeSwapbeforeDonate 3 13mo 0xfdd4…1480Runs code on every swap · Runs at pool creation Base afterInitafterAddLiqbeforeSwap 3 13mo 0x8f79…80ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 13mo 0x8ffa…c981Runs code on every swap · Takes a cut when LPs withdraw · Gates who can add liquidity Base beforeAddLiqafterRemoveLiqbeforeSwapremoveLiqDelta 3 13mo TokenFabA bonding curve token launch factory hook that deploys new ERC20 tokens with associated Uniswap v4 pools. Swaps follow a bonding curve until a supply cap is reached, at which point liquidity graduates to a separate AMM pool. Platform and creator fees are collected on each swap and distributed to fee receivers. Base beforeInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+3 3 13mo 0xb5e6…1040Runs code on every swap · Runs at pool creation Base afterInitafterSwap 3 14mo 0x9411…8040Runs code on every swap Base afterSwap 3 14mo 0x70a6…8ac8Runs code on every swap · Can take tokens from swaps · Can block LP withdrawals · Gates who can add liquidity Base beforeAddLiqbeforeRemoveLiqbeforeSwapafterSwap+1 3 14mo 0xf141…eaccRuns code on every swap · Can take tokens from swaps · Can block LP withdrawals · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+3 3 15mo TokenFabA bonding curve and AMM graduation hook for token launches. Sells newly-minted tokens through a single-sided Uniswap v4 bonding curve pool until the supply cap is reached, then automatically migrates liquidity to a full-range AMM pool. Charges a 5% swap fee on each trade, split 1% platform, 1% creator, and 3% to a reward pool via afterSwapReturnsDelta. Base beforeInitbeforeAddLiqbeforeRemoveLiqafterSwap+1 3 15mo 0x7404…e0c0Runs code on every swap · Sets its own swap fee · Runs at pool creation Base beforeInitbeforeSwapafterSwap 3 15mo 0xbe38…20ccRuns code on every swap · Can take tokens from swaps · Runs at pool creation Base beforeInitbeforeSwapafterSwapswapDelta+1 3 16mo 0xb5d5…50c0Runs code on every swap · Sets its own swap fee · Runs at pool creation Base afterInitbeforeSwapafterSwap 3 16mo BoardHookA token launchpad hook that manages fair launch periods using one-sided liquidity positions, enforces a scheduled pool activation timestamp, and distributes swap fees to creators, protocol, and referrers via delta interception. Base beforeInitbeforeAddLiqafterAddLiqbeforeRemoveLiq+6 3 16mo BoardHookA Uniswap v4 hook that manages token launches with a time-gated fair launch window, optional Merkle-proof whitelist, and custom fee capture distributed to creators, protocol, referrers, and a muse manager. Swaps are blocked until the scheduled launch timestamp and sell orders are prevented during the fair launch period. Base beforeInitbeforeAddLiqafterAddLiqbeforeRemoveLiq+6 3 16mo 0x9396…60c0Runs code on every swap · Sets its own swap fee · Runs at pool creation Base beforeInitbeforeSwapafterSwap 3