• Remarks

    This function is only callable by the owner of the contract.

    This function is not part of the ERC721 standard. It serves as an example of how to use the MRC721-internals functions to implement custom features. Here we make use of the _update function from the MRC721-internals to mint a new token. Indeed, by calling _update with a non-existing tokenId, we are creating a new token.

    We also make sure that the mint feature is only callable by the owner of the contract by using the onlyOwner modifier.

    Parameters

    • binaryArgs: StaticArray<number>

      serialized arguments representing the address of the recipient and the tokenId to mint

    Returns void

Generated using TypeDoc