WeETHsWstETHOracle ​
Inherits:FluidOracle, WstETHOracleImpl, WeETHsOracleImpl
Functions ​
constructor ​
solidity
constructor(string memory infoName_, IWstETH wstETH_, IWeETHsAccountant weETHsAccountant_, address weETHs_)
WstETHOracleImpl(wstETH_)
WeETHsOracleImpl(weETHsAccountant_, weETHs_)
FluidOracle(infoName_);
Parameters
Name | Type | Description |
---|---|---|
infoName_ | string | Oracle identify helper name. |
wstETH_ | IWstETH | address of the wstETH contract |
weETHsAccountant_ | IWeETHsAccountant | address of the weETHs accountant contract |
weETHs_ | address | address of the weETHs token vault 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_);