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
5mo 0x397f…8145Runs code on every swap · Can take tokens from swaps · Sets its own swap fee · Takes a cut when LPs withdraw Base afterRemoveLiqafterSwapafterSwapDeltaremoveLiqDelta 2 6mo ButeA bonding-curve ERC-20 token (BUTE) that uses beforeSwap to intercept ETH-in swaps: it mints BUTE via a multi-factor curve (temporal decay, burn echo, peak bonus) and returns a BeforeSwapDelta, routing buys through the hook's own ETH reserve. Sell-side swaps pass through unmodified; selling BUTE is handled via a direct sell() function. Base beforeSwapswapDelta 2 6mo HomelanderUniV4PluginA Uniswap v4 hook that dynamically overrides the LP fee in beforeSwap (zero for a privileged MEV executor, configurable for all others) and runs on-chain arbitrage in afterSwap by delegating to an external MEV router and executor, distributing captured profits via a configurable profit distributor. Base afterInitbeforeSwapafterSwap 2 6mo 0x7985…0145Runs code on every swap · Can take tokens from swaps · Takes a cut when LPs withdraw Base afterRemoveLiqafterSwapafterSwapDeltaremoveLiqDelta 2 6mo 0x8e59…4145Runs code on every swap · Can take tokens from swaps · Sets its own swap fee · Takes a cut when LPs withdraw Base afterRemoveLiqafterSwapafterSwapDeltaremoveLiqDelta 2 6mo 0xc14f…8044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 2 6mo LaunchHookFee-splitting hook that skims a fixed 1% platform fee plus a configurable creator fee (0–20%) from every exact-input swap via BeforeSwapDelta, forwarding creator fees directly to the token contract. Pool initialization is gated to a factory address; exact-output swaps are unconditionally rejected. Base beforeInitbeforeSwapswapDelta 2 6mo BpegHookCalls `start` on a configured ERC token when the first liquidity is added to its pool, and updates an on-chain random seed (using block entropy) on each swap involving that token. Base afterAddLiqafterSwap 2 6mo BpegHookSyncs BPEG token holder NFT counts after swaps by calling syncSwap() on the BPEG contract in afterSwap, and sets the pool address on the BPEG contract in afterAddLiquidity when the first liquidity is added. Base afterAddLiqafterSwap 2 6mo 0x8ccd…8080Runs code on every swap Base beforeSwap 2 6mo 0x570a…c044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 2 6mo 0x2948…4888Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity Base beforeAddLiqbeforeSwapswapDelta 2 6mo 0x75dc…40c0Runs code on every swap Base beforeSwapafterSwap 2 6mo 0x326e…80c0Runs code on every swap Base beforeSwapafterSwap 2 6mo 0x9ad6…c044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 2 6mo 0x6d72…0044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 2 6mo 0x1106…80c4Runs code on every swap · Can take tokens from swaps Base beforeSwapafterSwapafterSwapDelta 2 6mo GridHookA Uniswap v4 hook implementing per-user grid liquidity management. Users configure and deploy grid orders across price ranges; the hook tracks cumulative tick movement per block and reverts swaps that exceed a maximum price impact of 500 ticks per block to protect against excessive volatility. Base afterInitafterAddLiqafterRemoveLiqbeforeSwap+1 2 6mo 0x1944…dac4Runs 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 afterInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+2 2 6mo GetGoatedLaunchHookRuns code on every swap · Can take tokens from swaps · Sets its own swap fee · Can block LP withdrawals · Gates who can add liquidity Base beforeAddLiqbeforeRemoveLiqbeforeSwapafterSwap+1 2 6mo 0xcefa…4044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 2 7mo 0x7cb9…80c0Runs code on every swap Base beforeSwapafterSwap 2 7mo 0x3155…c080Runs code on every swap Base beforeSwap 2 7mo 0xe5d6…c044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 2 7mo 0xbadb…0840Runs code on every swap · Gates who can add liquidity Base beforeAddLiqafterSwap 2 7mo 0x05fa…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 2 7mo BasedBidHookRuns code on every swap · Can take tokens from swaps · Sets its own swap fee · Runs at pool creation Base afterInitbeforeSwapafterSwapswapDelta+1 2 7mo Alphix LVR Fee HookDynamic LP fee hook that applies admin-controlled per-pool LP fees via `updateDynamicLPFee` and charges a configurable per-pool protocol fee on each swap's output via `afterSwap` with delta return. Accumulated protocol fees are held as ERC-6909 claims and can be swept to a treasury address by calling `handleHookFees()`. Base afterInitafterSwapafterSwapDelta 2 7mo 0x30b2…0044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 2 7mo 0xcb82…c044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 2 7mo MaybeHookA probabilistic Uniswap v4 hook for an ETH/MAYBE pool that implements "maybification": when a user opts in via hookData on an ETH→MAYBE exactIn swap, the MAYBE output is burned and Chainlink VRF randomness is used to determine whether the user wins a multiplied MAYBE payout (based on a configurable probability in basis points) or loses. LP fees are donated as MAYBE to liquidity providers. Base beforeInitbeforeSwapafterSwapswapDelta+1 2 7mo LightspeedPoolHookTakes a fixed 0.3% fee from the canonical currency (e.g. SPEED) on every swap and forwards it to a FeeCollector address via afterSwap delta return. Tracks accumulated fees per epoch per pool for trustless ranking in launch pool competitions. Base beforeSwapafterSwapafterSwapDelta 2 8mo 0x02f2…26c0Runs code on every swap · Sets its own swap fee · Can block LP withdrawals · Runs at pool creation Base beforeInitafterAddLiqbeforeRemoveLiqbeforeSwap+1 2 8mo 0xbf56…0080Runs code on every swap · Sets its own swap fee Base beforeSwap 2 8mo 0x0a08…c044Runs code on every swap · Can take tokens from swaps Base afterSwapafterSwapDelta 2 8mo 0x436d…d0c4Runs code on every swap · Can take tokens from swaps · Runs at pool creation Base afterInitbeforeSwapafterSwapafterSwapDelta 2 8mo 0x68ca…28ccRuns 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 2 8mo 0x85ae…5ac0Runs code on every swap · Can block LP withdrawals · Gates who can add liquidity · Runs at pool creation Base afterInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+1 2 8mo ClawclickHookA two-phase token launch hook that imposes a decaying tax (up to 50%, floor 1%) and per-user position limits in Phase 1, graduating to a 1% LP fee model after 16x market cap growth. Fees are split 70/30 between the token beneficiary and the platform, with configurable multi-wallet fee distribution. Base beforeInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+2 2 8mo 0xb0bd…6a80Runs code on every swap · Can block LP withdrawals · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeRemoveLiqbeforeSwap 2 8mo 0xd6e6…2ac8Runs 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 beforeInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+2 2 8mo BlockAddLiquidityHookRecords tx.origin as the pool creator on initialization; restricts beforeAddLiquidity so only the original creator's EOA transaction origin can add liquidity, reverting with AddLiquidityBlocked for all others. Base afterInitbeforeAddLiq 2 8mo 0x04c5…e0c0Runs code on every swap · Sets its own swap fee · Runs at pool creation Base beforeInitbeforeSwapafterSwap 2 9mo 0xf99d…5ae4Runs 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 afterInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+3 2 9mo 0xf2f5…dae4Runs 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 afterInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+3 2 9mo TradingFeeHookCollects a fixed 5% trading fee on swaps in registered pools, routing 0.5% to a treasury and 4.5% to token creators via a RevenueVault. Uses beforeSwap for exact-input buys and afterSwap for sells and exact-output buys, with WETH unwrapped to ETH before distribution. Base beforeSwapafterSwapswapDeltaafterSwapDelta 2 9mo 0x9bfd…e7caRuns code on every swap · Can take tokens from swaps · Can block LP withdrawals · Adjusts deposit amounts · Runs at pool creation Base beforeInitafterAddLiqbeforeRemoveLiqafterRemoveLiq+4 2 9mo 0xaa51…2000Runs at pool creation Base beforeInit 2 9mo 0x02c1…2000Runs at pool creation Base beforeInit 2 9mo 0x4778…2000Runs at pool creation Base beforeInit 2