Skip to main content

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}

NameTypeDescription
toaddressaddress to

mint

function mint(address to, uint256 amount) public

Must have MINTER_ROLE

Allows MINTER_ROLE to mint NFTs

NameTypeDescription
toaddressaddress to
amountuint256amount 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

NameTypeDescription
interfaceIdbytes4hash of the interface testing for
NameTypeDescription
[0]boolbool whether interface is supported