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 1
Type
Safety
Activity
Permissions
Hooks with all of the selected permissions:
Sort
AgeHookChainPermissionsPools
14mo EulerSwapCustom-curve AMM hook that routes swap funds through Euler lending vaults. The beforeSwap handler takes input tokens from the pool manager, deposits them into an Euler vault, withdraws output tokens from another Euler vault, and verifies the result against a custom concentrated-liquidity curve. Liquidity provision and donations are blocked by design. Ethereum beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA custom-curve AMM hook backed by Euler Finance lending vaults. Instead of using Uniswap v4's concentrated liquidity, it routes swaps entirely through its own bonding curve: depositing input tokens into an Euler vault and withdrawing output tokens from another, then verifying the resulting reserves satisfy the curve invariant. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA custom AMM hook that routes swaps through Euler Finance vaults. It fully overrides Uniswap v4 swap execution via beforeSwapReturnsDelta: input tokens are deposited into an Euler vault and output tokens are withdrawn from another, with reserves tracked against a custom bonding curve invariant verified by CurveLib. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA Uniswap v4 hook implementing a custom AMM backed by Euler lending vault positions. In beforeSwap, it intercepts every swap, computes amounts via a configurable price curve, and routes funds through Euler vaults, returning a BeforeSwapDelta to bypass pool-native pricing. Adding CLAMM liquidity and donations are blocked to protect against unproductive positions. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA custom AMM hook that implements single-LP pools backed by Euler Finance lending vaults. In beforeSwap, it fully processes each swap by depositing input tokens into and withdrawing output tokens from Euler vaults, returning a BeforeSwapDelta to bypass Uniswap's native liquidity math. Reverts on direct liquidity additions and donations to enforce the custom curve invariant. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapCustom-curve AMM hook that routes liquidity through Euler lending vaults instead of standard Uniswap v4 concentrated liquidity. Intercepts all swaps in `beforeSwap`, computes quotes via a proprietary curve invariant, and deposits/withdraws assets to/from Euler vaults, fully replacing the pool's AMM logic via `BeforeSwapDelta`. Ethereum beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo ConstantSumCurveA constant-sum (1:1) AMM hook that implements hook-owned liquidity and a fully custom swap curve via beforeSwap return delta. Both exact-input and exact-output swaps execute at a fixed 1:1 exchange rate, bypassing Uniswap v4's native AMM math entirely. Standard v4 liquidity addition is blocked via revert. BSC beforeAddLiqbeforeSwapswapDelta 1 14mo ConstantSumCurveA constant-sum AMM curve hook that implements 1:1 token swaps using hook-managed liquidity. Disables standard v4 liquidity provision via a revert in beforeAddLiquidity, and routes all swaps through a custom beforeSwap handler that returns a delta, bypassing the pool's internal pricing. BSC beforeAddLiqbeforeSwapswapDelta 1 14mo ConstantSumCurveA constant-sum (1:1) custom curve hook that fully intercepts swaps via beforeSwap with return delta, trading tokens at a fixed 1:1 ratio without using Uniswap v4's native AMM pricing. It manages its own liquidity pool and blocks native v4 liquidity modifications via a revert in beforeAddLiquidity. BSC beforeAddLiqbeforeSwapswapDelta 1 14mo ConstantSumCurveA custom-curve hook implementing a constant-sum (1:1) AMM with hook-owned liquidity. It disables native Uniswap v4 liquidity via a revert in beforeAddLiquidity, and handles all swaps directly using beforeSwapReturnsDelta — taking the input token and settling the output token at a 1:1 ratio. BSC beforeAddLiqbeforeSwapswapDelta 1 14mo ConstantSumCurveA constant-sum AMM hook that replaces Uniswap v4's pricing curve with a fixed 1:1 exchange ratio using hook-owned liquidity. All swaps are fully handled in beforeSwap via a BeforeSwapDelta, and standard v4 liquidity provision is blocked in favor of hook-managed liquidity. BSC beforeAddLiqbeforeSwapswapDelta 1 14mo AssetToAssetSwapHookForERC4626Converts raw ERC20 assets to/from ERC4626 vault wrapper shares in beforeSwap, then executes a nested swap on the corresponding vault wrapper pool via poolManager.swap(), returning a BeforeSwapDelta so users can trade underlying assets directly without manually managing vault shares. Falls back to owner-configured default vault wrappers when no hookData is provided. Unichain beforeSwapswapDelta 1 14mo EulerSwapCustom curve AMM hook backed by Euler Finance lending vaults. Executes swaps entirely in beforeSwap using a proprietary invariant curve, depositing input tokens into and withdrawing output tokens from Euler vaults via beforeSwapReturnsDelta. Reverts on beforeAddLiquidity and beforeDonate to prevent unproductive liquidity positions and irrecoverable donations. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo FeeHookCollects swap fees per pool and, once a threshold is reached, harvests them via the position manager and burns any non-native token proceeds to the dead address. Accumulated ETH fees are distributed weekly to vMooney token holders who explicitly check in each week. Arbitrum beforeAddLiqafterSwapafterSwapDelta 1 14mo EulerSwapCustom AMM hook that routes swaps through Euler lending vaults using a custom pricing curve. On each swap, it takes input tokens into the relevant Euler vault and withdraws output tokens from the other vault, verifying the curve invariant. Blocks native LP positions and donations to prevent loss of funds. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapEulerSwap implements a custom AMM curve routing swaps through paired Euler Finance vaults: on each swap it deposits the input token into one vault and withdraws the output from another, enforcing a custom curve invariant. Liquidity positions are blocked (beforeAddLiquidity reverts); the hook acts as the sole market maker using a MetaProxy delegatecall architecture. Ethereum beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA custom AMM hook that routes swaps entirely through Euler Finance vaults. In beforeSwap, it computes quotes via a custom bonding curve (CurveLib), takes input tokens from the PoolManager, deposits them into an Euler vault, withdraws output tokens from the counterpart vault, and returns a BeforeSwapDelta for accounting. Native concentrated liquidity positions and donations are blocked. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA custom curve AMM hook backed by Euler Finance EVC vaults. In beforeSwap, it takes input tokens from the PoolManager, deposits them into an Euler vault, withdraws output tokens from the counterpart vault, and enforces a custom price curve invariant, fully replacing Uniswap's native swap math via BeforeSwapDelta. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapCustom-curve AMM hook that replaces Uniswap v4's CLMM mechanics with a configurable bonding curve backed by Euler vaults. In beforeSwap, it intercepts all swaps, computes quotes against the curve, deposits input assets into and withdraws output assets from Euler vaults directly, and returns a BeforeSwapDelta to bypass standard pool accounting. Ethereum beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA custom-curve AMM hook that uses Euler Finance lending vaults as liquidity sources. In beforeSwap, it computes quotes against a custom bonding curve, deposits input tokens into and withdraws output tokens from Euler vaults, and validates the curve invariant. Standard concentrated liquidity provision and donations are blocked via revert. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA custom AMM hook that integrates with Euler Finance vaults, routing all swap assets through Euler vault deposits and withdrawals while enforcing a custom bonding curve (CurveLib). It handles full swap accounting via BeforeSwapDelta, bypassing Uniswap v4 native concentrated liquidity entirely and blocking direct liquidity additions and donations. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA custom-curve AMM hook that fully handles swap execution by routing funds through Euler Finance EVC-collateralized vaults. It intercepts swaps via beforeSwap with delta returns, computes quotes against a custom price curve, and manages reserves directly—bypassing standard Uniswap v4 concentrated liquidity. Standard LP positions and donations are blocked via revert. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapEulerSwap is a custom-curve AMM hook that routes swaps through Euler Finance vaults. In beforeSwap, it computes input/output amounts using a configurable concentration curve, deposits input tokens into Euler vaults, and withdraws output tokens, returning the full swap delta to override the pool's normal swap execution. Ethereum beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA Uniswap v4 hook implementing a custom bonding-curve AMM backed by Euler lending vaults. In beforeSwap, it computes swap amounts via a custom curve (CurveLib), deposits input tokens into one Euler vault and withdraws output tokens from another, fully replacing Uniswap's concentrated liquidity mechanism with single-sided vault-backed liquidity. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA custom-curve AMM hook backed by Euler Finance lending vaults. All swap accounting is handled in beforeSwap: input tokens are deposited into and output tokens withdrawn from Euler vaults, with trades validated against a proprietary asymmetric liquidity curve. Standard concentrated liquidity additions and donations are blocked via intentional reverts. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA Uniswap v4 hook implementing a custom AMM that routes swaps through Euler lending vaults: input tokens are deposited into an Euler vault and output tokens are withdrawn from another, with swap accounting handled entirely via a BeforeSwapDelta return and a custom invariant curve (CurveLib) enforcing reserve bounds. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo M0 Tick Range HookRestricts liquidity provision to a configurable tick range by reverting in beforeAddLiquidity if the position's ticks fall outside the allowed bounds. An authorized manager role can update the tick range. Ethereum beforeAddLiq 1 14mo EulerSwapA custom AMM hook for Uniswap v4 that implements a concentrated liquidity alternative using Euler Finance vaults, routing swap inputs through vault deposits and outputs from vault withdrawals, verified against a custom bonding curve formula. Ethereum beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA custom AMM hook that routes swaps through Euler Finance vaults, depositing input tokens and withdrawing output tokens while enforcing a custom bonding curve invariant. Bypasses Uniswap v4 concentrated liquidity; reverts on standard liquidity additions and donations to protect users from non-productive positions. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo Panoptic Oracle Hook (Unichain)Records price observations on each swap and initializes oracle state on pool initialization, exposing a Uniswap V3-compatible oracle interface with both standard and truncated tick adapters deployed per pool. Unichain afterInitbeforeSwap 1 14mo EulerSwapA Uniswap v4 hook implementing a custom AMM curve backed by Euler lending vaults. Swaps are executed by depositing input tokens into and withdrawing output tokens from Euler vaults, with the exchange rate governed by a configurable bonding curve verified on every swap. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 14mo EulerSwapA custom AMM hook backed by Euler lending vaults that implements a concentrated bonding curve. In beforeSwap, it handles all token accounting directly—depositing input tokens into an Euler vault and withdrawing output tokens from another vault—returning a BeforeSwapDelta to bypass standard Uniswap v4 CLAMM liquidity. Standard liquidity addition and donation are blocked via hook reverts. Ethereum beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapA Uniswap v4 hook implementing a custom AMM that routes swaps through Euler lending vaults. On each swap, input tokens are deposited into the paired Euler vault and output tokens are withdrawn from the other vault, with amounts verified against a custom bonding curve. Liquidity addition and donations are blocked to prevent non-productive positions. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapA custom-curve AMM hook for Uniswap v4 that routes swaps entirely through paired Euler Finance vaults, bypassing Uniswap's concentrated liquidity. Each pool is an EIP-1167 minimal proxy; beforeSwap computes quotes via a custom bonding curve, moves tokens through Euler vaults, and verifies the curve invariant before returning a BeforeSwapDelta. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapA Uniswap v4 hook implementing a custom AMM curve backed by Euler Finance vaults. Swaps are handled entirely in beforeSwap via BeforeSwapDelta — input tokens are deposited into and output tokens withdrawn from Euler lending vaults, while enforcing a custom invariant curve. Standard concentrated liquidity is blocked; the hook is deployed per-pool as an immutable delegatecall proxy. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapA custom-curve AMM hook backed by Euler vault positions. `beforeSwap` handles swaps end-to-end: it deposits input tokens into and withdraws output tokens from Euler lending vaults, enforcing a bespoke price curve invariant instead of Uniswap's standard concentrated liquidity. Standard liquidity addition and donations are intentionally blocked. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapA custom-curve AMM hook for Uniswap v4 that routes swaps through Euler Finance lending vaults. In beforeSwap, it deposits input tokens into and withdraws output tokens from Euler vaults, enforces a custom pricing curve invariant, and returns a BeforeSwapDelta to settle accounting directly with the pool manager, bypassing traditional concentrated liquidity. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapA Uniswap v4 hook that implements a custom AMM curve backed by Euler vault collateral. Swaps are handled entirely in beforeSwap: input tokens are deposited into an Euler vault and output tokens are withdrawn from another vault, with a custom curve constraint verified on each trade. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapA custom-curve AMM hook for Uniswap v4 that routes swap funds through Euler lending vaults. Implements its own price curve (via CurveLib) and fully handles swaps in beforeSwap using BeforeSwapDelta, bypassing Uniswap's standard CLAMM mechanics. Each pool instance is deployed as a minimal delegatecall proxy to the EulerSwap implementation singleton. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapA Uniswap v4 hook that implements a custom AMM for token pairs backed by Euler lending vault positions. The beforeSwap handler fully executes each swap by depositing input tokens into and withdrawing output tokens from Euler vaults, enforcing a custom curve invariant rather than using Uniswap's concentrated-liquidity math. Ethereum beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapCustom AMM hook backed by Euler lending vaults. In beforeSwap, input tokens are deposited into an Euler vault and output tokens withdrawn from another, with pricing governed by a custom bonding curve (CurveLib). Standard concentrated liquidity (beforeAddLiquidity) and donations (beforeDonate) are blocked to protect users from creating idle positions or losing funds. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapEulerSwap is a custom-curve AMM hook backed by Euler Protocol vaults: during each swap, input tokens are deposited into and output tokens are withdrawn from Euler lending vaults. The hook handles all swap accounting via BeforeSwapDelta using a configurable invariant curve, bypassing standard Uniswap v4 concentrated liquidity entirely. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapCustom-curve Uniswap v4 hook that routes swaps through Euler Finance lending vaults using an asymmetric configurable bonding curve. Intercepts swaps in beforeSwap to handle token deposits and withdrawals directly from Euler vaults, returning a BeforeSwapDelta to override standard pool AMM pricing. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo LiquidityPenaltyHookA JIT (Just-in-Time) liquidity protection hook that withholds LP fees when liquidity is added and removed within a configurable block window. Fees collected during rapid add/remove cycles are penalized proportionally and donated to in-range liquidity providers, disincentivizing JIT attacks. Unichain afterAddLiqafterRemoveLiqaddLiqDeltaremoveLiqDelta 1 15mo EulerSwapCustom AMM hook backed by Euler vaults that implements its own swap curve. In beforeSwap, input tokens are deposited into an Euler vault and output tokens are withdrawn, with a custom curve invariant enforced in place of Uniswap's concentrated liquidity. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapA custom-curve AMM hook that routes swaps through Euler vaults. In beforeSwap, it deposits input tokens into an Euler vault, withdraws output tokens from another Euler vault, verifies the trade against a custom price curve, and returns a BeforeSwapDelta to fully override standard pool accounting. Standard Uniswap concentrated liquidity is intentionally disabled. Ethereum beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo ArbitrageHookAfter each swap, queries an oracle to determine if the pool price has deviated from a target; if so, withdraws funds from a companion INexArbitrage contract and executes a rebalancing swap via poolManager.swap() to push the pool price back toward the oracle-derived target. Arbitrum afterSwap 1 15mo EulerSwapA Uniswap v4 hook implementing a custom AMM curve backed by Euler Finance lending vaults. Each instance routes swaps directly through two Euler vaults using a configurable bonding curve invariant, bypassing standard concentrated liquidity. Deployed as delegatecall proxy clones from a shared implementation. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapA Uniswap v4 hook that implements a custom AMM using Euler vaults as liquidity sources. In beforeSwap, it intercepts all swaps, computes quotes via a custom bonding curve (CurveLib), takes input tokens into Euler vault deposits, and pays output tokens from vault withdrawals — settling fully via beforeSwapReturnsDelta without touching the standard concentrated liquidity pool. Ethereum beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 15mo EulerSwapA custom-curve Uniswap v4 hook that routes swaps entirely through Euler Finance vaults. In beforeSwap, it takes input tokens into an Euler vault and pays output tokens from another Euler vault, returning a BeforeSwapDelta to bypass standard CLAMM liquidity. Liquidity additions and donations are blocked via intentional reverts. Ethereum beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1