
Soft precompiles for Elysium
PROTOS
HyperCore reads in every Elysium contract, the calls HyperEVM uses, each value stamped with its block.

ELYSIUM'S NEXT PRECOMPILES
Soft precompiles
The interface HyperEVM uses, on Elysium
Twenty contracts answer the same calls as the HyperCore read precompiles: abi-encoded arguments in, abi-encoded result out, no selector. Code written against L1Read keeps its function names and structs and changes one constant per read.


Canonical path
Carried by the chain, accepted from one sender
A reader on HyperEVM calls the real precompile and sends the bytes through the Inbox as a retryable ticket. The hub on Elysium accepts a write only from the reader's aliased address and stamps it with the HyperEVM block, timestamp and HyperCore block.
The switch
Native the day it ships
When Elysium ships its read precompile, each soft precompile forwards to it after a public notice of seven days or more. The switch runs once, never reverses, and your contracts keep the same address.


Interface · snippet · fork test
THE BUILDER
Pick the HyperCore data your contract needs and the Builder writes the Solidity library, with L1Read's function names and structs, the call site with a freshness check,
and a Foundry test that forks Elysium and replays the exact bytes HyperEVM returned seconds ago. Deploy the consumer from your wallet when the test passes.
Agents
API, MCP, SDK
POST /api/mcp
{ "method": "tools/call",
"params": { "name": "read_precompile",
"arguments": { "key": "oraclePx",
"args": ["0"] } } }
import { Protos } from "./protos.js";
await new Protos().read("bbo", [0]);
Protos · dev log
All twenty HyperCore read precompiles, checked live on HyperEVM and decoded with their published layouts.
Dec 1, 2026

…
Protos · live feed
oraclePx(0), the BTC oracle price funding uses.
Live

Protos · dev log
The full message path, proven on forks of HyperEVM and Elysium: the bridge records the reader's alias, the hub accepts nothing else.
Dec 1, 2026

…
Protos · live feed
markPx(1), the ETH mark price.
Live

Protos · dev log
The Builder writes the library, the call site and a fork test that replays live bytes.
Dec 1, 2026

…
Protos · live feed
spotPx(107), HYPE against USDC on the spot book.
Live

Protos · wishlist
fundingRate, openInterest, vaultSummary: propose the next read and see which ones apps call.
Open

…
Protos · live feed
bbo(0), the top of the BTC book.
Live

Protos · docs
The switch to native: announced on chain, seven days of notice, executed once.
Docs

…
Protos · live feed
l1BlockNumber(), the HyperCore block every value is stamped with.
Live
positionspotBalanceuserVaultEquitywithdrawable
delegationsdelegatorSummarymarkPxoraclePxspotPx
l1BlockNumberperpAssetInfospotInfotokenInfotokenSupply
bboaccountMarginSummarycoreUserExistsborrowLendUserStateborrowLendReserveStateposition2



