WeEthWstEthReserveOracle
Inherits: ReserveOracle
Reserve oracle for weETH.
Functions
constructor
Creates a new weEthwstEthReserveOracle
instance. Provides the amount of wstETH equal to one weETH. wstETH / weETH = eETH / weETH * ETH / eETH * wstETH / ETH. ETH / eETH is 1 since eETH is rebasing. Depeg here would reflect in eETH / wETH exchange rate.
The value of weETH denominated in wstETH by the provider.
Parameters
Name
Type
Description
_ilkIndex
uint8
of weETH.
_feeds
address[]
List of alternative data sources for the weETH exchange rate.
_quorum
uint8
The amount of alternative data sources to aggregate.
_maxChange
uint256
Maximum percent change between exchange rate updates. [RAY]
_getProtocolExchangeRate
Returns the exchange rate between wstETH and weETH.
Returns
Name
Type
Description
<none>
uint256
Exchange rate between wstETH and weETH.