{
  "contractName": "AppStorage",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "kernel",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "appId",
      "outputs": [
        {
          "name": "",
          "type": "bytes32"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.4.24+commit.e67f0147\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"appId\",\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"kernel\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@aragon/os/contracts/apps/AppStorage.sol\":\"AppStorage\"},\"evmVersion\":\"byzantium\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":10000},\"remappings\":[]},\"sources\":{\"@aragon/os/contracts/acl/IACL.sol\":{\"keccak256\":\"0xe3492bc29d2482e65d2e39c96487b5388f6181f6bcdc6fe6329b8206b84c0cf1\",\"urls\":[\"bzzr://3af0b7e423c7ff4100a3b5868203ec169c866328f2d93d3b6a2111e916cdc411\"]},\"@aragon/os/contracts/apps/AppStorage.sol\":{\"keccak256\":\"0xb1c8eb71d1bdfe1241cc1714b280b46bbfc5bcb1e8499d42c24d3f5f5e8130f1\",\"urls\":[\"bzzr://503beec9e0e19834cb685a1d037eb9caaa412e3709d90bf6e53f51d143d58029\"]},\"@aragon/os/contracts/common/IVaultRecoverable.sol\":{\"keccak256\":\"0xd7cb66ee5d01be69a6abab04583cc86755bf63c2f1fd03b519a876162f52b323\",\"urls\":[\"bzzr://acb75e2637639bbc83b95032a822a54a588889f203b188e97cd78292cc0ee7f5\"]},\"@aragon/os/contracts/common/UnstructuredStorage.sol\":{\"keccak256\":\"0xe0d627fc7a7716409389f34cfe49366ba7871309d3a73262ec9608ef73e47591\",\"urls\":[\"bzzr://9742204494402cdecc66b266f0e420fcfe2677ba710db7651c40f96a63940bef\"]},\"@aragon/os/contracts/kernel/IKernel.sol\":{\"keccak256\":\"0xd02b98282ccd271b0caa86f2c249986f1619dcf41811f5dadce520b32610b68e\",\"urls\":[\"bzzr://e77000fc50cf4cfb160518af1cfb612e6cbbc06cb4357b1e03ff492fd17d8d2e\"]}},\"version\":1}",
  "bytecode": "0x608060405234801561001057600080fd5b5061013c806100206000396000f30060806040526004361061004b5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166380afdea88114610050578063d4aae0c414610077575b600080fd5b34801561005c57600080fd5b506100656100b5565b60408051918252519081900360200190f35b34801561008357600080fd5b5061008c6100e5565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b60006100e07fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b61010c565b905090565b60006100e07f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b5b54905600a165627a7a723058206ac29bb2aa600d684726783c282a13cd2109df87e1b2036799330b13bfd3deed0029",
  "deployedBytecode": "0x60806040526004361061004b5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166380afdea88114610050578063d4aae0c414610077575b600080fd5b34801561005c57600080fd5b506100656100b5565b60408051918252519081900360200190f35b34801561008357600080fd5b5061008c6100e5565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b60006100e07fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b61010c565b905090565b60006100e07f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b5b54905600a165627a7a723058206ac29bb2aa600d684726783c282a13cd2109df87e1b2036799330b13bfd3deed0029",
  "sourceMap": "148:982:20:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;148:982:20;;;;;;;",
  "deployedSourceMap": "148:982:20:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;796:106;;8:9:-1;5:2;;;30:1;27;20:12;5:2;796:106:20;;;;;;;;;;;;;;;;;;;;674:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;674:116:20;;;;;;;;;;;;;;;;;;;;;;;796:106;834:7;860:35;601:66;860:33;:35::i;:::-;853:42;;796:106;:::o;674:116::-;713:7;747:35;485:66;379:134:37;490:15;;480:27::o",
  "source": "/*\n * SPDX-License-Identitifer:    MIT\n */\n\npragma solidity ^0.4.24;\n\nimport \"../common/UnstructuredStorage.sol\";\nimport \"../kernel/IKernel.sol\";\n\n\ncontract AppStorage {\n    using UnstructuredStorage for bytes32;\n\n    /* Hardcoded constants to save gas\n    bytes32 internal constant KERNEL_POSITION = keccak256(\"aragonOS.appStorage.kernel\");\n    bytes32 internal constant APP_ID_POSITION = keccak256(\"aragonOS.appStorage.appId\");\n    */\n    bytes32 internal constant KERNEL_POSITION = 0x4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b;\n    bytes32 internal constant APP_ID_POSITION = 0xd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b;\n\n    function kernel() public view returns (IKernel) {\n        return IKernel(KERNEL_POSITION.getStorageAddress());\n    }\n\n    function appId() public view returns (bytes32) {\n        return APP_ID_POSITION.getStorageBytes32();\n    }\n\n    function setKernel(IKernel _kernel) internal {\n        KERNEL_POSITION.setStorageAddress(address(_kernel));\n    }\n\n    function setAppId(bytes32 _appId) internal {\n        APP_ID_POSITION.setStorageBytes32(_appId);\n    }\n}\n",
  "sourcePath": "@aragon/os/contracts/apps/AppStorage.sol",
  "ast": {
    "absolutePath": "@aragon/os/contracts/apps/AppStorage.sol",
    "exportedSymbols": {
      "AppStorage": [
        5996
      ]
    },
    "id": 5997,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 5936,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "44:24:20"
      },
      {
        "absolutePath": "@aragon/os/contracts/common/UnstructuredStorage.sol",
        "file": "../common/UnstructuredStorage.sol",
        "id": 5937,
        "nodeType": "ImportDirective",
        "scope": 5997,
        "sourceUnit": 6938,
        "src": "70:43:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/kernel/IKernel.sol",
        "file": "../kernel/IKernel.sol",
        "id": 5938,
        "nodeType": "ImportDirective",
        "scope": 5997,
        "sourceUnit": 8232,
        "src": "114:31:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 5996,
        "linearizedBaseContracts": [
          5996
        ],
        "name": "AppStorage",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 5941,
            "libraryName": {
              "contractScope": null,
              "id": 5939,
              "name": "UnstructuredStorage",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 6937,
              "src": "180:19:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UnstructuredStorage_$6937",
                "typeString": "library UnstructuredStorage"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "174:38:20",
            "typeName": {
              "id": 5940,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "204:7:20",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            }
          },
          {
            "constant": true,
            "id": 5944,
            "name": "KERNEL_POSITION",
            "nodeType": "VariableDeclaration",
            "scope": 5996,
            "src": "441:110:20",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 5942,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "441:7:20",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307834313732663066376432323839313533303732623061366361333639353965306362653265666333616665353066633831363336636161393633333831333762",
              "id": 5943,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "485:66:20",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_29603418823659377402517424791837662213071105721787245324259490738465228198779_by_1",
                "typeString": "int_const 2960...(69 digits omitted)...8779"
              },
              "value": "0x4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b"
            },
            "visibility": "internal"
          },
          {
            "constant": true,
            "id": 5947,
            "name": "APP_ID_POSITION",
            "nodeType": "VariableDeclaration",
            "scope": 5996,
            "src": "557:110:20",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 5945,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "557:7:20",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307864363235343936323137616136613334353365656362396333343839646335613533653663363762343434333239656132623263626339666635343736333962",
              "id": 5946,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "601:66:20",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_96860829410266183739968109275744835355652829419177135718944944339455505294235_by_1",
                "typeString": "int_const 9686...(69 digits omitted)...4235"
              },
              "value": "0xd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b"
            },
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5958,
              "nodeType": "Block",
              "src": "722:68:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "argumentTypes": null,
                            "id": 5953,
                            "name": "KERNEL_POSITION",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5944,
                            "src": "747:15:20",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          "id": 5954,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "getStorageAddress",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 6882,
                          "src": "747:33:20",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$bound_to$_t_bytes32_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 5955,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "747:35:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 5952,
                      "name": "IKernel",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8231,
                      "src": "739:7:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_IKernel_$8231_$",
                        "typeString": "type(contract IKernel)"
                      }
                    },
                    "id": 5956,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "739:44:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$8231",
                      "typeString": "contract IKernel"
                    }
                  },
                  "functionReturnParameters": 5951,
                  "id": 5957,
                  "nodeType": "Return",
                  "src": "732:51:20"
                }
              ]
            },
            "documentation": null,
            "id": 5959,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "kernel",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5948,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "689:2:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 5951,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5950,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5959,
                  "src": "713:7:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$8231",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5949,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 8231,
                    "src": "713:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$8231",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "712:9:20"
            },
            "scope": 5996,
            "src": "674:116:20",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5968,
              "nodeType": "Block",
              "src": "843:59:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5964,
                        "name": "APP_ID_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5947,
                        "src": "860:15:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 5965,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getStorageBytes32",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 6891,
                      "src": "860:33:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32) view returns (bytes32)"
                      }
                    },
                    "id": 5966,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "860:35:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 5963,
                  "id": 5967,
                  "nodeType": "Return",
                  "src": "853:42:20"
                }
              ]
            },
            "documentation": null,
            "id": 5969,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "appId",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5960,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "810:2:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 5963,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5962,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5969,
                  "src": "834:7:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5961,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "834:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "833:9:20"
            },
            "scope": 5996,
            "src": "796:106:20",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5982,
              "nodeType": "Block",
              "src": "953:68:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 5978,
                            "name": "_kernel",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5971,
                            "src": "1005:7:20",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IKernel_$8231",
                              "typeString": "contract IKernel"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IKernel_$8231",
                              "typeString": "contract IKernel"
                            }
                          ],
                          "id": 5977,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "997:7:20",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 5979,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "997:16:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5974,
                        "name": "KERNEL_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5944,
                        "src": "963:15:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 5976,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "setStorageAddress",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 6918,
                      "src": "963:33:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32,address)"
                      }
                    },
                    "id": 5980,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "963:51:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5981,
                  "nodeType": "ExpressionStatement",
                  "src": "963:51:20"
                }
              ]
            },
            "documentation": null,
            "id": 5983,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "setKernel",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5972,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5971,
                  "name": "_kernel",
                  "nodeType": "VariableDeclaration",
                  "scope": 5983,
                  "src": "927:15:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$8231",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5970,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 8231,
                    "src": "927:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$8231",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "926:17:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 5973,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "953:0:20"
            },
            "scope": 5996,
            "src": "908:113:20",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5994,
              "nodeType": "Block",
              "src": "1070:58:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5991,
                        "name": "_appId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5985,
                        "src": "1114:6:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5988,
                        "name": "APP_ID_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5947,
                        "src": "1080:15:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 5990,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "setStorageBytes32",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 6927,
                      "src": "1080:33:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32,bytes32)"
                      }
                    },
                    "id": 5992,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1080:41:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5993,
                  "nodeType": "ExpressionStatement",
                  "src": "1080:41:20"
                }
              ]
            },
            "documentation": null,
            "id": 5995,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "setAppId",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5986,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5985,
                  "name": "_appId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5995,
                  "src": "1045:14:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5984,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1045:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1044:16:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 5987,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1070:0:20"
            },
            "scope": 5996,
            "src": "1027:101:20",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 5997,
        "src": "148:982:20"
      }
    ],
    "src": "44:1087:20"
  },
  "legacyAST": {
    "absolutePath": "@aragon/os/contracts/apps/AppStorage.sol",
    "exportedSymbols": {
      "AppStorage": [
        5996
      ]
    },
    "id": 5997,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 5936,
        "literals": [
          "solidity",
          "^",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "44:24:20"
      },
      {
        "absolutePath": "@aragon/os/contracts/common/UnstructuredStorage.sol",
        "file": "../common/UnstructuredStorage.sol",
        "id": 5937,
        "nodeType": "ImportDirective",
        "scope": 5997,
        "sourceUnit": 6938,
        "src": "70:43:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/kernel/IKernel.sol",
        "file": "../kernel/IKernel.sol",
        "id": 5938,
        "nodeType": "ImportDirective",
        "scope": 5997,
        "sourceUnit": 8232,
        "src": "114:31:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 5996,
        "linearizedBaseContracts": [
          5996
        ],
        "name": "AppStorage",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 5941,
            "libraryName": {
              "contractScope": null,
              "id": 5939,
              "name": "UnstructuredStorage",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 6937,
              "src": "180:19:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UnstructuredStorage_$6937",
                "typeString": "library UnstructuredStorage"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "174:38:20",
            "typeName": {
              "id": 5940,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "204:7:20",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            }
          },
          {
            "constant": true,
            "id": 5944,
            "name": "KERNEL_POSITION",
            "nodeType": "VariableDeclaration",
            "scope": 5996,
            "src": "441:110:20",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 5942,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "441:7:20",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307834313732663066376432323839313533303732623061366361333639353965306362653265666333616665353066633831363336636161393633333831333762",
              "id": 5943,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "485:66:20",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_29603418823659377402517424791837662213071105721787245324259490738465228198779_by_1",
                "typeString": "int_const 2960...(69 digits omitted)...8779"
              },
              "value": "0x4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b"
            },
            "visibility": "internal"
          },
          {
            "constant": true,
            "id": 5947,
            "name": "APP_ID_POSITION",
            "nodeType": "VariableDeclaration",
            "scope": 5996,
            "src": "557:110:20",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 5945,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "557:7:20",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307864363235343936323137616136613334353365656362396333343839646335613533653663363762343434333239656132623263626339666635343736333962",
              "id": 5946,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "601:66:20",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_96860829410266183739968109275744835355652829419177135718944944339455505294235_by_1",
                "typeString": "int_const 9686...(69 digits omitted)...4235"
              },
              "value": "0xd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b"
            },
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5958,
              "nodeType": "Block",
              "src": "722:68:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "argumentTypes": null,
                            "id": 5953,
                            "name": "KERNEL_POSITION",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5944,
                            "src": "747:15:20",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          },
                          "id": 5954,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "getStorageAddress",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 6882,
                          "src": "747:33:20",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$bound_to$_t_bytes32_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 5955,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "747:35:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 5952,
                      "name": "IKernel",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8231,
                      "src": "739:7:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_contract$_IKernel_$8231_$",
                        "typeString": "type(contract IKernel)"
                      }
                    },
                    "id": 5956,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "739:44:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$8231",
                      "typeString": "contract IKernel"
                    }
                  },
                  "functionReturnParameters": 5951,
                  "id": 5957,
                  "nodeType": "Return",
                  "src": "732:51:20"
                }
              ]
            },
            "documentation": null,
            "id": 5959,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "kernel",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5948,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "689:2:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 5951,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5950,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5959,
                  "src": "713:7:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$8231",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5949,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 8231,
                    "src": "713:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$8231",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "712:9:20"
            },
            "scope": 5996,
            "src": "674:116:20",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5968,
              "nodeType": "Block",
              "src": "843:59:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5964,
                        "name": "APP_ID_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5947,
                        "src": "860:15:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 5965,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getStorageBytes32",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 6891,
                      "src": "860:33:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32) view returns (bytes32)"
                      }
                    },
                    "id": 5966,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "860:35:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "functionReturnParameters": 5963,
                  "id": 5967,
                  "nodeType": "Return",
                  "src": "853:42:20"
                }
              ]
            },
            "documentation": null,
            "id": 5969,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "appId",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5960,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "810:2:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 5963,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5962,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 5969,
                  "src": "834:7:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5961,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "834:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "833:9:20"
            },
            "scope": 5996,
            "src": "796:106:20",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 5982,
              "nodeType": "Block",
              "src": "953:68:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 5978,
                            "name": "_kernel",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 5971,
                            "src": "1005:7:20",
                            "typeDescriptions": {
                              "typeIdentifier": "t_contract$_IKernel_$8231",
                              "typeString": "contract IKernel"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_contract$_IKernel_$8231",
                              "typeString": "contract IKernel"
                            }
                          ],
                          "id": 5977,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": true,
                          "lValueRequested": false,
                          "nodeType": "ElementaryTypeNameExpression",
                          "src": "997:7:20",
                          "typeDescriptions": {
                            "typeIdentifier": "t_type$_t_address_$",
                            "typeString": "type(address)"
                          },
                          "typeName": "address"
                        },
                        "id": 5979,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "typeConversion",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "997:16:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5974,
                        "name": "KERNEL_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5944,
                        "src": "963:15:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 5976,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "setStorageAddress",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 6918,
                      "src": "963:33:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32,address)"
                      }
                    },
                    "id": 5980,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "963:51:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5981,
                  "nodeType": "ExpressionStatement",
                  "src": "963:51:20"
                }
              ]
            },
            "documentation": null,
            "id": 5983,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "setKernel",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5972,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5971,
                  "name": "_kernel",
                  "nodeType": "VariableDeclaration",
                  "scope": 5983,
                  "src": "927:15:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$8231",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 5970,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 8231,
                    "src": "927:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$8231",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "926:17:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 5973,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "953:0:20"
            },
            "scope": 5996,
            "src": "908:113:20",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 5994,
              "nodeType": "Block",
              "src": "1070:58:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 5991,
                        "name": "_appId",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5985,
                        "src": "1114:6:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 5988,
                        "name": "APP_ID_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 5947,
                        "src": "1080:15:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 5990,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "setStorageBytes32",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 6927,
                      "src": "1080:33:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32,bytes32)"
                      }
                    },
                    "id": 5992,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1080:41:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 5993,
                  "nodeType": "ExpressionStatement",
                  "src": "1080:41:20"
                }
              ]
            },
            "documentation": null,
            "id": 5995,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "setAppId",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 5986,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 5985,
                  "name": "_appId",
                  "nodeType": "VariableDeclaration",
                  "scope": 5995,
                  "src": "1045:14:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 5984,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "1045:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1044:16:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 5987,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1070:0:20"
            },
            "scope": 5996,
            "src": "1027:101:20",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 5997,
        "src": "148:982:20"
      }
    ],
    "src": "44:1087:20"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.0",
  "updatedAt": "2020-06-07T23:27:00.565Z",
  "devdoc": {
    "methods": {}
  },
  "userdoc": {
    "methods": {}
  }
}