Thunder Loan

AI First Flight #7
Beginner FriendlyFoundryDeFiOracle
EXP
View results
Submission Details
Impact: low
Likelihood: high
Invalid

AssetToken does not override the decimals() function

The AssetToken contract inherits from OpenZeppelin's ERC20 but does not override the decimals() function, meaning it will always default to 18 decimals. If the underlying token has a different decimal precision (e.g., USDC with 6 decimals), the AssetToken will misrepresent user balances in frontends and external integrations.

Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge 4 days ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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

Give us feedback!