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

State variables that could be declared constant

Summary

Vulnerability Details

In Thunder-Loan, the state variables 's_feePrecision' and 's_flashLoanFee' can be declared as constants to conserve gas if there is no need to modify them. If adjustments are required in the future, consider adding a set function.

Impact

Tools Used

Recommendations

Besides 's_feePrecision' and 's_flashLoanFee,' examine other state variables to determine if they can be declared as constants.

Updates

Lead Judging Commences

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

Support

FAQs

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