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
20mo 0x355b…4ac0Runs code on every swap · Can block LP withdrawals · Gates who can add liquidity Base beforeAddLiqbeforeRemoveLiqbeforeSwapafterSwap 2 20mo 0xe119…8540Runs code on every swap Base afterAddLiqafterRemoveLiqafterSwap 2 20mo DefaultHookA Uniswap v4 beforeSwap hook that overrides the LP fee on every swap by reading a configurable fee from an external DefaultSettings contract. The fee (default 0.3%) can be updated at any time by the DefaultSettings owner via setDefaultFee(). Base beforeSwap 2 20mo 0x9cd4…c080Runs code on every swap Base beforeSwap 2 20mo 0xcac7…80c0Runs code on every swap Base beforeSwapafterSwap 2 20mo 0xdaa4…0088Runs code on every swap · Can take tokens from swaps Base beforeSwapswapDelta 2 21mo SwapHookA minimal counter hook that increments per-pool counters on each beforeSwap and afterSwap call. It does not modify swap behavior, fees, or token flows — purely observational. Base beforeAddLiqbeforeRemoveLiqbeforeSwapafterSwap 2 21mo 0x2c64…48c4Runs code on every swap · Can take tokens from swaps · Sets its own swap fee · Gates who can add liquidity Base beforeAddLiqbeforeSwapafterSwapafterSwapDelta 2 21mo 0x6574…60ccRuns code on every swap · Can take tokens from swaps · Runs at pool creation Base beforeInitbeforeSwapafterSwapswapDelta+1 2 21mo 0xb915…4080Runs code on every swap Base beforeSwap 2 21mo 0xb9d1…4080Runs code on every swap Base beforeSwap 2 21mo 0x3377…98e0Runs code on every swap · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Base afterInitbeforeAddLiqbeforeSwapafterSwap+1 2 21mo HookFeeCharges a fixed 3% fee on the unspecified token of every swap by using afterSwapReturnsDelta to take tokens from the pool manager and retain them in the hook contract, increasing the effective cost for swappers. Base afterSwapafterSwapDelta 2 3h 0x54c9…40ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 3h 0x73d7…80ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 3h 0x44dd…a8c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 3h 0xb9a1…c0ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 4h 0x3ca7…c0ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 4h 0xb380…28c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 4h UniHooksRuns 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 1 4h 0xf9f3…40ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 4h 0x46c4…40ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 4h 0xc6ca…28c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 5h 0x03d6…c0ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 5h 0x6f76…28c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 5h 0x7dac…40ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 5h 0x6fb5…68c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 6h 0xa417…80ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 6h 0x64f4…c0ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 6h 0x8cff…28c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 6h 0x560f…40ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 6h 0x80e2…c0ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 6h 0xde7b…28c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 7h 0xbe3a…c0ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 7h 0x9a9a…80ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 7h 0xc9ec…e8c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 7h 0xca44…40ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 7h 0x14c8…80ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 7h 0x1b97…e8c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 8h 0x7bbf…00ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 8h 0x10a8…68ccRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+2 1 8h 0x4901…28c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 8h 0xb9b7…40ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 8h 0x3d4a…80ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 8h 0x10d1…68c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 8h 0xc404…40ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 9h 0xaf5d…c0ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 9h 0xe94f…68c4Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Base beforeInitbeforeAddLiqbeforeSwapafterSwap+1 1 9h 0xc17e…00ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1 9h 0x39ab…00ccRuns code on every swap · Can take tokens from swaps Base beforeSwapafterSwapswapDeltaafterSwapDelta 1