15,000 USDC
View results
Submission Details
Severity: gas
Valid

[L-03] Continues with the standard use for Collateral variable

Summary

Throughout the contract when you want to refer to the collateral token address variable, it is referred to as tokenCollateralAddress and only in the liquidate function is it referred to as collateral.

Impact

Low

Tools Used

Manual code review

Recommendations

It is recommended to replace this value with the tokenCollateralAddress to avoid confusion or doubt if the same value is being referenced.

Support

FAQs

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