Oracles
Last updated
Last updated
DexToro is a decentralized derivative exchange that uses the Chainlink oracle network & Pyth oracle network, which are used to provide up-to-date token price data to smart contracts on Ethereum and Optimism Mainnet.
Contract | Description |
---|---|
Oracle
The oracle is responsible for collecting and updating all token prices known to the DexToro Liquidity system. Although it is not a contract, it controls a known Ethereum address from which price updates are sent to the ExchangeRates
contract.
ExchangeRates
The DexToro Liquidity exchange rates contract receives token prices from the oracle and supplies them to all contracts that need them.