In the QuantAMMStorage contract, there are instances where an integer parameter is checked to see if it falls between the minimum and maximum values of a type. However, if this check fails, it results in an overflow revert rather than distinguishing between overflow and underflow reverts.
There are three instances where we can observe this issue. Links are provided below:
It might confuse users.
Manual review
Use more clear message.
Consider seperate checks for overflow and underflow.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.