WeETHWstETHOracle

constructor

constructor(contract IWstETH wstETH, contract IWeETH weETH) public

Parameters

NameTypeDescription
wstETHcontract IWstETHaddress of the wstETH contract
weETHcontract IWeETHaddress of the weETH contract

getExchangeRate

function getExchangeRate() public view returns (uint256 exchangeRate_)

Get the exchangeRate_ between the underlying asset and the peg asset in 1e27