Skip to content
Starcurve
Learn · Protocol

Contracts

Parameters, interface and deployment status.

No deployment is configured. Set NEXT_PUBLIC_LAUNCHPAD_ADDRESS and the chain variables in .env.local (see .env.example), then wire the chain adapters. Target network: Robinhood Chain (chain 4663).

Parameters

ParameterCurrentCeiling
tradeFeeBps100 (1%)300 (3%)
museShareBps5000 (50% of the fee)10,000
creationFee0.0004 ETH0.05 ETH
virtualEth2 ETHfuture launches only
virtualTokens1,073,000,000future launches only
maxImageBytes24,000constant

Every value above is read from src/config/protocol.ts. The UI never hardcodes them.

Interface

function launch((string name,string symbol,string description,string imageURI,address star) params) payable returns (address)
function buy(address token, uint256 minOut, address to) payable
function sell(address token, uint256 amount, uint256 minOut, address to)
function claim()
function collectPoolFees(address token)
function quoteBuy(address token, uint256 ethIn) view returns (uint256)
function quoteSell(address token, uint256 amount) view returns (uint256)
function priceOf(address token) view returns (uint256)
function progressOf(address token) view returns (uint256)
function tokensOf(address star) view returns (address[])
event Launched(address indexed token, address indexed star, address indexed creator, string name, string symbol, string description, string imageURI)
event Trade(address indexed token, address indexed trader, bool isBuy, uint256 ethAmount, uint256 tokenAmount, uint256 priceWad, bool onPool)
event Graduated(address indexed token, bytes32 poolId, uint256 ethIn, uint256 tokensIn, uint128 liquidity)