{
    "Function": "addItems",
    "File": "contracts/oracles/registries/TokenRegistry.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts/access/Ownable.sol",
        "node_modules/@openzeppelin/contracts/GSN/Context.sol",
        "contracts/interfaces/registries/ITokenRegistry.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "_addItem",
        "require(bool,string)",
        "onlyOwner"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function addItems(uint256[] calldata itemCategoryIndex, uint256[] calldata estimatorCategoryIndex, address[] calldata token) external override onlyOwner {\n        uint numItems = itemCategoryIndex.length; \n        require(itemCategoryIndex.length == numItems && numItems == token.length, \"Mismatched array lengths\");\n        for (uint i = 0; i < numItems; i++) {\n           _addItem(itemCategoryIndex[i], estimatorCategoryIndex[i], token[i]); \n        }\n    }"
}