ShroomHook on Robinhood Chain

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

Volume (24h)
$203
Value locked (TVL)
$1.70K
All-time volume
$65.22K
Pools using this hook
1
Swaps (24h)
1 (1 traders)
Total swaps
1,450

What it does

A SHROOM launch hook that keeps swaps closed until opening, then charges a 90%-to-5% anti-sniper fee on all trades for 30 minutes and a permanent 5% fee only on sells (buys free afterward), sending fees 80/20 to a pot and ops or burning them.

How it works step by step

  • Charges a permanent 5% fee on every sale of the SHROOM token; buys are free after the launch window.
  • For the first 30 minutes after trading opens, both buys and sells pay a fee that starts at 90% and falls linearly to 5% (anti-sniper ramp).
  • Fees paid in ETH (or the paired token) are split 80% to a 'pot' treasury and 20% to an operations wallet, sent immediately.
  • On exact-output sells, where the fee ends up in SHROOM, the fee is burned instead.
  • All swaps revert until a designated opener turns trading on, or until a fixed auto-open time passes; this switch is one-way.
Swap behaviour
Swaps revert until trading opens. After that, sells pay 5% of the swap (taken from the output or as burned SHROOM), and during the first 30 minutes both buys and sells pay a fee falling from 90% to 5%; buys after the ramp pay nothing.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Sell fee is 5% permanently; during the 30-minute opening ramp buys and sells pay 90% decreasing linearly to 5%. ETH-side fees go 80% to the pot and 20% to ops; SHROOM-denominated fees are burned.
Owner & admin controls
No owner or setters; all fees and recipients are immutable. A single opener address can only open trading once, and trading auto-opens at a fixed time regardless.

Enabled Uniswap v4 callbacks

beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeSwap: blocks swaps before opening and takes the ramp fee from ETH input on exact-input buys; beforeSwapReturnDelta: lets that buy fee be deducted; afterSwap: blocks swaps before opening and charges sell fees and exact-output buy ramp fees; afterSwapReturnDelta: deducts that fee from the swap's unspecified side.

Security & trust assessment

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

Who controls it: No owner exists; the opener can only start trading once and an auto-open time caps any delay. Fee rates and recipients are hard-coded.

Risk to user funds: The hook takes 5% of sells permanently and up to 90% of buys and sells during the first 30 minutes after launch. LP liquidity is never touched and withdrawals are unrestricted.

Security findings

  • [medium] Very high opening fee: For 30 minutes after opening, buys and sells pay up to 90%, decaying linearly to 5%. This is fixed in code and cannot be extended, but early traders can lose most of their trade.
  • [low] Trading gate before launch: All swaps revert until the opener opens trading or the immutable auto-open time arrives; it cannot be closed again afterward.
  • [info] Immutable permanent sell tax: Sells always pay 5%, sent to fixed pot and ops addresses; no one can change or remove it.

Contract details

Verified source
Yes (ShroomHook)
Compiler
solc 0.8.35+commit.47b9dedd
Bytecode size
4,614 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, return-delta

Pools using ShroomHook