Skip to content

Latest commit

 

History

History
225 lines (186 loc) · 6.4 KB

MinterRole.md

File metadata and controls

225 lines (186 loc) · 6.4 KB

MinterRole.sol

View Source: contracts/access/roles/MinterRole.sol

↘ Derived Contracts: ERC20Mintable, ERC721MetadataMintable, ERC721Mintable, MinterRoleMock

MinterRole

Contract Members

Constants & Variables

struct Roles.Role private minters;

Events

event MinterAdded(address indexed account);
event MinterRemoved(address indexed account);

Modifiers

onlyMinter

modifier onlyMinter() internal

Arguments

Name Type Description

Functions

isMinter

function isMinter(address account) public
returns(bool)

Arguments

Name Type Description
account address

addMinter

function addMinter(address account) public undefined onlyMinter 

Arguments

Name Type Description
account address

renounceMinter

function renounceMinter() public undefined

Arguments

Name Type Description

_addMinter

function _addMinter(address account) internal undefined

Arguments

Name Type Description
account address

_removeMinter

⤿ Overridden Implementation(s): MinterRoleMock._removeMinter

function _removeMinter(address account) internal undefined

Arguments

Name Type Description
account address

Contracts