UniHooks

Every Uniswap v4 hook, live

Every hook attached to at least one Uniswap v4 pool, explained in plain English, with safety checks and the pools that use it.

Filters 1
Type
Safety
Activity
Permissions
Hooks with all of the selected permissions:
Sort
AgeHookChainPermissionsPools
7mo HowdyHookA Uniswap v4 hook for TOKEN/HOWDY pools implementing phased launches with optional Merkle-based allowlist access control and MEV protection. During the MEV window, LP fees decay linearly from a high initial rate to 0.5%. Liquidity additions are blocked during the active MEV window, and allowlist-phase swaps require a Merkle proof in hookData. Base beforeInitbeforeAddLiqbeforeSwapafterSwap 5 9mo UniswapV4MigratorHookRestricts Uniswap v4 pool initialization to only the UniswapV4Migrator contract by reverting in beforeInitialize if the caller is not the designated migrator address. Has no swap-related hooks. Base beforeInit 5 9mo TradingFeeHookCollects a 5% trading fee on every swap (0.5% commission to treasury, 4.5% to token creator via RevenueVault), using beforeSwapReturnDelta for exact-input buys and afterSwapReturnDelta for sells and exact-output buys. Pools must be registered by the LaunchVault to have fees enabled; unregistered pools swap without any fee. Base beforeSwapafterSwapswapDeltaafterSwapDelta 5 11mo CornersHookDynamicFeeA Uniswap v4 hook for the Corners protocol that implements volatility-based dynamic LP fees (derived from tick movement between swaps) and collects a 20% protocol fee on the paired-token side of each swap. Includes an optional MEV protection module active for the first 2 minutes after pool creation, and restricts liquidity additions during that window. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 5 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 5 15mo BoardHookA Uniswap v4 hook for token launches with a time-gated FairLaunch period: it blocks trading before a scheduled publish timestamp, fills buy-only swaps from a pre-seeded one-sided liquidity position during FairLaunch, and distributes custom swap fees to referrers, creators, protocol, and inspired parties after the FairLaunch closes. Base beforeInitbeforeAddLiqafterAddLiqbeforeRemoveLiq+6 5 16mo BoardHookToken launchpad hook implementing fair launch periods with temporal gating and optional Merkle-proof allowlisting. Fills buy swaps from a pre-seeded position during the fair launch window, captures swap fees, and distributes them to protocol, creators, referrers, and other recipients via afterSwapReturnsDelta. Base beforeInitbeforeAddLiqafterAddLiqbeforeRemoveLiq+6 5 17mo TokenFabA bonding curve token launchpad hook that deploys new ERC20 tokens into dedicated Uniswap v4 bonding curve pools. When bonding curve supply is exhausted, the hook automatically removes liquidity and migrates it into a standard AMM pool. A fixed 1% swap fee is collected via afterSwapReturnsDelta and split 50/50 between a creator fee receiver and a platform fee recipient. Base beforeInitbeforeAddLiqbeforeRemoveLiqafterSwap+1 5 17mo TokenFabA bonding curve token launch hook that blocks external liquidity management (beforeInitialize/beforeAddLiquidity/beforeRemoveLiquidity all revert). Newly launched tokens trade on a bonding curve until the supply cap is reached, then the hook automatically migrates liquidity to a standard AMM pool. Each swap incurs a 1% fee split 50/50 between the creator and platform, taken via afterSwapReturnsDelta. Base beforeInitbeforeAddLiqbeforeRemoveLiqafterSwap+1 5 17mo TokenFabA token launchpad hook that deploys new ERC20 tokens on a Uniswap v4 bonding curve pool; once the bonding curve supply is exhausted, it graduates the token to a full AMM pool with two-sided liquidity. Takes a hardcoded 1% fee on every swap, split equally between the token creator and platform fee recipient. Base beforeInitbeforeAddLiqbeforeRemoveLiqafterSwap+1 5 20mo Coinbase Verified Hook (Base)A Coinbase-authored access-control hook for Verified Pools that restricts pool initialization, liquidity operations, swaps, and donations to addresses verified by configurable on-chain policies. Also collects an optional configurable bips-based hook fee on swaps via afterSwapReturnsDelta. Base beforeInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+3 5 21mo SwapHookObservation hook that counts the number of beforeSwap and afterSwap calls per pool ID. beforeAddLiquidity and beforeRemoveLiquidity are implemented as no-ops that simply return their selector. Base beforeAddLiqbeforeRemoveLiqbeforeSwapafterSwap 5 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 57d FlashPerpsHookA custom-curve (NoOp) Uniswap v4 hook implementing a perpetuals issuance market: buys mint new perp exposure through a registered vault and sells unwind it, with a flat 0.3% USDG fee routed to a buyback escrow. Passive LP liquidity is blocked entirely via beforeAddLiquidity revert. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 4 59d FlashHookV4Manages token launches on Uniswap v4 with OTC buy fills from an on-chain order book, realized sell taxes distributed to stakers and creators, multi-venue routing for sells, and periodic churn sweeps to forward WETH proceeds to treasury. Base beforeInitbeforeSwapafterSwapswapDelta+1 4 2mo RallyHookU4A Uniswap v4 hook implementing Rally protocol's bonding curve token launch system. Acts as the sole LP for launch pools, enforcing a dynamic anti-snipe LP fee schedule during the curve phase, collecting quote-denominated fees on sells via BeforeSwapDelta, and automatically latching breakout when the price exits the bonding curve range. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 4 2mo LaunchHookSingleton hook for factory-launched token pools that collects trading fees on the stock side (currency0) on every swap, splitting them between a platform treasury (30%), the token creator, and token holders via a FeeDistributor. Pool initialization and fee config are restricted to the factory; any user may swap in a registered pool. Base beforeInitbeforeSwapafterSwapswapDelta+1 4 2mo StonkHookA hook that gates swaps via an external `isTradingOpen()` oracle, withholds a configurable fee (up to 5%) from the asset leg of every swap using beforeSwap/afterSwap return-deltas, permanently locks liquidity (any negative liquidityDelta reverts), restricts liquidity additions to the factory only, and overrides the native LP fee to zero via OVERRIDE_FEE_FLAG. Base afterInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+3 4 2mo RetardV112PoolGuardHookA non-accounting guard hook for one-sided ETH/coin pools. beforeInitialize authenticates that the pool is canonical (correct fee/tickSpacing, coin must identify the initializer as its market). afterSwap reverts if the post-swap price exceeds the pool's opening tick boundary, preventing a partial sell from walking the pool above its real-native opening price. Base beforeInitafterSwap 4 5mo FloorPad Floor HookSingleton Uniswap v4 hook serving all FloorPad memecoins (per-pool state keyed by poolId). On each buy, diverts a dynamic cut of the WETH input into a per-pool vault and fees to protocol/creator; on each sell, skims a fee from the WETH output. The vault backs a WETH-per-token redemption floor that ratchets up only on buys; holders can burn coins to redeem at the floor at any time. Base beforeSwapafterSwapswapDeltaafterSwapDelta 4 5mo GitlawnchHookFee-skimming hook that intercepts each swap via beforeSwap, takes a configurable percentage fee (default 1%) on the input currency using BeforeSwapDelta, and forwards it to a Locker contract for distribution among platform, creator, and LP recipients. Base afterInitbeforeSwapswapDelta 4 5mo ForgeHookA shared hook for Forge V4 pools that enforces factory-only pool initialization and applies a parabolic descending MEV protection fee, starting at 80% and decaying to 1.5% over a 30-second window after pool creation. Base beforeInitbeforeSwap 4 5mo UmiaHookSingleton Uniswap v4 hook for Umia LBP (Liquidity Bootstrapping Pool) pools. Enforces full-range-only liquidity positions, maintains a TWAP oracle (ring-buffer observations written before each swap and liquidity event), and deducts a configurable protocol fee from each swap's output side via afterSwapReturnsDelta, crediting it to a per-pool fee recipient. Base beforeInitafterInitbeforeAddLiqbeforeSwap+2 4 6mo BpegHookAn afterSwap hook that syncs NFT metadata with token balance. When a user buys BPEG tokens, the hook mints NFT metadata proportional to their integer balance. When they sell, it burns NFT metadata accordingly. Uses tx.origin to identify the end user. Base afterSwap 4 8mo LiquidHookStaticFeeV2A Uniswap v4 hook that applies separate static LP fee tiers for the "liquid" token and the paired token, with a 20% protocol fee extracted from each swap via beforeSwap/afterSwap return deltas. Supports an optional MEV module that can temporarily raise fees during pool launch and optional pool extension callbacks for custom post-swap logic. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 4 8mo ClankerHookStaticFeeV2Uniswap v4 hook for Clanker token pools that enforces asymmetric static LP fees — separate rates for buying vs. selling the clanker token — updated each swap via updateDynamicLPFee. Includes a time-limited MEV protection module (active for up to 2 minutes post-launch), automatic protocol fee collection (20% of LP fee), and LP locker fee claiming on every swap. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 4 8mo DynamicFeeHookRestricts pool creation to whitelisted EOAs via an external whitelist contract and records the initializer as the pool creator. Limits liquidity additions to that creator only, and overrides the swap fee with a fixed rate (in pips) set at deployment time. Base beforeInitafterInitbeforeAddLiqbeforeSwap 4 8mo ClankerHookStaticFeeA Uniswap v4 hook for the Clanker token factory that applies asymmetric static LP fees (separate rates for buying vs. selling the clanker token), collects a protocol fee (20% of LP fee) on each swap via BeforeSwapDelta/AfterSwapDelta adjustments, and includes a time-limited MEV protection module active for the first 2 minutes of a pool's life. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 4 10mo Basememe Hook (Base)A meme token launchpad hook that restricts pool initialization and liquidity addition to a factory contract, enforcing a token graduation lifecycle. After each swap, it triggers reward collection via an LP manager and optionally tracks trade referrals passed through hookData. Base beforeInitbeforeAddLiqafterSwap 4 10mo NFTStrategyHookA hook for NFT strategy tokens that applies a time-decaying buy fee (starting at 95%, decaying to a flat 15% over blocks) and a flat 15% sell fee, collected via afterSwapReturnsDelta. Fees are split between an active FeeContract vault and protocol wallets; pool initialization and liquidity addition are restricted to authorized NFT strategies only. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 4 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 16mo FeeCollectHookA post-swap hook that tracks trade counts per registered LP token position in authorized pools, designed to trigger fee processing via an external LeveragedLPManager contract on each swap. The fee collection call is currently disabled (commented out in source), so afterSwap only records trade counts and emits debug events. Base afterSwap 4 18mo BackGeoOracleA TWAP oracle hook that performs partial backruns after price-impacting swaps: when a swap moves the tick beyond a threshold, the hook executes an inverse swap via poolManager.swap() and credits the surplus to the original sender as ERC6909 tokens. Only exactIn swaps are supported; routers must implement IMsgSender() to identify the recipient for backrun proceeds. Base beforeInitafterInitbeforeAddLiqbeforeRemoveLiq+3 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 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 59d TwinHookFee-routing hook for stock-paired meme tokens ("twins") on Uniswap v4. Applies a decaying anti-snipe launch tax on buys, publishes a Chad Premium (current/launch price multiple), ratchets a Chad Level on confirmed price milestones, and dispatches creator LP fees to configurable sinks: burn (with buyback guard), reflection to holders, auto-LP, bonders yield pool, or direct payout. Base afterInitbeforeSwapafterSwapswapDelta 3 2mo FlashHookV3A Uniswap v4 hook that aggregates OTC buy routing and realized sell taxes for WETH-rooted token ecosystems, routing execution across native v4 pools and external venues, with fees distributed to stakers, pool admins, and a protocol treasury. Base beforeInitbeforeSwapafterSwapswapDelta+1 3 2mo B420MemeHookSingleton Uniswap v4 hook for graduated B420 meme token pools. Collects protocol fees and creator taxes on each swap via afterSwap with a return delta, optionally converts memecoin-denominated fees to the quote currency inline per-swap, and supports a buyback-and-lock mechanism that swaps accumulated quote fees back into the memecoin and vests them in a five-year buyback vault. Base beforeInitafterSwapafterSwapDelta 3 2mo MixpadHookCollects a platform swap fee on every Mixpad-launched token trade, splitting proceeds between the token creator and treasury with optional buyback-and-burn. Applies a block-decaying anti-snipe surcharge on early buys and a time-decaying dump surcharge on sells by the original deployer. Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 2mo DynamicFeeAdjusts the LP fee dynamically based on tick movement from the previous swap — larger moves increase the fee (up to 5%), smaller moves reduce it (floor 0.05%). Inherits AeonFee, which takes a mandatory 10 bps protocol fee on every swap routed to a fixed hardcoded recipient via afterSwap return-delta. Base afterInitbeforeSwapafterSwapafterSwapDelta 3 2mo ClankerHookDynamicFeeV2A Clanker protocol hook that applies a volatility-based dynamic LP fee by simulating each swap to estimate the post-swap tick, then updating the pool fee via updateDynamicLPFee. It also collects a protocol fee on each swap using beforeSwap and afterSwap deltas, and supports optional MEV protection modules and post-swap pool extensions. Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 3 2mo FlashHookA Uniswap v4 hook for the FLASH protocol implementing OTC buy fills from an on-chain inventory deck, realized sell taxes with dynamic basis points, multi-venue sell routing, and staking reward distribution. Taxes are split among stakers, pool admins, and a protocol owner; pool launches require a pre-staged intent and initializer validation. Base beforeInitbeforeSwapafterSwapswapDelta+1 3 2mo DynamicFeeHookOverrides LP swap fees with a configurable linear decay schedule (anti-sniper), declining from a high start fee to a stable end fee over a short duration. Also maintains a manipulation-resistant TWAP oracle via afterSwap, with an owner/guardian-controlled emergency pause that halts all swaps. Base beforeSwapafterSwap 3