Skip to content

Latest commit

 

History

History
142 lines (100 loc) · 2.71 KB

MinterRole.md

File metadata and controls

142 lines (100 loc) · 2.71 KB

MinterRole.sol

View Source: openzeppelin-solidity/contracts/access/roles/MinterRole.sol

↗ Extends: Context ↘ Derived Contracts: ERC20Mintable

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

function () internal nonpayable

Arguments

Name Type Description

isMinter

function isMinter(address account) public view
returns(bool)

Arguments

Name Type Description
account address

addMinter

function addMinter(address account) public nonpayable onlyMinter 

Arguments

Name Type Description
account address

renounceMinter

function renounceMinter() public nonpayable

Arguments

Name Type Description

_addMinter

function _addMinter(address account) internal nonpayable

Arguments

Name Type Description
account address

_removeMinter

function _removeMinter(address account) internal nonpayable

Arguments

Name Type Description
account address

Contracts