UniHooks

Uniswap v4 hooks on Base

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

AgeHookChainPermissionsPools
3mo ERC1967ProxyRuns code on every swap · Can take tokens from swaps · Sets its own swap fee · Can block LP withdrawals · Gates who can add liquidity · Runs at pool creation Base beforeInitafterInitbeforeAddLiqbeforeRemoveLiq+4 3 3mo BaseFunLaunchHookA launchpad hook that locks all liquidity permanently (beforeRemoveLiquidity always reverts) and collects a fixed 1% swap fee from the non-specified token (the output for exact-input swaps, the input for exact-output swaps), directing it to a configured fee sink contract via afterSwapReturnsDelta. Base beforeRemoveLiqafterSwapafterSwapDelta 3 3mo 0xc3e8…9200Can block LP withdrawals · Runs at pool creation Base afterInitbeforeRemoveLiq 3 4mo 0xd253…aa44Runs code on every swap · Can take tokens from swaps · Can block LP withdrawals · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeRemoveLiqafterSwap+1 3 4mo 0x0c46…e8ccRuns code on every swap · Can take tokens from swaps · Sets its own swap fee · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 3 4mo 0x0ab4…8080Runs code on every swap Base beforeSwap 3 4mo RehypHookA custom bonding-curve AMM hook that owns all pool liquidity internally, blocking external LP deposits and donations. Swaps exchange WETH/USDC/GHO for REHYP tokens using reserve-based pricing; excess assets are deposited into Aave V3 to earn yield, which can be harvested to increase reserves and burn REHYP supply. Base beforeInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+2 3 4mo 0x7e00…2088Runs code on every swap · Can take tokens from swaps · Runs at pool creation Base beforeInitbeforeSwapswapDelta 3 4mo 0xd1b9…4044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 3 4mo 0x90b8…8044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 3 4mo QubitorFeeHookCharges a flat fee in basis points (up to 25%) on swaps involving a configured quote currency, extracting fees via poolManager.take() in both beforeSwap and afterSwap and forwarding them to a configurable fee collector. The fee rate can only be decreased (never increased) by the owner after deployment. Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 5mo 0x65eb…c044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 3 5mo LimitOrderHookImplA limit order hook that lets users place orders at out-of-range ticks. When a swap crosses those ticks, the afterSwap callback automatically fills matched orders by removing their liquidity from the pool and minting the proceeds as ERC6909 claims, which order placers can later withdraw. Base afterInitafterSwap 3 5mo RehypHookA custom AMM hook that implements a bonding-curve market maker between ERC-20 assets and a yield-bearing token (REHYP). It intercepts all swaps via beforeSwap with full delta returns, rehypothecates deposited assets into Aave to earn yield, and burns harvested yield against REHYP supply. Liquidity and swap operations are managed entirely by the hook's internal pricing logic. Base beforeInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+2 3 5mo 0x54f6…baecRuns code on every swap · Can take tokens from swaps · Sets its own swap fee · Can block LP withdrawals · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Base beforeInitafterInitbeforeAddLiqbeforeRemoveLiq+5 3 5mo 0xcde2…4088Runs code on every swap · Can take tokens from swaps · Sets its own swap fee Base beforeSwapswapDelta 3 5mo 0xe210…0088Runs code on every swap · Can take tokens from swaps Base beforeSwapswapDelta 3 5mo V4AlphaHookA hook that restricts pool initialization to the contract owner and gates swaps via a configurable start timestamp (temporal access control). Liquidity additions are blocked for non-owners until the pool's start time is reached. Base beforeInitbeforeAddLiqbeforeSwap 3 5mo 0xa6bf…6aa8Runs code on every swap · Can take tokens from swaps · Can block LP withdrawals · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Base beforeInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+2 3 5mo 0x8b12…aaa8Runs code on every swap · Can take tokens from swaps · Can block LP withdrawals · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Base beforeInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+2 3 5mo 0x44d0…32c4Runs code on every swap · Can take tokens from swaps · Can block LP withdrawals · Runs at pool creation Base beforeInitafterInitbeforeRemoveLiqbeforeSwap+2 3 5mo 0x535b…8088Runs code on every swap · Can take tokens from swaps Base beforeSwapswapDelta 3 5mo 0x9002…50ccRuns code on every swap · Can take tokens from swaps · Sets its own swap fee · Runs at pool creation Base afterInitbeforeSwapafterSwapswapDelta+1 3 5mo 0x4e59…5fc7Runs code on every swap · Can take tokens from swaps · Can block LP withdrawals · Takes a cut when LPs withdraw · Gates who can add liquidity · Adjusts deposit amounts · Runs at pool creation Base afterInitbeforeAddLiqafterAddLiqbeforeRemoveLiq+6 3 5mo 0xbb0a…90ccRuns code on every swap · Can take tokens from swaps · Sets its own swap fee · Runs at pool creation Base afterInitbeforeSwapafterSwapswapDelta+1 3 5mo 0x0740…c0c0Runs code on every swap · Sets its own swap fee Base beforeSwapafterSwap 3 6mo AegisHookA Uniswap v4 hook that applies dynamic LP fees via an external DynamicFeeManager, charges a configurable hook fee on each swap (deducted from the input token using BeforeSwapDelta/afterSwap delta), records price observations via an OracleManager, integrates with a LimitOrderManager, and periodically reinvests accumulated hook fees into full-range LP positions through AegisEngine. Base afterInitbeforeSwapafterSwapswapDelta+1 3 6mo LaunchHookFee-splitting hook that extracts a configurable platform fee (up to 5%) and a per-pool creator fee (up to 20%) from each exact-input swap via BeforeSwapDelta. Only pools registered by the factory are subject to fees; pool initialization is gated to the factory, and exact-output swaps always revert. Base beforeInitbeforeSwapswapDelta 3 6mo 0x81b5…c440Runs code on every swap Base afterAddLiqafterSwap 3 6mo HomelanderUniV4PluginA Uniswap v4 hook that runs on-chain MEV arbitrage after each swap via an external executor contract, applies a configurable dynamic LP fee (waived for the MEV executor address), and registers new pools with an external routing contract on initialization. Base afterInitbeforeSwapafterSwap 3 6mo BpegHookAn afterSwap and afterAddLiquidity hook for the BPEG DN-404 token on Base mainnet. afterAddLiquidity sets the pool address on the token contract on first liquidity add. afterSwap syncs NFT metadata count with the user BPEG balance using tx.origin: buying BPEG mints NFT metadata proportional to integer balance, selling burns accordingly. Wallet-to-wallet transfers move NFT metadata alongside tokens. vanillaSwap: false Base afterAddLiqafterSwap 3 6mo 0xdd98…80c0Runs code on every swap Base beforeSwapafterSwap 3 6mo 0xc81f…68e8Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 3 6mo ApexYieldHookV4An oracle-driven hook that prices swaps using a Pyth/Chainlink/manual oracle cascade, applies zone-based directional fees, and routes funds through a linked vault. Supports owner-controlled pause, per-pool activation, circuit-breaker cooldown, and a fee-exempt allowlist. Base beforeInitafterInitbeforeAddLiqbeforeRemoveLiq+5 3 6mo 0x211e…3aecRuns code on every swap · Can take tokens from swaps · Sets its own swap fee · Can block LP withdrawals · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Base beforeInitafterInitbeforeAddLiqbeforeRemoveLiq+5 3 6mo ApexYieldHookV4Oracle-based swap hook that prices trades using Pyth and Chainlink feeds and executes them against an external vault (IApexVault) by returning a BeforeSwapDelta in beforeSwap. Applies zone-based dynamic fees, enforces vault liquidity checks, and includes an owner-triggered circuit breaker that halts swaps when oracle prices move too rapidly. Base beforeInitafterInitbeforeAddLiqbeforeRemoveLiq+8 3 6mo ApexYieldHookV4Oracle-priced vault hook that fully handles swaps using Pyth, Chainlink, or manual price feeds instead of the AMM curve. Applies zone-based dynamic fees derived from vault token weights and routes liquidity through an external vault contract via BeforeSwapDelta. Base beforeInitafterInitbeforeAddLiqbeforeRemoveLiq+5 3 6mo ApexYieldHookV4An oracle-driven custom AMM hook that prices swaps using Pyth oracle rates and zone-based dynamic fees, with liquidity backed by an external vault. Includes a circuit breaker, owner-controlled pause/pool-registration, and full beforeSwap delta fulfillment that bypasses the pool's internal AMM math. Base beforeInitafterInitbeforeAddLiqbeforeRemoveLiq+5 3 6mo 0x0b21…3aecRuns code on every swap · Can take tokens from swaps · Sets its own swap fee · Can block LP withdrawals · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Base beforeInitafterInitbeforeAddLiqbeforeRemoveLiq+5 3 6mo 0xa86b…4044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 3 7mo 0xb95f…4aecRuns code on every swap · Can take tokens from swaps · Sets its own swap fee · Can block LP withdrawals · Gates who can add liquidity · Handles donations to LPs Base beforeAddLiqbeforeRemoveLiqbeforeSwapafterSwap+3 3 7mo TrinityHookV6Manages concentrated liquidity across price bands for a token, automatically rebalancing LP positions after each swap. Extracts a 1% fee on all swaps: buy fees go to a community treasury, sell fees are burned. Blocks external LP additions so only the hook controls liquidity. Only exactInput swaps are supported. Base beforeAddLiqbeforeSwapafterSwapswapDelta 3 7mo Apex YieldOracle-priced market maker hook that intercepts swaps at Pyth oracle price + dynamic fee. Fees accumulate in-pool and are distributed as dual-token rewards to LP depositors via a Synthetix-style accumulator. ~285K gas per swap. Base beforeAddLiqbeforeRemoveLiqbeforeSwapafterSwap+3 3 7mo SnapBackHookOracle-based market maker using Pyth price feeds, dynamic fees, and atomic multi-DEX rebalancing Base beforeAddLiqbeforeRemoveLiqbeforeSwapafterSwap+3 3 7mo TrinityHookV5Manages concentrated LP bands to approximate a linear bonding curve. Extracts a fixed 1% fee on exact-input swaps before the AMM executes (buy fees forwarded to a multisig, sell fees burned to 0xdead), then rebalances LP positions across configured tick bands after each swap. Base beforeSwapafterSwapswapDelta 3 7mo TrinityHookV5A Uniswap v4 hook that extracts a 1% fee from exact-input swaps before the AMM executes (routing buy fees to a multisig and burning sell fees to 0xdead), then rebalances concentrated liquidity bands after each swap to approximate a linear bonding curve. Base beforeSwapafterSwapswapDelta 3 7mo TrinityHookV4Manages concentrated LP bands to approximate a linear bonding curve. Extracts a 1% fee from exact-input swaps in beforeSwap (buy fees forwarded to a configurable multisig, sell fees burned to 0xdead), and rebalances LP bands in afterSwap when price crosses band boundaries. Base beforeSwapafterSwapswapDelta 3 7mo TrinityHookImplements a linear bonding curve that fully replaces AMM pricing for TRI token pools. Handles buy/sell swaps against hook-held reserves, applying a 1% fee on buys (sent to a fee recipient) and a 1% token burn on sells. Base beforeSwapswapDelta 3 7mo TrinityHookA linear bonding curve hook that fully replaces AMM pricing for TRI token pools. Intercepts all swaps to compute buy/sell prices via a quadratic formula, charges a 1% fee on buys (sent to a fee recipient), burns 1% of TRI on sells, and blocks all external liquidity additions. Base beforeAddLiqbeforeSwapswapDelta 3 7mo TrinityHookUniswap v4 hook implementing a linear bonding curve that fully replaces AMM pricing for TRI token pools. Handles buy swaps (1% quote fee) and sell swaps (1% TRI burn) using quadratic math, settling tokens directly from hook reserves, while blocking all external liquidity additions. Base beforeAddLiqbeforeSwapswapDelta 3