Likely launchpad hook on Robinhood Chain
Uniswap v4 Hook Contract 0x80fbc17df4480015d0641ebf863c5c184503a888 on Robinhood Chain · Launchpad
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0
- Pools using this hook
- 1
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 1
What it does
A launchpad-style hook that gates pool creation and liquidity, takes ETH or USDG creation fees and a swap tip, and can alter swap amounts through return deltas, controlled by an owner with pause and payout powers.
How it works step by step
- Registers new pools in beforeInitialize and tracks them via pool and seen mappings
- Gates liquidity additions in beforeAddLiquidity with a band and spread check and a pause flag
- Adjusts swaps in beforeSwap, using a return delta to take or supply currency
- Accrues creation fees (ETH and USDG) and a tip, with a dev share and payees for distribution
- Performs take and transfer operations through an unlock callback, with a reentrancy guard
- Swap behaviour
- beforeSwap enforces the pause flag and can return a delta via beforeSwapReturnDelta, so swap amounts may be adjusted and currency taken or supplied by the hook; the exact math is not fully determinable without source.
- Liquidity behaviour
- beforeAddLiquidity is implemented and gated by the pause flag and a spread/band check (BAND_HIGH, BadSpread, NoLiquidityHere errors); liquidity is also managed by the hook through pool accounting slots and an unlock callback that performs take/transfer operations.
- Fee behaviour
- Hook takes creation fees in ETH and USDG (creationFeeEth, creationFeeUsdg) and a tip (tipBps) and a dev share (devShareBps); the pool fee is a uint24 parameter set by the owner. Exact fee routing on swaps cannot be fully determined from decoded bytecode.
- Owner & admin controls
- Owner (Ownable, two-step transfer via transferOwnership/acceptOwnership, renounceOwnership) can set creation fees (setCreationFees), set dev address and dev share (setDev), set payees (setPayees), set tip bps and tick/fee parameters (0x4b0cae0a, 0xccfb5a81), pause and unpause swaps and liquidity (setPaused), and sweep funds via the sweeper/payout paths. Exact parameter semantics are not determinable without source.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeSwap, beforeSwapReturnDelta
beforeInitialize: validates and registers new pools with the hook. beforeAddLiquidity: gates or adjusts liquidity additions, enforcing pause and band constraints. beforeSwap: enforces pause and computes a custom swap path with beforeSwapReturnDelta, letting the hook take or supply currency. beforeSwapReturnDelta: the hook returns a delta that alters the amounts of the swap, so it can hold or move pool funds.
Security & trust assessment
Risk level: high, estimated (decoded bytecode, low confidence).
Who controls it: The owner can pause the hook, change fee and dev/payee parameters, set payees and redirect accrued balances, and may have sweep or payout powers over funds held by the hook. A compromised owner key could redirect protocol proceeds or block swaps and liquidity.
Risk to user funds: The hook has return-delta power on swaps and performs take and transfer operations through its unlock callback, so it can hold and move pool funds and accrued balances; pausing can block swaps and liquidity additions.
Security findings
- [high] Hook takes custody of swap deltas: beforeSwapReturnDelta lets the hook take or provide currency during swaps, so the hook holds and moves pool value directly.
- [medium] Owner pause and payee control: Owner can pause via setPaused and redirect payouts/payees via setPayees and payout, which can block trading or divert accrued fees.
- [medium] Single owner key controls parameters: Ownable with two-step transfer; the proxy-free layout suggests no upgrade path, but owner keys are a single point of control.
- [low] Adjustable fee parameters: Owner can set creation fees, tip and dev share, changing the economics for users without source verification.
- [info] Unlock callback and reentrancy guard present: Contract includes a reentrancy guard and an unlock callback; behaviour depends on correct use of the pool manager unlock flow.
Contract details
- Verified source
- No
- Bytecode size
- 19,416 bytes
- Upgradeable proxy
- No
- Detected patterns
- erc20, moves-currency, ownable, pausable, return-delta, self-unlock
Pools using Likely launchpad hook
- USDG / SPY2F (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today