Closed c4-judge closed 1 year ago
Judge has assessed an item in Issue #225 as 2 risk. The relevant finding follows:
uint256 exponent = baseToken == address(0) ? 18 - 4 : ERC20(baseToken).decimals() - 4; will revert since ERC20(baseToken).decimals() - 4; causes an underflow
GalloDaSballo marked the issue as duplicate of #858
GalloDaSballo marked the issue as satisfactory
Judge has assessed an item in Issue #225 as 2 risk. The relevant finding follows:
uint256 exponent = baseToken == address(0) ? 18 - 4 : ERC20(baseToken).decimals() - 4; will revert since ERC20(baseToken).decimals() - 4; causes an underflow