RsEthWstEthReserveOracle
Inherits: ReserveOracle
Reserve oracle for rsETH.
Functions
constructor
Creates a new rsEthwstEthReserveOracle
instance. Provides the amount of wstETH equal to one rsETH. wstETH / rsETH = ETH / rsETH * wstETH / ETH.
The value of rsETH denominated in wstETH by the provider.
Parameters
Name
Type
Description
_ilkIndex
uint8
of rsETH.
_feeds
address[]
List of alternative data sources for the rsETH 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 rsETH.
Returns
Name
Type
Description
<none>
uint256
Exchange rate between wstETH and rsETH.