Commit 37c6782f by tatiesmars Committed by GitHub

Add MintFinished event to MintableToken #191

parent 70a4395a
...@@ -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;
} }
} }
\ No newline at end of file
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