Loud Mocha Platypus
Medium
Uses wrong interface for UniswapV2Pair.sol
in the Tarot Oracle. The state variable reserve0CumulativeLast
inside IUniswapV2Pair.reserve0CumulativeLast does not exist, and will revert when called in the Tarot Oracle, during Mix Oracle use.
Note: Tarot Oracle hasn't ran in 1 year
Official UniswapV2Pair.sol
uses price0CumulativeLast
instead of reserve0CumulativeLast
.
- 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f (UniswapV2Pair deployed factory)
- https://docs.uniswap.org/contracts/v2/reference/smart-contracts/pair
- https://github.com/Uniswap/v2-core/blob/master/contracts/interfaces/IUniswapV2Pair.sol
- https://github.com/Uniswap/v2-periphery/blob/master/contracts/examples/ExampleOracleSimple.sol
See Summary.
See Summary.
See Summary.
See Summary.
Mix oracle broken as a result of tarot oracle breaking, which means this backup oracle fails which is bad.
None.
- Do not use Tarot Oracle or determine if it has been mended somewhere.