{
  "contractName": "IDataRegistry",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "setId",
          "type": "bytes32"
        }
      ],
      "name": "isRegistered",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "setId",
          "type": "bytes32"
        }
      ],
      "name": "getLastUpdatedTimestamp",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "setId",
          "type": "bytes32"
        }
      ],
      "name": "getDataProvider",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "setId",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "provider",
          "type": "address"
        }
      ],
      "name": "setDataProvider",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "setId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "timestamp",
          "type": "uint256"
        },
        {
          "internalType": "int256",
          "name": "dataPoint",
          "type": "int256"
        }
      ],
      "name": "publishDataPoint",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "setId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "timestamp",
          "type": "uint256"
        }
      ],
      "name": "getDataPoint",
      "outputs": [
        {
          "internalType": "int256",
          "name": "",
          "type": "int256"
        },
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.6.11+commit.5ef660b1\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"setId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getDataPoint\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"},{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"setId\",\"type\":\"bytes32\"}],\"name\":\"getDataProvider\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"setId\",\"type\":\"bytes32\"}],\"name\":\"getLastUpdatedTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"setId\",\"type\":\"bytes32\"}],\"name\":\"isRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"setId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"int256\",\"name\":\"dataPoint\",\"type\":\"int256\"}],\"name\":\"publishDataPoint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"setId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"}],\"name\":\"setDataProvider\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/Core/Base/DataRegistry/IDataRegistry.sol\":\"IDataRegistry\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/Core/Base/DataRegistry/DataRegistryStorage.sol\":{\"keccak256\":\"0xb33c89925a9e7c267d96d1461fce5839c6cef7f0365bf62a507a839b9cd925e7\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7ea1957775722da928f53d4263162ebb94ffb5148d6e75dd815a2906a62e1e46\",\"dweb:/ipfs/QmXTRFKAC24PR9pqfHW2W73jsHaFqXdjjahqPJjKpZSLRk\"]},\"/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/Core/Base/DataRegistry/IDataRegistry.sol\":{\"keccak256\":\"0x303e7925666252d8394929acfd8d32013b2225b202bb2fb873a4b9a257d324db\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://982d93073ffd66715b02953f989744ac3acc9556c9b41cf522914ec0e552b7b0\",\"dweb:/ipfs/QmdNoYVj3yQfkWGXNcueKmQgDs6kVyPvNzGduJvQscxAoR\"]}},\"version\":1}",
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "immutableReferences": {},
  "sourceMap": "",
  "deployedSourceMap": "",
  "source": "// \"SPDX-License-Identifier: Apache-2.0\"\npragma solidity ^0.6.11;\npragma experimental ABIEncoderV2;\n\nimport \"./DataRegistryStorage.sol\";\n\n\ninterface IDataRegistry {\n\n    function isRegistered(bytes32 setId)\n        external\n        view\n        returns (bool);\n\n    function getLastUpdatedTimestamp(bytes32 setId)\n        external\n        view\n        returns (uint256);\n\n    function getDataProvider(bytes32 setId)\n        external\n        view\n        returns (address);\n\n    function setDataProvider(\n        bytes32 setId,\n        address provider\n    )\n        external;\n\n    function publishDataPoint(\n        bytes32 setId,\n        uint256 timestamp,\n        int256 dataPoint\n    )\n        external;\n\n    function getDataPoint(\n        bytes32 setId,\n        uint256 timestamp\n    )\n        external\n        view\n        returns (int256, bool);\n}\n",
  "sourcePath": "/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/Core/Base/DataRegistry/IDataRegistry.sol",
  "ast": {
    "absolutePath": "/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/Core/Base/DataRegistry/IDataRegistry.sol",
    "exportedSymbols": {
      "IDataRegistry": [
        7766
      ]
    },
    "id": 7767,
    "license": "Apache-2.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 7715,
        "literals": [
          "solidity",
          "^",
          "0.6",
          ".11"
        ],
        "nodeType": "PragmaDirective",
        "src": "41:24:27"
      },
      {
        "id": 7716,
        "literals": [
          "experimental",
          "ABIEncoderV2"
        ],
        "nodeType": "PragmaDirective",
        "src": "66:33:27"
      },
      {
        "absolutePath": "/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/Core/Base/DataRegistry/DataRegistryStorage.sol",
        "file": "./DataRegistryStorage.sol",
        "id": 7717,
        "nodeType": "ImportDirective",
        "scope": 7767,
        "sourceUnit": 7714,
        "src": "101:35:27",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": null,
        "fullyImplemented": false,
        "id": 7766,
        "linearizedBaseContracts": [
          7766
        ],
        "name": "IDataRegistry",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": null,
            "documentation": null,
            "functionSelector": "27258b22",
            "id": 7724,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "isRegistered",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7720,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7719,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7724,
                  "src": "192:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7718,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "192:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "191:15:27"
            },
            "returnParameters": {
              "id": 7723,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7722,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7724,
                  "src": "254:4:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 7721,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "254:4:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "253:6:27"
            },
            "scope": 7766,
            "src": "170:90:27",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "816a7e01",
            "id": 7731,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getLastUpdatedTimestamp",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7727,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7726,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7731,
                  "src": "299:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7725,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "299:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "298:15:27"
            },
            "returnParameters": {
              "id": 7730,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7729,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7731,
                  "src": "361:7:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 7728,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "361:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "360:9:27"
            },
            "scope": 7766,
            "src": "266:104:27",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "ecef34f2",
            "id": 7738,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getDataProvider",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7734,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7733,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7738,
                  "src": "401:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7732,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "401:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "400:15:27"
            },
            "returnParameters": {
              "id": 7737,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7736,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7738,
                  "src": "463:7:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7735,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "463:7:27",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "462:9:27"
            },
            "scope": 7766,
            "src": "376:96:27",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "af378978",
            "id": 7745,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setDataProvider",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7743,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7740,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7745,
                  "src": "512:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7739,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "512:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7742,
                  "mutability": "mutable",
                  "name": "provider",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7745,
                  "src": "535:16:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7741,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "535:7:27",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "502:55:27"
            },
            "returnParameters": {
              "id": 7744,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "574:0:27"
            },
            "scope": 7766,
            "src": "478:97:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "d38db86d",
            "id": 7754,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "publishDataPoint",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7752,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7747,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7754,
                  "src": "616:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7746,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "616:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7749,
                  "mutability": "mutable",
                  "name": "timestamp",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7754,
                  "src": "639:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 7748,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "639:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7751,
                  "mutability": "mutable",
                  "name": "dataPoint",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7754,
                  "src": "666:16:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 7750,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "666:6:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "606:82:27"
            },
            "returnParameters": {
              "id": 7753,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "705:0:27"
            },
            "scope": 7766,
            "src": "581:125:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "08a4ec10",
            "id": 7765,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getDataPoint",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7759,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7756,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7765,
                  "src": "743:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7755,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "743:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7758,
                  "mutability": "mutable",
                  "name": "timestamp",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7765,
                  "src": "766:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 7757,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "766:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "733:56:27"
            },
            "returnParameters": {
              "id": 7764,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7761,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7765,
                  "src": "837:6:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 7760,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "837:6:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7763,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7765,
                  "src": "845:4:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 7762,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "845:4:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "836:14:27"
            },
            "scope": 7766,
            "src": "712:139:27",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 7767,
        "src": "139:714:27"
      }
    ],
    "src": "41:813:27"
  },
  "legacyAST": {
    "absolutePath": "/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/Core/Base/DataRegistry/IDataRegistry.sol",
    "exportedSymbols": {
      "IDataRegistry": [
        7766
      ]
    },
    "id": 7767,
    "license": "Apache-2.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 7715,
        "literals": [
          "solidity",
          "^",
          "0.6",
          ".11"
        ],
        "nodeType": "PragmaDirective",
        "src": "41:24:27"
      },
      {
        "id": 7716,
        "literals": [
          "experimental",
          "ABIEncoderV2"
        ],
        "nodeType": "PragmaDirective",
        "src": "66:33:27"
      },
      {
        "absolutePath": "/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/Core/Base/DataRegistry/DataRegistryStorage.sol",
        "file": "./DataRegistryStorage.sol",
        "id": 7717,
        "nodeType": "ImportDirective",
        "scope": 7767,
        "sourceUnit": 7714,
        "src": "101:35:27",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "interface",
        "documentation": null,
        "fullyImplemented": false,
        "id": 7766,
        "linearizedBaseContracts": [
          7766
        ],
        "name": "IDataRegistry",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": null,
            "documentation": null,
            "functionSelector": "27258b22",
            "id": 7724,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "isRegistered",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7720,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7719,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7724,
                  "src": "192:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7718,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "192:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "191:15:27"
            },
            "returnParameters": {
              "id": 7723,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7722,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7724,
                  "src": "254:4:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 7721,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "254:4:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "253:6:27"
            },
            "scope": 7766,
            "src": "170:90:27",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "816a7e01",
            "id": 7731,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getLastUpdatedTimestamp",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7727,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7726,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7731,
                  "src": "299:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7725,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "299:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "298:15:27"
            },
            "returnParameters": {
              "id": 7730,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7729,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7731,
                  "src": "361:7:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 7728,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "361:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "360:9:27"
            },
            "scope": 7766,
            "src": "266:104:27",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "ecef34f2",
            "id": 7738,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getDataProvider",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7734,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7733,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7738,
                  "src": "401:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7732,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "401:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "400:15:27"
            },
            "returnParameters": {
              "id": 7737,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7736,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7738,
                  "src": "463:7:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7735,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "463:7:27",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "462:9:27"
            },
            "scope": 7766,
            "src": "376:96:27",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "af378978",
            "id": 7745,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "setDataProvider",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7743,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7740,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7745,
                  "src": "512:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7739,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "512:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7742,
                  "mutability": "mutable",
                  "name": "provider",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7745,
                  "src": "535:16:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 7741,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "535:7:27",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "502:55:27"
            },
            "returnParameters": {
              "id": 7744,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "574:0:27"
            },
            "scope": 7766,
            "src": "478:97:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "d38db86d",
            "id": 7754,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "publishDataPoint",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7752,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7747,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7754,
                  "src": "616:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7746,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "616:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7749,
                  "mutability": "mutable",
                  "name": "timestamp",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7754,
                  "src": "639:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 7748,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "639:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7751,
                  "mutability": "mutable",
                  "name": "dataPoint",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7754,
                  "src": "666:16:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 7750,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "666:6:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "606:82:27"
            },
            "returnParameters": {
              "id": 7753,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "705:0:27"
            },
            "scope": 7766,
            "src": "581:125:27",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "external"
          },
          {
            "body": null,
            "documentation": null,
            "functionSelector": "08a4ec10",
            "id": 7765,
            "implemented": false,
            "kind": "function",
            "modifiers": [],
            "name": "getDataPoint",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 7759,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7756,
                  "mutability": "mutable",
                  "name": "setId",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7765,
                  "src": "743:13:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 7755,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "743:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7758,
                  "mutability": "mutable",
                  "name": "timestamp",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7765,
                  "src": "766:17:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 7757,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "766:7:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "733:56:27"
            },
            "returnParameters": {
              "id": 7764,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 7761,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7765,
                  "src": "837:6:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_int256",
                    "typeString": "int256"
                  },
                  "typeName": {
                    "id": 7760,
                    "name": "int256",
                    "nodeType": "ElementaryTypeName",
                    "src": "837:6:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_int256",
                      "typeString": "int256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 7763,
                  "mutability": "mutable",
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 7765,
                  "src": "845:4:27",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bool",
                    "typeString": "bool"
                  },
                  "typeName": {
                    "id": 7762,
                    "name": "bool",
                    "nodeType": "ElementaryTypeName",
                    "src": "845:4:27",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bool",
                      "typeString": "bool"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "836:14:27"
            },
            "scope": 7766,
            "src": "712:139:27",
            "stateMutability": "view",
            "virtual": false,
            "visibility": "external"
          }
        ],
        "scope": 7767,
        "src": "139:714:27"
      }
    ],
    "src": "41:813:27"
  },
  "compiler": {
    "name": "solc",
    "version": "0.6.11+commit.5ef660b1.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.0",
  "updatedAt": "2020-08-12T09:47:17.759Z",
  "devdoc": {
    "kind": "dev",
    "methods": {},
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "version": 1
  }
}