Prevent accidentally burning tokens #120
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
invalid
This doesn't seem right
Handle
Dravee
Vulnerability details
Impact
Transferring tokens to the zero address is usually prohibited to accidentally avoid "burning" tokens by sending them to an unrecoverable zero address.
Proof of Concept
Places where I couldn't find a zero address check (or where the destination isn't a zero-checked address):
Tools Used
VS Code
Recommended Mitigation Steps
Add a check to prevent accidentally burning tokens
The text was updated successfully, but these errors were encountered: