code-423n4 / 2021-06-gro-findings

0 stars 1 forks source link

event LogTransfer is only emitted in function transfer #88

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

pauliax

Vulnerability details

Impact

Not sure what are the intentions with this event but I expect to see it not only in function transfer but also in other functions that update user balances.

Recommended Mitigation Steps

transferFrom should LogTransfer(sender, recipient, amount); mint should LogTransfer(address(0), account, amount); burn should LogTransfer(account, address(0), amount); burnAll should LogTransfer(account, address(0), burnAmount);