15,000 USDC
View results
Submission Details
Severity: low

Missing function to adjust the tokens that can be used as collateral

Summary

If the owner wants to adjust the tokens that can be used as collateral, there is no option to do so

Vulnerability Details

If one of the tokens that were set to be used as collateral should no longer be used as collateral or if a new token should be used as collateral, there is no option to adjust s_collateralTokens

Impact

Low flexibility to adjust the tokens that can be used as collateral

Tools Used

Manual review

Recommendations

Add a function that can adjust the values in s_collateralTokens and the corresponding values in the s_priceFeeds mapping

Support

FAQs

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