20,000 USDC
View results
Submission Details
Severity: gas
Valid

a += b Costs More Gas Than a = a + b for state variables.

Summary

a += b Costs More Gas Than a = a + b for state variables.

Vulnerability Details

In multiple places a += b pattern is used instead of a=a+b which is more gas efficient for state variables.

Impact

costs more gas

Tools Used

Manual review

Recommendations

a += b Costs More Gas than a = a + b for state variables.

Support

FAQs

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