Merge pull request #192 from tatiesmars/patch-1

Add MintFinished event to MintableToken
This commit is contained in:
Manuel Aráoz
2017-04-13 16:18:07 -03:00
committed by GitHub

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;
}
}
}