Launchpad hook on Robinhood Chain
Uniswap v4 Hook Contract 0x92a0c63a69bded36af9a24da47b1f2f07e2f2acc on Robinhood Chain · Launchpad
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0
- Pools using this hook
- 1
- Swaps (24h)
- 4 (2 traders)
- Total swaps
- 4
What it does
This is a token-launch hook that takes platform and creator fees on every swap, charges early buyers a higher anti-sniper fee under possible whitelist and max-buy limits, and runs unverified checks on LP deposits and withdrawals.
How it works step by step
- Registers token launch pools through a factory and stores per-pool settings such as creator fee, whitelist and max-buy limits.
- Charges a swap fee split between a platform fee and a token creator fee, both credited for later claiming.
- Applies a higher anti-sniper fee and possibly whitelist and max-buy limits for a short window after launch.
- Supports a buyback function, with a cooldown and a price-move limit, that uses accrued fees.
- Runs checks when liquidity is added or removed. The exact rules cannot be confirmed from bytecode.
- Swap behaviour
- Each swap passes through the hook. It can take a platform fee and a creator fee from the swap amounts, and may apply a higher anti-sniper fee, whitelist checks or a max-buy limit during the early launch window. Exact percentages are stored as constants but cannot be read from the bytecode.
- Liquidity behaviour
- The hook runs before liquidity is added and before it is removed, and it can revert those actions. The decoded functions look like view-style checks, but whether LP withdrawals are ever restricted cannot be confirmed without source.
- Fee behaviour
- Fees are taken through swap return deltas. The platform share accrues to the platform fee recipient, and the creator share (capped by a hard-coded maximum creator fee constant) accrues per pool for the creator to claim. A separate sniper fee applies early on; its exact percentages are unknown from bytecode.
- Owner & admin controls
- A deployer can set the factory address and claim platform fees. Pool fee recipients can be updated, and fee parameters appear bounded by constants such as a maximum creator fee, whose values are not visible here.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: restricts pool creation to registered or factory pools; beforeAddLiquidity: gates liquidity additions; beforeRemoveLiquidity: runs checks on withdrawals; beforeSwap: applies fees, sniper rules and limits; afterSwap: settles fees on output; beforeSwapReturnDelta and afterSwapReturnDelta: let the hook take fee amounts from swaps.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: A deployer key can change the factory and claim platform fees, and the factory registers pools with their settings. No upgrade path exists, since this is a direct contract.
Risk to user funds: The hook can deduct fees from swap amounts, at rates bounded by unknown constants. LP withdrawals pass through an unverified check, so it is uncertain whether they are always unrestricted.
Security findings
- [low] Swap fees taken via return deltas: The hook deducts platform and creator fees from swaps. Exact rates, including the sniper fee, are hard-coded constants that cannot be read from the decoded bytecode.
- [medium] Withdrawal callback enabled: beforeRemoveLiquidity runs on every LP withdrawal and could revert. Its logic is unverified, so whether withdrawals can be blocked is unknown.
- [low] Launch-time trading restrictions: A whitelist and max-buy limits appear to apply during an early window capped by a maximum sniper duration constant.
Contract details
- Verified source
- No
- Bytecode size
- 14,797 bytes
- Upgradeable proxy
- No
- Detected patterns
- access-control, dynamic-fee, fee-sharing, mev-protection, moves-currency, return-delta, rewards, self-unlock