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
13mo PhiEthHooksA custom-curve hook that implements 1:1 ETH↔phiEth swaps by intercepting beforeSwap, taking the input from the pool manager, converting via phiEth.deposit/withdraw, settling the output, and returning a BeforeSwapDelta to bypass the concentrated liquidity AMM. Direct liquidity additions to the pool are unconditionally blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook for ETH/phiEth pools that performs 1:1 swaps by intercepting beforeSwap, converting tokens via phiEth.deposit()/withdraw(), settling output to PoolManager, and returning a BeforeSwapDelta to bypass concentrated liquidity AMM math. Direct liquidity addition to the pool is blocked via beforeAddLiquidity revert. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA 1:1 ETH/phiEth swap hook that implements a custom constant-price curve using beforeSwapReturnsDelta. It intercepts all swaps, converts ETH to phiEth (via deposit) or phiEth to ETH (via withdrawal) at a strict 1:1 rate, bypassing Uniswap concentrated liquidity entirely. Liquidity addition to the pool is permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 custom curve swap between native ETH and phiEth (an ETH-wrapper token) using beforeSwapReturnsDelta to intercept swaps and perform deposit/withdraw on the phiEth contract. Direct liquidity addition is blocked; all liquidity is handled through the hook's swap mechanism. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook for a phiEth/ETH pool implementing 1:1 ETH↔phiEth swapping. It intercepts swaps via beforeSwapReturnsDelta, taking input from PoolManager, minting or burning phiEth, and settling output directly. Liquidity cannot be added to the pool. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a custom 1:1 swap curve between ETH and phiEth using beforeSwapReturnsDelta. On each swap, the hook takes the full input from the pool manager, converts via phiEth.deposit()/withdraw(), and settles the output directly, bypassing the AMM. Direct liquidity addition is blocked; pool fee must be zero. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo AssetToAssetSwapHookForERC4626Periphery hook for pools using ERC4626 vault wrapper tokens. In beforeSwap, converts input ERC20 assets to vault wrapper shares, performs a nested swap in the corresponding vault wrapper pool via poolManager.swap(), then redeems output shares back to underlying assets. Handles both exact-input and exact-output swaps. Vault wrappers can be supplied via hookData or configured as per-pool defaults by the owner. Unichain beforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 custom swap curve between ETH and phiEth (an ETH wrapper token) by intercepting swaps in beforeSwap, converting via phiEth deposit/withdraw, and settling directly with the pool manager — bypassing the AMM entirely. Liquidity additions to the pool are permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook that implements 1:1 ETH↔phiEth swaps by taking the input from the PoolManager, wrapping or unwrapping ETH via the phiEth contract, and settling the output — completely bypassing concentrated liquidity. Direct liquidity additions are blocked via revert in beforeAddLiquidity. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook for phiEth/ETH pools that implements 1:1 swaps between ETH and phiEth by intercepting beforeSwap, directly depositing/withdrawing through the phiEth contract, and returning a BeforeSwapDelta to bypass concentrated liquidity. Liquidity addition is blocked; only ETH/phiEth pairs with zero fee are permitted. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook implementing 1:1 ETH/phiEth swaps by consuming the full swap amount in beforeSwap, converting via phiEth.deposit or phiEth.withdraw, and settling directly with the PoolManager. Liquidity additions to the pool are permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook implementing 1:1 swapping between ETH and phiEth (an ETH wrapper token). The full swap is handled in beforeSwap by taking tokens from the PoolManager, calling phiEth deposit/withdraw, and settling back, bypassing concentrated liquidity entirely. Liquidity addition to the pool is permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 custom-curve swap between ETH and phiEth (an ETH wrapper), bypassing concentrated liquidity via beforeSwapReturnsDelta. On each swap, the hook takes input from the pool manager, calls phiEth.deposit() or phiEth.withdraw() to convert, then settles the output. Liquidity addition to the pool is permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 custom-curve swap between ETH and phiEth (a wrapped ETH token) by intercepting swaps in beforeSwap, taking input tokens, converting via phiEth.deposit/withdraw, and settling the output — bypassing concentrated liquidity entirely. Liquidity addition to the pool is permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 custom-curve pool for ETH/phiEth swaps by taking the full input in beforeSwap, converting via phiEth deposit/withdraw, and settling the output — effectively bypassing Uniswap's concentrated liquidity. Blocks direct liquidity additions to the pool. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo AeonStrategyHookFee collection hook that takes up to 10% on swaps (50% for the first 2 minutes after launch) via afterSwapReturnsDelta, converting non-ETH fees to ETH via a nested pool swap and distributing proceeds 80% to a strategy contract and 20% to a configurable marketing wallet. Pool initialization and liquidity addition are gated to a designated Strategy contract. Ethereum beforeInitbeforeAddLiqafterSwapafterSwapDelta 1 13mo PhiEthHooksA custom-curve hook for ETH/phiETH pools that implements 1:1 swaps by intercepting beforeSwap: it takes the input token from the PoolManager, calls phiEth.deposit or phiEth.withdraw to convert, then settles the output directly — bypassing concentrated liquidity entirely. Direct liquidity additions to the pool are blocked via beforeAddLiquidity revert. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo YoyoStrategyHookA fee-taking hook that charges a time-decaying fee (starting at 26%, decreasing 200 bps every 25 blocks) on all swaps, taken from the output token via afterSwapReturnsDelta. When the fee currency is WETH, a 100% fee is applied instead. Non-ETH fees are converted to ETH via a nested pool swap and forwarded to a designated fee address. Unichain beforeInitafterSwapafterSwapDelta 1 13mo PhiEthHooksA zero-fee, 1:1 ETH/phiEth custom curve hook. On each swap, it takes the input from the PoolManager, mints or burns phiEth accordingly, and settles the output — bypassing the concentrated liquidity AMM entirely via beforeSwapReturnsDelta. Adding liquidity to the pool is blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook for a phiEth/ETH pool that implements 1:1 ETH↔phiEth swaps entirely within `beforeSwap` using `beforeSwapReturnsDelta`, bypassing concentrated liquidity. Adding liquidity to the pool is blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksPhiEthHooks implements a custom 1:1 ETH↔phiEth swap curve by intercepting swaps in beforeSwap, minting or burning phiEth to settle trades directly, and returning a delta that bypasses the AMM. Adding liquidity to the pool is permanently blocked; only ETH/phiEth pairs with zero fee may use this hook. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 ETH/phiETH swap hook with a custom curve that bypasses the AMM. `beforeSwap` takes the input from the PoolManager, converts between ETH and phiETH via `phiEth.deposit()`/`withdraw()`, then settles the output. Liquidity addition to the pool is permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook for ETH/phiETH pools that implements 1:1 swapping by bypassing concentrated liquidity: it takes the full input from the pool manager, mints or burns phiETH via deposit/withdraw, and settles the output directly. Direct liquidity provision is permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 ETH/phiEth custom swap curve by intercepting beforeSwap to take input, convert via phiEth deposit/withdraw, and settle output — bypassing concentrated liquidity entirely. Blocks all direct liquidity additions to the pool. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 ETH↔phiEth swap hook that takes the full input from the PoolManager, converts via the phiEth contract (deposit/withdraw), and settles the output — returning a full BeforeSwapDelta to bypass concentrated liquidity entirely. Direct liquidity additions to the pool are blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook for 1:1 ETH↔phiETH swaps that intercepts swaps in beforeSwap to take the input token, convert via phiEth.deposit or phiEth.withdraw, and settle the output — bypassing concentrated liquidity entirely via beforeSwapReturnsDelta. Liquidity additions are blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA 1:1 ETH/phiEth swap hook implementing a custom constant-sum curve: on each swap it takes input from the PoolManager, converts via phiEth deposit or withdraw, and settles output directly — bypassing concentrated liquidity math. Liquidity addition is permanently disabled, and the pool is restricted to ETH/phiEth pairs with zero fee. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA 1:1 ETH/phiEth swap hook that implements a custom constant-price curve, bypassing the concentrated liquidity AMM. Intercepts swaps to deposit or withdraw phiEth tokens at par via beforeSwapReturnsDelta, blocks all direct liquidity additions, and restricts pool initialization to ETH/phiEth zero-fee pairs. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook implementing 1:1 ETH↔phiEth swaps. In `beforeSwap`, it takes the input token from the pool manager, calls `phiEth.deposit()` or `phiEth.withdraw()` to convert, then settles the output — bypassing concentrated liquidity entirely via `BeforeSwapDelta`. Liquidity addition is permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA Uniswap v4 hook that implements a 1:1 custom swap curve between ETH and phiEth (an ETH liquid wrapper). Swaps are fulfilled directly via phiEth deposit/withdraw, returning a full BeforeSwapDelta to bypass concentrated liquidity entirely. Liquidity addition is blocked; only ETH/phiEth pool pairs with zero fee are accepted. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 ETH↔phiEth custom-curve swap hook that bypasses concentrated liquidity. In beforeSwap, takes the input token from the PoolManager, converts it via phiEth deposit/withdraw, settles the output, and returns a full BeforeSwapDelta to no-op the AMM. Blocks all direct liquidity additions to the pool. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo TokenWorks Hook v3A Uniswap v4 hook by TokenWorks that manages fee collection and distribution for NFT strategy ETH/token pools. It enforces ETH/token-only pool initialization via the factory, applies a time-decaying buy fee (starting at 95% and decreasing to 10% over blocks), and uses afterSwapReturnsDelta to skim fees and distribute them to the protocol, stakers, and collection owners. Ethereum beforeInitafterAddLiqafterSwapafterSwapDelta 1 13mo PhiEthHooksA hook implementing a custom 1:1 exchange curve between ETH and phiEth (a 1:1 ETH wrapper). Handles swaps by calling phiEth deposit/withdraw and settling via BeforeSwapDelta to bypass concentrated liquidity entirely. Blocks all liquidity provisioning. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 custom swap curve between native ETH and phiEth token by intercepting swaps in beforeSwap, taking input from the PoolManager, converting via phiEth deposit/withdraw, and settling the output—no-oping the standard AMM concentrated liquidity swap. Direct liquidity addition is blocked; only ETH/phiEth pools with zero fee are accepted. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook that swaps ETH and phiETH 1:1 by taking the input, wrapping or unwrapping via the phiEth contract, and settling the output directly — bypassing the concentrated liquidity engine entirely. Direct liquidity additions to the pool are blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA 1:1 custom-curve hook for ETH/phiEth pools that intercepts every swap in beforeSwap, takes input from the PoolManager, calls phiEth.deposit() or phiEth.withdraw() to convert between ETH and phiEth at parity, and settles output back to the PoolManager via a BeforeSwapDelta. Liquidity addition is permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksHook implementing a 1:1 ETH↔phiETH swap custom curve: intercepts beforeSwap to take the full input, calls deposit/withdraw on the phiEth contract, and settles the full output via BeforeSwapDelta. Liquidity additions always revert, and pool initialization is restricted to ETH/phiETH pairs with zero fee. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 custom curve for ETH/phiEth swaps by intercepting beforeSwap, taking the input, converting via phiEth.deposit() or phiEth.withdraw(), and settling the output — bypassing the concentrated liquidity pool entirely. Direct liquidity addition is blocked via beforeAddLiquidity revert. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA Uniswap v4 hook implementing a 1:1 custom curve for ETH/phiEth swaps. In beforeSwap, it takes the input token from the pool manager, converts it via phiEth.deposit or phiEth.withdraw, and settles the output — fully bypassing concentrated liquidity. Adding liquidity to the pool is permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA 1:1 ETH/phiEth swap hook implementing a custom constant-price curve. In beforeSwap, it takes the input token from the PoolManager, calls phiEth.deposit or phiEth.withdraw to convert, then settles the output — returning a full BeforeSwapDelta to bypass concentrated liquidity entirely. Direct liquidity addition is permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook that enables 1:1 swaps between ETH and phiEth (an ETH-backed wrapper token). beforeSwap intercepts every swap, takes the full input from PoolManager, converts it via phiEth deposit/withdraw, and settles the output — bypassing concentrated liquidity entirely via beforeSwapReturnsDelta. Liquidity additions to the pool are permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a custom 1:1 ETH/phiETH swap curve using beforeSwapReturnsDelta. On each swap, takes the full input from the PoolManager, converts it via phiEth deposit or withdraw, and settles the output directly — bypassing concentrated liquidity entirely. Blocks all direct liquidity additions to the pool. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 ETH/phiETH swap using a custom AMM curve via beforeSwap with delta return, bypassing concentrated liquidity. Converts ETH to phiETH (or vice versa) through deposit/withdraw, prevents direct liquidity additions, and only supports zero-fee ETH/phiETH pools. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook implementing 1:1 ETH/phiETH swaps by intercepting beforeSwap, taking input from the PoolManager, minting or burning phiETH via deposit/withdraw, and settling output directly — bypassing concentrated liquidity entirely. Direct liquidity additions to the pool are permanently blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA custom-curve hook implementing 1:1 ETH↔phiETH swaps by taking input from the PoolManager, depositing or withdrawing via the phiEth contract, and settling output — bypassing concentrated liquidity entirely. Liquidity addition is blocked; the pool enforces zero fees and only accepts ETH/phiETH pairs. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksA 1:1 custom-curve hook for ETH/phiEth pools. On each swap, it takes the input from the PoolManager, converts it through the phiEth contract (deposit for ETH→phiEth, withdraw for phiEth→ETH), and settles the output — bypassing concentrated liquidity entirely. Liquidity addition is unconditionally blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 custom swap curve between ETH (currency0) and phiEth (currency1), bypassing the concentrated liquidity mechanism entirely. Liquidity additions are blocked; swaps are executed by taking tokens from the pool manager, depositing or withdrawing via the phiEth contract, and settling back at a fixed 1:1 rate with zero fees. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 ETH/phiEth custom curve by intercepting swaps, converting ETH↔phiEth via a wrapper contract, and returning a BeforeSwapDelta that no-ops the concentrated liquidity math. Liquidity additions are blocked via a revert in beforeAddLiquidity. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksImplements a 1:1 custom curve between ETH and phiEth by intercepting swaps in beforeSwap: takes the input from the PoolManager, converts via phiEth deposit/withdraw, then settles the output — fully bypassing concentrated liquidity. Liquidity additions are blocked via beforeAddLiquidity revert. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1 13mo PhiEthHooksHook implementing a 1:1 ETH↔phiETH custom swap curve: takes the full input, converts via phiEth.deposit()/withdraw(), and settles the output, bypassing concentrated liquidity. Liquidity provision to the pool is blocked. Base beforeInitbeforeAddLiqbeforeSwapswapDelta 1