In the remainingRecapitalization()
if totalSupply()
is zero also the uint256 totalDollars
which will lead to underflow of the return value of the function.
See the following code of the remainingRecapitalization()
:
In case totalSupply()
is zero the remainingRecapitalization()
will revert due to underflow error.
Manual review
Add an appropriate check of totalSupply()
to ensure that is not zero before returning the value of function remainingRecapitalization()
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.