Launchpad hook on Robinhood Chain
Uniswap v4 Hook Contract 0x526d2791cec5844de6fa29ae16a56bc6e79128cc 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
A launchpad-style hook that enforces early-trading limits and snipe protection for a new token pool, using an external engine for fee and accounting logic.
How it works step by step
- Records the token, engine and pool id during configuration and at pool initialization
- Caps buy size during a launch window using LAUNCH_BUY_CAP_BPS and snipe basis-point thresholds
- Calls an external engine to compute fees (feeFor) and to process fee events (onFee)
- Takes tokens from swaps via return deltas and take() during beforeSwap and afterSwap
- Gates liquidity additions and removals through beforeAddLiquidity and related callbacks
- Swap behaviour
- beforeSwap and afterSwap run on every swap, with return-delta capability. Launch-window limits (snipe and buy caps) are applied, and the hook can take tokens from swaps via take().
- Liquidity behaviour
- beforeAddLiquidity and afterRemoveLiquidity are hooked, and afterAddLiquidity and beforeRemoveLiquidity selectors are present. Logic is not clearly identified from the bytecode alone.
- Fee behaviour
- Dynamic fee logic appears to be delegated to an external engine (feeFor(bool,uint256) and onFee(bool,uint256,uint256,uint256) selectors are called), and the hook can also return deltas on swaps. The exact fee amounts cannot be determined without source.
- Owner & admin controls
- configure(address,address,(address,address,uint24,int24,address)) is callable and writes storage slots 0-3 (token, engine, poolId, launchedAt/config). Access is gated by a NotDeployer error selector, suggesting only the deployer can configure. No pause or upgrade functions were identified. Parameter tuning (snipeBps, LAUNCH_WINDOW, LAUNCH_BUY_CAP_BPS) appears to be fixed constants rather than admin setters.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: validates and records the pool at creation. beforeAddLiquidity: gates or inspects liquidity additions. beforeSwap: enforces launch-window buy limits and snipe rules, with return-delta capability. afterSwap: updates swap accounting and launch state, with return-delta capability.
Security & trust assessment
Risk level: medium (decoded bytecode, low confidence).
Who controls it: The deployer can call configure to set the token, engine and pool parameters, so whoever holds the deployer key controls the hook's initial wiring.
Risk to user funds: The hook can take tokens during swaps through return deltas and take() calls, and it can restrict buys during the launch window. It does not appear to hold a standing balance, but it can affect the amounts traders receive.
Security findings
- [medium] Return-delta swap intervention: The hook has beforeSwapReturnDelta and afterSwapReturnDelta enabled and calls take(address,address,uint256), so it can take a portion of swap amounts from users or the pool.
- [medium] Launch-window swap restrictions: Snipe and launch-window parameters (SNIPE_T0_BPS, SNIPE_T1_BPS, LAUNCH_BUY_CAP_BPS, LAUNCH_WINDOW) limit early buyers, which can block or reroute large swaps during the launch window.
- [medium] Dependence on external engine: An external engine contract is called for fee and accounting decisions (feeFor, onFee, totalSupply). If the engine is upgradeable or owner-controlled, the hook's behaviour can change.
- [low] Deployer-controlled configuration: configure is callable and writes core state, guarded only by a NotDeployer check, which places trust in a single deployer key.
- [info] Unverified source: No source is verified, so function semantics, owner controls and upgrade paths are inferred from selectors and storage only.
Contract details
- Verified source
- No
- Bytecode size
- 5,460 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc20, moves-currency, return-delta
Pools using Launchpad hook
- WOJAK / PLNT (0.30% fee) — 24h volume $0, TVL $0, 4 swaps today