Price oracle
Last updated
Last updated
Polynomial perp is a decentralised derivative exchange which uses Pyth oracle network, which is used to provide the up-to-date token price data to smart contracts on Polynomial chain.
Contract | Description |
---|---|
Polynomial chain has formed a partnership with Pyth to provide accurate and up-to-date token price data to smart contracts.
This collaboration empowers us to create a diverse range of products and tools that necessitate continuous control and comparison between trigger prices and execution prices (which is supplied by Pyth).
Oracle
The oracle is responsible for collecting and updating all token prices known to the Polynomial Trade. Although it is not a contract, it controls a known Ethereum address from which price updates are sent to the ExchangeRates
contract.
ExchangeRates
The Polynomial
exchange rates contract which receives token prices from the oracle, and supplies them to all contracts that need it.