Inherits: SpotOracle
The weETH spot oracle denominated in wstETH
Creates a new WeEthWstEthSpotOracle
instance.
Parameters
_ltv
uint256
The loan to value ratio for weETH <> wstETH
_reserveOracle
address
The associated reserve oracle.
_maxTimeFromLastUpdate
uint256
The maximum delay for the oracle update in seconds
Gets the price of weETH in wstETH. (ETH / weETH) / (ETH / stETH) * (wstETH / stETH) = wstETH / weETH
Redstone oracle returns ETH per weETH with 8 decimals. This needs to be converted to wstETH per weETH denomination.
Returns
<none>
uint256
wstEthPerWeEth price of weETH in wstETH. [WAD]