{
    "Function": "slitherConstructorConstantVariables",
    "File": "contracts/mixins/roles/OperatorRole.sol",
    "Parent Contracts": [
        "contracts/mixins/OZ/AccessControlUpgradeable.sol",
        "node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol",
        "node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "keccak256(bytes)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "abstract contract OperatorRole is Initializable, AccessControlUpgradeable {\n  bytes32 private constant OPERATOR_ROLE = keccak256(\"OPERATOR_ROLE\");\n\n  /**\n   * @notice Adds the account to the list of approved operators.\n   * @dev Only callable by admins as enforced by `grantRole`.\n   * @param account The address to be approved.\n   */\n  function grantOperator(address account) external {\n    grantRole(OPERATOR_ROLE, account);\n  }\n\n  /**\n   * @notice Removes the account from the list of approved operators.\n   * @dev Only callable by admins as enforced by `grantRole`.\n   * @param account The address to be removed from the approved list.\n   */\n  function revokeOperator(address account) external {\n    revokeRole(OPERATOR_ROLE, account);\n  }\n\n  /**\n   * @notice Returns one of the operator by index.\n   * @param index The index of the operator to return from 0 to getOperatorMemberCount() - 1.\n   * @return account The address of the operator.\n   */\n  function getOperatorMember(uint256 index) external view returns (address account) {\n    return getRoleMember(OPERATOR_ROLE, index);\n  }\n\n  /**\n   * @notice Checks how many accounts have been granted operator access.\n   * @return count The number of accounts with operator access.\n   */\n  function getOperatorMemberCount() external view returns (uint256 count) {\n    return getRoleMemberCount(OPERATOR_ROLE);\n  }\n\n  /**\n   * @notice Checks if the account provided is an operator.\n   * @param account The address to check.\n   * @return approved True if the account is an operator.\n   */\n  function isOperator(address account) external view returns (bool approved) {\n    return hasRole(OPERATOR_ROLE, account);\n  }\n}"
}