WstETHOracle
Gets the exchange rate between wstETH and stETH directly from the wstETH contract.
constructor
constructor(contract IWstETH wstETH_) public
constructor sets the wstETH wstETH_
token address.
getExchangeRate
function getExchangeRate() external view returns (uint256 exchangeRate_)
Get the exchangeRate_
between the underlying asset and the peg asset in 1e27