@gnosis.pm/hg-contracts
Version:
Collection of smart contracts for the Gnosis prediction market platform
292 lines • 10.6 kB
JSON
{
"contractName": "IERC165",
"abi": [
{
"constant": true,
"inputs": [
{
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity ^0.5.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * [EIP](https://eips.ethereum.org/EIPS/eip-165).\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others (`ERC165Checker`).\n *\n * For an implementation, see `ERC165`.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n",
"sourcePath": "openzeppelin-solidity/contracts/introspection/IERC165.sol",
"ast": {
"absolutePath": "openzeppelin-solidity/contracts/introspection/IERC165.sol",
"exportedSymbols": {
"IERC165": [
2559
]
},
"id": 2560,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2551,
"literals": [
"solidity",
"^",
"0.5",
".0"
],
"nodeType": "PragmaDirective",
"src": "0:23:9"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "@dev Interface of the ERC165 standard, as defined in the\n[EIP](https://eips.ethereum.org/EIPS/eip-165).\n * Implementers can declare support of contract interfaces, which can then be\nqueried by others (`ERC165Checker`).\n * For an implementation, see `ERC165`.",
"fullyImplemented": false,
"id": 2559,
"linearizedBaseContracts": [
2559
],
"name": "IERC165",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": "@dev Returns true if this contract implements the interface defined by\n`interfaceId`. See the corresponding\n[EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)\nto learn more about how these ids are created.\n * This function call must use less than 30 000 gas.",
"id": 2558,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "supportsInterface",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2554,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2553,
"name": "interfaceId",
"nodeType": "VariableDeclaration",
"scope": 2558,
"src": "705:18:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 2552,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "705:6:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "704:20:9"
},
"returnParameters": {
"id": 2557,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2556,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2558,
"src": "748:4:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 2555,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "748:4:9",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "747:6:9"
},
"scope": 2559,
"src": "678:76:9",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
}
],
"scope": 2560,
"src": "307:449:9"
}
],
"src": "0:757:9"
},
"legacyAST": {
"absolutePath": "openzeppelin-solidity/contracts/introspection/IERC165.sol",
"exportedSymbols": {
"IERC165": [
2559
]
},
"id": 2560,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 2551,
"literals": [
"solidity",
"^",
"0.5",
".0"
],
"nodeType": "PragmaDirective",
"src": "0:23:9"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": "@dev Interface of the ERC165 standard, as defined in the\n[EIP](https://eips.ethereum.org/EIPS/eip-165).\n * Implementers can declare support of contract interfaces, which can then be\nqueried by others (`ERC165Checker`).\n * For an implementation, see `ERC165`.",
"fullyImplemented": false,
"id": 2559,
"linearizedBaseContracts": [
2559
],
"name": "IERC165",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": "@dev Returns true if this contract implements the interface defined by\n`interfaceId`. See the corresponding\n[EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)\nto learn more about how these ids are created.\n * This function call must use less than 30 000 gas.",
"id": 2558,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "supportsInterface",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 2554,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2553,
"name": "interfaceId",
"nodeType": "VariableDeclaration",
"scope": 2558,
"src": "705:18:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 2552,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "705:6:9",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "704:20:9"
},
"returnParameters": {
"id": 2557,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 2556,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 2558,
"src": "748:4:9",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 2555,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "748:4:9",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "747:6:9"
},
"scope": 2559,
"src": "678:76:9",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
}
],
"scope": 2560,
"src": "307:449:9"
}
],
"src": "0:757:9"
},
"compiler": {
"name": "solc",
"version": "0.5.1+commit.c8a2cb62.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.0.3",
"updatedAt": "2019-06-08T17:32:19.231Z",
"devdoc": {
"details": "Interface of the ERC165 standard, as defined in the [EIP](https://eips.ethereum.org/EIPS/eip-165). * Implementers can declare support of contract interfaces, which can then be queried by others (`ERC165Checker`). * For an implementation, see `ERC165`.",
"methods": {
"supportsInterface(bytes4)": {
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) to learn more about how these ids are created. * This function call must use less than 30 000 gas."
}
}
},
"userdoc": {
"methods": {}
}
}