15,000 USDC
View results
Submission Details
Severity: gas

Some functions follow CEI so shouldnt have a reentrancy guards

Summary

Some functions like for example depositCollateral, liquidate or mintDsc do follow the CEI pattern this mean that doesnt need a reentrancy guard, therefore it will be cheaper in gas terms to remove the reentrancy guard.

Impact

Gas saving

Tools Used

Manual revision

Recommendations

Review if is necesary to have a reentrancy guards in funcions with known tokens that doesnt have callbacks.

Support

FAQs

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