{
    "Function": "updateCollectionInfo",
    "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,string)",
        "CollectionAdminRequired"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function updateCollectionInfo(uint256 _collectionID, string memory _newCollectionName, string memory _newCollectionArtist, string memory _newCollectionDescription, string memory _newCollectionWebsite, string memory _newCollectionLicense, string memory _newCollectionBaseURI, string memory _newCollectionLibrary, uint256 _index, string[] memory _newCollectionScript) public CollectionAdminRequired(_collectionID, this.updateCollectionInfo.selector) {\n        require((isCollectionCreated[_collectionID] == true) && (collectionFreeze[_collectionID] == false), \"Not allowed\");\n         if (_index == 1000) {\n            collectionInfo[_collectionID].collectionName = _newCollectionName;\n            collectionInfo[_collectionID].collectionArtist = _newCollectionArtist;\n            collectionInfo[_collectionID].collectionDescription = _newCollectionDescription;\n            collectionInfo[_collectionID].collectionWebsite = _newCollectionWebsite;\n            collectionInfo[_collectionID].collectionLicense = _newCollectionLicense;\n            collectionInfo[_collectionID].collectionLibrary = _newCollectionLibrary;\n            collectionInfo[_collectionID].collectionScript = _newCollectionScript;\n        } else if (_index == 999) {\n            collectionInfo[_collectionID].collectionBaseURI = _newCollectionBaseURI;\n        } else {\n            collectionInfo[_collectionID].collectionScript[_index] = _newCollectionScript[0];\n        }\n    }"
}