🧿 | Oracle System

To ensure the accuracy, timeliness, and protection against external tampering of the price information showcased on the EasyX platform, we implement an advanced framework of Pyth Oracles and smart contracts.

The Pyth Oracle System functions by gathering data from two distinct origins:

  1. Custom Pricing Oracle: The principal and favored data source consists of an off-chain custom pricing oracle that has been meticulously developed for EasyX's exclusive use. This oracle amalgamates trade pair prices from multiple exchanges to compute an average price.

  2. Pyth: The second data source stems from Pyth, a reputable and reliable supplier of oracle data in the ecosystem.

The Pyth Oracle System subsequently contrasts the prices acquired from Pyth with the primary custom data. In instances where the prices diverge beyond an established threshold, the transaction will be reverted. This mechanism guarantees the swift identification and resolution of any inconsistencies or irregularities in data, thereby ensuring the dependability and precision of the price information employed on the platform.

Last updated