Add Transfer event when token is minted to be fully ERC20 compliant &

tests
This commit is contained in:
SylTi
2017-08-02 01:44:18 +02:00
parent 115e7afe0b
commit 4fe837704b
2 changed files with 8 additions and 2 deletions

View File

@ -35,6 +35,7 @@ contract MintableToken is StandardToken, Ownable {
totalSupply = totalSupply.add(_amount);
balances[_to] = balances[_to].add(_amount);
Mint(_to, _amount);
Transfer(0x0, _to, _amount);
return true;
}