{
    "Function": "addEstimator",
    "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": [
        "onlyOwner"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function addEstimator(uint256 estimatorCategoryIndex, address estimator) external override onlyOwner {\n        estimators[estimatorCategoryIndex] = IEstimator(estimator);\n        emit EstimatorAdded(estimator, estimatorCategoryIndex);\n    }"
}