The nftBurn guard restricts the mint to holders of a predefined
NFT Collection and burns the holder's NFT when minting.
This means the mint address of the NFT to burn must be
passed when minting. This guard alone does not limit how many
times a holder can mint. A holder can mint as many times
as they have NFTs from the required collection to burn.
The nftBurn guard restricts the mint to holders of a predefined NFT Collection and burns the holder's NFT when minting.
This means the mint address of the NFT to burn must be passed when minting. This guard alone does not limit how many times a holder can mint. A holder can mint as many times as they have NFTs from the required collection to burn.