REFERENCE

Contracts and public data

Mainnet addresses#

These addresses apply to Elysium mainnet, chain 99901, except the parent Inbox.

Contract or roleAddress
Launch factory0x9bAaa40Cc4FCb68562bDA760CEc83170000A2215
Curve deployer0xCEE4A0f266668483c01C7cd2cc00f4Fb236E3f4f
Margin-market deployer0x59aBe67316D0D6f956826bb7CE879514e3086a04
Spot-pool deployer0xeeA45bb410D806F8564614ceDa04F9981D5e8530
Settlement USDC0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65
Treasury Safe0xcA3236C3f47eBaa54D48a28693f20E6aF4f0842F
Price and liquidation operator0x5A678a68275DbD2F5f8B49752d35442C57926C08
HyperEVM Inbox, chain 9990xce59f8B65ad41C9DAE4c07A0571a39824bD92cff

Each launch has its own token and curve. Graduation adds its spot pool and margin market. Check the token's registered addresses, not a contract with a matching name.

Contract reads#

Advanced users can inspect the following without signing a transaction:

FunctionInformation
Factory launchCount() and launches(index)Registered launches and their creator, token, curve, pool and market
Factory creatorBondRefundable(index)Whether the creator can claim the bond now
Factory creatorBondClaimed(index)Whether the bond has already been returned
Curve state()Raised USDC, sold tokens, inventory and graduation state
Pool getReserves()Tracked token and USDC reserves
Market trustedPriceState()Mark, timestamp, sequence and freshness
Market riskConfiguration()Leverage, maintenance, price-divergence and source-liquidity limits
Market positionHealth(id)Marked equity, maintenance and liquidation eligibility
Market previewClose(id)Estimated actual unwind and debt recovery
Market quoteClaims(wallet)Funded USDC available for that wallet to collect

A view function can fail when one of its required conditions is unavailable. For example, a health calculation needs a fresh mark.

Public API#

Base URL:

Reference
https://windup.trade/api/exchange
Read endpointResult
GET /configNetwork, registered deployment addresses and contract ABIs
GET /healthService and pricing/liquidation availability
GET /marketsVerified registered token markets
GET /markets?owner=ADDRESS&portfolio=1Public onchain balances and positions for that wallet
GET /history/TOKENRecent executed trades and 24-hour volume

Amounts are returned as integer strings. USDC uses 6 decimals and launch tokens use 18. A priceX18 field is the USDC-per-token price multiplied by 10^18.

For example, 1000000 in a USDC amount field means 1 USDC. It must not be interpreted as one million USDC.

Verified market responses are tied to an onchain block. A successful market-data response does not prove that the liquidation service is running; check the availability fields separately.

The supported exchange contracts have fixed fees and risk settings. A new version can use different contracts, but changing a webpage does not change the terms of an existing deployment.

Search Windup documentation

Search all Windup documentation
↑ ↓ to navigate↡ to openesc to close