Launchpad hook on Robinhood Chain
Uniswap v4 Hook Contract 0x6fe26b103bf1a2257c97af9bb6c304e941d8aacc on Robinhood Chain · Launchpad
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0
- Pools using this hook
- 2
- Swaps (24h)
- 24 (1 traders)
- Total swaps
- 24
What it does
A launchpad-style hook that charges traders a round-based, randomness-driven swap tax shared between treasury and stakers, while the owner can pause trading and liquidity adds and removes are gated by the hook.
How it works step by step
- Launches and manages pools for specific tokens created through the hook (createPool, launchPool, addLiquidity), adding liquidity on users' behalf.
- Charges a swap tax on trades, with tax rates per token that appear to change each round based on an external randomness provider.
- Splits collected tax between a treasury, stakers (via a staking contract), and other internal buckets, tracking totals collected and burned.
- Owner can pause the hook, set the treasury, staking and randomness addresses, and withdraw treasury funds.
- Gates direct liquidity adds and removes through its own callbacks, which appear to restrict outside LP activity on its pools.
- Swap behaviour
- Each swap runs the hook before and after, and a round-based, randomness-driven tax is deducted from swap amounts through return deltas. Swaps revert while the owner has the hook paused. The exact tax range cannot be confirmed from bytecode.
- Liquidity behaviour
- The hook checks liquidity adds and removes, and likely only allows liquidity it adds itself through its own functions. Outside LPs may be blocked, and how hook-owned liquidity is ever withdrawn is unclear.
- Fee behaviour
- A variable tax set per round, likely chosen via randomness, is taken on swaps and split between treasury, stakers and other buckets in basis points. Exact rates and caps cannot be verified from bytecode. The pool LP fee appears to be a fixed constant.
- Owner & admin controls
- Owner can pause and unpause swaps, change the treasury, staking and randomness provider addresses, set a round parameter, and withdraw accumulated treasury funds. No hard-coded tax cap could be verified.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: restricts pool creation to the hook; beforeAddLiquidity: gates who can add liquidity; beforeRemoveLiquidity: gates or blocks withdrawals; beforeSwap: applies pause check and tax; afterSwap: takes tax from output and books the splits; beforeSwapReturnDelta/afterSwapReturnDelta: let the hook deduct tax from swap amounts.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: A single owner can pause trading, redirect treasury and staking addresses, swap the randomness source, and withdraw treasury funds. The bytecode shows no verifiable cap on tax rates.
Risk to user funds: Traders pay a variable, unverified swap tax deducted through return deltas, and the hook holds treasury and staker funds plus the ETH it uses for liquidity. LP withdrawals pass through a hook check and may be restricted.
Security findings
- [medium] Owner can pause swaps: A pause flag checked in beforeSwap lets the owner halt all trading on hook pools.
- [medium] Unverified variable swap tax: Tax is taken through return deltas at rates that change each round. The maximum rate cannot be confirmed from bytecode.
- [medium] Remove-liquidity callback enabled: beforeRemoveLiquidity runs on withdrawals and appears to restrict removals, so outside LP positions may not be freely withdrawable. Liquidity is mainly hook-managed.
- [low] Randomness provider controls tax rounds: An owner-set external randomness contract drives round outcomes, so the owner can influence how tax rates are picked.
Contract details
- Verified source
- No
- Bytecode size
- 18,639 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc20, launchpad, moves-currency, ownable, pausable, return-delta, rewards, self-unlock, tax
Pools using Launchpad hook
- ETH / TKN1 (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today