WeETHOracle

Git Source

Inherits:FluidOracle, WeETHOracleImpl

Gets the exchange rate between weETH and eETH directly from the weETH contract.

Functions

constructor

constructor sets the weETH weETH_ token address.

constructor(IWeETH weETH_) WeETHOracleImpl(weETH_);

getExchangeRate

function getExchangeRate() external view override returns (uint256 exchangeRate_);