RswEthWstEthSpotOracle
Inherits: SpotOracle
The rswETH spot oracle denominated in wstETH
State Variables
MAX_TIME_FROM_LAST_UPDATE
Functions
constructor
Creates a new RswEthWstEthSpotOracle
instance.
Parameters
getPrice
Gets the price of rswETH in wstETH. (ETH / rswETH) / (ETH / stETH) * (wstETH / stETH) = wstETH / rswETH
Redstone oracle returns ETH per rswETH with 8 decimals. This needs to be converted to wstETH per rswETH denomination.
Returns