Open code423n4 opened 2 years ago
pauliax
If deposit function emits:
emit Transfer(address(0), user, amount);
then I expect that withdraw and withdrawTo should also emit it respectively:
emit Transfer(_msgSender() //recipient, address(0), amount);
Handle
pauliax
Vulnerability details
Impact
If deposit function emits:
then I expect that withdraw and withdrawTo should also emit it respectively: