Overview
x/paxoracle stores validator-submitted market prices and exposes aggregated prices to EVM contracts through the OracleAggregator precompile at 0x0000000000000000000000000000000000000903.
The module supports PaxSpot, HyperPax Perps, and other protocols that need validator-consensus price data with sub-second chain finality.
EVM precompile
Read a validator price
Submit a validator price
submit-price.ts
Aggregation model
x/paxoracle verifies submissions against the active validator set, filters stale submissions, and returns a confidence-weighted median for each market.