Beginner FriendlyFoundryNFT
100 EXP
View results
Submission Details
Severity: low
Invalid

Underflow / Overflow in Staking_claimRewards()

Summary

Vulnerability Details

In ‘Staking__claimRewards__userStakes[msg.sender] *
timeInWeeksSinceLastClaim’ there is a multiplication on the result of a
division.

Impact

Possible Underflow / Overflow that in this case is not a big problem

Tools Used

Foundry

Recommendations

Check if ‘timeInWeeksSinceLastClaim’ is
greater than 0 before the multiplication.

Updates

Lead Judging Commences

0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.