View Source: openzeppelin-solidity/contracts/access/roles/MinterRole.sol
↗ Extends: Context ↘ Derived Contracts: ERC20Mintable
MinterRole
Constants & Variables
struct Roles.Role private _minters;
Events
event MinterAdded(address indexed account);
event MinterRemoved(address indexed account);
modifier onlyMinter() internal
Arguments
Name | Type | Description |
---|
- ()
- isMinter(address account)
- addMinter(address account)
- renounceMinter()
- _addMinter(address account)
- _removeMinter(address account)
function () internal nonpayable
Arguments
Name | Type | Description |
---|
function isMinter(address account) public view
returns(bool)
Arguments
Name | Type | Description |
---|---|---|
account | address |
function addMinter(address account) public nonpayable onlyMinter
Arguments
Name | Type | Description |
---|---|---|
account | address |
function renounceMinter() public nonpayable
Arguments
Name | Type | Description |
---|
function _addMinter(address account) internal nonpayable
Arguments
Name | Type | Description |
---|---|---|
account | address |
function _removeMinter(address account) internal nonpayable
Arguments
Name | Type | Description |
---|---|---|
account | address |