Utx0CurveHook on Robinhood Chain
Uniswap v4 Hook Contract 0xbb6e7e3e551647d74146a059773a7a343d3ae888 on Robinhood Chain · Launchpad · Verified contract
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0
- Pools using this hook
- 1
- Swaps (24h)
- 10 (10 traders)
- Total swaps
- 10
What it does
A bonding-curve launchpad hook where buyers and sellers trade directly against the hook at a fixed 1% fee (30% creator, 70% platform), with per-buy caps and a one-block sell cooldown, but the factory owner can drain any active curve's reserve.
How it works step by step
- Runs an exponential bonding curve for each new coin: the hook itself is the counterparty, minting tokens on buys and burning them on sells against the pool's native-coin reserve.
- Takes a fixed 1% fee on every curve buy and sell, split 70% to the platform treasury and 30% to the coin creator, claimable later.
- Limits each buy to one fifth of the curve scale, blocks selling in the same block as your last buy, and randomizes buy output by plus or minus 10% during the first 100 blocks.
- Closes the curve at 80% of the chain's token slice, after which the factory moves the reserve plus remaining tokens into a normal hookless Uniswap v4 pool as full-range liquidity.
- Blocks anyone from adding liquidity to the curve pool, since the hook supplies all pricing.
- Swap behaviour
- Only exact-input swaps are allowed: buys (native in) mint tokens along the curve and sells (token in) burn tokens and pay native from that coin's reserve, both minus a 1% fee. Buys above the per-trade cap or past the curve close revert, sells revert within one block of your last buy, and all swaps revert once the curve has graduated.
- Liquidity behaviour
- Adding liquidity to curve pools always reverts because the hook is the only counterparty. Remove-liquidity callbacks are disabled, and the pool holds no LP positions anyway.
- Fee behaviour
- A fixed 1% fee is charged on every curve buy and sell, with 30% credited to the coin creator and 70% to the factory treasury, held in the hook and withdrawn via claim. The fee is a hard-coded constant and cannot be changed.
- Owner & admin controls
- The factory can register new curves, graduate a closed curve into a hookless pool, and call drain, which closes a curve and sends that coin's entire native reserve to any address it chooses. There are no fee or parameter setters; constants are fixed.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeSwap, beforeSwapReturnDelta
beforeInitialize: only lets the factory create registered curve pools; beforeAddLiquidity: rejects all liquidity additions; beforeSwap: executes the curve buy or sell and enforces caps, cooldown and closure; beforeSwapReturnDelta: lets the hook fully settle swaps itself instead of using pool liquidity.
Security & trust assessment
Risk level: high (verified source, high confidence).
Who controls it: The factory owner controls registration, graduation and an emergency drain that can redirect any active curve's full native reserve to any address. They cannot change fees or caps.
Risk to user funds: The hook custodies all native paid into curves plus accrued fees; traders pay a fixed 1% per trade, but the factory can drain a curve's reserve, making sells unredeemable. There are no LP positions in curve pools to lock.
Security findings
- [high] Factory can drain a curve's reserve: The drain function lets the factory (its owner) close any un-released curve and send all native backing that coin's sells to an arbitrary address, leaving token holders unable to sell back on the curve.
- [info] Fixed 1% fee: Buy and sell fees are a hard-coded 1%, split 30% creator and 70% treasury, and cannot be raised.
- [low] Early buy randomness: In the first 100 blocks, buy output varies between 90% and 110% of the fair amount using a blockhash-based seed that can be partially predicted.
- [info] Immutable contract: The hook is not a proxy, so its logic cannot be changed.
Contract details
- Verified source
- Yes (Utx0CurveHook)
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Bytecode size
- 15,821 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc20, launchpad, moves-currency, return-delta