WeETHOracle ​
Inherits:FluidOracle, WeETHOracleImpl
Gets the exchange rate between weETH and eETH directly from the weETH contract.
Functions ​
constructor ​
constructor sets the weETH weETH_
token address.
solidity
constructor(string memory infoName_, IWeETH weETH_) WeETHOracleImpl(weETH_) FluidOracle(infoName_);
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_);