Submitted by TomFrenchBlockchain
Inability to call consult on the TwapOracle and so calculate the exchange rate between USDV and VADER.
Should any of the Chainlink aggregators used by the TwapOracle becomes stuck in such a state that the check on L143-146 of TwapOracle.sol consistently fails (through a botched upgrade, etc.) then the consult function will always revert.
https://github.com/code-423n4/2021-11-vader/blob/3a43059e33d549f03b021d6b417b7eeba66cf62e/contracts/twap/TwapOracle.sol#L143-L146
There is no method to update the address of the aggregator to use so the TwapOracle will be irrecoverable.
Allow governance to update the aggregator for a pair (ideally with a timelock.)
SamSteinGG (Vader) diagreed with severity:
alcueca (judge) commented:
SamSteinGG (Vader) commented:
