15,000 USDC
View results
Submission Details
Severity: gas

A Modifier used only once and not being inherited should be inlined to save gas

Summary

The isAllowedToken modifier is only used once by the depositCollateral function (Line 152). Therefore, the logic of the modifier should be put inside the depositCollateral function to save gas.

Support

FAQs

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