Oracle Prices
The index and the collateral prices for every market need to be provided by a trusted source, being them a crucial part of the protocol. On Aftermath Perpetuals, all the prices are retrieved from an oracle aggregator which takes the prices from different oracles available on Sui and returns the average (or median) of them. Currently the sources supported are Pyth and Switchboard, with others to come in future.
Last updated