Oracles
Every market reads its mark through one interface: markOf(feed) returns the price in USDC micro-units, when it was produced, and the depth an open-interest cap may lean on.
HyperCore mark lane
Elysium has no HyperCore read precompile yet. MarkProbe on HyperEVM reads the mark price (precompile 0x806) and asset info (0x80a), and sends them to CoreMarkOracle on Elysium by retryable ticket. Only the probe's aliased address can deliver, so no keeper chooses the number. Anyone can pay for a delivery by calling MarkProbe.push on HyperEVM.
The chart on the trade screen starts from the same source: the candles of the HyperCore market a mark comes from, drawn faded, with every bucket that traded on EL-3 drawn solid from its own fills. A new market has a full chart from its first minute.
Feed id: bytes32(uint256(perpIndex)), for example 159 for HYPE. The same lane carries the house hedge account's HyperCore account value (0x80f).
EL1Read adapter
Kinetiq has announced an Elysium read precompile, EL1Read. El1ReadAdapter is deployed behind it and disabled: live() returns false and no market can use it until the owner activates it with the precompile address. Not active yet.
v4 pool TWAP
For a coin that trades only on Elysium, the mark is a time-weighted price of its Uniswap v4 pool against HYPE, converted to USD with the HyperCore HYPE mark.
| Guard | Rule |
|---|---|
| Registration | Anyone registers a pool by its full key. It must pair HYPE (native or wrapped) and be initialized. |
| Sampling | Anyone calls poke(feed), at most every 30 seconds. |
| Window | Time-weighted over 30 minutes; at least 10 samples are needed. |
| Clamp | Each sample is clamped to plus or minus 2% of the previous one. |
| Depth | A sample is refused while the pool is under its minimum in-range depth (at least 10 HYPE). |
| Staleness | The feed is stale after 10 minutes without a sample. |
| Trip | Three clamped samples in a row trip the feed; the deployer's stake becomes slashable. |
| Depth cap | Long open interest notional is limited to 1% to 20% of the pool's depth, chosen at deploy. |