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 |
---|---|---|
|
| of rsETH. |
|
| List of alternative data sources for the rsETH exchange rate. |
|
| The amount of alternative data sources to aggregate. |
|
| Maximum percent change between exchange rate updates. [RAY] |
_getProtocolExchangeRate
Returns the exchange rate between wstETH and rsETH.
Returns
Name | Type | Description |
---|---|---|
|
| Exchange rate between wstETH and rsETH. |