Mint


Minting is done using safeMint function in both (PNDC_ERC721 and TokenERC721) contracts.

For PNDC_ERC721

    safeMint(
        address to,
        string memory uri,
        LibShare.Share[] memory royalties
    )
  • to: address of the owner
  • uri: suffix for the token uri
  • royalties: array of Share struct

For TokenERC721

    safeMint(
        address to,
        string memory uri,
        RoyaltiesSet memory royaltiesSet
    )
  • to: address of the owner
  • uri: suffix for the token uri
  • royaltiesSet: RoyaltiesSet struct