FoundryHookV4R2E2 on Robinhood Chain

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

Volume (24h)
$0
Value locked (TVL)
$787
All-time volume
$218.59K
Pools using this hook
170
Swaps (24h)
0 (0 traders)
Total swaps
4,350

What it does

A token-launch hook that charges a hard-coded 0.50%-1.50% ETH fee on buys and exact-input sells (smaller tokens pay more, larger market caps pay less), shared between the creator and protocol, with exact-output sells disallowed and LP withdrawals unaffected.

How it works step by step

  • Charges an ETH-denominated fee on every buy and sell of a launched token, with the fee rate falling as the token's market cap grows (1.50% down to 0.50%).
  • On buys, the fee is charged as the pool's LP fee on the ETH input and accrues to the locked launch liquidity position, collected later by the locker.
  • On exact-input sells, the fee is skimmed from the ETH output and held in the hook until the locker pulls it at collect time.
  • Tracks a creator vs protocol split (40% to 76% to the creator depending on market cap) for later payout by the locker.
  • Tracks graduation progress of the bonding-curve position; the factory can mark a pool graduated once enough ETH has accumulated.
Swap behaviour
Buys pay a dynamic LP fee of 0.50%-1.50% on the ETH input; exact-input sells pay 0.50%-1.50% taken from the ETH received. Exact-output sells (specifying how much ETH to receive) are rejected; unregistered pools are unaffected.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Fee is fixed by market-cap tier: 1.50% below ~5.2 ETH MC, 1.40%, 1.25%, 0.90%, down to 0.50% above ~3,333 ETH MC; graduated pools never drop below the graduation tier rate. Fees go to the locker, which splits them between the token creator (40%-76%) and the protocol.
Owner & admin controls
No owner can change fees; the schedule is hard-coded. The immutable factory registers pools and marks graduation, and the immutable locker withdraws accumulated sell fees.

Enabled Uniswap v4 callbacks

beforeSwap, afterSwap, afterSwapReturnDelta

beforeSwap: sets the tiered ETH LP fee on buys, zero fee on sells, and blocks exact-output sells; afterSwap: records buy fees and takes the sell fee in ETH; afterSwapReturnDelta: deducts the sell fee from the ETH output.

Security & trust assessment

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

Who controls it: The factory and locker addresses are set at deployment and cannot be changed; they can only register pools, mark graduation, and collect accrued fees. No one can change fee rates or pause swaps.

Risk to user funds: The hook takes 0.50%-1.50% of each trade in ETH and only holds accrued sell fees. It has no remove-liquidity callbacks, so LP withdrawals cannot be blocked or charged.

Security findings

  • [info] Hard-coded fee schedule: Swap fees are fixed in code between 0.50% and 1.50% based on market cap; no admin can raise them.
  • [low] Exact-output sells blocked: Sells that specify an exact ETH output revert, so some routers must use exact-input sells instead.
  • [info] Sell fees held in hook: Sell-fee ETH sits in the hook until the fixed locker address pulls it; only accrued fees are held, not LP principal.

Contract details

Verified source
Yes (FoundryHookV4R2E2)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
9,645 bytes
Upgradeable proxy
No
Detected patterns
launchpad, moves-currency, return-delta

Pools using FoundryHookV4R2E2