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
4mo
0xcff9…0044Runs code on every swap · Can take tokens from swaps
Base
afterSwapafterSwapDelta
2
4mo
0xa0a0…4044Runs code on every swap · Can take tokens from swaps
Base
afterSwapafterSwapDelta
2
4mo
0xde30…0044Runs code on every swap · Can take tokens from swaps
Base
afterSwapafterSwapDelta
2
4mo
0xa786…0044Runs code on every swap · Can take tokens from swaps
Base
afterSwapafterSwapDelta
2
4mo
0x1612…4044Runs code on every swap · Can take tokens from swaps
Base
afterSwapafterSwapDelta
2
4mo
0xedc7…a888Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation
Base
beforeInitbeforeAddLiqbeforeSwapswapDelta
2
4mo
BaseSunMoonUsdcFeeV4HookCollects USDC fees on SunToken-USDC and MoonToken-USDC pool swaps, routing a portion to a SunCurve liquidity pool and a portion to a protocol budget address. Uses BeforeSwap and AfterSwap return deltas to capture fees directly from USDC in the swap; owner controls a pause flag and per-pool allowlists.
Base
beforeSwapafterSwapswapDeltaafterSwapDelta
2
5mo
0xb237…c044Runs code on every swap · Can take tokens from swaps
Base
afterSwapafterSwapDelta
2
5mo
0x48cc…0888Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity
Base
beforeAddLiqbeforeSwapswapDelta
2
5mo
0x0bb5…8145Runs code on every swap · Can take tokens from swaps · Takes a cut when LPs withdraw
Base
afterRemoveLiqafterSwapafterSwapDeltaremoveLiqDelta
2
5mo
TokenFactoryA token factory that deploys ERC20 tokens, creates Uniswap v4 pools with initial liquidity, and allows token creators to claim accumulated LP fees. The afterSwap hook is a no-op that simply returns its selector.
Base
afterSwap
2
5mo
TokenFactoryToken factory that deploys ERC20 tokens with Uniswap v4 pools (1% fee tier), seeding them with 99% of total supply as single-sided liquidity. The afterSwap hook is a no-op; LP fees accumulate in the pool and token creators can claim them via claimLPFees().
Base
afterSwap
2
5mo
GitlawbAgentHookCharges a configurable output fee (in basis points, max 10%) on each swap and transfers it to a treasury address using afterSwap with afterSwapReturnsDelta. The fee rate and treasury address are mutable by the immutable owner.
Base
afterSwapafterSwapDelta
2
5mo
0xddfe…00c0Runs code on every swap · Sets its own swap fee
Base
beforeSwapafterSwap
2
5mo
0xb79a…c0c0Runs code on every swap · Sets its own swap fee
Base
beforeSwapafterSwap
2
5mo
0x78c9…80c0Runs code on every swap · Sets its own swap fee
Base
beforeSwapafterSwap
2
5mo
0x86a2…40c0Runs code on every swap · Sets its own swap fee
Base
beforeSwapafterSwap
2
5mo
0x5bec…80c0Runs code on every swap · Sets its own swap fee
Base
beforeSwapafterSwap
2
5mo
0xa255…40c0Runs code on every swap · Sets its own swap fee
Base
beforeSwapafterSwap
2
5mo
0x0607…40c0Runs code on every swap
Base
beforeSwapafterSwap
2
5mo
0x6719…00c0Runs code on every swap
Base
beforeSwapafterSwap
2
5mo
0x985c…00c0Runs code on every swap
Base
beforeSwapafterSwap
2
5mo
0x7e95…80c0Runs code on every swap
Base
beforeSwapafterSwap
2
5mo
0xcd89…c0c0Runs code on every swap
Base
beforeSwapafterSwap
2
5mo
0x1276…80c0Runs code on every swap
Base
beforeSwapafterSwap
2
5mo
0x6a74…40c0Runs code on every swap
Base
beforeSwapafterSwap
2
5mo
0xfbb7…80c0Runs code on every swap
Base
beforeSwapafterSwap
2
5mo
0x45d6…00c0Runs code on every swap
Base
beforeSwapafterSwap
2
5mo
0xd586…c0c0Runs code on every swap · Sets its own swap fee
Base
beforeSwapafterSwap
2
5mo
0x5f58…00c0Runs code on every swap · Sets its own swap fee
Base
beforeSwapafterSwap
2
5mo
0xbba1…c0c0Runs code on every swap · Sets its own swap fee
Base
beforeSwapafterSwap
2
5mo
0xd1fa…40ccRuns code on every swap · Can take tokens from swaps
Base
beforeSwapafterSwapswapDeltaafterSwapDelta
2
5mo
0xaf10…a888Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation
Base
beforeInitbeforeAddLiqbeforeSwapswapDelta
2
5mo
0x4440…00c4Runs code on every swap · Can take tokens from swaps
Base
beforeSwapafterSwapafterSwapDelta
2
5mo
0x5054…5080Runs code on every swap · Sets its own swap fee · Runs at pool creation
Base
afterInitbeforeSwap
2
5mo
AvillHookEnforces a dynamic price floor for the Avill token in USDC/USDT pools. beforeSwap reverts sell orders when the current pool price falls below a floor derived from cumulative stable inflows and Avill sold; afterSwap updates those accumulators after each trade.
Base
beforeSwapafterSwap
2
5mo
0xb988…c0c0Runs code on every swap
Base
beforeSwapafterSwap
2
5mo
0x65a5…8444Runs code on every swap · Can take tokens from swaps
Base
afterAddLiqafterSwapafterSwapDelta
2
5mo
0x14ef…0444Runs code on every swap · Can take tokens from swaps
Base
afterAddLiqafterSwapafterSwapDelta
2
5mo
0xd7f5…2888Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation
Base
beforeInitbeforeAddLiqbeforeSwapswapDelta
2
5mo
PepFitLaunchHookA controlled-launch hook that blocks all swaps until the owner calls enableTrading(). Includes an optional anti-snipe mechanism capping individual swap size (in ETH) for the first 5 blocks after launch. After trading is open, the hook is a pass-through with no effect on swap math.
Base
beforeSwap
2
5mo
0x5ec9…0088Runs code on every swap · Can take tokens from swaps
Base
beforeSwapswapDelta
2
5mo
0x8f27…c088Runs code on every swap · Can take tokens from swaps
Base
beforeSwapswapDelta
2
5mo
0xcb89…c040Runs code on every swap
Base
afterSwap
2
5mo
0xb697…80c0Runs code on every swap
Base
beforeSwapafterSwap
2
5mo
LayerMemeHookDynamicFeeV2Volatility-based dynamic LP fee hook for LayerMeme token pools. Computes fees from tick movement using a volatility accumulator, takes a 20% protocol fee on swaps involving the LayerMeme token via beforeSwap/afterSwap delta manipulation, and supports optional MEV protection and pool extensions.
Base
beforeInitbeforeAddLiqbeforeSwapafterSwap+2
2
5mo
0xd7cd…80c0Runs code on every swap · Sets its own swap fee
Base
beforeSwapafterSwap
2
5mo
0xfef7…c0c8Runs code on every swap · Can take tokens from swaps · Sets its own swap fee
Base
beforeSwapafterSwapswapDelta
2
5mo
LayerMemeHookStaticFeeV2A Uniswap v4 hook for LayerMeme token pools that applies configurable per-direction static LP fees (separate rates for buying vs. selling the LayerMeme token) via updateDynamicLPFee, and collects a 20% protocol fee on each swap through delta adjustments. Includes a time-limited (2-minute) MEV protection module and supports optional pool extensions.
Base
beforeInitbeforeAddLiqbeforeSwapafterSwap+2
2
5mo
0x3cc8…6888Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation
Base
beforeInitbeforeAddLiqbeforeSwapswapDelta
2