Skip to content

IVaultOracle ​

Git Source

Functions ​

getExchangeRate ​

Deprecated. Use getExchangeRateOperate() and getExchangeRateLiquidate() instead.

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

getExchangeRateOperate ​

Get the exchange rate between collateral and debt in 1e27 for operates

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

getExchangeRateLiquidate ​

Get the exchange rate between collateral and debt in 1e27 for liquidations

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