IBaseOracle
Basic interface for a system price feed All price feeds should be translated into an 18 decimals format
Functions
symbol
Symbol of the quote: token / baseToken (e.g. 'ETH / USD')
function symbol() external view returns (string memory _symbol);
getResultWithValidity
Fetch the latest oracle result and whether it is valid or not
This method should never revert
function getResultWithValidity() external view returns (uint256 _result, bool _validity);
read
Fetch the latest oracle result
Will revert if is the price feed is invalid
function read() external view returns (uint256 _value);
Errors
InvalidPriceFeed
error InvalidPriceFeed();