Likely launchpad hook on Robinhood Chain
Uniswap v4 Hook Contract 0x90936c81c88518fb28b70ed18c7a264c16cfeacc on Robinhood Chain · Launchpad
- Volume (24h)
- $0
- Value locked (TVL)
- $6.33K
- All-time volume
- $6.91K
- Pools using this hook
- 1
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 48
What it does
This launch hook lets traders open leveraged short positions against a token and provides liquidation and repayment paths, but the exact fee rates and which swap direction pays more cannot be confirmed from the decoded bytecode.
This read was written for the hook 0xaace…aacc on Ethereum and reused here: the two share a code shape, so constants such as fees, owners and addresses can differ.
How it works step by step
- Acts as a leveraged short/long token launch hook attached to a Uniswap v4 pool, with a token, a pool key, a launch block and a fixed reserved supply tracked on-chain
- Lets users open short positions with openShort and add collateral via addCollateral and addCollateralShort, with positions recorded per owner and position id
- Allows repayment of outstanding debt via repay and full exits through selfLiquidate, closeLongAtomic and liquidate, with liquidation gated to one per block and maturity checks
- Tracks health through firstHealthyBlock, firstUnderwaterBlock, liquidation thresholds (liqThresholdBps, ltvBps) and totalOutstandingDebt
- Routes fees and buybacks through a creatorVault, revenueDistributor and spiralBuyback, and enforces cooldowns through lastSwapBlockOf and CooldownActive
- Uses beforeSwap and afterSwap return deltas to settle swap flows against the pool, and self-unlocks the pool manager to perform these operations
- Swap behaviour
- Swap callbacks are enabled with return deltas on both before and after swap, so the hook can adjust the amounts settled with the pool manager for swaps against the launch pool; the exact trade-by-trade pricing and direction effects cannot be fully determined from decoded bytecode alone.
- Liquidity behaviour
- beforeAddLiquidity and beforeRemoveLiquidity are enabled and the hook gates liquidity against lpMinSqrtPriceX96 and lpMaxSqrtPriceX96 price bounds; liquidity can only be added or removed inside the configured band.
- Fee behaviour
- Fees are routed to a creator vault and a revenue distributor, with buybacks through spiralBuyback; the precise fee rate and split cannot be confirmed without source.
- Owner & admin controls
- No explicit owner or pause selectors are among the dispatched functions, but the proxy indicates the implementation can be upgraded by whoever controls the proxy admin, which could change any of the logic; any privileged role in the implementation cannot be determined from decoded bytecode.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize restricts or sets up pool initialization (PoolNotInitializedErr and poolInitialized checks); beforeAddLiquidity and beforeRemoveLiquidity enforce price-band limits on LP actions; beforeSwap and afterSwap apply cooldown and settlement logic; beforeSwapReturnDelta and afterSwapReturnDelta let the hook take or give tokens as part of swap settlement.
Security & trust assessment
Risk level: high, estimated (decoded bytecode, low confidence).
Who controls it: A privileged key controlling the proxy admin could upgrade the implementation and change how collateral, debt, fees and swap deltas are handled, potentially draining or freezing user funds.
Risk to user funds: The hook holds collateral and debt positions and uses return deltas to settle swaps, so it can hold, move and in principle block user and pool funds through its liquidation, repayment and fee-routing logic.
Security findings
- [high] Upgradeable proxy: The hook is a proxy delegating to implementation 0xd7273673e4181cdf144ce9a32f82b5b7dea5db9e, so the proxy admin can replace all logic, including the code that moves user collateral and debt.
- [high] Return deltas can move pool funds: beforeSwapReturnDelta and afterSwapReturnDelta are enabled, so the hook can take or supply tokens during swaps, which means it can hold or redirect value from the pool.
- [medium] Liquidation and debt handling: Liquidation paths (liquidate, selfLiquidate, closeLongAtomic) move collateral and debt according to thresholds and block-based maturity; mispriced thresholds or the one-per-block rule could cause unfair liquidations.
- [medium] Fee and buyback routing to external vaults: Revenue is sent to creatorVault, revenueDistributor and spiralBuyback addresses that are stored in state, so their correctness and permissioning determine where value goes.
- [info] Self-unlock of the pool manager: The hook uses the self-unlock pattern to call unlock on the pool manager during operations, which is expected for hooks that settle positions but widens the trusted call surface.
Contract details
- Verified source
- No
- Bytecode size
- 23,569 bytes
- Upgradeable proxy
- Yes
- Detected patterns
- erc20, return-delta, self-unlock, upgradeable
Pools using Likely launchpad hook
- ETH / HODL (0.00% fee) — 24h volume $0, TVL $6.33K, 0 swaps today