EthXReserveOracle
Inherits: ReserveOracle
Reserve oracle for ETHx.
State Variables
PROTOCOL_FEED
Functions
constructor
Creates a new EthXReserveOracle
instance.
Parameters
Name
Type
Description
_protocolFeed
address
Data source for the LST provider exchange rate.
_ilkIndex
uint8
of ETHx.
_feeds
address[]
List of alternative data sources for the ETHx 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 ETH and ETHx.
Returns
Name
Type
Description
<none>
uint256
Exchange rate between ETH and ETHx.