SwEthReserveOracle
Inherits: ReserveOracle
Reserve oracle for swETH.
State Variables
PROTOCOL_FEED
Functions
constructor
Creates a new EthXReserveOracle
instance.
Parameters
Name | Type | Description |
---|---|---|
|
| Data source for the LST provider exchange rate. |
|
| of swETH. |
|
| List of alternative data sources for the swETH exchange rate. |
|
| The amount of alternative data sources to aggregate. |
|
| Maximum percent change between exchange rate updates. [RAY] |
_getProtocolExchangeRate
Returns the exchange rate between ETH and swETH.
Returns
Name | Type | Description |
---|---|---|
|
| Exchange rate between ETH and swETH. |