Launchpad hook on Robinhood Chain

Uniswap v4 Hook Contract 0x029dcc07f7fceef2b414e888161285e6a1100044 on Robinhood Chain · Launchpad

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

What it does

A launchpad-style hook that skims a portion of swap proceeds on each swap and accrues them for staking, milestones and a buyback, with the owner controlling the registrar.

How it works step by step

  • Runs logic after every swap through the afterSwap callback.
  • Takes a portion of swap output via afterSwapReturnDelta and moves it through the pool manager.
  • Accrues balances per pool and per user (accrued, stakingOf, milestones).
  • Routes a buyback share, referenced by AVLO_BUYBACK_BP, toward the AVLO token.
  • Owner can set the registrar and transfer ownership.
Swap behaviour
afterSwap runs after each swap and uses afterSwapReturnDelta to take a share of the output currency for accrual and buyback.
Liquidity behaviour
beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity and afterRemoveLiquidity selectors are present, suggesting liquidity events are gated or tracked, with the exact logic not determinable from bytecode alone.
Fee behaviour
Hook takes a share of swap output via afterSwap return delta; the buyback basis points constant (AVLO_BUYBACK_BP) indicates a fee portion is routed to a buyback, with the exact rate not verifiable without source.
Owner & admin controls
Owner (slot 1) can transfer ownership and set the registrar address (setRegistrar). The owner-controlled registrar is used in launch/registration flows; no pause or upgrade mechanism was identified in the decoded selectors.

Enabled Uniswap v4 callbacks

afterSwap, afterSwapReturnDelta

afterSwap: runs logic after each swap to accrue fees and buybacks. afterSwapReturnDelta: lets the hook take a portion of the swap's output currency. Other liquidity and initialization callbacks appear in the ABI but the permission flags indicate only afterSwap and afterSwapReturnDelta are enabled.

Security & trust assessment

Risk level: medium, estimated (decoded bytecode, low confidence).

Who controls it: The owner can change the registrar and transfer ownership. Changes to the registrar could alter which pools or parameters the hook relies on, potentially affecting launch and fee flows for all pools using this hook.

Risk to user funds: The hook takes a share of swap output on afterSwap and holds accrued balances in contract storage, so a portion of traded value is custodied by the hook until distributed or bought back.

Security findings

  • [medium] Hook moves currency on swaps: The hook takes currency from swaps via afterSwapReturnDelta and uses a take/unlock pattern through the pool manager, so it can hold or redirect a portion of swap proceeds.
  • [medium] Owner controls registrar without visible timelock: ownership can be transferred and the registrar can be swapped by the owner-only setRegistrar function; no timelock is evident.
  • [low] Hook holds accrued balances: Accrual and milestone storage (accrued, milestones, staking) suggests tokens are held inside the hook contract until claimed or bought back.
  • [info] Unverified source limits analysis: Source is unverified, so exact fee rates, buyback logic and what the owner can change cannot be confirmed.

Contract details

Verified source
No
Bytecode size
16,957 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, ownable, return-delta, self-unlock

Pools using Launchpad hook