Add MintFinished event to MintableToken #191

This commit is contained in:
tatiesmars
2017-04-13 14:23:41 +08:00
committed by GitHub
parent 70a4395a97
commit 37c6782f95

View File

@ -18,6 +18,7 @@ import '../ownership/Ownable.sol';
contract MintableToken is StandardToken, Ownable {
event Mint(address indexed to, uint value);
event MintFinished();
bool public mintingFinished = false;
uint public totalSupply = 0;
@ -36,6 +37,7 @@ contract MintableToken is StandardToken, Ownable {
function finishMinting() onlyOwner returns (bool) {
mintingFinished = true;
MintFinished();
return true;
}
}
}