Beginner FriendlyFoundryBridge
100 EXP
View results
Submission Details
Severity: low
Valid

Static Symbol

Summary

TokenFactory.sol uses s_tokenToAddress to associate the symbol of a token with its address, but the symbol is not utilized within L1Token.sol.

Vulnerability Details

In L1Token.sol, a token is generated with the fixed symbol "BBT". This can be confusing since TokenFactory.sol supposedly associates the symbol of a token with its address using s_tokenToAddress.

Impact

This inconsistency may lead to confusion and potential issues as the code evolves.

Tools Used

VSCode

Recommendations

Allow the token to dynamically generate its name and symbol to maintain consistency with the association in TokenFactory.sol.

Updates

Lead Judging Commences

0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Validated
Assigned finding tags:

deployToken: non-unique symbol for tokens

Support

FAQs

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