TempleGold

TempleDAO
Foundry
25,000 USDC
View results
Submission Details
Severity: low
Invalid

Incorrect conversions of some datatypes.

Summary

Some return values are being wrongly casted.

Vulnerability Details

As you can see:

Note: All of these values are timestamp values and even a uint40 value is approx~ 1 trillion seconds which is almost 31709 years so there is no impact on funds, I am simply putting this in low due to the wrong practices that are being followed.

Impact

Although there are no funds at risk but its still wrong practice to do such type of casting.

Tools Used

Manual review

Recommendations

Either make the timestamp value capped at uint40 or uint256.

Updates

Lead Judging Commences

inallhonesty Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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