UniHooks

Every Uniswap v4 hook, live

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

Filters
Type
Safety
Activity
Permissions
Hooks with all of the selected permissions:
Sort
AgeHookChainPermissionsPools
5mo 0x287d…40ccRuns code on every swap · Can take tokens from swaps Ethereum beforeSwapafterSwapswapDeltaafterSwapDelta 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 0x9631…6888Runs code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Ethereum beforeInitbeforeAddLiqbeforeSwapswapDelta 2 5mo 0xb988…c0c0Runs code on every swap Base beforeSwapafterSwap 2 5mo FlywheelV4HookBuyback-and-burn hook for a single ETH/token pool. Collects 0.7% fee on ETH buys into a burn pot and queues 0.7% of tokens on sells for burning. Sets a buyback-queued flag every 20 swaps; the buyback-and-burn swap is executed by calling flyWheel() externally. Blocks sells in the same block as a buyback. Restricts pool liquidity to a single initial add only. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo 0x65a5…8444Runs code on every swap · Can take tokens from swaps Base afterAddLiqafterSwapafterSwapDelta 2 5mo 0xe198…8044Runs code on every swap · Can take tokens from swaps Ethereum afterSwapafterSwapDelta 2 5mo 0x14ef…0444Runs code on every swap · Can take tokens from swaps Base afterAddLiqafterSwapafterSwapDelta 2 5mo 0x65eb…80c0Runs code on every swap BNB beforeSwapafterSwap 2 5mo FlywheelV4HookA buyback-and-burn hook that collects a 1.2% fee on every swap — ETH on buys into a burn pot, tokens on sells queued for burning — and periodically executes autonomous buybacks by swapping accumulated ETH for the pool token and burning the proceeds. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo HaloHookRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Ethereum beforeInitbeforeAddLiqbeforeSwapswapDelta 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 0x21de…e8ccRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo UniswapV4HookA Uniswap v4 hook that extracts a 1% fee from every buy (in native ETH) and sell (in tokens), accumulating ETH into a burn pot used for periodic on-chain buyback-and-burn swaps; blocks exact-output swaps and sells in the same block as a buyback, and includes an allowlist in afterSwap that can selectively prevent sell-side swaps; the restriction can be enabled by any caller via compress(), while only the deployer can disable it and control which addresses are allowlisted. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo WLimitOrderHookA Uniswap v4 hook implementing single-tick limit orders with atomic swap + order placement. Users place orders by adding concentrated liquidity at a specific tick; when the pool price crosses that tick, the position is automatically filled. The swapAndPlaceOrder() function combines a swap and limit order placement in a single transaction, preventing front-running. Filled orders can be withdrawn at any time. Arbitrum afterInitafterSwap 2 5mo 0xdec9…e8ccRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo 0x1254…28ccRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 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 UniswapV4HookA buy/sell hook deducting a 4% fee per swap: ETH fees from buys accumulate in a burn pot for buyback-and-burn via the pool; token fees from sells queue for burning. Pool init and liquidity addition are one-time per token; exact-output swaps always revert. Sells can be gated by an admin allowlist (timeBased/hasValue): any address can activate the restriction per token via pitchWC(), after which only deployer-allowlisted addresses can sell, and only the deployer can deactivate it. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo 0xe3bd…c0ccRuns code on every swap · Can take tokens from swaps Ethereum beforeSwapafterSwapswapDeltaafterSwapDelta 2 5mo 0x5ec9…0088Runs code on every swap · Can take tokens from swaps Base beforeSwapswapDelta 2 5mo 0x8f3c…4088Runs code on every swap · Can take tokens from swaps Ethereum beforeSwapswapDelta 2 5mo UniswapV4HookA Uniswap v4 hook with a 1.2% fee on buys and sells. Buy fees accumulate ETH in a burn pot for buyback-and-burn every 20 swaps; sell fees queue tokens for burning. Sells are blocked in the same block as a buyback. Exact-output swaps always revert. Only one liquidity addition is permitted per token. Additionally, afterSwap has an allowlist: once activated by any caller via superTokens(), sells are blocked for all addresses not pre-approved by the deployer. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo UniswapV4HookHook that charges a 1.7% fee on each swap: buy-side fees accumulate in an ETH pot for periodic buyback-and-burn (triggered every 20 swaps), while sell-side token fees are immediately queued for burning. Liquidity addition is permanently restricted to one deposit, and exact-output swaps always revert. When the token's `timeBased` flag is set, sell-side swaps are additionally restricted to an owner-approved allowlist (the `hasValue` mapping), reverting for any seller not on the list. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo 0x8f27…c088Runs code on every swap · Can take tokens from swaps Base beforeSwapswapDelta 2 5mo UniswapV4HookA Uniswap v4 hook that enforces one-time pool initialization and allows only one liquidity addition per token (subsequent additions revert); LP funds are not trapped, as liquidity removal proceeds through standard Uniswap v4 mechanics and LPs can remove their positions freely. In afterSwap, once the permissionless robot() function has been called for a token, non-zeroForOne (sell-side) swaps revert for any address not in the deployer-controlled allowlist, while buys remain unrestricted. Ethereum beforeInitbeforeAddLiqafterSwap 2 5mo UniswapV4HookA burn-and-buyback hook that charges a 2.2% fee on buys (ETH routed to a reserve for periodic buybacks) and burns 2.2% of tokens on sells. Liquidity additions are restricted to one initial deposit. Contains a hidden allowlist mechanism in afterSwap that can selectively block sells from non-allowlisted addresses when activated by any caller via superposition() (allowlist membership itself is controlled by the deployer). Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo UniswapV4HookA buy-and-burn hook that charges a 1.7% fee on buys (ETH accumulated into a burn pot for periodic token buybacks every 20 swaps) and sells (tokens queued for direct burning). Exact-output swaps always revert. Sell access can be restricted to an owner-managed allowlist when enabled per token. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo UniswapV4HookCharges a 1.7% fee on buys (ETH) and sells (tokens), routing fees into a burn pot. Every 20 user swaps it signals a buyback-and-burn. Blocks sells in the same block as a buyback. Optionally restricts sells to an owner-controlled tx.origin allowlist, which any external caller can activate via superposition(). Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo UniswapV4HookCollects a 1.7% fee on buys (ETH) and sells (token), routing buy fees to a burn pot for periodic buyback-and-burn operations. Every 20 swaps with a non-empty burn pot, a buyback is flagged; sells in the same block as a buyback are blocked. Liquidity addition is permanently gated to a single provider, and sell access can be restricted to an admin-controlled allowlist via a publicly-triggerable `timeBased` flag. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo DoubleSineHookA custom AMM hook controlling two canonical pools (ETH/TokenA and ETH/TokenB) that share a single virtual ETH reserve. It fully bypasses Uniswap's native AMM via beforeSwapReturnsDelta, implementing its own constant-product curve with 1% buy/sell fees routed to an immutable treasury address and a 5-block anti-snipe cap on buy size at launch. Ethereum afterInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+1 2 5mo DoubleSineHookCustom AMM hook managing two pools (ETH/TokenA and ETH/TokenB) sharing a single virtual ETH reserve via a proprietary constant-product curve (DoubleSineMath). The hook fully intercepts all swaps via beforeSwapReturnsDelta, bypassing Uniswap's native pricing. Charges a 1% buy/sell fee directed to an immutable treasury. Liquidity addition/removal is disabled; buy size is capped for the first 5 blocks post-initialization as an anti-snipe measure. Ethereum afterInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+1 2 5mo 0xcb89…c040Runs code on every swap Base afterSwap 2 5mo UniswapV4HookA Uniswap v4 hook that collects a 0.7% fee on every swap — ETH on buys, tokens on sells — accumulating ETH into a burn pot for periodic buyback-and-burn operations. Sell transactions can be selectively blocked via a tx.origin allowlist when enabled, and only one liquidity addition per token is permitted. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo UniswapV4HookA Uniswap v4 hook collecting a 0.7% fee on every swap: ETH from buys accumulates in a burn pot for buyback-and-burn every 20 swaps, and token input from sells is burned directly. Liquidity addition is one-time per token, and sells are blocked in the same block as a buyback. Additionally, any address can activate a per-token sell allowlist by calling registerPixel, restricting sells to addresses the deployer pre-approves via preparePixels; only the deployer (genesisAddress) can deactivate it. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo UniswapV4HookExtracts a 2.2% tax on buy and sell swaps via BeforeSwapDelta. Buy-side ETH fees accumulate in a burn pot for buyback-and-burn every 20 swaps; sell-side tokens are queued and burned on later swaps. Only one liquidity addition per token is permitted. Additionally, afterSwap enforces a sell-side allowlist: when timeBased[token] is enabled (activatable by anyone via registerBurner()), sells revert for any tx.origin not in the deployer-controlled hasValue allowlist. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 5mo IncineratorBuy-and-burn hook that extracts a 2.2% fee on ETH buys into a burn pot for periodic buyback-and-burn, and a 2.2% token fee on sells for immediate burning via delta returns. Contains a hidden mechanism: once `registerBurner()` is called (callable by anyone), sells by non-whitelisted addresses revert in `afterSwap`, creating a potential honeypot controlled by the deployer. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 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 HyperhookA prediction-market hook that lets users trade binary outcome tokens (UP/DOWN) against a base asset using a custom bonding curve inside time-bounded epochs. Epochs are resolved by a Chainlink price feed; winning-side holders can redeem their tokens for the base asset after resolution, subject to a decay tax. Ethereum afterAddLiqbeforeSwapswapDelta 2 5mo DoubleSineHookA custom AMM hook managing two pools (ETH/TokenA and ETH/TokenB) that share a single virtual ETH reserve under a constant-product pricing curve. The hook fully intercepts swaps via beforeSwapReturnsDelta, minting/burning tokens and settling ETH directly. Applies a 1% buy/sell fee to an immutable treasury address and enforces a 5-block anti-snipe buy cap on launch. Ethereum afterInitbeforeAddLiqbeforeRemoveLiqbeforeSwap+1 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 PillHookA Uniswap v4 hook for a dual-faction (RED/BLUE) game that taxes exact-input token sells at 3% in ETH, redistributing proceeds to the opposite faction's holders via a Synthetix-style per-token accumulator. Ethereum afterSwapafterSwapDelta 2 6mo 0x0b08…0044Runs code on every swap · Can take tokens from swaps Ethereum afterSwapafterSwapDelta 2 6mo UniswapV4HookCharges a 1.2% fee on all swaps: buy-side (ETH->token) fees accumulate in a native burn pot and are periodically used to buyback and burn tokens; sell-side (token->ETH) fees are taken and burned directly. Blocks all liquidity additions after the first and reverts exact-output swaps. An afterSwap allowlist (hasValue) can gate sells; the restriction is enabled permissionlessly by anyone via burner(), while allowlist membership is owner-controlled. Ethereum beforeInitbeforeAddLiqbeforeSwapafterSwap+2 2 6mo 0xc029…0044Runs code on every swap · Can take tokens from swaps Ethereum afterSwapafterSwapDelta 2 6mo BurnHookRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation Ethereum beforeInitbeforeAddLiqbeforeSwapswapDelta 2