Closed pmerkleplant closed 1 year ago
There are two potential issues in Aggor:
LibUniswapOracles::readOracle
Aggor::_tryReadUniswap
This PR offers possible fixes for the issues. However, both can be solved differently too.
Created this PR as DRAFT to start a discussion.
Ping @deep-quality-dev
There are two potential issues in Aggor:
LibUniswapOracles::readOracle
function may have overflow and revertAggor::_tryReadUniswap
function may return zero value, which it is not allowed to do.This PR offers possible fixes for the issues. However, both can be solved differently too.
Created this PR as DRAFT to start a discussion.