secretstore-contracts
Version:
Secret Store permissioning and service contracts collection and toolkit.
341 lines • 10.5 kB
JSON
{
"contractName": "IERC165Query",
"abi": [
{
"constant": true,
"inputs": [
{
"name": "_contract",
"type": "address"
},
{
"name": "_interfaceId",
"type": "bytes4"
}
],
"name": "doesContractImplementInterface",
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity ^0.4.24;\n\n\ncontract IERC165Query {\n\n function doesContractImplementInterface(address _contract, bytes4 _interfaceId) external view returns (bool);\n}",
"sourcePath": "/home/aznagy/work/secretstore/secretstore-contracts/contracts/interfaces/IERC165Query.sol",
"ast": {
"absolutePath": "/home/aznagy/work/secretstore/secretstore-contracts/contracts/interfaces/IERC165Query.sol",
"exportedSymbols": {
"IERC165Query": [
712
]
},
"id": 713,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 702,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:4"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": false,
"id": 712,
"linearizedBaseContracts": [
712
],
"name": "IERC165Query",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 711,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "doesContractImplementInterface",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 707,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 704,
"name": "_contract",
"nodeType": "VariableDeclaration",
"scope": 711,
"src": "96:17:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 703,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "96:7:4",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 706,
"name": "_interfaceId",
"nodeType": "VariableDeclaration",
"scope": 711,
"src": "115:19:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 705,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "115:6:4",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "95:40:4"
},
"payable": false,
"returnParameters": {
"id": 710,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 709,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 711,
"src": "159:4:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 708,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "159:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "158:6:4"
},
"scope": 712,
"src": "56:109:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
}
],
"scope": 713,
"src": "27:140:4"
}
],
"src": "0:167:4"
},
"legacyAST": {
"absolutePath": "/home/aznagy/work/secretstore/secretstore-contracts/contracts/interfaces/IERC165Query.sol",
"exportedSymbols": {
"IERC165Query": [
712
]
},
"id": 713,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 702,
"literals": [
"solidity",
"^",
"0.4",
".24"
],
"nodeType": "PragmaDirective",
"src": "0:24:4"
},
{
"baseContracts": [],
"contractDependencies": [],
"contractKind": "contract",
"documentation": null,
"fullyImplemented": false,
"id": 712,
"linearizedBaseContracts": [
712
],
"name": "IERC165Query",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"id": 711,
"implemented": false,
"isConstructor": false,
"isDeclaredConst": true,
"modifiers": [],
"name": "doesContractImplementInterface",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 707,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 704,
"name": "_contract",
"nodeType": "VariableDeclaration",
"scope": 711,
"src": "96:17:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 703,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "96:7:4",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 706,
"name": "_interfaceId",
"nodeType": "VariableDeclaration",
"scope": 711,
"src": "115:19:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
},
"typeName": {
"id": 705,
"name": "bytes4",
"nodeType": "ElementaryTypeName",
"src": "115:6:4",
"typeDescriptions": {
"typeIdentifier": "t_bytes4",
"typeString": "bytes4"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "95:40:4"
},
"payable": false,
"returnParameters": {
"id": 710,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 709,
"name": "",
"nodeType": "VariableDeclaration",
"scope": 711,
"src": "159:4:4",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"typeName": {
"id": 708,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "159:4:4",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "158:6:4"
},
"scope": 712,
"src": "56:109:4",
"stateMutability": "view",
"superFunction": null,
"visibility": "external"
}
],
"scope": 713,
"src": "27:140:4"
}
],
"src": "0:167:4"
},
"compiler": {
"name": "solc",
"version": "0.4.24+commit.e67f0147.Emscripten.clang"
},
"networks": {},
"schemaVersion": "2.0.1",
"updatedAt": "2019-01-21T13:35:51.063Z"
}