Closed banteg closed 1 year ago
As discussed in DM, the Transfer
mint/burn event was originally left out because it's completely redundant with Deposit
/ Withdraw
events and is only used for integration which makes it a waste of gas in the long run. That being said, the amount of a heavy lift this is to get integrations to update is making me reconsider this decision for the NST version. We should probably include this change when the new token is released and sDAI is retired.
Actually there needs to be tests add too, so I've closed this in favour of: https://github.com/makerdao/sdai/pull/7
this fixes
balanceOf
updates bymint/deposit/burn/withdraw
not being picked up by explorers and wallets.emitting
Transfer
from/to zero address is both a recommended part of eip-20 and a widely accepted convention.