QuoteFeeHook on Robinhood Chain

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

Volume (24h)
$1.50K
Value locked (TVL)
$927
All-time volume
$94.33K
Pools using this hook
28
Swaps (24h)
60 (32 traders)
Total swaps
1,081

What it does

A launchpad bonding-curve hook where every swap pays a quote-asset fee of up to 20% to the treasury and creator. Non-exempt early buys also pay a sniper tax of up to 99% that decays to zero within at most 1 day, sells and later trades pay only the regular fee, and the launch liquidity stays locked.

How it works step by step

  • Runs a token launch as a bonding curve inside a single Uniswap v4 pool that opens at a fixed, pre-registered price and range.
  • Charges every swap fee in the quote asset (for example ETH or a stablecoin), never in the launch token: a trade fee up to 10% plus a creator tax up to 10%, capped at 20% combined.
  • Applies an anti-sniper tax on non-exempt buys right after launch, starting at up to 99% and halving rapidly until it reaches zero within at most 1 day.
  • Only the launch's own locker contract can add or remove liquidity. The curve position is retired at graduation and replaced by a full-range position locked until the locker's unlock time, which may be never.
  • Fees are credited to the launchpad treasury and the token creator, and either of them can claim at any time.
Swap behaviour
Swaps are only allowed while the pool is trading. Each swap pays the quote-denominated fee, and buys inside the opening window also pay the sniper tax. Exact-output buys are refused while the sniper tax is active, and swaps that would push the price outside the curve range revert.
Liquidity behaviour
Only the launch's locker can add liquidity, and only the exact registered curve position or the post-graduation full-range position. Removal is allowed only to retire the curve at graduation, or after the locker's unlock time; a permanent lock never allows it, so there are no third-party LPs and the launch liquidity is intentionally locked.
Fee behaviour
The pool fee is 0%. The hook takes a trade fee of 0% to 10%, split between the creator and the launchpad treasury, plus a creator tax of 0% to 10%, with the two capped at 20% combined and set per launch at registration. Non-exempt buys also pay an opening sniper tax of up to 99% that decays to 0% within the launch's window (at most 1 day) and goes to the treasury.
Owner & admin controls
The owner can only add or remove launchpads allowed to register new launches. Fee rates are fixed per launch at registration within hard caps (20% combined trade fee, 99% opening tax for at most 1 day). A creator can only change their own fee recipient address.

Enabled Uniswap v4 callbacks

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

beforeInitialize: allows only registered launches to open, at their registered price; beforeAddLiquidity: lets only the locker seed the exact curve or full-range position; beforeRemoveLiquidity: blocks withdrawals except the graduation retirement or after the locker's unlock time; beforeSwap: checks trading status and takes the fee when the quote is the specified side; afterSwap: enforces the curve range and takes the fee when the quote is the unspecified side; beforeSwapReturnDelta/afterSwapReturnDelta: let the hook deduct the quote fee from swap amounts.

Security & trust assessment

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

Who controls it: Not stated.

Risk to user funds: Not stated.

Security findings

  • [medium] Launch liquidity is locked: beforeRemoveLiquidity reverts for everyone except the locker, and after graduation even the locker can only withdraw after its unlock time, which can be permanent. This is by design: no outside LPs can deposit, so only the launch's own liquidity is affected.
  • [medium] Opening sniper tax up to 99%: Non-exempt buys in the opening window can pay up to 99% in tax. The rate halves 14 times across a window capped at 1 day and reaches zero by its end, while creator and listed addresses are exempt.
  • [info] Trade fees hard-capped: Trade fee is at most 10%, creator tax at most 10%, and the two together at most 20%. These rates are fixed per launch and the owner cannot raise them.
  • [info] Swaps pause during graduation: Between the locker calling graduate and the permanent position landing, all swaps revert.

Contract details

Verified source
Yes (QuoteFeeHook)
Compiler
solc 0.8.36+commit.8a079791
Bytecode size
23,119 bytes
Upgradeable proxy
No
Detected patterns
erc6909-claims, fee-sharing, launchpad, moves-currency, ownable, return-delta, self-unlock, tax

Pools using QuoteFeeHook