Commit b4203167 by Manuel Aráoz Committed by GitHub

Merge pull request #192 from tatiesmars/patch-1

Add MintFinished event to MintableToken
parents 70a4395a 37c6782f
...@@ -18,6 +18,7 @@ import '../ownership/Ownable.sol'; ...@@ -18,6 +18,7 @@ import '../ownership/Ownable.sol';
contract MintableToken is StandardToken, Ownable { contract MintableToken is StandardToken, Ownable {
event Mint(address indexed to, uint value); event Mint(address indexed to, uint value);
event MintFinished();
bool public mintingFinished = false; bool public mintingFinished = false;
uint public totalSupply = 0; uint public totalSupply = 0;
...@@ -36,6 +37,7 @@ contract MintableToken is StandardToken, Ownable { ...@@ -36,6 +37,7 @@ contract MintableToken is StandardToken, Ownable {
function finishMinting() onlyOwner returns (bool) { function finishMinting() onlyOwner returns (bool) {
mintingFinished = true; mintingFinished = true;
MintFinished();
return true; return true;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment