UniHooks

Uniswap v4 hooks on Unichain

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

AgeHookChainPermissionsPools
16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapEulerSwap is a custom-curve AMM hook backed by Euler vault lending positions. It handles full swap execution in beforeSwap via a custom invariant curve, depositing input tokens to and withdrawing output tokens from Euler vaults, while blocking native Uniswap concentrated liquidity positions and unauthorized pool initializations. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve Uniswap v4 hook that implements a bonding-curve AMM backed by Euler Finance lending vaults. It fully handles swap execution in beforeSwap—taking input tokens into Euler vaults and withdrawing output tokens—while blocking standard concentrated liquidity additions and donations. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve AMM hook backed by Euler lending vaults. beforeSwap fully handles swap execution: it routes input tokens into an Euler vault, withdraws output tokens from another Euler vault, and verifies the bonding curve invariant. Standard CLAMM liquidity positions and donations are intentionally blocked by revert-on-entry hooks. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve AMM hook backed by Euler Finance vaults. In beforeSwap, it computes quotes via its own reserve-based curve invariant, deposits input tokens into an Euler vault, and withdraws output tokens from another, returning a BeforeSwapDelta to settle the swap entirely without Uniswap's standard concentrated liquidity pools. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom AMM curve backed by Euler Finance vaults. It handles swap execution entirely in beforeSwap via a BeforeSwapDelta, depositing input tokens into and withdrawing output tokens from configured Euler vaults, while blocking standard liquidity addition, pool initialization, and donations to enforce its custom-curve-only model. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom AMM curve backed by Euler vault (EVK) liquidity. Handles swaps entirely in beforeSwap by taking input tokens from the PoolManager and depositing them into an Euler lending vault, then withdrawing output tokens from the counterpart vault, enforcing a configurable bonding-curve invariant on each swap. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom AMM hook backed by Euler Finance vaults. The beforeSwap hook intercepts all swaps, computes quotes against a custom curve invariant (CurveLib), and routes input/output tokens through Euler lending vaults instead of standard Uniswap v4 concentrated liquidity. Direct liquidity additions and donations are blocked by design. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve AMM hook that routes swaps through Euler Finance lending vaults. On each swap, it takes input tokens into an Euler vault and withdraws output tokens from another Euler vault, enforcing invariants via a configurable pricing curve and updating on-chain reserves. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapEulerSwap implements a custom AMM curve backed by Euler Finance lending vaults. On each swap, beforeSwap takes the input token from PoolManager, deposits it into the corresponding Euler vault, withdraws the output token from the other vault, and settles accounting via BeforeSwapDelta — bypassing standard Uniswap v4 concentrated liquidity entirely. beforeAddLiquidity and beforeDonate intentionally revert to prevent idle LP positions and irrecoverable donations. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom AMM hook that fully manages swap execution through Euler Finance lending vaults, bypassing Uniswap's internal pool math. In beforeSwap, it takes input tokens and deposits them into an Euler vault, withdraws output tokens from another vault, returns a BeforeSwapDelta, and enforces a custom bonding curve invariant on reserves. Standard liquidity provision and donations are blocked. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom AMM curve integrated with Euler Finance vaults. Swaps are fully handled in beforeSwap: input tokens are deposited into an Euler vault and output tokens withdrawn from another, with a custom curve invariant verified after each swap. Prevents native concentrated liquidity positions and donations. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve AMM hook backed by Euler lending vaults. Intercepts all swaps in beforeSwap, computes input/output amounts via a custom bonding curve, deposits input tokens into and withdraws output tokens from Euler vaults, and settles via BeforeSwapDelta. Standard Uniswap v4 concentrated liquidity is disabled; each pool instance is a delegatecall proxy to this implementation contract. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom AMM curve backed by Euler Protocol lending vaults. Swaps are fully handled in `beforeSwap`: amounts are computed via a bonding curve, and input/output tokens are deposited and withdrawn directly from Euler vaults, returning a `BeforeSwapDelta` to the pool manager. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve Uniswap v4 hook that routes swaps entirely through Euler lending vaults, computing trade amounts via a proprietary bonding curve (CurveLib/QuoteLib). Liquidity is sourced from Euler vaults rather than concentrated liquidity positions; standard LP deposits and donations are blocked to prevent idle or irrecoverable funds. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve AMM hook that handles swaps entirely within beforeSwap by routing funds through Euler Finance vaults (EVK). Input tokens are deposited into the relevant Euler vault and output tokens withdrawn, with reserves verified against a configurable concentration curve. Each deployed pool is a delegatecall proxy of a shared implementation. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom-curve AMM hook that routes swaps through Euler Finance lending vaults. Intercepts swaps via beforeSwap using BeforeSwapDelta, applies a configurable bonding curve invariant, and settles input/output tokens directly against Euler vaults. Blocks standard liquidity provision and direct pool initialization; each deployed hook instance is a minimal proxy clone delegating to this implementation. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom curve AMM hook that integrates Uniswap v4 with Euler Finance vaults. In beforeSwap, it computes swap amounts using a proprietary bonding curve, takes input tokens from the PoolManager and deposits them into an Euler vault, then withdraws output tokens from a paired Euler vault and settles via BeforeSwapDelta. Direct liquidity additions and donations are blocked. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve AMM hook backed by Euler Finance vaults. Replaces Uniswap v4's standard CLAMM with a bespoke price curve; on each swap, input tokens are deposited into and output tokens are withdrawn from Euler vaults, with the curve invariant verified. Standard liquidity provision and donations are blocked to prevent unproductive positions. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom-curve AMM hook for Uniswap v4 that implements a configurable bonding curve instead of standard x*y=k. In beforeSwap, it computes quotes, takes input tokens from the pool manager, deposits them into Euler vaults, withdraws output tokens from Euler vaults, and returns a BeforeSwapDelta — bypassing standard LP liquidity entirely. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom single-LP AMM backed by Euler Finance vault positions. All swap logic runs in beforeSwap: it takes input tokens, deposits them into an Euler vault, withdraws output tokens from another Euler vault, and verifies the configurable price curve invariant — bypassing the standard Uniswap concentrated-liquidity mechanism entirely. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom AMM curve backed by Euler Protocol lending vaults. It intercepts all swaps via beforeSwap, routing token flows through vault deposits and withdrawals while enforcing a bespoke reserve curve invariant instead of standard concentrated liquidity. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom AMM curve backed by Euler vault liquidity. It intercepts swaps in beforeSwap, computes quotes against a configurable curve, and directly routes token flows through Euler vaults. Standard liquidity additions and donations are intentionally blocked to prevent misuse. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapEulerSwap is a custom-curve Uniswap v4 hook that routes swaps entirely through Euler Protocol lending vaults, depositing input tokens and withdrawing output tokens according to a proprietary curve invariant. It bypasses the standard CLAMM mechanism via beforeSwapReturnsDelta, preventing native concentrated liquidity positions. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook that implements a custom AMM curve backed by Euler Finance lending vaults. In beforeSwap, it computes quotes using a configurable invariant curve, deposits input tokens into an Euler vault, withdraws output tokens from another Euler vault, and returns the full swap delta — bypassing the standard pool's concentrated liquidity entirely. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve AMM hook that routes swap liquidity through Euler Finance lending vaults. The beforeSwap handler fully manages token transfers and settlement using a configurable bonding curve invariant, returning a BeforeSwapDelta to bypass v4 CLAMM pricing. Concentrated liquidity positions and donations are blocked to prevent non-productive usage. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom AMM curve backed by Euler lending vaults. On each swap, the hook takes input tokens into an Euler vault and withdraws output tokens from another, verifying a custom bonding curve invariant to price trades and returning a full BeforeSwapDelta to the PoolManager. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom AMM backed by Euler Finance lending vaults. In beforeSwap, it routes input tokens into Euler vaults, withdraws output tokens from Euler vaults, and enforces a proprietary bonding curve invariant, replacing standard concentrated liquidity with a custom curve. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom curve AMM hook backed by Euler Finance vaults. In beforeSwap, it computes quotes against a protocol-specific bonding curve, takes input tokens from the PoolManager, deposits them into an Euler vault, and withdraws output tokens from another Euler vault — bypassing Uniswap's native concentrated liquidity. Donations and standard LP positions are blocked via beforeDonate and beforeAddLiquidity reverts. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom AMM hook that routes swaps through Euler Finance lending vaults using a configurable bonding curve (EulerSwap v1). The beforeSwap handler computes quotes via CurveLib, deposits input tokens into and withdraws output tokens from Euler vaults, and returns a BeforeSwapDelta to handle all pool accounting. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve Uniswap v4 hook that implements an AMM backed by Euler Finance lending vaults. Swaps are handled entirely in beforeSwap using a custom bonding curve: input tokens are deposited into and output tokens are withdrawn from Euler vaults, while native Uniswap concentrated liquidity positions are blocked. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom AMM hook that routes swaps through Euler Protocol lending vaults using a proprietary curve invariant. Input tokens are deposited into and output tokens withdrawn from Euler vaults during each swap, with the hook fully managing swap execution via beforeSwapReturnsDelta. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapEulerSwap is a Uniswap v4 hook that implements a custom bilateral AMM curve backed by Euler Finance lending vaults. In beforeSwap, it computes a quote using configurable price and concentration parameters, deposits input tokens into an Euler vault, withdraws output tokens from another, and fully handles swap accounting via beforeSwapReturnsDelta — bypassing v4's native concentrated liquidity entirely. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo 0x4daf…c8c0Runs code on every swap · Sets its own swap fee · Gates who can add liquidity Unichain beforeAddLiqbeforeSwapafterSwap 1 16mo EulerSwapEulerSwap is a custom-curve AMM hook backed by Euler Finance vault collateral. In `beforeSwap`, it computes swap amounts using its own curve invariant, deposits input tokens into and withdraws output tokens from Euler vaults, and returns a `BeforeSwapDelta` to fully override standard Uniswap v4 pool math. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom curve AMM hook for Uniswap v4 that routes swaps through Euler Protocol vaults. Instead of native concentrated liquidity, it implements a proprietary pricing curve and handles all swap accounting by depositing input tokens into and withdrawing output tokens from Euler vaults, using beforeSwapReturnsDelta to fully take over swap execution. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapRuns code on every swap · Can take tokens from swaps · Gates who can add liquidity · Runs at pool creation · Handles donations to LPs Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapEulerSwap implements a custom bonding-curve AMM as a Uniswap v4 hook, using Euler lending vaults for asset custody. Swaps are processed entirely in `beforeSwap` — input assets are deposited into, and output assets withdrawn from, Euler vaults — bypassing standard concentrated liquidity. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom-curve AMM hook that routes swaps entirely through Euler Finance lending vaults. In beforeSwap, it takes input tokens, deposits them to an Euler vault, and withdraws output tokens from another Euler vault, enforcing a proprietary invariant curve. Standard concentrated liquidity positions and donations are blocked via beforeAddLiquidity and beforeDonate reverts. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve AMM hook backed by Euler Finance lending vaults. In beforeSwap, it computes swap quotes using a configurable bonding curve (CurveLib), deposits input tokens into an Euler vault, and withdraws output tokens from another vault, fully replacing Uniswap v4's native concentrated liquidity mechanism via BeforeSwapDelta. Standard liquidity additions and donations are blocked. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1