15,000 USDC
View results
Submission Details
Severity: gas

G-01 Make the private variables public and remove their getter functions to save 4472 gas when deploying

When variables are public, the compiler automatically gives them a getter function. This means the getter functions for the currently private variables ADDITIONAL_FEED_PRECISION, PRECISION, LIQUIDATION_THRESHOLD, MIN_HEALTH_FACTOR, LIQUIDATION_BONUS and i_dsc are not necessary. Removing them from the code will save 4472 gas when deploying the contract

Support

FAQs

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