RswEthWstEthReserveOracle
Inherits: ReserveOracle
Reserve oracle for rswETH.
Functions
constructor
Creates a new rswEthwstEthReserveOracle
instance. Provides the amount of wstETH equal to one rswETH. wstETH / rswETH = ETH / rswETH * wstETH / ETH.
The value of rswETH denominated in wstETH by the provider.
Parameters
Name | Type | Description |
---|---|---|
|
| of rswETH. |
|
| List of alternative data sources for the rswETH 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 rswETH.
Returns
Name | Type | Description |
---|---|---|
|
| Exchange rate between wstETH and rswETH. |