Skip to content

IFluidOracle ​

getExchangeRate ​

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

Deprecated. Use getExchangeRateOperate() and getExchangeRateLiquidate() instead. Only implemented for backwards compatibility.

getExchangeRateOperate ​

solidity
function getExchangeRateOperate() external view returns (uint256 exchangeRate_)

Get the exchangeRate_ between the underlying asset and the peg asset in 1e27 for operates

getExchangeRateLiquidate ​

solidity
function getExchangeRateLiquidate() external view returns (uint256 exchangeRate_)

Get the exchangeRate_ between the underlying asset and the peg asset in 1e27 for liquidations

infoName ​

solidity
function infoName() external view returns (string)

helper string to easily identify the oracle. E.g. token symbols