FeeHook on Robinhood Chain

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

Volume (24h)
$90
Value locked (TVL)
$374
All-time volume
$30.24K
Pools using this hook
2
Swaps (24h)
3 (1 traders)
Total swaps
471

What it does

This launchpad hook charges every buy and sell a fixed 1% fee on the ETH/USDC side, plus optional creator and LP fees of up to 5% each set at launch, and shares it among the creator, external LPs, BODKIN burns, autocompounding and the team, while LPs can always withdraw.

How it works step by step

  • Charges a 1% platform fee on the ETH/USDC side of every swap in launchpad pools (never in the launched token), plus optional creator and LP fees of up to 5% each set once at launch.
  • Splits the base 1% fee: 35% to the creator NFT holder, 25% to external LPs active at the current price, 10% to buy and burn BODKIN, 10% auto-compounded into the coin's own pool, and 20% to the team.
  • Tracks external LP positions in any range and lets the position NFT owner claim their share of fees in ETH or USDC.
  • Only allows exact-input swaps and blocks trading below the bonding curve boundary until the coin migrates.
  • Converts accrued fees into each party's chosen payout token through hook-built routes with price bands and per-block size limits.
Swap behaviour
Buys pay the fee from their ETH/USDC input and sells pay it from their ETH/USDC output, at 1% base plus up to 5% creator fee and 5% LP fee, for a maximum of 11%. Exact-output swaps and partial fills revert, and trades are frozen near the curve's lower boundary before migration.
Liquidity behaviour
Adds and removes are tracked to give external LPs their share of the fee. Adds that use the two reserved full-range boundary ticks revert, but removals only update accounting and cannot block LP withdrawals.
Fee behaviour
The base fee is a fixed 1%, split 35% creator, 25% LPs, 10% BODKIN burn, 10% autocompound and 20% team. Slices that do not apply, such as LPs or autocompound being turned off, go to the creator. Optional creator and LP fees of 0% to 5% each are fixed at launch, so the total is at most 11%.
Owner & admin controls
The owner has one-shot setters for the launcher, USDC pool, BODKIN pool and position manager, and can renounce ownership. The launcher, behind a deployer plus team 2-of-2, can change the team wallet, team payout token, WETH and USDC addresses, and add position managers. The fee rates are constants and per-coin fees are capped at 5% each and cannot be changed after launch.

Enabled Uniswap v4 callbacks

beforeInitialize, afterAddLiquidity, afterRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: only the launcher can open pools, with an allowed quote currency and tick spacing of 60; afterAddLiquidity: tracks LP positions and rejects reserved ticks; afterRemoveLiquidity: checkpoints LP rewards; beforeSwap: takes the buy fee and enforces exact-input and the trading freeze; afterSwap: takes the sell fee and runs the burn, conversion and compound steps; beforeSwapReturnDelta and afterSwapReturnDelta: deduct the fee from swap amounts.

Security & trust assessment

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

Who controls it: Admins can only re-point fee-infrastructure addresses and the team wallet, through a 2-of-2 and with validation checks; they cannot change fee rates or touch LP principal.

Risk to user funds: The hook takes 1% to 11% of the ETH/USDC side of each swap as fees, which are held as claims for the fee recipients. LP principal stays in the PoolManager and LPs can withdraw freely.

Security findings

  • [info] Hard-capped fees: The base fee is a constant 1%, and the optional creator and LP fees are each capped at 5% and set once per coin, for a maximum total of 11%.
  • [info] Removals cannot be blocked: The remove-liquidity callback only updates reward accounting and returns no delta, so LP principal stays withdrawable.
  • [low] Pre-migration trading freeze: Swaps revert when the price is within one tick spacing of the curve's lower tick until the coin migrates; this is set by launcher state.

Contract details

Verified source
Yes (FeeHook)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
38,130 bytes
Upgradeable proxy
No
Detected patterns
dynamic-fee, erc20, fee-sharing, launchpad, liquidity-management, moves-currency, ownable, return-delta, rewards, self-unlock

Pools using FeeHook