First Flight #18: T-Swap

First Flight #18
Beginner FriendlyDeFiFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Call to optional ERC20 functions

Summary

Call to optional ERC20 functions (name() and symbol())

Vulnerability Details

The liquidityTokenName and liquidityTokenSymbol variables could be concat with empty fields. The reason for that is because decimals(), name() and symbol() are optional parts of the ERC20 specification, so there are tokens that do not implement them.

Impact

Tools Used

Manual Review

Recommendations

A check is needed to ensure that the params are not empty.

Updates

Appeal created

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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