{
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "requestId",
          "type": "uint256"
        }
      ],
      "name": "LogOracleCanceled",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "requestId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "responsibleOracleId",
          "type": "uint256"
        }
      ],
      "name": "LogOracleRequested",
      "type": "event"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "requestId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "responder",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "bool",
          "name": "success",
          "type": "bool"
        }
      ],
      "name": "LogOracleResponded",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "requestId",
          "type": "uint256"
        }
      ],
      "name": "cancel",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "processId",
          "type": "bytes32"
        },
        {
          "internalType": "bytes",
          "name": "input",
          "type": "bytes"
        },
        {
          "internalType": "string",
          "name": "callbackMethodName",
          "type": "string"
        },
        {
          "internalType": "address",
          "name": "callbackContractAddress",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "responsibleOracleId",
          "type": "uint256"
        }
      ],
      "name": "request",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "requestId",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "requestId",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "responder",
          "type": "address"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "respond",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "allSourcePaths": {
    "43": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IQuery.sol"
  },
  "ast": {
    "absolutePath": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IQuery.sol",
    "exportedSymbols": {
      "IQuery": [
        22500
      ]
    },
    "id": 22501,
    "license": "Apache-2.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 22435,
        "literals": [
          "solidity",
          "0.8",
          ".2"
        ],
        "nodeType": "PragmaDirective",
        "src": "39:22:43"
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "fullyImplemented": false,
        "id": 22500,
        "linearizedBaseContracts": [
          22500
        ],
        "name": "IQuery",
        "nameLocation": "73:6:43",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "canonicalName": "IQuery.OracleRequest",
            "id": 22448,
            "members": [
              {
                "constant": false,
                "id": 22437,
                "mutability": "mutable",
                "name": "processId",
                "nameLocation": "126:9:43",
                "nodeType": "VariableDeclaration",
                "scope": 22448,
                "src": "118:17:43",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes32",
                  "typeString": "bytes32"
                },
                "typeName": {
                  "id": 22436,
                  "name": "bytes32",
                  "nodeType": "ElementaryTypeName",
                  "src": "118:7:43",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 22439,
                "mutability": "mutable",
                "name": "responsibleOracleId",
                "nameLocation": "153:19:43",
                "nodeType": "VariableDeclaration",
                "scope": 22448,
                "src": "145:27:43",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 22438,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "145:7:43",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 22441,
                "mutability": "mutable",
                "name": "callbackContractAddress",
                "nameLocation": "190:23:43",
                "nodeType": "VariableDeclaration",
                "scope": 22448,
                "src": "182:31:43",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_address",
                  "typeString": "address"
                },
                "typeName": {
                  "id": 22440,
                  "name": "address",
                  "nodeType": "ElementaryTypeName",
                  "src": "182:7:43",
                  "stateMutability": "nonpayable",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 22443,
                "mutability": "mutable",
                "name": "callbackMethodName",
                "nameLocation": "230:18:43",
                "nodeType": "VariableDeclaration",
                "scope": 22448,
                "src": "223:25:43",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_string_storage_ptr",
                  "typeString": "string"
                },
                "typeName": {
                  "id": 22442,
                  "name": "string",
                  "nodeType": "ElementaryTypeName",
                  "src": "223:6:43",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_storage_ptr",
                    "typeString": "string"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 22445,
                "mutability": "mutable",
                "name": "data",
                "nameLocation": "264:4:43",
                "nodeType": "VariableDeclaration",
                "scope": 22448,
                "src": "258:10:43",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_bytes_storage_ptr",
                  "typeString": "bytes"
                },
                "typeName": {
                  "id": 22444,
                  "name": "bytes",
                  "nodeType": "ElementaryTypeName",
                  "src": "258:5:43",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_storage_ptr",
                    "typeString": "bytes"
                  }
                },
                "visibility": "internal"
              },
              {
                "constant": false,
                "id": 22447,
                "mutability": "mutable",
                "name": "createdAt",
                "nameLocation": "286:9:43",
                "nodeType": "VariableDeclaration",
                "scope": 22448,
                "src": "278:17:43",
                "stateVariable": false,
                "storageLocation": "default",
                "typeDescriptions": {
                  "typeIdentifier": "t_uint256",
                  "typeString": "uint256"
                },
                "typeName": {
                  "id": 22446,
                  "name": "uint256",
                  "nodeType": "ElementaryTypeName",
                  "src": "278:7:43",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  }
                },
                "visibility": "internal"
              }
            ],
            "name": "OracleRequest",
            "nameLocation": "94:13:43",
            "nodeType": "StructDefinition",
            "scope": 22500,
            "src": "87:215:43",
            "visibility": "public"
          },
          {
            "anonymous": false,
            "id": 22456,
            "name": "LogOracleRequested",
            "nameLocation": "314:18:43",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 22455,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22450,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "350:9:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22456,
                  "src": "342:17:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 22449,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "342:7:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22452,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "requestId",
                  "nameLocation": "377:9:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22456,
                  "src": "369:17:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22451,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "369:7:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22454,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "responsibleOracleId",
                  "nameLocation": "404:19:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22456,
                  "src": "396:27:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22453,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "396:7:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "332:97:43"
            },
            "src": "308:122:43"
          },
          {
            "anonymous": false,
            "id": 22466,
            "name": "LogOracleResponded",
            "nameLocation": "442:18:43",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 22465,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22458,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "478:9:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22466,
                  "src": "470:17:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 22457,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "470:7:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22460,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "requestId",
                  "nameLocation": "505:9:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22466,
                  "src": "497:17:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22459,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "497:7:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22462,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "responder",
                  "nameLocation": "532:9:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22466,
                  "src": "524:17:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22461,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "524:7:43",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22464,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "success",
                  "nameLocation": "556:7:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22466,
                  "src": "551:12:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 22463,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "551:4:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "460:109:43"
            },
            "src": "436:134:43"
          },
          {
            "anonymous": false,
            "id": 22470,
            "name": "LogOracleCanceled",
            "nameLocation": "582:17:43",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 22469,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22468,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "requestId",
                  "nameLocation": "617:9:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22470,
                  "src": "609:17:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22467,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "609:7:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "599:33:43"
            },
            "src": "576:57:43"
          },
          {
            "functionSelector": "2c933f22",
            "id": 22485,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "request",
            "nameLocation": "648:7:43",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22481,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22472,
                  "mutability": "mutable",
                  "name": "processId",
                  "nameLocation": "673:9:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22485,
                  "src": "665:17:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 22471,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "665:7:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22474,
                  "mutability": "mutable",
                  "name": "input",
                  "nameLocation": "707:5:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22485,
                  "src": "692:20:43",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 22473,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "692:5:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22476,
                  "mutability": "mutable",
                  "name": "callbackMethodName",
                  "nameLocation": "738:18:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22485,
                  "src": "722:34:43",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_string_calldata_ptr",
                    "typeString": "string"
                  },
                  "typeName": {
                    "id": 22475,
                    "name": "string",
                    "nodeType": "ElementaryTypeName",
                    "src": "722:6:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_string_storage_ptr",
                      "typeString": "string"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22478,
                  "mutability": "mutable",
                  "name": "callbackContractAddress",
                  "nameLocation": "774:23:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22485,
                  "src": "766:31:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22477,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "766:7:43",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22480,
                  "mutability": "mutable",
                  "name": "responsibleOracleId",
                  "nameLocation": "815:19:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22485,
                  "src": "807:27:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22479,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "807:7:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "655:185:43"
            },
            "returnParameters": {
              "id": 22484,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22483,
                  "mutability": "mutable",
                  "name": "requestId",
                  "nameLocation": "867:9:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22485,
                  "src": "859:17:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22482,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "859:7:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "858:19:43"
            },
            "scope": 22500,
            "src": "639:239:43",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "9af8c4ba",
            "id": 22494,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "respond",
            "nameLocation": "893:7:43",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22492,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22487,
                  "mutability": "mutable",
                  "name": "requestId",
                  "nameLocation": "918:9:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22494,
                  "src": "910:17:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22486,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "910:7:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22489,
                  "mutability": "mutable",
                  "name": "responder",
                  "nameLocation": "945:9:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22494,
                  "src": "937:17:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22488,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "937:7:43",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22491,
                  "mutability": "mutable",
                  "name": "data",
                  "nameLocation": "979:4:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22494,
                  "src": "964:19:43",
                  "stateVariable": false,
                  "storageLocation": "calldata",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_calldata_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 22490,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "964:5:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "900:89:43"
            },
            "returnParameters": {
              "id": 22493,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "998:0:43"
            },
            "scope": 22500,
            "src": "884:115:43",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "functionSelector": "40e58ee5",
            "id": 22499,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "cancel",
            "nameLocation": "1014:6:43",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 22497,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22496,
                  "mutability": "mutable",
                  "name": "requestId",
                  "nameLocation": "1029:9:43",
                  "nodeType": "VariableDeclaration",
                  "scope": 22499,
                  "src": "1021:17:43",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22495,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1021:7:43",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "visibility": "internal"
                }
              ],
              "src": "1020:19:43"
            },
            "returnParameters": {
              "id": 22498,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1048:0:43"
            },
            "scope": 22500,
            "src": "1005:44:43",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 22501,
        "src": "63:989:43"
      }
    ],
    "src": "39:1014:43"
  },
  "bytecode": "",
  "bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
  "compiler": {
    "evm_version": "istanbul",
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "version": "0.8.2+commit.661d1103"
  },
  "contractName": "IQuery",
  "coverageMap": {
    "branches": {},
    "statements": {}
  },
  "dependencies": [],
  "deployedBytecode": "",
  "deployedSourceMap": "",
  "language": "Solidity",
  "natspec": {
    "kind": "dev",
    "methods": {},
    "version": 1
  },
  "offset": [
    63,
    1052
  ],
  "opcodes": "",
  "pcMap": {},
  "sha1": "22c96a323054cc6ba890d8a7821886580a1cb5e5",
  "source": "// SPDX-License-Identifier: Apache-2.0\npragma solidity 0.8.2;\n\ninterface IQuery {\n\n    struct OracleRequest {\n        bytes32 processId;\n        uint256 responsibleOracleId;\n        address callbackContractAddress;\n        string callbackMethodName;\n        bytes data;\n        uint256 createdAt;\n    }\n\n    event LogOracleRequested(\n        bytes32 processId,\n        uint256 requestId,\n        uint256 responsibleOracleId\n    );\n\n    event LogOracleResponded(\n        bytes32 processId,\n        uint256 requestId,\n        address responder,\n        bool success\n    );\n\n    event LogOracleCanceled(\n        uint256 requestId\n    );\n\n    function request(\n        bytes32 processId,\n        bytes calldata input,\n        string calldata callbackMethodName,\n        address callbackContractAddress,\n        uint256 responsibleOracleId\n    ) external returns (uint256 requestId);\n\n    function respond(\n        uint256 requestId,\n        address responder,\n        bytes calldata data\n    ) external;\n\n    function cancel(uint256 requestId) external;\n\n}\n",
  "sourceMap": "",
  "sourcePath": "/home/vscode/.brownie/packages/etherisc/gif-interface@3b0002a/contracts/modules/IQuery.sol",
  "type": "interface"
}