Launchpad hook on Robinhood Chain
Uniswap v4 Hook Contract 0x235c6861a0b76672537a91441b8225e1e99d4044 on Robinhood Chain · Launchpad
- Volume (24h)
- $0
- Value locked (TVL)
- $75
- All-time volume
- $1.68K
- Pools using this hook
- 1
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 32
What it does
A Uniswap v4 hook that appears to take a fee from swaps on launch pools and accumulate it for later sweeping, based only on decoded bytecode.
How it works step by step
- Runs an afterSwap callback that updates per-pool fee or accounting state after each trade
- Takes a portion of swap output through afterSwapReturnDelta, so the hook receives tokens from the pool
- Tracks accrued amounts per pool and recipient in a nested mapping (pending and pendingFees views)
- Exposes sweep(bytes32) to withdraw accumulated balances to a recipient
- Stores pool currency addresses and launch metadata used to identify pools
- Has a factory address set by an admin, linked to launch bookkeeping
- Swap behaviour
- afterSwap runs after each swap and uses return-delta accounting to take a share of the swap output for the hook, recording it in per-pool balances.
- Liquidity behaviour
- Liquidity add and remove callbacks exist as view stubs with no clear state changes; liquidity handling appears limited to pass-through.
- Fee behaviour
- Hook takes a fee via afterSwap return delta; the exact rate and recipient are not determinable from the decoded selectors alone.
- Owner & admin controls
- A stored owner-like address at slot 0 is set via setFactory(address) and read in several functions, suggesting a privileged factory/admin role; the exact permissions cannot be confirmed without source. No pausing or upgrade logic was identified.
Enabled Uniswap v4 callbacks
afterSwap, afterSwapReturnDelta
afterSwap: records swap-related state and adjusts the swap via return delta; afterSwapReturnDelta: lets the hook take a share of the swap output as a delta on the pool.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: A privileged factory or admin address can be changed via setFactory, and the factory appears tied to launch and pool-currency bookkeeping, so that key influences which pools and tokens are tracked.
Risk to user funds: The hook can take a share of swap output through return deltas and holds accrued fee balances that are withdrawn via sweep, so it can hold and redirect a portion of traded value; it does not appear to block liquidity operations.
Security findings
- [medium] Hook takes swap proceeds via return delta: afterSwapReturnDelta lets the hook take tokens from swap output, so the hook can withhold part of each swap's proceeds from traders.
- [medium] Privileged factory can be reassigned: setFactory(address) writes to slot 0, letting a privileged key replace the factory address that governs launch-related state.
- [info] Accrued fee balances tracked on-chain: Mapping at slot 4 is written during afterSwap and sweep, indicating accrued fees are tracked per pool and recipient and later withdrawn.
- [info] Launch and pool metadata views: Bytecode exposes launches, poolCurrency0/1 and pending views, consistent with a token launch pool where the hook accrues and sweeps fees.
Contract details
- Verified source
- No
- Bytecode size
- 7,590 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Launchpad hook
- ETH / FMA (0.00% fee) — 24h volume $0, TVL $75, 0 swaps today