Oracles
Overview of the core pieces of Ionic's Infrastructure
What is an oracle?
Within the context of borrowing and lending, oracles are an essential part of the infrastructure. In particular, Oracles are needed to correctly price an asset, as asset prices are not directly available on the blockchain.
Ionic utilizes the decentralized RedStone, Chainlink, API3 and Pyth oracles as a primary source of untamperable and up-to-date token price data to smart contracts on Mode Network.
Oracle Types
Oracle Providers: oracles that are based on 2+ sources (such as RedStone price feeds), these are price feeds given by aggregators that generally query a disparate set of data sources to arrive at a price feed
UniswapV2 oracles: as long as they pass a specific liquidity threshold (defined per-asset, based on total available on-chain liquidity of that asset), and implement a time-weighted moving average of at least the last 10 observations
UniswapV3 oracles: as long as their cost of attack exceeds the total available pool liquidity by a factor of 2
Combined price feeds: for exotic tokens, such as LP tokens, fair pricing models exist and have been extensively validated. As long as price feeds for the underlying assets of such LPs are secure, LP tokens from a variety of different sources can be safely calculated. This does mean however that the manipulation risk is combined each asset’s manipulability. We take this into account when evaluating such oracles.
Last updated