20,000 USDC
View results
Submission Details
Severity: medium

Assumes all tokens have 18 decimals

Summary

If loanToken is a token like USDC which has 6 decimals it will throw the ratio off such that it’s not accurate.

Vulnerability Details

(see summary)

Impact

Assuming all loanTokens have 18 decimals will lead to inaccuracies in a given pool

Tools Used

manual

Recommendations

Adjust the decimals based on the token used

Support

FAQs

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

Give us feedback!