WeETHWstETHOracle
constructor
constructor(contract IWstETH wstETH, contract IWeETH weETH) public
Parameters
Name | Type | Description |
---|---|---|
wstETH | contract IWstETH | address of the wstETH contract |
weETH | contract IWeETH | address 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