UNPKG

secretstore-contracts

Version:

Secret Store permissioning and service contracts collection and toolkit.

285 lines 9.29 kB
{ "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.4.24;\n\n/**\n * @title IERC165\n * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md\n */\ninterface IERC165 {\n\n /**\n * @notice Query if a contract implements an interface\n * @param interfaceId The interface identifier, as specified in ERC-165\n * @dev Interface identification is specified in ERC-165. This function\n * uses less than 30,000 gas.\n */\n function supportsInterface(bytes4 interfaceId)\n external\n view\n returns (bool);\n}\n", "sourcePath": "openzeppelin-solidity/contracts/introspection/IERC165.sol", "ast": { "absolutePath": "openzeppelin-solidity/contracts/introspection/IERC165.sol", "exportedSymbols": { "IERC165": [ 4714 ] }, "id": 4715, "nodeType": "SourceUnit", "nodes": [ { "id": 4706, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:11" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": "@title IERC165\n@dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md", "fullyImplemented": false, "id": 4714, "linearizedBaseContracts": [ 4714 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": "@notice Query if a contract implements an interface\n@param interfaceId The interface identifier, as specified in ERC-165\n@dev Interface identification is specified in ERC-165. This function\nuses less than 30,000 gas.", "id": 4713, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { "id": 4709, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4708, "name": "interfaceId", "nodeType": "VariableDeclaration", "scope": 4713, "src": "420:18:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, "typeName": { "id": 4707, "name": "bytes4", "nodeType": "ElementaryTypeName", "src": "420:6:11", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "value": null, "visibility": "internal" } ], "src": "419:20:11" }, "payable": false, "returnParameters": { "id": 4712, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4711, "name": "", "nodeType": "VariableDeclaration", "scope": 4713, "src": "475:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 4710, "name": "bool", "nodeType": "ElementaryTypeName", "src": "475:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "474:6:11" }, "scope": 4714, "src": "393:88:11", "stateMutability": "view", "superFunction": null, "visibility": "external" } ], "scope": 4715, "src": "121:362:11" } ], "src": "0:484:11" }, "legacyAST": { "absolutePath": "openzeppelin-solidity/contracts/introspection/IERC165.sol", "exportedSymbols": { "IERC165": [ 4714 ] }, "id": 4715, "nodeType": "SourceUnit", "nodes": [ { "id": 4706, "literals": [ "solidity", "^", "0.4", ".24" ], "nodeType": "PragmaDirective", "src": "0:24:11" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": "@title IERC165\n@dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md", "fullyImplemented": false, "id": 4714, "linearizedBaseContracts": [ 4714 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": "@notice Query if a contract implements an interface\n@param interfaceId The interface identifier, as specified in ERC-165\n@dev Interface identification is specified in ERC-165. This function\nuses less than 30,000 gas.", "id": 4713, "implemented": false, "isConstructor": false, "isDeclaredConst": true, "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { "id": 4709, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4708, "name": "interfaceId", "nodeType": "VariableDeclaration", "scope": 4713, "src": "420:18:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, "typeName": { "id": 4707, "name": "bytes4", "nodeType": "ElementaryTypeName", "src": "420:6:11", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "value": null, "visibility": "internal" } ], "src": "419:20:11" }, "payable": false, "returnParameters": { "id": 4712, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4711, "name": "", "nodeType": "VariableDeclaration", "scope": 4713, "src": "475:4:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 4710, "name": "bool", "nodeType": "ElementaryTypeName", "src": "475:4:11", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" } ], "src": "474:6:11" }, "scope": 4714, "src": "393:88:11", "stateMutability": "view", "superFunction": null, "visibility": "external" } ], "scope": 4715, "src": "121:362:11" } ], "src": "0:484:11" }, "compiler": { "name": "solc", "version": "0.4.25+commit.59dbf8f1.Emscripten.clang" }, "networks": {}, "schemaVersion": "2.0.2", "updatedAt": "2019-01-23T09:53:59.554Z" }