ERC20Owl
ERC20Owl
MINTER_ROLE
bytes32 MINTER_ROLE
URI_ROLE
bytes32 URI_ROLE
version
string version
ERC165TAG
bytes4 ERC165TAG
constructor
constructor() public
initialize
function initialize(address _admin, string _name, string _symbol, address _forwarder) external
proxyInitialize
function proxyInitialize(address _admin, string _name, string _symbol, address _forwarder) external
__ERC20Owl_init
function __ERC20Owl_init(address _admin, string _name, string _symbol, address _forwarder) internal
__ERC20Owl_init_unchained
function __ERC20Owl_init_unchained(address _admin, address _forwarder) internal
grantMinter
function grantMinter(address to) public
Must have DEFAULT_ADMIN_ROLE
Grants MINTER_ROLE to {a}
Name | Type | Description |
---|---|---|
to | address | address to |
mint
function mint(address to, uint256 amount) public
Must have MINTER_ROLE
Allows MINTER_ROLE to mint NFTs
Name | Type | Description |
---|---|---|
to | address | address to |
amount | uint256 | amount to mint |
_msgSender
function _msgSender() internal view returns (address)
_msgData
function _msgData() internal view virtual returns (bytes)
supportsInterface
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool)
ERC165 Support
Name | Type | Description |
---|---|---|
interfaceId | bytes4 | hash of the interface testing for |
Name | Type | Description |
---|---|---|
[0] | bool | bool whether interface is supported |