UnihoodHook on Robinhood Chain
Uniswap v4 Hook Contract 0xec392c2b716c4b46df67ca6196ff92f7dc2de8cc on Robinhood Chain · Launchpad · Verified contract
- Volume (24h)
- $305
- Value locked (TVL)
- $8.13K
- All-time volume
- $3.88M
- Pools using this hook
- 61
- Swaps (24h)
- 4 (4 traders)
- Total swaps
- 23,785
What it does
A launchpad hook that charges a 1% native-ETH swap fee split among creator, a self-managed bid wall and platform, with a higher decaying anti-snipe fee in the first 15 seconds and external liquidity locked until graduation.
How it works step by step
- Charges a 1% fee on the native-ETH side of every swap, both directions, with the pool LP fee set to zero
- Applies a 15% fee for the first 5 seconds after launch and 5% until 15 seconds, sending the surcharge to the bid wall
- Splits fees into creator (80% of gross), bid wall (5%) and platform (15%) buckets held as PoolManager claims
- Blocks external liquidity until the pool graduates at or below a configured tick, then opens the pool
- Rebuilds a single-sided bid wall one tick spacing below spot whenever its budget passes a threshold, capturing tokens it buys
- Lets the creator redirect fee claims and the platform treasury claim its bucket; the factory is wired once
- Swap behaviour
- On each swap where native ETH is the specified side, beforeSwap takes the total fee (1% base, or 15%/5% during the anti-snipe window) as a return delta and mints it as PoolManager claims; afterSwap verifies partial fills, may trigger graduation and rebuilds the bid wall. The factory's launch swap is fee-free.
- Liquidity behaviour
- Before graduation (tick at or below gradTick) only the factory and the hook itself may add liquidity; other adds revert with LaunchModeLiquidityLocked. After graduation liquidity is open. The hook adds and removes its own single-sided bid-wall position one tick spacing below spot, rebuilt in afterSwap once the wall budget reaches wallThreshold, and captured tokens are kept in the hook.
- Fee behaviour
- Pool LP fee is 0. The hook charges a 1% base fee on the native-ETH side of every swap (both directions), split 80% creator, 5% bid wall, 15% platform. During the anti-snipe window the total fee is 15% for the first 5 seconds after launch and 5% until 15 seconds, with the surcharge above 1% routed to the bid wall. The factory's launch dev-buy is fee-free.
- Owner & admin controls
- No pause, upgrade or parameter-change functions. The factory address is set once by the immutable platformRecipient via setFactory and cannot be changed afterwards. Fee constants and gradTick/wallThreshold are immutable. platformRecipient alone can claim the platform fee bucket and set the factory. Pool creators (feeRecipient) can redirect their own creator-fee claims via setFeeRecipient.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: restricts pool initialization to the factory for registered pools. beforeAddLiquidity: enforces launch-mode liquidity lock until graduation. beforeSwap: computes and takes the anti-snipe fee on the native side via a return delta. afterSwap: reconciles partial fills, records graduation, rebuilds the bid wall, and applies a return delta for fees charged on the output side. beforeSwapReturnDelta and afterSwapReturnDelta: allow the hook to take a share of swap amounts as fees.
Security & trust assessment
Risk level: low (verified source, high confidence).
Who controls it: Little privileged power. platformRecipient can claim platform fees and set the factory once. The factory alone can register pools and initialize them. No key can change fees, pause swaps or upgrade the contract. Creators control only where their own fees are sent.
Risk to user funds: The hook holds ERC-6909 claims on native ETH and tokens inside the PoolManager and can take up to 15% of swap amounts during the anti-snipe window. Native fees are claimable only by the creator or platform recipient. Users can be affected by the sniper surcharge and partial-fill reverts, but the hook has no admin ability to freeze or seize pool funds.
Security findings
- [info] Return-delta fee capture: The hook takes its fee through beforeSwap and afterSwap return deltas, so it can take a share of every swap in the native-ETH pool, with a 15% fee in the first five seconds after launch.
- [info] Launch-mode liquidity lock: Until graduation only the factory and the hook can add liquidity, so launch-period depth is controlled by the protocol and external LPs cannot enter.
- [low] Self-managed bid wall captures tokens: The bid wall repeatedly removes and re-adds liquidity inside swap callbacks, and captured tokens are minted to the hook and never released. Hook-owned liquidity can move the price and sequester supply, which is intended behaviour but worth noting.
- [low] Partial fills revert: A partial fill that does not match the expected native amount reverts the swap with PartialFillUnsupported, so some exact-amount routing can fail.
Contract details
- Verified source
- Yes (UnihoodHook)
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Bytecode size
- 12,197 bytes
- Upgradeable proxy
- No
- Detected patterns
- dynamic-fee, launchpad, moves-currency, return-delta, rewards, self-unlock
Pools using UnihoodHook
- ETH / UNIHOOD (0.00% fee) — 24h volume $305, TVL $7.61K, 4 swaps today
- ETH / USDC (0.00% fee) — 24h volume $0, TVL $216, 0 swaps today
- ETH / UNICHAN (0.00% fee) — 24h volume $0, TVL $171, 0 swaps today
- ETH / YUNO (0.00% fee) — 24h volume $0, TVL $34, 0 swaps today
- ETH / HOODIE (0.00% fee) — 24h volume $0, TVL $19, 0 swaps today
- ETH / UF (0.00% fee) — 24h volume $0, TVL $5.25, 0 swaps today
- ETH / CATSZN (0.00% fee) — 24h volume $0, TVL $0.22, 0 swaps today
- ETH / HOOKSUMMER (0.00% fee) — 24h volume $0, TVL <$0.01, 0 swaps today
- ETH / ABE (0.00% fee) — 24h volume $0, TVL $0.14, 0 swaps today
- ETH / UNIDOG (0.00% fee) — 24h volume $0, TVL $0.02, 0 swaps today
- ETH / INTERN (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ETH / GIGACORN (0.00% fee) — 24h volume $0, TVL $6.60, 0 swaps today
- ETH / UNICORN (0.00% fee) — 24h volume $0, TVL $22, 0 swaps today
- ETH / AGENT (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ETH / EOFI (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ETH / SUMMER (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ETH / UNEECHAN (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ETH / HORN (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ETH / TEST (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ETH / DUMPCAT (0.00% fee) — 24h volume $0, TVL <$0.01, 0 swaps today