NINEDocs
Launching on Elysium
Open app
Trading

Pricing and oracle

Every fill, liquidation and take-profit uses the HyperCore mark price, read on-chain through Elysium's precompile and checked on every read.

Reference price

The reference price P is Hyperliquid's mark price, read through Elysium's HyperCore market-data precompile. The mark blends Hyperliquid's CEX-median oracle with its own book, so it is much harder to push than the book mid. Venues that settle on the best bid and offer can be pushed into a payout; Nine does not.

Each read returns mark, mid, Hyperliquid oracle price, depth within ±bps, and the HyperCore block and timestamp (hcBlock, hcTs).

Sanity checks on every read

If any check fails, the fill reverts or the request is refunded. No payout is ever made on a price that fails a check.

CheckRuleLaunch value
Freshnessnow − hcTs ≤ 1,000 ms1 s
Mark vs mid|mark − mid| / mark ≤ 15 bps15 bps
Mark vs Hyperliquid oracle|mark − oracle| / mark ≤ 50 bps50 bps

A large mark-vs-mid gap means the book is being pushed, so new fills on that market pause until it closes.

Two-stage price path

StagePrice sourceTrust
v0, before the precompile shipsKeepers sign (market, mark, mid, oracle, hcBlock, hcTs) from Hyperliquid. The contract runs the same checks, plus a maximum jump from the last price and a 2-of-3 keeper signature quorum.The keeper quorum
v1The HyperCore precompile is read directly inside fill and liquidate.Elysium's sequencer attestation

The switch from v0 to v1 is a NineOracle mode change behind the timelock. Contract logic does not change.

Display prices vs settlement prices

The app's charts tick live from Hyperliquid's public feed for display only. Every fill, liquidation and take-profit uses the on-chain price described above. The number on your screen and your fill price will differ slightly; that is expected.

Last edited 2026-12Docs v0.1Launching on Elysium