PotatoV4Hook on Robinhood Chain

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

Volume (24h)
$424
Value locked (TVL)
$1.19K
All-time volume
$45.91K
Pools using this hook
18
Swaps (24h)
1 (1 traders)
Total swaps
584

What it does

A launchpad hook that charges a fixed 1% fee on every buy and sell. Buy fees are split between the creator and the protocol, sell fees are burned, early non-whitelisted buys and buys above a 2% wallet cap are blocked, and the launch liquidity is locked permanently.

How it works step by step

  • Runs a token launchpad where each new token is paired with a quote token in a pool whose only liquidity is a single permanent position added by the factory.
  • Charges a fixed 1% fee on the input of every swap: buy-side fees (paid in the quote token) are split between the creator and the protocol, and sell-side fees (paid in the launch token) are burned.
  • Creators get 70% of buy fees before graduation and 90% after. The protocol gets the rest, minus a 20% referral cut when a referrer is set.
  • Applies an optional anti-snipe window of about 4 seconds after launch, during which only whitelisted wallets can buy, plus a 2% of total supply wallet cap on buys.
  • Only allows swaps through approved routers. Blocks all third-party liquidity adds, removals and donations.
Swap behaviour
Every swap pays 1% of the input amount, and swaps must go through the approved router, universal router or quoter. Buys can be blocked during the roughly 4-second anti-snipe window for non-whitelisted wallets, and any buy that would push the buyer above 2% of total supply reverts, while sells are unrestricted apart from the 1% fee.
Liquidity behaviour
All add and remove liquidity attempts revert. The only liquidity is one permanent launch position added once by the factory, and no function can withdraw it, so there are no outside LPs and that liquidity is locked forever by design.
Fee behaviour
The fee is a fixed 1% of swap input with no admin adjustment. Quote-token fees from buys go 70% to the creator side before graduation and 90% after, with the remainder to the protocol (20% of that goes to a referrer if set), and launch-token fees from sells are burned.
Owner & admin controls
No owner exists. The immutable factory configures each launch once, setting the creator, referrer, reward mode and anti-snipe whitelist of up to 20 addresses, and the immutable reward processor can only pull a creator allocation already accrued in the pool's selected reward mode.

Enabled Uniswap v4 callbacks

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

beforeInitialize: only lets the factory create the pool with the preset fee, tick spacing and price; afterInitialize: records the launch start time; beforeAddLiquidity: blocks all liquidity adds through the pool; beforeRemoveLiquidity: blocks all removals so the launch position is permanent; beforeSwap: enforces router checks and anti-snipe, and takes the 1% fee on exact-input swaps; afterSwap: takes the 1% fee on exact-output swaps, enforces the wallet cap, allocates fees and tracks graduation; beforeSwapReturnDelta and afterSwapReturnDelta: used to collect the 1% fee.

Security & trust assessment

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

Who controls it: The contract is immutable with no owner. The factory sets per-launch parameters once at creation and cannot change fees or seize funds afterward.

Risk to user funds: The hook only takes the fixed 1% swap fee: quote-token fees are held for later claims and token fees are burned. There are no outside LP deposits, and the launch liquidity cannot be withdrawn by anyone.

Security findings

  • [info] Fixed 1% swap fee: The fee is hard-coded at 1% of input. No one can change it.
  • [info] Launch liquidity permanently locked: Removals always revert, but the only position belongs to the launch factory and there are no third-party LPs. This is an intentional permanent lock, not a trap for user deposits.
  • [low] Buy restrictions: Buys revert during the roughly 4-second anti-snipe window for non-whitelisted wallets, or if the buyer would end up holding more than 2% of total supply. Sells are not restricted.

Contract details

Verified source
Yes (PotatoV4Hook)
Compiler
solc 0.8.30+commit.73712a01
Bytecode size
18,989 bytes
Upgradeable proxy
No
Detected patterns
access-control, erc20, launchpad, mev-protection, moves-currency, return-delta, rewards, self-unlock

Pools using PotatoV4Hook