kiki_dev
medium
In StableOracleDAI.sol
the variable ethOracle
is supposed to be set inside the constructor. However no real value is ever set.
Currently the constructor has this:
ethOracle = IStableOracle(0x0000000000000000000000000000000000000000); // TODO: WETH oracle price
with the incomplete constructor the protocol will not work because ethOracle will fail in its current state.
Protocol will not work
Manual Review
Finish setting a valid address for ethOracle
by finishing the TODO that was already in place.