Docs / Use

Mint

Minting starts with USDC on HyperEVM. You deposit it with the stock's backing contract (requestMint(amount, recipient), at least 11 USDC) and name the Elysium address that receives the tokens. A queued deposit can be taken back with cancelMint(id) at any time before a round takes it.

Rounds

A keeper calls poke() on every backing each minute; anyone else can call it too. A round goes through these steps, each read back on HyperCore in a later block:

  1. Open. The round reads NAV and mark, takes the queued mints and the redeems that arrived, and crosses them at NAV. Only the net goes to HyperCore.
  2. Fund. For a net buy, the USDC goes to HyperCore through Circle's CoreDepositWallet into the main perp dex, then into the xyz dex with CoreWriter action 13.
  3. Trade. One IOC order for the net, limit 0.5 % above mark, on the 5 significant figure price grid. A partial fill is retried up to three times.
  4. Settle. The fill is read from precompile 0x813 and the cost from the xyz account. The round's tokens go to Elysium in one retryable ticket; USDC not spent comes back to HyperEVM and is credited to the minters.

From deposit to tokens on Elysium is a few minutes: about one minute per step, then the ticket.

Price

"At mark" means the NAV read when the round opens, plus the 0.10 % mint fee. Crossed units are priced at NAV. The net that trades carries its own execution difference: its real fill price and fee, and its share of the funding residual (NAV minus mark). That is what keeps holders who did nothing from being diluted, and the invariant tests check it over random sequences of rounds, fills, slippage and funding.

Sizes

HyperCore's minimum order is 10 USD of notional. A round only opens when its net is zero or above that; the largest set of queued requests that meets it goes in, the rest waits for the next round. Sizes are multiples of the market's size step (0.001 or 0.0001 of a unit).

From Elysium

USDC that starts on Elysium needs the rollup's withdrawal (about a day) before it can mint, so on Elysium the instant way in is the pool. USDC from other chains reaches HyperEVM through Relay or LI.FI in minutes.

When a market is full

trade.xyz sets an open interest cap per market. A market at its cap refuses new longs, and mints for that stock wait in the queue (and can be cancelled) until there is room.