{
    "Function": "setTokenHash",
    "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": [
        "require(bool)",
        "require(bool)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function setTokenHash(uint256 _collectionID, uint256 _mintIndex, bytes32 _hash) external {\n        require(msg.sender == collectionAdditionalData[_collectionID].randomizerContract);\n        require(tokenToHash[_mintIndex] == 0x0000000000000000000000000000000000000000000000000000000000000000);\n        tokenToHash[_mintIndex] = _hash;\n    }"
}