WeETHOracle

Gets the exchange rate between weETH and eETH directly from the weETH contract.

constructor

constructor(contract IWeETH weETH_) public

constructor sets the weETH weETH_ token address.

getExchangeRate

function getExchangeRate() external view returns (uint256 exchangeRate_)

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