UniHooks

Uniswap v4 hooks on Ethereum

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

AgeHookChainPermissionsPools
27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d 0x7dd9…8144Runs code on every swap · Can take tokens from swaps Ethereum afterRemoveLiqafterSwapafterSwapDelta 1 27d 0xf558…a8ecRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d 0xb725…e8ecRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d MarginaliaHookRuns code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d 0x196f…68ecRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d 0x0c4a…a8ecRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d 0x9db2…a8ecRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d 0x69ff…e8ecRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d 0x3f88…68ecRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d 0x1800…a8ecRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d 0x4315…28ecRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d 0x4586…68ecRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d LaunchHookRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d PegFeeHookRuns code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitafterSwapafterSwapDelta 1 27d 0xaa3d…0144Runs code on every swap · Can take tokens from swaps Ethereum afterRemoveLiqafterSwapafterSwapDelta 1 27d LaunchHookRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+3 1 27d 0x8ace…c0ccRuns code on every swap · Can take tokens from swaps Ethereum beforeSwapafterSwapswapDeltaafterSwapDelta 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d 0x7799…ffffRuns 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 · Handles donations to LPs Ethereum beforeInitafterInitbeforeAddLiqafterAddLiq+10 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d 0xd9b9…4044Runs code on every swap · Can take tokens from swaps Ethereum afterSwapafterSwapDelta 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 27d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 28d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 28d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 28d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 28d BaulsHookProxyRuns code on every swap · Can take tokens from swaps · Sets its own swap fee · Can block LP withdrawals · Takes a cut when LPs withdraw · Gates who can add liquidity · Adjusts deposit amounts · Runs at pool creation · Handles donations to LPs Ethereum beforeInitafterInitbeforeAddLiqafterAddLiq+10 1 28d 0xb072…20ccRuns code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 28d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 28d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 28d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1 28d FoundationHookV2Runs code on every swap · Can take tokens from swaps · Runs at pool creation Ethereum beforeInitbeforeSwapafterSwapswapDelta+1 1