WstETHOracle
WstETHOracle
Depending on the equivalence flag price is either based on assumption that 1 stETH = 1 ETH or the price of stETH/USD (secondary market price) is obtained from the oracle.
Solidity API
ASSUME_STETH_ETH_EQUIVALENCE
A flag assuming 1:1 price equivalence between stETH/ETH
STETH
Address of stETH
WSTETH_ADDRESS
Address of wstETH
WETH_ADDRESS
Address of WETH
RESILIENT_ORACLE
Address of Resilient Oracle
constructor
Constructor for the implementation contract.
getPrice
Gets the USD price of wstETH asset
Parameters
Return Values
Last updated