Skip to main content

Long.xyz Launchpad Integration on Robinhood Chain

Learn how to index and integrate the Long.xyz launchpad on Robinhood Chain, including contract discovery, ABI events, token pricing, liquidity, bonding state, graduation, and metadata.

Network and contracts

Market discovery and ABI

Confirm token ownership by Airlock, resolve asset data, and verify numeraire, pool initializer/hook and PoolId against the v4 PoolKey.

Relevant ABI

Launchpad architecture and AMM model

Long.xyz is a token launchpad built on top of Uniswap v4 and an Airlock deployment system. Uniswap v4 supplies pool execution and concentrated liquidity; Long.xyz adds asset ownership, pool initialization, numeraire selection, launch epochs, and time-based completion. Classification: Uniswap v4-like, initialized through an Airlock-controlled hook. The market uses a PoolId/PoolKey, v4 square-root pricing, ticks, swaps, and liquidity modifications. Long.xyz adds Airlock asset ownership, numeraire and initializer verification, plus a time-defined launch epoch. Shared with V4: PoolManager identity, exact currency order, hook-based execution, sqrtPriceX96, and concentrated liquidity. Protocol-specific: Airlock asset data, factory creation record, numeraire, epoch start/end, and time-based completion rather than reserve-based bonding.

Price calculation

Use v4 sqrtPriceX96 in native PoolKey order with decimals. Identify the launched asset through Airlock; never force it into currency0.

Liquidity tracking

Track Swap and ModifyLiquidity by PoolId. Convert liquidity to token amounts with current price and tick boundaries; the numeraire is the quote asset.

Launchpad state, bonding, and migration

Progress is time based: clamp((blockTimestamp - epochStart) / (epochEnd - epochStart) × 100). Completion occurs at epochEnd; use block timestamps for historical state.

Metadata

Read ERC-20 fields and tokenURI(). Resolve HTTPS/IPFS JSON. The creation event also provides creator, name and epoch boundaries. For broader methodology, see Bonding Curves Mathematics and Pricing Engine Deep Dive.