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

Using `private` rather than `public` for constants, saves gas

Summary

Saves deployment gas due to the compiler not having to create non-payable getter functions for deployment calldata, not having to store the bytes of the value outside of where it's used, and not adding another entry to the method ID table.

Vulnerability Details

Impact

Gas Consumption

Tools Used

Recommendations

Support

FAQs

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