Division by potentially large numbers.
There are 5 instances of this issue.
File Link | Instance Count | Instance Links |
---|---|---|
Lender.sol | 4 | 246,384,475,618 |
File Link | Instance Count | Instance Link |
---|---|---|
Staking.sol | 1 | 68 |
Division by large numbers may result in the result being zero, due to Solidity not supporting fractions.
baudit: a custom static code analysis tool; manual review
Consider requiring a minimum amount for the numerator to ensure that it is always larger than the denominator.
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.