EthXSpotOracle
Inherits: SpotOracle
The ETHx spot oracle.
State Variables
REDSTONE_ETHX_PRICE_FEED
USD_PER_ETH_CHAINLINK
Functions
constructor
Creates a new EthXSpotOracle
instance.
Parameters
getPrice
Gets the price of ETHx in ETH.
Redstone oracle returns dollar value per ETHx with 6 decimals. This needs to be converted to a WAD and to ETH denomination.
Returns