Launchpad hook on Robinhood Chain
Uniswap v4 Hook Contract 0x393258670ab1dabaaf5c9f661949a36ca16ba8cc on Robinhood Chain · Launchpad
- Volume (24h)
- $265.07K
- Value locked (TVL)
- $17.79K
- All-time volume
- $265.07K
- Pools using this hook
- 1
- Swaps (24h)
- 2,908 (1,021 traders)
- Total swaps
- 2,908
What it does
Launchpad pool hook that charges every swap a fixed fee (exact rate not readable from bytecode), split between the token developer and the platform, while LPs can withdraw freely.
How it works step by step
- Hook for pools created by a token launchpad; pools are registered through a migrate function callable only by the launchpad.
- Charges a fixed protocol fee on swaps (FEE_BPS constant) using swap return deltas, splitting it between the platform and a token developer (DEV_SHARE_BPS constant).
- Developer fees accrue per token and are claimed via claimDev; platform fees are tracked and flushed to a fixed bucket address.
- Checks pool initialization and liquidity additions, likely restricting ticks to a fixed range and spacing.
- Does not run on liquidity withdrawals.
- Swap behaviour
- On each swap the hook takes a fixed-percentage fee from the swap amount through return deltas and records the platform and developer shares. The exact fee rate is a hard-coded constant that could not be read from the bytecode.
- Liquidity behaviour
- Adding liquidity is checked by the hook, likely limited to the launchpad or to a fixed tick range. Removal callbacks are disabled, so LPs can always withdraw.
- Fee behaviour
- A constant hook fee (FEE_BPS, exact value unknown from bytecode) is taken on swaps on top of a constant LP fee, and it is split between the token developer (DEV_SHARE_BPS) and the platform bucket. These values appear to be constants with no setter.
- Owner & admin controls
- No fee-setting functions were found. The launchpad can register pools via migrate, and developers can claim their accrued fees.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: validates new pools; beforeAddLiquidity: gates or validates liquidity additions; beforeSwap/afterSwap: compute and record fees; beforeSwapReturnDelta/afterSwapReturnDelta: take the fee out of swap amounts.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, medium confidence).
Who controls it: The launchpad contract controls pool registration and liquidity setup. No owner-adjustable fee or pause function was identified.
Risk to user funds: Traders pay a fixed hook fee of unknown exact size on each swap, and the hook holds accrued fees until they are claimed or flushed. LP principal cannot be locked by the hook.
Security findings
- [low] Swap fee via return deltas: The hook deducts a fee from swaps using return deltas. The rate looks like a fixed constant, but its exact value cannot be confirmed from bytecode.
- [info] Launchpad-gated pool setup: Only the registered launchpad can migrate and register pools, and liquidity additions are checked by the hook.
- [info] Unrestricted withdrawals: Remove-liquidity callbacks are disabled, so LPs can always withdraw.
Contract details
- Verified source
- No
- Bytecode size
- 7,972 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc20, launchpad, moves-currency, return-delta, self-unlock
Pools using Launchpad hook
- WETH / Mob (0.00% fee) — 24h volume $265.07K, TVL $17.79K, 2,908 swaps today