import”@patchwork/contracts/PatchworkMintable/IPatchworkMintable.sol”;
Inherits:
IPatchworkScopedFunctions
mint
Mints a single token to a specified address.| Name | Type | Description |
|---|---|---|
to | address | The address to which the token will be minted. |
data | bytes | Additional data to be passed to the minting process. |
| Name | Type | Description |
|---|---|---|
tokenId | uint256 | The ID of the minted token. |
mintBatch
Mints multiple tokens to a specified address.| Name | Type | Description |
|---|---|---|
to | address | The address to which the tokens will be minted. |
data | bytes | Additional data to be passed to the minting process. |
quantity | uint256 | The number of tokens to mint. |
| Name | Type | Description |
|---|---|---|
tokenIds | uint256[] | An array of the IDs of the minted tokens. |