HappiUniswapV4Hook on Robinhood Chain

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

Volume (24h)
$0.20
Value locked (TVL)
$0
All-time volume
$0.20
Pools using this hook
1
Swaps (24h)
1 (1 traders)
Total swaps
1

What it does

Launchpad graduation hook that charges every swap, buys and sells alike, the pool's fixed fee (protocol fee up to 10% plus creator tax, at most 20% combined) and shares it among the protocol, the creator and an optional MM vault, while LPs withdraw freely.

This read was written for the hook 0x76ff…a044 on Robinhood Chain and reused here: the two share a code shape, so constants such as fees, owners and addresses can differ.

How it works step by step

  • Shared hook for Happi launchpad memecoin pools that graduated from a bonding curve to Uniswap v4.
  • Takes a protocol fee plus an optional creator tax from the non-specified side of every swap. The two together are capped at 20% at registration, and the protocol fee alone is capped at 10%.
  • Collected fees in the memecoin are later swapped into the quote token against the same pool by a trusted sweep operator, with a minimum-output check.
  • Quote-token fees are split between the protocol (up to 50%), an optional market-maker vault (up to 50%) and the creator, and paid via a fee escrow.
  • Only the launch factory can initialize pools. LPs are never touched on add or remove.
Swap behaviour
After each swap the hook takes the pool's frozen fee rate (protocol fee up to 10% plus creator tax, combined at most 20%) from the unspecified leg of the swap: the output on exact-input trades and the input on exact-output trades. Buys and sells pay the same rate, and there are no blocks or cooldowns.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Each pool has its fee terms frozen at registration: a hook fee (default 1%, max 10%) plus a creator-chosen tax, with the total capped at 20% of the swap's unspecified amount. The hook fee is split between the protocol (default 30%, max 50%), an optional MM vault (max 50%) and the creator, while the creator tax goes fully to the creator.
Owner & admin controls
The owner can set the default hook fee (max 10%), the protocol share (max 50%), the internal swap price-impact limit, the protocol recipient and the sweep operator. These defaults apply only to newly registered pools, since existing pools keep their frozen terms. The owner can also rescue stuck pending fees, paying them to the protocol and creator at the normal split, and the factory can change a pool's creator fee recipient.

Enabled Uniswap v4 callbacks

beforeInitialize, afterSwap, afterSwapReturnDelta

beforeInitialize: only the factory may create pools with this hook. afterSwap: computes and takes the fee and tax after each swap. afterSwapReturnDelta: charges that fee against the swapper's unspecified amount.

Security & trust assessment

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

Who controls it: The protocol owner (renouncing ownership is disabled) controls default fee policy within the caps, the recipients and the sweep operator. The factory controls pool registration and creator recipient changes. None of them can raise an existing pool's fee or touch LP positions.

Risk to user funds: Swappers pay up to 20% combined per trade, at the rate fixed for that pool. LP principal is never touched and withdrawals are unrestricted.

Security findings

  • [low] Combined swap fee up to 20%: The protocol fee (up to 10%) plus the creator tax can reach 20% of the swap's unspecified amount. Each pool's rate is fixed at launch and cannot be raised afterward.
  • [info] Frozen per-pool terms: Owner fee changes affect only future pools. Existing pools keep the rates recorded when they were registered.
  • [info] Operator-controlled fee conversion: Memecoin fees are sold into the pool only by the sweep operator, with a required minimum output and a price-impact cap. This only affects the value of accrued fees, not LP principal.

Contract details

Verified source
Yes (HappiUniswapV4Hook)
Compiler
solc 0.8.35+commit.47b9dedd
Bytecode size
13,310 bytes
Upgradeable proxy
No
Detected patterns
dynamic-fee, erc20, fee-sharing, launchpad, moves-currency, ownable, return-delta, self-unlock, tax

Pools using HappiUniswapV4Hook