The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Unsupported token with more than 18 decimals

Summary

Protocol implicitly doesn't support tokens with more than 18 decimals

Vulnerability Details

In the function distributeAssets(), when convert token to euros value with more than 18 decimals, subtraction 18 - asset.token.dec will fail, and liquidation process will be failed

Impact

Liquidation process will be failed

Tools Used

Manual review

Recommendations

Consider to implement support for tokens with more than 18 decimals.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

Support

FAQs

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