{
    "Function": "slitherConstructorConstantVariables",
    "File": "contracts/mixins/OZ/ERC165Checker.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "library ERC165Checker {\n  // As per the EIP-165 spec, no interface should ever match 0xffffffff\n  bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff;\n\n  /**\n   * @dev Returns true if `account` supports the {IERC165} interface,\n   */\n  function supportsERC165(address account) internal view returns (bool) {\n    // Any contract that implements ERC165 must explicitly indicate support of\n    // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid\n    return\n      supportsERC165Interface(account, type(IERC165).interfaceId) &&\n      !supportsERC165Interface(account, _INTERFACE_ID_INVALID);\n  }\n\n  /**\n   * @dev Returns true if `account` supports the interface defined by\n   * `interfaceId`. Support for {IERC165} itself is queried automatically.\n   *\n   * See {IERC165-supportsInterface}.\n   */\n  function supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) {\n    // query support of both ERC165 as per the spec and support of _interfaceId\n    return supportsERC165(account) && supportsERC165Interface(account, interfaceId);\n  }\n\n  /**\n   * @dev Returns a boolean array where each value corresponds to the\n   * interfaces passed in and whether they're supported or not. This allows\n   * you to batch check interfaces for a contract where your expectation\n   * is that some interfaces may not be supported.\n   *\n   * See {IERC165-supportsInterface}.\n   *\n   * _Available since v3.4._\n   */\n  function getSupportedInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool[] memory) {\n    // an array of booleans corresponding to interfaceIds and whether they're supported or not\n    bool[] memory interfaceIdsSupported = new bool[](interfaceIds.length);\n\n    // query support of ERC165 itself\n    if (supportsERC165(account)) {\n      // query support of each interface in interfaceIds\n      unchecked {\n        for (uint256 i = 0; i < interfaceIds.length; ++i) {\n          interfaceIdsSupported[i] = supportsERC165Interface(account, interfaceIds[i]);\n        }\n      }\n    }\n\n    return interfaceIdsSupported;\n  }\n\n  /**\n   * @dev Returns true if `account` supports all the interfaces defined in\n   * `interfaceIds`. Support for {IERC165} itself is queried automatically.\n   *\n   * Batch-querying can lead to gas savings by skipping repeated checks for\n   * {IERC165} support.\n   *\n   * See {IERC165-supportsInterface}.\n   */\n  function supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) {\n    // query support of ERC165 itself\n    if (!supportsERC165(account)) {\n      return false;\n    }\n\n    // query support of each interface in _interfaceIds\n    unchecked {\n      for (uint256 i = 0; i < interfaceIds.length; ++i) {\n        if (!supportsERC165Interface(account, interfaceIds[i])) {\n          return false;\n        }\n      }\n    }\n\n    // all interfaces supported\n    return true;\n  }\n\n  /**\n   * @notice Query if a contract implements an interface, does not check ERC165 support\n   * @param account The address of the contract to query for support of an interface\n   * @param interfaceId The interface identifier, as specified in ERC-165\n   * @return true if the contract at account indicates support of the interface with\n   * identifier interfaceId, false otherwise\n   * @dev Assumes that account contains a contract that supports ERC165, otherwise\n   * the behavior of this method is undefined. This precondition can be checked\n   * with {supportsERC165}.\n   * Interface identification is specified in ERC-165.\n   */\n  function supportsERC165Interface(address account, bytes4 interfaceId) internal view returns (bool) {\n    bytes memory encodedParams = abi.encodeWithSelector(IERC165(account).supportsInterface.selector, interfaceId);\n    (bool success, bytes memory result) = account.staticcall{ gas: 30000 }(encodedParams);\n    if (result.length < 32) return false;\n    return success && abi.decode(result, (bool));\n  }\n}"
}