TokenFactory does not check if a token with a specific symbol already exists, leading to inconsistencies in getTokenAddressFromSymbol.
TokenFactory can generate tokens with the same symbol, storing them in its s_tokenToAddress mapping without verifying tokens created previously. This makes getTokenAddressFromSymbol ambiguous and problematic, especially if used in critical functions.
It is confusing and can potentially lead to issues in critical functions.
VSCode
Prevent the creation of two tokens with the same symbol to maintain consistency and avoid issues with critical functions.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.