LaunchHookV12 on Robinhood Chain

Uniswap v4 Hook Contract 0x2c53e47591b0621d410db3d4243fdc8934c8b0c0 on Robinhood Chain · Launchpad · Verified contract

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

What it does

A launchpad hook that fixes a new token pool at a 1% fee and enforces a 2% per-wallet early-buy cap for the first two minutes, with an optional owner-enabled automatic buyback.

How it works step by step

  • Only the launch factory can initialize pools, and only with the fixed 1% LP fee.
  • Records the launch timestamp for each pool.
  • Caps each recipient's early purchases at 2% of original supply during the first 120 seconds.
  • Lets the factory pre-arm a single opening buy per pool that is exempt from the cap.
  • Optionally triggers a gas-limited automatic buyback through an owner-set executor when enabled and funded.
  • Lets the owner whitelist routers that can attribute early buys to a declared recipient.
Swap behaviour
beforeSwap is a pass-through. afterSwap during the 120-second window tracks each recipient's bought amount and balance against a 2% cap and reverts if exceeded; it also records the factory's opening buy and may trigger an automatic buyback on zero-for-one swaps when enabled and funded.
Liquidity behaviour
No liquidity callbacks; liquidity add and remove hooks are not enabled.
Fee behaviour
Pool fee is fixed at LP_FEE (10,000 = 1%) and beforeInitialize reverts with FeeMismatch if any other fee is used; no dynamic fee logic. Swaps are not fee-overridden.
Owner & admin controls
Owner (Ownable2Step, renounce disabled) can set the launch factory, set the buyback executor and locker, toggle autoBuybackEnabled, and manage authenticated routers; ownership transfer is two-step.

Enabled Uniswap v4 callbacks

beforeInitialize, afterInitialize, beforeSwap, afterSwap

beforeInitialize restricts pool creation to the launch factory with the fixed fee; afterInitialize records the launch timestamp; beforeSwap is a no-op returning zero delta; afterSwap tracks early-window buys, handles the factory's opening buy, and may trigger an automatic buyback.

Security & trust assessment

Risk level: medium (verified source, high confidence).

Who controls it: The owner can point the launch factory and buyback executor at arbitrary contracts, enable or disable automatic buybacks, and whitelist routers that can attribute early-buy accounting to a declared recipient. Ownership cannot be renounced.

Risk to user funds: The hook takes no tokens via return deltas and does not custody pool liquidity. Funds at risk are indirect: a malicious or buggy owner-chosen buyback executor could spend or burn committed quote-currency, and early-buy caps can revert buyer swaps during the first two minutes.

Security findings

  • [medium] Owner-set buyback executor can spend committed funds: afterSwap calls an owner-configured buyback executor via try/catch with a gas budget; the executor can spend committed funds on the pool's quote currency and burn the token when triggered.
  • [low] Early-buy caps can revert swaps: Early-window buys cap cumulative purchases and post-buy balance per recipient at 2% of supply for 120 seconds, and reverts swaps that exceed it, which can block or restrict buyers during launch.
  • [low] Router-declared recipient attribution: Authenticated routers can charge an early buy to a declared recipient instead of the caller, a trust assumption on the owner-whitelisted router set.
  • [info] Custody depends on owner-chosen executor: Tokens held by the hook or buyback locker are not directly exposed to users, but the executor address and locker are mutable by the owner, so custody depends on the chosen executor.

Contract details

Verified source
Yes (LaunchHookV12)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
10,796 bytes
Upgradeable proxy
No
Detected patterns
launchpad, ownable

Pools using LaunchHookV12