{
    "Function": "burn",
    "File": "smart-contracts/NextGenCore.sol",
    "Parent Contracts": [
        "smart-contracts/ERC2981.sol",
        "smart-contracts/Ownable.sol",
        "smart-contracts/ERC721Enumerable.sol",
        "smart-contracts/IERC721Enumerable.sol",
        "smart-contracts/ERC721.sol",
        "smart-contracts/IERC721Metadata.sol",
        "smart-contracts/IERC721.sol",
        "smart-contracts/ERC165.sol",
        "smart-contracts/IERC2981.sol",
        "smart-contracts/IERC165.sol",
        "smart-contracts/Context.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_msgSender",
        "_burn",
        "_isApprovedOrOwner",
        "require(bool,string)",
        "require(bool,string)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function burn(uint256 _collectionID, uint256 _tokenId) public {\n        require(_isApprovedOrOwner(_msgSender(), _tokenId), \"ERC721: caller is not token owner or approved\");\n        require ((_tokenId >= collectionAdditionalData[_collectionID].reservedMinTokensIndex) && (_tokenId <= collectionAdditionalData[_collectionID].reservedMaxTokensIndex), \"id err\");\n        _burn(_tokenId);\n        burnAmount[_collectionID] = burnAmount[_collectionID] + 1;\n    }"
}