WeETHWstETHOracle ​
Inherits:FluidOracle, WstETHOracleImpl, WeETHOracleImpl
Functions ​
constructor ​
solidity
constructor(string memory infoName_, IWstETH wstETH, IWeETH weETH)
WstETHOracleImpl(wstETH)
WeETHOracleImpl(weETH)
FluidOracle(infoName_);
Parameters
Name | Type | Description |
---|---|---|
infoName_ | string | Oracle identify helper name. |
wstETH | IWstETH | address of the wstETH contract |
weETH | IWeETH | address of the weETH contract |
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_);