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
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 14mo DCAHookA hook that gates liquidity additions on two specific pools: limits the ETH/DCA pool to a single initial liquidity add, and enforces full-range tick bounds (±887200) for the DCA/SPX6900 pool via beforeAddLiquidity. Base beforeAddLiq 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 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 3 16mo 0x9396…60c0Runs code on every swap · Sets its own swap fee · Runs at pool creation Base beforeInitbeforeSwapafterSwap 3 17mo 0x8253…80c8Runs code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDelta 3 17mo 0xefbd…c0c8Runs code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDelta 3 17mo 0x0b8e…10c0Runs code on every swap · Runs at pool creation Base afterInitbeforeSwapafterSwap 3 17mo LimitOrderHookA limit order hook that captures the current tick before each swap using transient storage, then triggers a LimitOrderManager after the swap to execute any limit orders whose price range was crossed. Supports role-gated dynamic LP fee updates via poolManager.updateDynamicLPFee(). Base beforeSwapafterSwap 3 18mo 0x7d91…40ccRuns code on every swap · Can take tokens from swaps · Sets its own swap fee Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 18mo 0x38d9…80c0Runs code on every swap · Sets its own swap fee Base beforeSwapafterSwap 3 18mo MMOracle-driven market maker hook that repositions liquidity to the oracle price before each swap (by removing all liquidity, executing an internal price-adjusting swap, and re-adding liquidity at a new range), then notifies an external hedge pool to adjust the hedged position after each swap. Base beforeInitbeforeSwapafterSwap 3 18mo ExponentialLiquidityHookA bonding curve hook for newly deployed ERC20 tokens that distributes liquidity exponentially across multiple tick ranges. In afterSwap, it collects a 1% fee from swaps (returned via afterSwapReturnsDelta) and removes all pool liquidity when the token supply threshold of 10,000 tokens is reached, graduating the token from the bonding curve phase. Base beforeInitafterSwapafterSwapDelta 3 18mo PolitiswapManages ETH/pol-token pools with a 2% hook fee on swaps, tracking daily net ETH inflows per pool and minting token rewards to users who swapped into the pool with the highest daily inflow. Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 18mo PolitiswapA Uniswap v4 hook that charges a 2% fee on ETH/token swaps across owner-registered pools, tracks daily net ETH inflows per pool via delta returns, and allows users to claim minted rewards based on participation in the pool with the highest daily ETH inflow. Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 18mo PolitiswapA hook that creates Uniswap v4 pools for political-themed ERC-20 tokens (PolTokens), enforcing that only the token contract (currency1) can initiate swaps. It extracts a fixed 2% fee on each swap via beforeSwap/afterSwap delta returns, tracks daily net ETH flows per pool, and allows users to claim governance token rewards for trading in the highest-inflow pool each day. Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 19mo ExponentialLiquidityHookA bonding curve hook for token launches paired with WBTC. Deploys ERC20 tokens (PackERC20) with liquidity distributed across exponential price segments. After each swap, if the price crosses a threshold, the hook removes all liquidity, transfers WBTC proceeds to the token contract, and enables a Chainlink VRF-based pack-opening mechanic. Pool initialization via the Uniswap v4 pool manager is blocked — beforeInitialize always reverts, preventing any pool from being initialized with this hook. Base beforeInitafterSwap 3 19mo PolitiswapA hook that manages Uniswap v4 ETH/political-token pools, collecting a 2% fee on each swap and tracking daily net ETH inflows per pool. Holders of the highest-inflow pool's token each day earn POLITISWAP token rewards distributed via quadratic decay over 365 days. Accumulated ETH fees trigger a buy-and-burn mechanism for POLITISWAP tokens. Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 19mo YieldNestHookCharges a configurable commission fee (in basis points) on every swap via beforeSwapReturnsDelta, taking tokens from the swap input and forwarding them to a designated fee collector. The owner can update the commission rate and fee collector address. The beforeAddLiquidity hook is registered but performs no access control logic. Base beforeAddLiqbeforeSwapswapDelta 3 19mo PolitiswapA Uniswap v4 hook that charges a 2% fee on ETH/token swaps, tracks daily net ETH inflows per registered pool, and rewards holders of the highest-inflow pool's token with daily CongressToken emissions using a quadratic decay schedule over one year. Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 19mo PolitiswapA multi-pool hook that tracks daily ETH inflows across registered token pools, collects a 2% fee on each swap, and distributes Congress token rewards to holders of the highest-inflow pool's token using a quadratic decay emission schedule over 365 days. Base beforeSwapafterSwapswapDeltaafterSwapDelta 3 19mo UniswapV4HookA token launchpad hook that implements a fixed-price "fair launch" primary market phase, then transitions to standard Uniswap pool trading once the fair launch period expires. It collects protocol and NFT-owner fees on swaps and uses BeforeSwapDelta/AfterSwapDelta to redirect fee amounts. Base beforeAddLiqbeforeSwapafterSwapswapDelta+1 3 20mo UniSwapMonstersRestricts swaps to USDC as the input token with a minimum of 1 USDC (6 decimals), and mints an ERC721 NFT ("UniSwap Monsters") to the PoolManager (msg.sender in afterSwap, not the swapper) after each successful swap. Base beforeSwapafterSwap 3 21mo 0x4e14…8151Runs code on every swap · Takes a cut when LPs withdraw · Handles donations to LPs Base afterRemoveLiqafterSwapafterDonateremoveLiqDelta 3 15h 0xb37d…48c0Runs code on every swap · Gates who can add liquidity Base beforeAddLiqbeforeSwapafterSwap 2 1d 0x30ff…1080Runs code on every swap · Runs at pool creation Base afterInitbeforeSwap 2 3d 0x820f…c0c0Runs code on every swap · Sets its own swap fee Base beforeSwapafterSwap 2 4d BurnTaxHookRuns code on every swap · Can take tokens from swaps · Runs at pool creation Base beforeInitbeforeSwapafterSwapswapDelta+1 2 4d N0VaultRuns 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+4 2 4d KettoHookRuns code on every swap · Can take tokens from swaps · Runs at pool creation Base beforeInitbeforeSwapafterSwapswapDelta+1 2 7d 0x2276…60ccRuns code on every swap · Can take tokens from swaps · Runs at pool creation Base beforeInitbeforeSwapafterSwapswapDelta+1 2 8d PositionManagerRuns code on every swap · Can take tokens from swaps · Runs at pool creation · Handles donations to LPs Base beforeInitafterAddLiqafterRemoveLiqbeforeSwap+4 2 9d 0x3419…68ccRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 9d 0x4530…20ccRuns code on every swap · Can take tokens from swaps · Runs at pool creation Base beforeInitbeforeSwapafterSwapswapDelta+1 2 9d 0xd8e6…c800Gates who can add liquidity Base beforeAddLiq 2 9d 0x909d…c800Gates who can add liquidity Base beforeAddLiq 2 9d 0x2b2e…0800Gates who can add liquidity Base beforeAddLiq 2 9d 0x78c8…8800Gates who can add liquidity Base beforeAddLiq 2 9d 0xa066…4800Gates who can add liquidity Base beforeAddLiq 2 9d 0xe371…4800Gates who can add liquidity Base beforeAddLiq 2 9d 0x8453…28ecRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Base beforeInitbeforeAddLiqbeforeSwapafterSwap+3 2 9d WraithHookRuns code on every swap · Can take tokens from swaps · Runs at pool creation Base beforeInitbeforeSwapafterSwapswapDelta+1 2 10d 0x4b8e…20ccRuns code on every swap · Can take tokens from swaps · Runs at pool creation Base beforeInitbeforeSwapafterSwapswapDelta+1 2 10d 0x6e58…68ccRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 10d IndexHookRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapswapDelta 2