Bug Description
-
**Where?:** Factory.sol — createTNT function.
-
Issue: The function does not enforce a minimum length for the name or symbol strings.
-
Fix: Add require(bytes(name).length > 0 && bytes(symbol).length > 0, "Invalid metadata").
-
Why?: Prevents the creation of "ghost" tokens with empty identifiers that break UI displays.
Steps to Reproduce
N/A
Logs and Screenshots
N/A
Environment Details
N/A
Impact
Medium - Feature works but has issues
Code of Conduct