Launchpad hook on Robinhood Chain

Uniswap v4 Hook Contract 0x5b907b52eacbcee78f2c56a6e74f5cf04a96e0cc on Robinhood Chain · Launchpad

Volume (24h)
$46
Value locked (TVL)
$68
All-time volume
$228
Pools using this hook
8
Swaps (24h)
19 (16 traders)
Total swaps
124

What it does

A Uniswap v4 hook for a token launch flow that applies managed fees, optional trading-hours and anti-snipe rules, and a configurable payee and dev revenue share on swaps.

How it works step by step

  • Validates pool initialization in beforeInitialize, checking fee and launch parameters.
  • Applies per-pool dynamic or overridden fees in beforeSwap via stored fee mappings.
  • Enforces trading hours and market-open checks and can apply anti-snipe or cooldown timing.
  • Takes a share of swap value through return deltas and the take call and forwards it to payee and dev recipients.
  • Tracks pool volume and moved amounts in storage for fee and royalty logic.
  • Allows the owner to pause swaps, adjust fees and creation fees, and manage quote allowlists.
Swap behaviour
beforeSwap and afterSwap run custom logic that can apply fee overrides and return currency deltas, including taking a share of swap value; swaps can be paused by the owner.
Liquidity behaviour
No liquidity callbacks are enabled in the permissions; liquidity-related functions were not confirmed.
Fee behaviour
Per-pool fees stored in mapping slots and updated via setFee; a launch fee ceiling and a dynamic fee flag exist; a fee cap is exposed; exact fee logic cannot be fully determined from bytecode alone.
Owner & admin controls
Not stated.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize validates pool creation, beforeSwap and afterSwap apply per-pool fee and trading logic, and beforeSwapReturnDelta and afterSwapReturnDelta allow the hook to take or modify currency deltas during swaps.

Security & trust assessment

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

Who controls it: The owner can set pool fees, creation fees, payee and dev addresses, quote allowlists, pause swaps and transfer ownership, so a privileged key can change fees and halt trading.

Risk to user funds: The hook can take currency through return deltas and the take call during swaps and can route fee shares to configured payee and dev addresses; it can also block swaps when paused.

Security findings

  • [medium] Admin fee and pause control: Owner-controlled setFee and pause functions allow the admin to alter per-pool fees and halt swaps.
  • [medium] Return delta and take usage: The hook returns currency deltas in beforeSwap and afterSwap and calls take, so it can hold or redirect tokens during swaps.
  • [low] Ownership and fee recipients: Ownable with two-step ownership transfer; owner can also set payee and dev recipients that receive value.

Contract details

Verified source
No
Bytecode size
18,929 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, ownable, pausable, return-delta

Pools using Launchpad hook