15,000 USDC
View results
Submission Details
Severity: gas

Create a modifier only if it will be used in more than one place

Summary

The isAllowedToken modifier is used only once. The readability of the code can be enhanced by simply replacing it with a 1 line check in the body of the depositCollateral function.

Support

FAQs

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