UNPKG

@vporton/future-contracts

Version:

Ethereum accounts bid on future financing (essentially, transfer money from the future) - smart contracts

351 lines 13.8 kB
{ "contractName": "IERC165", "abi": [ { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":1000000},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/introspection/IERC165.sol\":{\"keccak256\":\"0xf70bc25d981e4ec9673a995ad2995d5d493ea188d3d8f388bba9c227ce09fb82\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bd970f51e3a77790c2f02b5b1759827c3b897c3d98c407b3631e8af32e3dc93c\",\"dweb:/ipfs/QmPF85Amgbqjk3SNZKsPCsqCw8JfwYEPMnnhvMJUyX58je\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [], "sourceMap": "", "deployedSourceMap": "", "source": "// SPDX-License-Identifier: MIT\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\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 * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\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/contracts/introspection/IERC165.sol", "ast": { "absolutePath": "@openzeppelin/contracts/introspection/IERC165.sol", "exportedSymbols": { "IERC165": [ 4393 ] }, "id": 4394, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { "id": 4383, "literals": [ "solidity", ">=", "0.6", ".0", "<", "0.8", ".0" ], "nodeType": "PragmaDirective", "src": "33:31:19" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": { "id": 4384, "nodeType": "StructuredDocumentation", "src": "66:279:19", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, "id": 4393, "linearizedBaseContracts": [ 4393 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { "id": 4385, "nodeType": "StructuredDocumentation", "src": "370:340:19", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", "id": 4392, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { "id": 4388, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4387, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", "scope": 4392, "src": "742:18:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, "typeName": { "id": 4386, "name": "bytes4", "nodeType": "ElementaryTypeName", "src": "742:6:19", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "visibility": "internal" } ], "src": "741:20:19" }, "returnParameters": { "id": 4391, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4390, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "scope": 4392, "src": "785:4:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 4389, "name": "bool", "nodeType": "ElementaryTypeName", "src": "785:4:19", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "visibility": "internal" } ], "src": "784:6:19" }, "scope": 4393, "src": "715:76:19", "stateMutability": "view", "virtual": false, "visibility": "external" } ], "scope": 4394, "src": "346:447:19" } ], "src": "33:761:19" }, "legacyAST": { "attributes": { "absolutePath": "@openzeppelin/contracts/introspection/IERC165.sol", "exportedSymbols": { "IERC165": [ 4393 ] }, "license": "MIT" }, "children": [ { "attributes": { "literals": [ "solidity", ">=", "0.6", ".0", "<", "0.8", ".0" ] }, "id": 4383, "name": "PragmaDirective", "src": "33:31:19" }, { "attributes": { "abstract": false, "baseContracts": [ null ], "contractDependencies": [ null ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ 4393 ], "name": "IERC165", "scope": 4394 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "id": 4384, "name": "StructuredDocumentation", "src": "66:279:19" }, { "attributes": { "functionSelector": "01ffc9a7", "implemented": false, "isConstructor": false, "kind": "function", "modifiers": [ null ], "name": "supportsInterface", "scope": 4393, "stateMutability": "view", "virtual": false, "visibility": "external" }, "children": [ { "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "id": 4385, "name": "StructuredDocumentation", "src": "370:340:19" }, { "children": [ { "attributes": { "constant": false, "mutability": "mutable", "name": "interfaceId", "scope": 4392, "stateVariable": false, "storageLocation": "default", "type": "bytes4", "visibility": "internal" }, "children": [ { "attributes": { "name": "bytes4", "type": "bytes4" }, "id": 4386, "name": "ElementaryTypeName", "src": "742:6:19" } ], "id": 4387, "name": "VariableDeclaration", "src": "742:18:19" } ], "id": 4388, "name": "ParameterList", "src": "741:20:19" }, { "children": [ { "attributes": { "constant": false, "mutability": "mutable", "name": "", "scope": 4392, "stateVariable": false, "storageLocation": "default", "type": "bool", "visibility": "internal" }, "children": [ { "attributes": { "name": "bool", "type": "bool" }, "id": 4389, "name": "ElementaryTypeName", "src": "785:4:19" } ], "id": 4390, "name": "VariableDeclaration", "src": "785:4:19" } ], "id": 4391, "name": "ParameterList", "src": "784:6:19" } ], "id": 4392, "name": "FunctionDefinition", "src": "715:76:19" } ], "id": 4393, "name": "ContractDefinition", "src": "346:447:19" } ], "id": 4394, "name": "SourceUnit", "src": "33:761:19" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.4.1", "updatedAt": "2021-06-03T23:56:22.329Z", "devdoc": { "details": "Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.", "kind": "dev", "methods": { "supportsInterface(bytes4)": { "details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas." } }, "version": 1 }, "userdoc": { "kind": "user", "methods": {}, "version": 1 } }