Launchpad hook on Robinhood Chain
Uniswap v4 Hook Contract 0x8eac353f3b018a182cef5d968a4d9808247e30cc on Robinhood Chain · Launchpad
- Volume (24h)
- $0
- Value locked (TVL)
- $8.32K
- All-time volume
- $0
- Pools using this hook
- 1
- Swaps (24h)
- 1 (1 traders)
- Total swaps
- 2,102
What it does
A launchpad-style hook that adjusts swap fees around a token launch and routes a share of trading fees into a prize/jackpot pot, operations and treasury, with ticket-based draws for traders.
How it works step by step
- Sets up launch parameters for the pool in beforeInitialize and afterInitialize
- Computes time-decaying launch fees in beforeSwap and applies them via return deltas
- Accumulates fees into a prize pot, an ops share and a bounty, tracked in storage
- Assigns tickets and bonuses to traders per round, with a draw schedule (round, roundStart, nextDraw)
- Lets users claim owed amounts and lets an operator sweep accumulated ops funds
- Allows the launcher and router addresses to be configured by setter functions
- Swap behaviour
- Swaps run through beforeSwap and afterSwap, which compute dynamic fees, record ticket and reserve state, and use return deltas to take a portion of the swap currency for the prize pot, ops and bounty.
- Liquidity behaviour
- Hook is wired into afterInitialize and beforeInitialize, indicating it reacts to pool creation with launch parameters; no clear liquidity add/remove callbacks are enabled in the permissions.
- Fee behaviour
- Dynamic fee tiers suggested by functions currentFeeBps, FEE_BPS, MID_FEE_BPS, LAUNCH_FEE_BPS, MINI_BPS and decay/plateau timing constants; fees are also split into a jackpot/prize pot, an ops share, a bounty, and an owed/treasury accounting. Exact fee schedule could not be confirmed from bytecode alone.
- Owner & admin controls
- Setter functions setLauncher(address), setRouter(address) and the 0xfe9cf323 and 0x39a1a655 setters write to address/owner-like slots; no owner or pause mechanism identified with certainty from selectors alone. Launcher and router can be re-pointed by whoever can call those setters, so access control should be checked on chain.
Enabled Uniswap v4 callbacks
beforeInitialize, afterInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize and afterInitialize set up launch state for the pool; beforeSwap and afterSwap run per-trade logic and tally fees, tickets and reserves; beforeSwapReturnDelta and afterSwapReturnDelta let the hook take or give back currency during swaps to fund the prize pot, ops and treasury.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: A privileged key controlling launcher/router setters or any sweep/owner function (0x35faa416 sweep) could redirect accumulated fees or pot balances to an arbitrary address.
Risk to user funds: The hook holds fee and prize balances through return-delta accounting and can transfer them via take/transfer calls, so pool and user funds exposed to the hook's sweep and claim paths; the extent depends on access control not confirmable from bytecode.
Security findings
- [high] Hook takes and moves currency via return deltas: The hook enables both return-delta permissions and a sweep() function appears in the dispatch table, so it can take currency from the pool and move it out via the transfer/take external calls.
- [medium] Privileged setters can re-point launcher and router: Setters setLauncher and setRouter are callable and the storage slots they write are read during swap and claim flows, so changing them could reroute trust assumptions.
- [medium] Payout accounting relies on unverified logic: A claim() function and an owed(address) mapping indicate user payouts are tracked on chain; correctness depends on the accounting in the unverified logic.
- [info] Unverified source limits certainty: Without verified source, function semantics, access modifiers and exact fee maths are inferred from selectors and storage only.
Contract details
- Verified source
- No
- Bytecode size
- 14,398 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Launchpad hook
- SKHY / APT (0.00% fee) — 24h volume $0, TVL $8.32K, 1 swaps today