Launchpad hook on Robinhood Chain

Uniswap v4 Hook Contract 0x76354fba84464e8da1820ed57467c2fe032328cc on Robinhood Chain · Launchpad

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

What it does

This launchpad hook keeps trading closed until the owner opens it, then charges a configurable tax on swaps through return deltas, while fee-exempt addresses are not charged and accrued fees are swept to a fee router and manager.

How it works step by step

  • Hook is attached to a pool whose pairing is set during beforeInitialize, with a configured launch controller and trading gate (openTrading, tradingOpen, tradingOpenedAt).
  • Before swaps it checks trading is open and applies a fee policy and referral basis points; after swaps it updates a tick observation oracle (observations, lastTick, tickCumulative, observationCardinality).
  • Uses return deltas on swaps (beforeSwapReturnDelta and afterSwapReturnDelta enabled), so it can take a portion of swap amounts as fees or tax.
  • Accrues protocol fees and manager fees, with sweepFees and claimManagerFees moving accrued currency out to a fee router or claimant.
  • Maintains a dividend ledger and awards mapping, suggesting holder rewards distributed from collected fees.
  • Owner can set fee-exempt addresses (setExempt) and configure the controller, router and related addresses.
Swap behaviour
Before a swap the hook checks that trading is open and applies a fee policy; the hook can take a fee via return deltas on both before and after swap, and an after-swap observation update records the tick. Trades by fee-exempt addresses are not charged. Which swap direction pays more cannot be confirmed from bytecode alone.
Liquidity behaviour
beforeAddLiquidity and beforeRemoveLiquidity and after-liquidity callbacks are present, and the hook may gate or record liquidity changes; no fee is charged to LPs beyond the pool's own mechanics as far as decoded.
Fee behaviour
Hook-level tax/fee is taken through return deltas on swaps, with fee rates from a fee policy and referral basis points; accrued fees are swept or claimed to the fee router or manager. Exact rates cannot be determined without source.
Owner & admin controls
Owner (Ownable with two-step transfer: transferOwnership, acceptOwnership, renounceOwnership) can set fee-exempt addresses, configure controller and router addresses, and open trading. A pause/recovery-halted flag exists (recoveryHalted). Upgradeability is not evident.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize sets up the pool pairing and trading state; beforeAddLiquidity gates liquidity provision; beforeSwap enforces trading-open and applies fee logic; afterSwap updates the tick observation oracle and accrues fees; beforeSwapReturnDelta and afterSwapReturnDelta let the hook take a fee from swap amounts.

Security & trust assessment

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

Who controls it: The owner can configure controller and router addresses, set fee exemptions, open trading and control fee sweeps, so a compromised or malicious owner key could redirect accrued fees or favour exempt addresses.

Risk to user funds: The hook holds and moves pool currency via return deltas and fee sweeps, and can block swaps before trading opens, so user trades pay the hook's fee and funds may be affected by admin-driven sweeps.

Security findings

  • [high] Return-delta fee taking on swaps: Both beforeSwapReturnDelta and afterSwapReturnDelta are enabled and the hook moves currency, so the owner-configured fee policy can take a significant share of every swap.
  • [medium] Trading gate controlled by owner: openTrading and tradingOpen indicate swaps can be blocked until the owner opens trading; TradingNotOpen reverts gate all trades before launch.
  • [medium] Owner-set fee exemptions: setExempt lets the owner exempt addresses from the tax, so privileged parties may trade without the fee.
  • [medium] Fee sweeping by privileged role: sweepFees and claimManagerFees move accrued currency to router or manager addresses, which the owner can point at configured addresses.
  • [info] Source unverified: Analysis relies on decoded bytecode only; exact fee rates, admin limits and pause semantics could not be confirmed.

Contract details

Verified source
No
Bytecode size
17,570 bytes
Upgradeable proxy
No
Detected patterns
erc20, fee-sharing, launchpad, moves-currency, ownable, return-delta, tax

Pools using Launchpad hook