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 EulerSwapCustom-curve AMM hook that replaces Uniswap v4 pool liquidity with Euler vault-backed reserves. In beforeSwap, it computes quotes against an internal bonding curve, deposits input tokens into an Euler vault, withdraws output tokens from another Euler vault, and returns a BeforeSwapDelta to handle all swap accounting. Liquidity additions and donations are blocked to prevent misuse. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom AMM hook backed by Euler Finance vaults: beforeSwap intercepts all swaps, deposits input tokens into an Euler vault, withdraws output tokens from an Euler vault, and verifies a proprietary curve invariant, fully replacing Uniswap v4 concentrated liquidity with its own pricing mechanism. 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 EulerSwapCustom-curve Uniswap v4 hook that routes swaps entirely through Euler Finance vaults. In beforeSwap, it takes input tokens into an Euler vault, prices the trade using its own AMM curve (not v4 concentrated liquidity), and withdraws output tokens from another Euler vault — returning a BeforeSwapDelta to handle all accounting directly with the PoolManager. 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. In beforeSwap, it computes quotes via a custom bonding curve, deposits input tokens into an Euler vault, withdraws output tokens from another, and returns a full BeforeSwapDelta to bypass standard pool math. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom AMM that routes all swap liquidity through Euler lending vaults. Uses a parameterized pricing curve with configurable equilibrium reserves and concentration factors; completely overrides swap execution via beforeSwapReturnsDelta, taking input tokens into Euler vaults and withdrawing output tokens from them. 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 Uniswap v4 hook implementing a custom AMM backed by Euler Finance lending vaults. Swaps are fully handled in `beforeSwap` via a `BeforeSwapDelta` return — input tokens are deposited into and output tokens withdrawn from Euler vaults, with amounts verified against a custom price curve invariant. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom AMM hook for Uniswap v4 backed by Euler Protocol vaults. Intercepts swaps via beforeSwap, executing trades by depositing input tokens to and withdrawing output tokens from Euler vaults, enforcing a custom curve invariant. Blocks standard concentrated liquidity provision and donations to prevent idle or irrecoverable positions. 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 routes swaps through Euler lending vaults, bypassing Uniswap v4 concentrated liquidity entirely. Uses its own bonding curve (CurveLib) to compute quotes and settles swap amounts directly between Euler vaults via beforeSwap with delta returns. 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 AMM hook that routes swaps through Euler Finance lending vaults using a custom bonding curve. In beforeSwap, it takes input tokens into Euler vaults and withdraws output tokens from the counterpart vault, completely replacing standard Uniswap v4 pool math via BeforeSwapDelta. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve AMM hook for Uniswap v4 that routes swaps entirely through Euler lending vaults. It computes swap amounts via a configurable bonding curve, handles all token accounting by depositing inputs into and withdrawing outputs from Euler vaults, and returns a BeforeSwapDelta to bypass the pool's internal AMM math. Concentrated liquidity positions and donations are intentionally blocked. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom bonding curve backed by Euler vault assets. Swaps are handled entirely in beforeSwap: it computes output via a custom curve (CurveLib), deposits input tokens into and withdraws output tokens from Euler vaults, and returns the full BeforeSwapDelta, bypassing standard AMM pricing. Add-liquidity and donate are blocked to prevent unproductive positions. 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 AMM hook for Uniswap v4 that implements a concentrated liquidity curve backed by Euler Finance vaults. Each swap deposits the input token into and withdraws the output token from Euler lending vaults, enabling liquidity providers to earn lending yield on their positions while acting as an AMM. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve Uniswap v4 hook implementing an AMM backed by Euler vault positions. All swap logic runs in beforeSwap: the hook takes input tokens from the pool manager, deposits them to an Euler vault, withdraws output tokens from another Euler vault, and verifies its proprietary price curve invariant before returning a full BeforeSwapDelta. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom AMM hook integrating Euler Finance vaults as liquidity sources. Implements a proprietary bonding curve (verified via CurveLib) and handles swaps entirely in beforeSwap by depositing input tokens into and withdrawing output tokens from Euler vaults, bypassing Uniswap's native concentrated liquidity. Blocks native LP additions and donations. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom-curve AMM hook that routes swaps entirely through Euler Protocol vaults, bypassing Uniswap v4 concentrated liquidity. In beforeSwap, it computes quotes via a custom bonding curve, deposits input tokens to an Euler vault, withdraws output tokens, and returns a full BeforeSwapDelta to settle accounting directly with the pool manager. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve AMM hook for Uniswap v4 that routes swaps entirely through Euler Finance lending vaults. In beforeSwap, it computes trade amounts using an internal bonding curve, deposits input tokens into an Euler vault, withdraws output tokens from another, and returns a BeforeSwapDelta to bypass standard pool math. Standard liquidity provisioning 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 EulerSwapEulerSwap is a custom-curve AMM hook integrating with Euler Finance vaults. In beforeSwap, it computes a quote using a custom bonding curve, deposits input tokens into an Euler vault, withdraws output tokens from another Euler vault, and returns a BeforeSwapDelta — bypassing Uniswap's internal CLAMM pricing. Standard liquidity positions and donations are intentionally blocked. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom AMM hook backed by Euler Finance lending vaults, implementing a proprietary bonding curve. All swaps are fully handled in `beforeSwap` via `BeforeSwapDelta`, bypassing Uniswap v4's native CLAMM pricing. Prevents direct LP positions, non-factory initializations, and donations to protect users from non-productive or irrecoverable fund loss. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom curve AMM hook that implements its entire swap logic in beforeSwap, routing tokens through Euler Protocol vaults as liquidity sources. It enforces a bespoke curve invariant and returns a BeforeSwapDelta to settle the full swap, bypassing Uniswap v4's native concentrated liquidity. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom AMM backed by Euler lending vaults. In `beforeSwap`, it deposits input tokens into an Euler vault and withdraws output tokens from another, enforcing a configurable bonding curve invariant and fully replacing standard v4 concentrated liquidity pricing. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve Uniswap v4 hook that integrates with Euler Finance lending vaults. In beforeSwap, it takes input tokens into Euler vault deposits and pays output tokens from vault withdrawals, enforcing a bonding curve invariant (CurveLib). Liquidity providers earn yield on deposited assets while providing swap liquidity via a delegatecall-proxy pool instance model. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapEulerSwap is a Uniswap v4 hook implementing a custom AMM curve backed by Euler Finance vaults. In beforeSwap, the hook fully handles the swap by depositing input tokens into and withdrawing output tokens from Euler vaults, using a parameterized bonding curve to verify the invariant and returning a BeforeSwapDelta to bypass native AMM math. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve Uniswap v4 hook that routes swaps through Euler Finance lending vaults. Input tokens are deposited into an Euler vault and output tokens are withdrawn from another vault, with reserves verified against a configurable price curve on each swap. Standard CLAMM liquidity additions and donations are blocked at the hook level. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom curve AMM that routes swaps through Euler Finance vaults. In beforeSwap, it deposits input tokens into an Euler vault, computes output via a custom price curve invariant, withdraws from the counterpart vault, and settles with the PoolManager via a return delta — bypassing native concentrated liquidity entirely. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom AMM hook backed by Euler lending vaults. Fully intercepts swaps via beforeSwap with beforeSwapReturnsDelta, computing prices from a configurable bonding curve (CurveLib) and routing input/output tokens through Euler vault positions. Blocks standard concentrated liquidity addition and donations to prevent unproductive positions. 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 EulerSwapCustom-curve AMM hook for Uniswap v4 that routes swaps through Euler lending vaults. In beforeSwap, it computes quotes via an internal curve invariant, deposits input tokens into an Euler vault, withdraws output tokens from another vault, and returns a BeforeSwapDelta to bypass CLAMM liquidity. 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 EulerSwapCustom AMM Uniswap v4 hook that fully controls swap execution via beforeSwap return delta, routing input tokens into Euler vaults and withdrawing output tokens from Euler vaults while verifying a configurable curve invariant on reserves. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom-curve AMM hook backed by Euler Finance vault positions. Routes all swaps through Euler vaults via BeforeSwapDelta in beforeSwap, depositing input tokens into one vault and withdrawing output tokens from another while enforcing a custom liquidity curve invariant. Blocks CLAMM liquidity additions and donations to prevent unproductive positions. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom-curve AMM hook that routes swaps through Euler Protocol vaults instead of a standard Uniswap v4 concentrated liquidity pool. In beforeSwap it computes quotes via its own invariant curve, deposits input tokens into Euler vaults, withdraws output tokens from Euler vaults, and settles with the pool manager—fully replacing the standard swap mechanism. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom AMM hook that replaces standard Uniswap v4 pool liquidity with a bonding curve backed by Euler vaults. In `beforeSwap`, all token flows are handled directly — input tokens are deposited into and output tokens withdrawn from Euler vaults — and a configurable curve invariant is enforced, bypassing standard concentrated liquidity entirely. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom curve AMM hook backed by Euler Finance lending vaults, replacing the standard CLAMM with a proprietary bonding curve. Swap inputs are deposited into and outputs withdrawn from Euler vaults, enabling liquidity providers to earn lending yield on their assets. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA Uniswap v4 hook implementing a custom AMM backed by Euler Finance lending vaults. In beforeSwap, it takes input tokens into an Euler vault and withdraws output tokens from another vault, pricing swaps via a custom dual-curve invariant (concentration-weighted). Standard v4 liquidity positions are blocked; the hook acts as the sole liquidity source. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom curve AMM hook backed by Euler Finance EVK vaults. Implements full swap logic in beforeSwap, routing token flows through lending vaults and returning a BeforeSwapDelta to bypass Uniswap v4 concentrated liquidity execution. Enforces a parameterized bonding curve invariant on each swap. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom AMM hook that fully handles swaps in beforeSwap using a proprietary bonding curve backed by Euler Finance vaults. Input tokens are deposited into and output tokens are withdrawn from Euler vaults; a custom curve invariant is verified on each swap. Standard Uniswap v4 liquidity positions and donations are intentionally blocked. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom-curve AMM hook that routes swaps through Euler Finance vaults (ERC-4626). Deployed as delegatecall proxy instances with configurable price and concentration parameters. Blocks LP liquidity addition and donation; processes all swaps in beforeSwap using BeforeSwapDelta, settling assets directly into and out of Euler vaults according to an invariant curve. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapA custom AMM hook for Euler Finance that replaces Uniswap v4 pool pricing with a bespoke bonding curve. In beforeSwap, it computes input/output amounts via its own curve math, deposits input tokens into an Euler vault, withdraws output tokens from another Euler vault, and returns a BeforeSwapDelta to the PoolManager — bypassing standard Uniswap liquidity entirely. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1 16mo EulerSwapCustom AMM hook implementing a concentrated liquidity curve backed by Euler vaults. On each swap, beforeSwap deposits input tokens into and withdraws output tokens from Euler vaults while verifying a custom curve invariant. Prevents native v4 LP positions and donations by reverting in beforeAddLiquidity and beforeDonate. Unichain beforeInitbeforeAddLiqbeforeSwapbeforeDonate+1 1