shaka
high
Wrong address for DAIEthOracle
in StableOracleDAI.sol:DAIEthOracle
and StableOracleWBGL.sol:staticOracleUniV3
Wrong address for DAIEthOracle
in StableOracleDAI.sol:DAIEthOracle
and StableOracleWBGL.sol:staticOracleUniV3
.
In the constructor of StableOracleDAI.sol
and StableOracleWBGL.sol
the value of the static oracles (DAIEthOracle
and staticOracleUniV3
) is initialized with the address 0x982152A6C7f732Ec7C9EA998dDD9Ebde00Dfa16e
. This is the address of Uniswap WBGL/WETH pool, which does not implement the quoteSpecificPoolsWithTimePeriod
function.
Calls to getPriceUSD()
in StableOracleDAI
and StableOracleWBGL
will fail. This will make not possible minting or rebalancing USSD.
Manual Review
Use the correct address for static oracle contracts.