ERC: Balance Changes Create Transfer Events BSSC Token Integration Standard version 2
previous: ERC: Document
ERC upgradability | Contents page | next: ERC: Mint and Burn as per
ERC-5679
Domain: 5. ERC Tokens: Specific Requirements |
Level: MUST
Statement of Requirement:
Any methods in the Token
Contract that change Token balances, such as
transfer(), mint(), burn(), etc
MUST emit a Transfer event as described in [ERC-20 ].
See
it in the specification
Purpose
Ensure that changes to overall supply or distribution are easily
tracked through standard methods, for transparency.
Audit procedures
Code review or Reperformance:
Verify that each function allowing token transfer, creation or
destruction generates a Transfer event, even where no
Tokens are transferred.
Success Criteria
Every function that changes balances emits an appropriate
Transfer event
Failure Criteria
A function in the Token
Contract can cause a change to an account balance, but does not
emit a conforming Transfer event.
Key Evidence
previous: ERC: Document
ERC upgradability | Contents page | next: ERC: Mint and Burn as per
ERC-5679