Likely launchpad hook on Robinhood Chain
Uniswap v4 Hook Contract 0xcede009023ec05ea4f905f44f2304ad4564828cc on Robinhood Chain · Aggregator
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0
- Pools using this hook
- 8
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 0
What it does
This hook routes swaps in registered pairs to an external market and charges traders an owner-set spread, which rises for larger trades under the size tiers, while blocking normal LP deposits and never interfering with withdrawals.
How it works step by step
- Routes swaps in registered pairs to an external listing market or settlement system instead of normal pool liquidity, using the hook's own pricing.
- Charges a spread (markup) on swaps, with a base spread per pair, a global floor, and size-based tiers that can raise the spread on larger trades.
- Blocks ordinary liquidity provision: adding liquidity appears to revert, except for a one-time seeding step per pool.
- Accumulates spread margin and dust inside the hook, which the owner can sweep to a chosen destination, with part of the fee sent to a fee jar.
- Swap behaviour
- Before and after each swap the hook can take over the trade through swap return deltas, filling it against an external market at a price it quotes plus a spread. Swaps revert if the fill falls short, costs exceed the committed input, or the pair is not registered or ready.
- Liquidity behaviour
- Adding liquidity is restricted and appears to revert apart from a one-time pool seeding step. Remove-liquidity callbacks are disabled, so the hook can never block withdrawals of any liquidity that exists.
- Fee behaviour
- Traders pay a spread set per pair in basis points, with a global floor, size-tier rungs, and a hard-coded MAX_SPREAD_BPS cap whose exact value cannot be read from bytecode. Part of the spread goes to a fee jar and the rest builds up as margin that the owner sweeps.
- Owner & admin controls
- The owner can register and unregister pairs and set per-pair base spreads, the spread floor, the market registration spread, size rungs, the reseller code, and the sweep destination. The owner can also sweep accrued margin and ETH. Spreads appear bounded by MAX_SPREAD_BPS, but the exact cap is unverified.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: allows pools only for registered pairs and settings; beforeAddLiquidity: blocks LP deposits apart from seeding; beforeSwap: quotes and routes the trade externally and applies the spread; afterSwap: settles and records margin; beforeSwapReturnDelta/afterSwapReturnDelta: replace or adjust swap amounts to charge the spread.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, medium confidence).
Who controls it: A single owner (two-step ownable) controls pair registration, spreads, and the sweep destination. The worst case is raising spreads up to the coded cap or disabling pairs so swaps fail.
Risk to user funds: The hook touches trader swap amounts through return deltas and charges a spread capped by an unverified maximum. It holds only accrued margin and dust, and cannot lock or drain LP principal.
Security findings
- [medium] Owner-set spreads with unverified cap: The owner can adjust per-pair spreads and size tiers. A maximum constant exists, but its value cannot be confirmed from bytecode.
- [medium] Swap return deltas active: The hook rewrites swap amounts and settles them against an external market, so trade outcomes depend on its pricing and its external contracts.
- [low] Owner can unregister pairs: Unregistering a pair would make swaps in that pool fail.
- [info] LP withdrawals cannot be blocked: Remove-liquidity callbacks are disabled, so withdrawals can never be stopped by this hook.
Contract details
- Verified source
- No
- Bytecode size
- 21,706 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc20, moves-currency, ownable, return-delta
Pools using Likely launchpad hook
- ETH / CASHCAT (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- USDG / V4 (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ETH / TENDIES (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- CASHCAT / USDG (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ETH / HOODRAT (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- USDG / HOODRAT (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ETH / V4 (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- TENDIES / USDG (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today