Launchpad hook on Robinhood Chain
Uniswap v4 Hook Contract 0xd620f09659b927c6ee9c2ee16441a3b1b3ee0acc on Robinhood Chain · Launchpad
- Volume (24h)
- $178
- Value locked (TVL)
- $1.27K
- All-time volume
- $635.96K
- Pools using this hook
- 1
- Swaps (24h)
- 3 (2 traders)
- Total swaps
- 4,474
What it does
A launchpad hook that taxes swaps during and after launch, with a snipe tax window, routing part of the fees to a buyback vault and a protocol fee wallet while whitelisting and LP seeding are controlled.
How it works step by step
- Applies a base swap tax in bps bounded by min and max limits
- Applies an elevated snipe tax for a fixed window after LP seeding
- Routes tax between a buyback vault and a protocol fee wallet by fixed bps shares
- Exempts whitelisted addresses from tax
- Gates liquidity adds and removes and tracks LP seeding timestamp
- Tracks buy and sell counts and can be sealed to renounce ownership
- Swap behaviour
- beforeSwap checks whitelist status and computes the applicable base or snipe tax, returning a delta that takes the fee; afterSwap updates buy and sell counters and settles the collected tax to the vaults.
- Liquidity behaviour
- beforeAddLiquidity and beforeRemoveLiquidity are hooked; they appear to gate liquidity actions, likely restricting adds and removes (LPLocked error present) and tracking lpSeeded and lpSeededAt.
- Fee behaviour
- Swaps are taxed: a base tax in bps (baseTaxBps, bounded by MIN_BASE_TAX_BPS and MAX_BASE_TAX_BPS) plus an elevated snipe tax (SNIPE_TAX_BPS) applied during a window of SNIPE_WINDOW_SECONDS after LP seeding. Collected tax is split between a buyback vault (BUYBACK_SHARE_BPS) and a protocol fee wallet (PROTOCOL_FEE_SHARE_BPS) via take and receiveFee calls.
- Owner & admin controls
- Owner (selector 0x8da5cb5b) can call setWhitelist(address[]) to manage whitelisted addresses (bounded by MAX_WHITELIST) and sealLaunchAndRenounce() which appears to lock configuration and renounce owner, after which LPLocked-style guards apply. Owner-readable parameters include baseTaxBps, SNIPE_TAX_BPS, SNIPE_WINDOW_SECONDS, BUYBACK_SHARE_BPS and PROTOCOL_FEE_SHARE_BPS, with MIN/MAX base tax bounds; whether they are mutable post-seal is not confirmed from bytecode alone.
Enabled Uniswap v4 callbacks
beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeAddLiquidity and beforeRemoveLiquidity gate LP changes and track seeding state; beforeSwap checks whitelist and computes the tax; afterSwap updates buy/sell counters and settles fees; beforeSwapReturnDelta and afterSwapReturnDelta let the hook take a portion of the swap amount as a delta, which is how tax is extracted.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, medium confidence).
Who controls it: The owner controls the whitelist and launch configuration until sealLaunchAndRenounce is called; before sealing, the owner could alter tax parameters and whitelist membership to favor chosen addresses or change fee destinations. After renouncing, the owner's powers should be gone, but this is not fully verified.
Risk to user funds: The hook can hold and redirect swap value through return-delta taxes sent to buyback and protocol fee vaults, and can restrict liquidity add/remove, so trader and LP funds are exposed to the configured tax and gating rules.
Security findings
- [info] Return-delta fee extraction: The hook takes tokens via return deltas in beforeSwap and afterSwap and moves them through take calls to buyback and protocol fee vaults, so swap amounts are altered by design.
- [medium] Owner-controlled whitelist and tax parameters: Whitelist management via setWhitelist and tax setters are owner-gated; prior to renouncing, the owner can change economics and whitelisting.
- [medium] Liquidity actions can be blocked: The hook can gate liquidity adds and removes through LP-related checks and LPLocked, which could prevent LPs from exiting if the lock is not released.
- [info] Unverified source: Source is unverified; function purposes are inferred from selectors and storage access, and parameter mutability after sealing is unconfirmed.
Contract details
- Verified source
- No
- Bytecode size
- 6,069 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Launchpad hook
- ETH / LONG10 (0.00% fee) — 24h volume $178, TVL $1.27K, 3 swaps today