Remove Minted and TokensBurned events (#1305)

* Remove the Minted event

* Remove the TokensBurned event

* Remove unused
This commit is contained in:
Leo Arias
2018-09-07 10:31:23 -06:00
committed by Francisco Giordano
parent 6c4c8989b3
commit fa49e5189d
7 changed files with 2 additions and 32 deletions

View File

@ -9,8 +9,6 @@ import "./ERC20.sol";
*/
contract ERC20Burnable is ERC20 {
event TokensBurned(address indexed burner, uint256 value);
/**
* @dev Burns a specific amount of tokens.
* @param value The amount of token to be burned.
@ -34,6 +32,5 @@ contract ERC20Burnable is ERC20 {
*/
function _burn(address who, uint256 value) internal {
super._burn(who, value);
emit TokensBurned(who, value);
}
}

View File

@ -9,7 +9,6 @@ import "../../access/roles/MinterRole.sol";
* @dev ERC20 minting logic
*/
contract ERC20Mintable is ERC20, MinterRole {
event Minted(address indexed to, uint256 amount);
event MintingFinished();
bool private _mintingFinished = false;
@ -42,7 +41,6 @@ contract ERC20Mintable is ERC20, MinterRole {
returns (bool)
{
_mint(to, amount);
emit Minted(to, amount);
return true;
}