Launchpad hook on Robinhood Chain

Uniswap v4 Hook Contract 0xd9c063401f4bcf3f336d8b025c8f806fcdd7a0cc on Robinhood Chain · Launchpad

Volume (24h)
$0
Value locked (TVL)
$0
All-time volume
$0
Pools using this hook
1
Swaps (24h)
0 (0 traders)
Total swaps
0

What it does

A Uniswap v4 hook used for token launches that applies custom swap logic, tracks creator fees and lets the owner pause trading.

How it works step by step

  • Registers launched pools in beforeInitialize and records launch metadata (launches, launchCount, poolKeyOf)
  • Runs custom logic in beforeSwap and afterSwap, including return-delta adjustments
  • Accrues creator fees per token and lets creators claim them (creatorFeesOwed, claimCreatorFees)
  • Exposes base and LP fee parameters (BASE_FEE_BPS, LP_FEE, MAX_CREATOR_FEE_BPS)
  • Owner can pause swaps and set the start tick
Swap behaviour
beforeSwap and afterSwap run custom logic on every swap, with return-delta permissions enabled so the hook can adjust swap deltas and settle tokens directly.
Liquidity behaviour
beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity and afterRemoveLiquidity selectors are present; behaviour cannot be determined in detail without source, but the hook is registered only for swap and initialize callbacks in its permissions.
Fee behaviour
Dispatched views expose BASE_FEE_BPS, LP_FEE, MAX_CREATOR_FEE_BPS and claimCreatorFees/creatorFeesOwed, indicating creator fees are accrued per token and claimable; the exact fee split logic cannot be fully confirmed from bytecode alone.
Owner & admin controls
Owner (Ownable2Step: transferOwnership, acceptOwnership, renounceOwnership) can pause and unpause via setPaused(bool) and set the start tick via setStartTick(int24). Owner-only storage at slot 0 and slot 1 is written by these functions.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize registers pools at launch; beforeSwap and afterSwap run custom logic on each swap with beforeSwapReturnDelta and afterSwapReturnDelta enabled, meaning the hook can alter swap amounts and take or give tokens directly.

Security & trust assessment

Risk level: medium (decoded bytecode, low confidence).

Who controls it: The owner can pause swaps, change the start tick (which affects launch pricing) and transfer ownership, so a privileged key can halt trading or alter launch parameters.

Risk to user funds: The hook holds creator fee balances (creatorFeesOwed, claimCreatorFees) and can take or return tokens via swap return deltas, so user swap amounts and accrued fees depend on the hook's logic, which cannot be fully verified without source.

Security findings

  • [medium] Return-delta hook takes part in swap settlement: Return-delta permissions let the hook alter swap deltas and take tokens during swaps, so hook logic directly affects user settlement amounts.
  • [medium] Owner can pause trading: setPaused and paused() are present, so the owner can block swaps on the pool.
  • [low] Owner can adjust start tick: setStartTick lets the owner change the start tick, which can affect the pricing of launched pools.
  • [info] Source not verified: Ownable and pausable tags are present; no source is available so the exact guard logic cannot be verified.

Contract details

Verified source
No
Bytecode size
20,069 bytes
Upgradeable proxy
No
Detected patterns
erc20, ownable, pausable, return-delta

Pools using Launchpad hook