Remove Minted and TokensBurned events (#1305)
* Remove the Minted event * Remove the TokensBurned event * Remove unused
This commit is contained in:
committed by
Francisco Giordano
parent
6c4c8989b3
commit
fa49e5189d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user