StaticNoBorrowOracle ​
Inherits:FluidOracle
ATTENTION: ONLY USE THIS FOR MOCKING OR FOR VAULTS WITH NO BORROWING (VERY TIGHT BORROW LIMITS).
State Variables ​
STATIC_PRICE ​
solidity
uint256 internal immutable STATIC_PRICE;LIQUIDATE_ZERO ​
solidity
bool internal immutable LIQUIDATE_ZERO;Functions ​
constructor ​
solidity
constructor(string memory infoName_, uint8 targetDecimals_, uint256 staticPrice_, bool liquidateZero_)
    FluidOracle(infoName_, targetDecimals_);getExchangeRateOperate ​
solidity
function getExchangeRateOperate() public view override returns (uint256 exchangeRate_);getExchangeRateLiquidate ​
solidity
function getExchangeRateLiquidate() external view override returns (uint256 exchangeRate_);getExchangeRate ​
solidity
function getExchangeRate() external view override returns (uint256 exchangeRate_);
