IRedstoneOracle

Git Source

Functions

getExchangeRate

Get the exchangeRate_ between the underlying asset and the peg asset

function getExchangeRate() external view returns (uint256 exchangeRate_);

decimals

Returns the number of decimals for the price feed

By default, RedStone uses 8 decimals for data feeds

function decimals() external view returns (uint8);

Returns

NameTypeDescription
<none>uint8decimals The number of decimals in the price feed values