FluidOracle

Base contract that any Fluid Oracle must implement

constructor

constructor(string infoName_) internal

infoName

function infoName() external view returns (string)

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

getExchangeRate

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

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

getExchangeRateOperate

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

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

getExchangeRateLiquidate

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

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