ERC721MintBurn
This contract is deployed by the Erc71DeployerFacet and represents an NFT collection that tracks
investors' positions in campaigns offering ERC20 fractions with discount and/or vesting mechanisms until the
campaigns are either successfully funded or fail to reach their funding goal.
For more details on how vested and discounted ERC20 fractions are handled, as well as the structure of these positions,
see TwoClickPurchaseSkeleton.sol and TwoClickPurchaseSkeletonStorage.sol respectively.
The owner of this contract is always the deployer, which is the diamond proxy itself (i.e., the Platform).
constructor
Initializes the contract by setting a name and a symbol to the token collection.
mint
Mints an NFT with the specified tokenId ID to the given address.
Can only be called by the contract owner (i.e., the Platform).
Parameters
| Name | Type | Description |
|---|---|---|
| to | address | The address that will receive the newly minted NFT. |
| tokenId | uint256 | The unique identifier of the NFT to mint. |
burn
Burns the NFT with the specified tokenId.
Can only be called by the contract owner (i.e., the Platform).
Parameters
| Name | Type | Description |
|---|---|---|
| tokenId | uint256 | The unique identifier of the NFT to burn. |

