DuckGenesisHook on Robinhood Chain

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

Volume (24h)
$97
Value locked (TVL)
$347
All-time volume
$52.69K
Pools using this hook
3
Swaps (24h)
1 (1 traders)
Total swaps
1,395

What it does

A launchpad hook that permanently locks launch liquidity and charges every buy and sell a fixed fee of up to 10% (default 2%) in the quote currency. The fee is split among the platform, token holders, the creator, a vault, and buyback-and-burn.

How it works step by step

  • Only pools registered by an approved launcher can be created, and only launchers can add liquidity.
  • Liquidity is permanently locked: every attempt to remove liquidity reverts, for every pool on this hook.
  • Charges a fixed per-pool fee of up to 10% (default 2%) on the quote-currency side of every buy and sell.
  • Accrued fees are paid out by a permissionless claim: 25% platform (24% plus 1% to the claimer), 5% token holder rewards, and 70% split between creator, a token vault, and buyback-and-burn.
  • Records a time-weighted price oracle on each swap.
Swap behaviour
Each swap pays a fixed quote-side fee (0% to 10%, set once at registration) taken by the hook. Swaps whose fee is charged up front must fill completely, and swaps that move nothing are rejected.
Liquidity behaviour
Only whitelisted launcher contracts can add liquidity, and removing liquidity always reverts, so LP positions are locked forever by design.
Fee behaviour
A per-pool hook fee fixed for the pool's life, from 0.01% up to a hard cap of 10% (2% if unset), taken in the quote currency on both buys and sells. Fees go 25% to the platform (1% of that to whoever triggers the claim), 5% to token holders, and 70% to the creator, vault, and burn shares chosen at launch.
Owner & admin controls
The owner can add or remove launchers, set the platform wallet, WETH, and oracle settings, and reassign a pool's creator (which resets creator fee splits). The owner cannot change a pool's fee after registration, and the fee is hard-capped at 10%.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize blocks unregistered pools; beforeAddLiquidity restricts deposits to launchers; beforeRemoveLiquidity always reverts to lock liquidity; beforeSwap takes the fee when the quote amount is specified; afterSwap takes the fee on the unspecified quote amount, enforces full fills, and updates the oracle; the two swap return-delta permissions apply those fees to swap amounts.

Security & trust assessment

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

Who controls it: The owner controls launcher approval, the platform wallet, oracle settings, and creator reassignment. The owner cannot change fees on existing pools or withdraw pool liquidity.

Risk to user funds: Traders pay a fixed 0% to 10% quote-side fee per swap. LP principal is permanently locked because liquidity removal always reverts, and only launchers can deposit it.

Security findings

  • [high] Liquidity permanently locked: beforeRemoveLiquidity always reverts, so no liquidity can ever be withdrawn from pools on this hook. This is intended for launch liquidity, but any LP principal is unrecoverable.
  • [info] Fee capped at 10% and fixed: Each pool's fee is set once at registration, can't exceed 10%, and cannot be changed later by anyone.
  • [low] Owner can reassign creator: The owner can move a pool's creator fee share to a new address and clear the existing fee splits. The owner cannot take pool reserves this way.

Contract details

Verified source
Yes (DuckGenesisHook)
Compiler
solc 0.8.36+commit.8a079791
Bytecode size
13,973 bytes
Upgradeable proxy
No
Detected patterns
dynamic-fee, erc20, fee-sharing, launchpad, liquidity-management, moves-currency, oracle, ownable, return-delta, rewards, self-unlock

Pools using DuckGenesisHook