AvocadoLaunchpad on Robinhood Chain

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

Volume (24h)
$0
Value locked (TVL)
$134
All-time volume
$35.69K
Pools using this hook
44
Swaps (24h)
0 (0 traders)
Total swaps
925

What it does

A token launchpad that creates a new coin and its Uniswap v4 pool, locks all of its supply as liquidity, and charges a fixed 1% platform fee plus a creator-chosen fee on every trade.

How it works step by step

  • Clones a fixed-supply AvocadoToken of 1,000,000,000 coins and mints the whole supply to the launchpad.
  • Creates a Uniswap v4 pool between the coin and an ETH or ERC-20 pair, with this contract as hook and zero LP fee.
  • Adds the entire supply as single-sided liquidity starting at the launch tick, then locks it so it can never be removed.
  • Takes a 1% platform fee and a 0-5% creator fee from every swap in the pair currency, credited as claimable balances.
  • Offers buy and sell entry points on the launchpad itself, paying the same fees, and an optional first buy at launch.
  • Lets wallets withdraw accrued fees in any currency through claim().
Swap behaviour
Every swap on an Avocado pool, whether a buy, a sell, exact-in or exact-out, has the platform fee (1%) and creator fee (0-5%) taken in the pair currency through beforeSwap or afterSwap return deltas. Buys and sells can also go through the buy and sell functions here, which apply the same fees.
Liquidity behaviour
On launch the entire 1,000,000,000 coin supply is added as single-sided liquidity from the launch tick to the maximum usable tick, and it is locked permanently: beforeAddLiquidity and beforeRemoveLiquidity revert for outside callers, so no one can add or remove liquidity to Avocado pools.
Fee behaviour
Every trade on an Avocado pool pays 1% of the pair-currency amount to the platform wallet plus the creator fee (0-5%, set at launch) to the launching wallet. Fees are taken as ERC-6909 claims in the PoolManager and withdrawn via claim(). The pool's own LP fee is zero.
Owner & admin controls
No admin controls found. There is no owner, no pause and no upgrade path: the platform and tokenImplementation addresses are immutable, and the platform wallet can only claim accrued fees. Creator fee (0-5%) is fixed at launch.

Enabled Uniswap v4 callbacks

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

beforeInitialize blocks pool creation by anyone except the launchpad itself. beforeAddLiquidity and beforeRemoveLiquidity revert for external callers, locking liquidity. beforeSwap and afterSwap take the platform and creator fees from the pair currency, using return deltas to do so. beforeSwapReturnDelta and afterSwapReturnDelta enable that fee capture.

Security & trust assessment

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

Who controls it: No privileged key is present. The platform wallet is fixed and can only withdraw its own accrued fees; it cannot touch pool liquidity or coin balances.

Risk to user funds: The hook can take a fixed 1% to 6% of pair-currency value on every trade, but cannot block swaps, move coins or remove liquidity. User funds are not held beyond transient settlement during a trade and accrued fee claims.

Security findings

  • [info] Fees are taken on every trade: The hook takes 1% platform plus up to 5% creator fees from every swap, including swaps routed through any v4 router, via before/afterSwap return deltas.
  • [info] Liquidity is permanently locked: Liquidity is added once and beforeRemoveLiquidity always reverts, so the pool liquidity cannot be withdrawn by anyone, including the creator.
  • [low] Fee accounting relies on PoolManager claims: Fees are credited as ERC-6909 claims in the PoolManager; claimable balances depend on the PoolManager and the claim path (unlockCallback with ACTION_CLAIM) working correctly.
  • [info] No admin or upgrade surface: The contract has no owner, upgrade or pause, and the coin contract has no mint or burn after initialization.

Contract details

Verified source
Yes (AvocadoLaunchpad)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
12,759 bytes
Upgradeable proxy
No
Detected patterns
launchpad, moves-currency, return-delta, self-unlock

Pools using AvocadoLaunchpad