Skip to content

WeETHWstETHOracle ​

Git Source

Inherits:FluidOracle, WstETHOracleImpl, WeETHOracleImpl

Functions ​

constructor ​

solidity
constructor(string memory infoName_, IWstETH wstETH, IWeETH weETH)
    WstETHOracleImpl(wstETH)
    WeETHOracleImpl(weETH)
    FluidOracle(infoName_);

Parameters

NameTypeDescription
infoName_stringOracle identify helper name.
wstETHIWstETHaddress of the wstETH contract
weETHIWeETHaddress 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_);