Marks are read on HyperEVM by precompile and delivered to Elysium as retryable tickets, so ShareBook always holds a recent HIP-3 price.
Reading a mark
markPx at 0x806 takes dex x 10000 + index; xyz is dex 1, so NVDA is 10002. oraclePx at 0x807 takes the same input. bbo at 0x80e takes the order asset id, 110002. Prices come back in the market's units: NVDA has three decimals, so 153860 is 153.860.
The ticket to Elysium
Anyone can call MarkSender.push and pay the ticket in HYPE. The ticket executes on Elysium as the aliased MarkSender address, the only address ShareBook accepts writes from. A late ticket never overwrites a newer mark: ShareBook compares HyperEVM block numbers.
Cadence
A push goes through when any listed mark moved 0.3% since the last one sent, or 10 minutes passed. Otherwise it reverts with NothingDue.
ShareBook
ShareBook stores mark, oracle, HyperEVM block and arrival time per market, plus the desk's account value and notional. fresh(market) is true when the market is listed and not paused, the mark is under 30 minutes old, and mark and oracle sit within 200 bp. Mints and redemptions only run on a fresh market.