15,000 USDC
View results
Submission Details
Severity: low
Valid

ERC20 Compliance - Transfer event missing

Summary

Mint/Burn functions have no transfer events. According to ERC20 standard when coins are minted(or burned) a Transfer event should be emitted.

Vulnerability Details

The vulnerability that can occur when emitting a Transfer event is not inherent to the ERC20 standard itself but rather in how it is implemented in the specific smart contract.

Impact

If the implementation is flawed, it could lead to vulnerabilities such as reentrancy attacks.

Tools Used

Code analysis, ERC20 standard

Recommendations

Add Transfer event above the mint and burn functions
event Transfer(address indexed from, address indexed to, uint256 value);

Support

FAQs

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