15,000 USDC
View results
Submission Details
Severity: gas

isAllowedToken modifier should be inline with code to save gas

  • isAllowedToken modifier should be inline with function depositCollateral , because it is used only in this function by inlining this modifier we can save gas

  • tokenAddresses.length (line 118 of DSCEngine.sol) , this line must be catch in local variable to save gas

Support

FAQs

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