{
  "contractName": "AppProxyUpgradeable",
  "abi": [
    {
      "constant": true,
      "inputs": [],
      "name": "isDepositable",
      "outputs": [
        {
          "name": "",
          "type": "bool"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "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"
    },
    {
      "inputs": [
        {
          "name": "_kernel",
          "type": "address"
        },
        {
          "name": "_appId",
          "type": "bytes32"
        },
        {
          "name": "_initializePayload",
          "type": "bytes"
        }
      ],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "payable": true,
      "stateMutability": "payable",
      "type": "fallback"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "name": "sender",
          "type": "address"
        },
        {
          "indexed": false,
          "name": "value",
          "type": "uint256"
        }
      ],
      "name": "ProxyDeposit",
      "type": "event"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "implementation",
      "outputs": [
        {
          "name": "",
          "type": "address"
        }
      ],
      "payable": false,
      "stateMutability": "view",
      "type": "function"
    },
    {
      "constant": true,
      "inputs": [],
      "name": "proxyType",
      "outputs": [
        {
          "name": "proxyTypeId",
          "type": "uint256"
        }
      ],
      "payable": false,
      "stateMutability": "pure",
      "type": "function"
    }
  ],
  "bytecode": "0x608060405234801561001057600080fd5b506040516106ed3803806106ed8339810160409081528151602083015191830151909201828282600061004b84640100000000610124810204565b61005d8364010000000061014c810204565b61006f83640100000000610183810204565b90506000825111156101185761008d81640100000000610253810204565b151561009857600080fd5b80600160a060020a03168260405180828051906020019080838360005b838110156100cd5781810151838201526020016100b5565b50505050905090810190601f1680156100fa5780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af4915050151561011857600080fd5b505050505050506102b3565b6101496000805160206106cd833981519152826401000000006103d761028082021704565b50565b6101497fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b826401000000006103d761028082021704565b6000610196640100000000610284810204565b604080517fbe00bbd80000000000000000000000000000000000000000000000000000000081527ff1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f6004820152602481018590529051600160a060020a03929092169163be00bbd8916044808201926020929091908290030181600087803b15801561022157600080fd5b505af1158015610235573d6000803e3d6000fd5b505050506040513d602081101561024b57600080fd5b505192915050565b600080600160a060020a038316151561026f576000915061027a565b823b90506000811191505b50919050565b9055565b60006102aa6000805160206106cd8339815191526401000000006103cf6102af82021704565b905090565b5490565b61040b806102c26000396000f30060806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634555d5c9811461012b57806348a0c8dd146101525780635c60da1b1461017b57806380afdea8146101b9578063d4aae0c4146101ce575b6127107f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea6000825a10156100e15760003411361583541616156100dc576040513381523460208201527f15eeaa57c7bd188c1388020bcadc2c436ec60d647d36ef5b9eb3c742217ddee1604082a1005b600080fd5b6100e96101e3565b9050610126816000368080601f016020809104026020016040519081016040528093929190818152602001838380828437506101fa945050505050565b505050005b34801561013757600080fd5b5061014061023b565b60408051918252519081900360200190f35b34801561015e57600080fd5b50610167610240565b604080519115158252519081900360200190f35b34801561018757600080fd5b506101906101e3565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101c557600080fd5b5061014061026b565b3480156101da57600080fd5b50610190610296565b60006101f56101f061026b565b6102c1565b905090565b600061020583610395565b151561021057600080fd5b612710905060008083516020850186855a03f43d604051816000823e828015610237578282f35b8282fd5b600290565b60006101f57f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea6103cf565b60006101f57fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b6103cf565b60006101f57f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b6103cf565b60006102cb610296565b604080517fbe00bbd80000000000000000000000000000000000000000000000000000000081527ff1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f600482015260248101859052905173ffffffffffffffffffffffffffffffffffffffff929092169163be00bbd8916044808201926020929091908290030181600087803b15801561036357600080fd5b505af1158015610377573d6000803e3d6000fd5b505050506040513d602081101561038d57600080fd5b505192915050565b60008073ffffffffffffffffffffffffffffffffffffffff831615156103be57600091506103c9565b823b90506000811191505b50919050565b5490565b5490565b9055565b90555600a165627a7a7230582037fda6007dae017dcd94ca2548a6ac816a59129ff8c0a1770a132538939f53c200294172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b",
  "deployedBytecode": "0x60806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634555d5c9811461012b57806348a0c8dd146101525780635c60da1b1461017b57806380afdea8146101b9578063d4aae0c4146101ce575b6127107f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea6000825a10156100e15760003411361583541616156100dc576040513381523460208201527f15eeaa57c7bd188c1388020bcadc2c436ec60d647d36ef5b9eb3c742217ddee1604082a1005b600080fd5b6100e96101e3565b9050610126816000368080601f016020809104026020016040519081016040528093929190818152602001838380828437506101fa945050505050565b505050005b34801561013757600080fd5b5061014061023b565b60408051918252519081900360200190f35b34801561015e57600080fd5b50610167610240565b604080519115158252519081900360200190f35b34801561018757600080fd5b506101906101e3565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101c557600080fd5b5061014061026b565b3480156101da57600080fd5b50610190610296565b60006101f56101f061026b565b6102c1565b905090565b600061020583610395565b151561021057600080fd5b612710905060008083516020850186855a03f43d604051816000823e828015610237578282f35b8282fd5b600290565b60006101f57f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea6103cf565b60006101f57fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b6103cf565b60006101f57f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b6103cf565b60006102cb610296565b604080517fbe00bbd80000000000000000000000000000000000000000000000000000000081527ff1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f600482015260248101859052905173ffffffffffffffffffffffffffffffffffffffff929092169163be00bbd8916044808201926020929091908290030181600087803b15801561036357600080fd5b505af1158015610377573d6000803e3d6000fd5b505050506040513d602081101561038d57600080fd5b505192915050565b60008073ffffffffffffffffffffffffffffffffffffffff831615156103be57600091506103c9565b823b90506000811191505b50919050565b5490565b5490565b9055565b90555600a165627a7a7230582037fda6007dae017dcd94ca2548a6ac816a59129ff8c0a1770a132538939f53c20029",
  "sourceMap": "56:975:21:-;;;392:251;8:9:-1;5:2;;;30:1;27;20:12;5:2;392:251:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;922:15:19;594:18;392:251:21;594:9:19;;;;:18;:::i;:::-;622:16;631:6;622:8;;;;:16;:::i;:::-;940:18;951:6;940:10;;;;:18;:::i;:::-;922:36;;1067:1;1039:18;:25;:29;1035:307;;;1092:19;1103:7;1092:10;;;;:19;:::i;:::-;1084:28;;;;;;;;1290:7;-1:-1:-1;;;;;1290:20:19;1311:18;1290:40;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1290:40:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1282:49;;;;;;;;506:842;;;;392:251:21;;;56:975;;908:113:22;963:51;-1:-1:-1;;;;;;;;;;;1005:7:22;963:33;;;;;;:51;:::i;:::-;908:113;:::o;1027:101::-;1080:41;601:66;1114:6;1080:33;;;;;;:41;:::i;1354:143:19:-;1413:7;1439:8;:6;;;;:8;:::i;:::-;:51;;;;;;1242:66:53;1439:51:19;;;;;;;;;;;;-1:-1:-1;;;;;1439:15:19;;;;;;;:51;;;;;;;;;;;;;;;;:15;:51;;;5:2:-1;;;;30:1;27;20:12;5:2;1439:51:19;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1439:51:19;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1439:51:19;;1354:143;-1:-1:-1;;1354:143:19:o;426:244:33:-;486:4;;-1:-1:-1;;;;;506:21:33;;;502:64;;;550:5;543:12;;;;502:64;629:7;617:20;609:28;;662:1;655:4;:8;648:15;;426:244;;;;;:::o;778:119:39:-;867:22;;865:26::o;674:116:22:-;713:7;747:35;-1:-1:-1;;;;;;;;;;;747:33:22;;;;;;:35;:::i;:::-;732:51;;674:116;:::o;239:134:39:-;350:15;;340:27::o;56:975:21:-;;;;;;;",
  "deployedSourceMap": "56:975:21:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;192:5:26;250:66:28;264:27:27;192:5:26;819:3:27;816:28;813:2;;;1139:1;1128:9;1125:16;1109:12;1102:20;1078:21;1072:28;1068:55;1064:78;1061:2;;;1324:4;1318:11;1389:6;1380:7;1373:23;1500:9;1493:4;1484:7;1480:18;1473:37;1742:66;1736:4;1727:7;1722:87;1831:6;1061:2;2035:1;2032;2025:12;813:2;2088:16;:14;:16::i;:::-;2071:33;;2114:30;2127:6;2135:8;;2114:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2114:12:27;;-1:-1:-1;;;;;2114:30:27:i;:::-;225:1926;;;56:975:21;931:98;;8:9:-1;5:2;;;30:1;27;20:12;5:2;931:98:21;;;;;;;;;;;;;;;;;;;;323:113:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;323:113:28;;;;;;;;;;;;;;;;;;;;;;731:99:21;;8:9:-1;5:2;;;30:1;27;20:12;5:2;731:99:21;;;;;;;;;;;;;;;;;;;;;;;796:106:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;796:106:22;;;;674:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;674:116:22;;;;731:99:21;778:7;804:19;815:7;:5;:7::i;:::-;804:10;:19::i;:::-;797:26;;731:99;:::o;460:679:26:-;567:19;540:16;551:4;540:10;:16::i;:::-;532:25;;;;;;;;192:5;567:35;;735:1;732;720:9;714:16;707:4;696:9;692:20;686:4;672:11;667:3;663:21;650:87;762:14;806:4;800:11;847:4;844:1;839:3;824:28;1046:6;1053:28;;;;1116:4;1111:3;1104:17;1053:28;1074:4;1069:3;1062:17;931:98:21;181:1:61;931:98:21;:::o;323:113:28:-;369:4;392:37;250:66;392:35;:37::i;796:106:22:-;834:7;860:35;601:66;860:33;:35::i;674:116::-;713:7;747:35;485:66;747:33;:35::i;1354:143:19:-;1413:7;1439:8;:6;:8::i;:::-;:51;;;;;;1242:66:53;1439:51:19;;;;;;;;;;;;:15;;;;;;;;:51;;;;;;;;;;;;;;;;:15;:51;;;5:2:-1;;;;30:1;27;20:12;5:2;1439:51:19;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1439:51:19;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1439:51:19;;1354:143;-1:-1:-1;;1354:143:19:o;426:244:33:-;486:4;;506:21;;;;502:64;;;550:5;543:12;;;;502:64;629:7;617:20;609:28;;662:1;655:4;:8;648:15;;426:244;;;;;:::o;105:128:39:-;210:15;;200:27::o;778:119::-;867:22;;865:26::o",
  "source": "pragma solidity 0.4.24;\n\nimport \"./AppProxyBase.sol\";\n\n\ncontract AppProxyUpgradeable is AppProxyBase {\n    /**\n    * @dev Initialize AppProxyUpgradeable (makes it an upgradeable Aragon app)\n    * @param _kernel Reference to organization kernel for the app\n    * @param _appId Identifier for app\n    * @param _initializePayload Payload for call to be made after setup to initialize\n    */\n    constructor(IKernel _kernel, bytes32 _appId, bytes _initializePayload)\n        AppProxyBase(_kernel, _appId, _initializePayload)\n        public // solium-disable-line visibility-first\n    {\n        // solium-disable-previous-line no-empty-blocks\n    }\n\n    /**\n     * @dev ERC897, the address the proxy would delegate calls to\n     */\n    function implementation() public view returns (address) {\n        return getAppBase(appId());\n    }\n\n    /**\n     * @dev ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy\n     */\n    function proxyType() public pure returns (uint256 proxyTypeId) {\n        return UPGRADEABLE;\n    }\n}\n",
  "sourcePath": "@aragon/os/contracts/apps/AppProxyUpgradeable.sol",
  "ast": {
    "absolutePath": "@aragon/os/contracts/apps/AppProxyUpgradeable.sol",
    "exportedSymbols": {
      "AppProxyUpgradeable": [
        10303
      ]
    },
    "id": 10304,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 10265,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:21"
      },
      {
        "absolutePath": "@aragon/os/contracts/apps/AppProxyBase.sol",
        "file": "./AppProxyBase.sol",
        "id": 10266,
        "nodeType": "ImportDirective",
        "scope": 10304,
        "sourceUnit": 10181,
        "src": "25:28:21",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10267,
              "name": "AppProxyBase",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 10180,
              "src": "88:12:21",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AppProxyBase_$10180",
                "typeString": "contract AppProxyBase"
              }
            },
            "id": 10268,
            "nodeType": "InheritanceSpecifier",
            "src": "88:12:21"
          }
        ],
        "contractDependencies": [
          10180,
          10365,
          10583,
          10622,
          10654,
          10838,
          13114,
          14225
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 10303,
        "linearizedBaseContracts": [
          10303,
          10180,
          13114,
          10622,
          10583,
          10838,
          14225,
          10654,
          10365
        ],
        "name": "AppProxyUpgradeable",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 10282,
              "nodeType": "Block",
              "src": "580:63:21",
              "statements": []
            },
            "documentation": "@dev Initialize AppProxyUpgradeable (makes it an upgradeable Aragon app)\n@param _kernel Reference to organization kernel for the app\n@param _appId Identifier for app\n@param _initializePayload Payload for call to be made after setup to initialize",
            "id": 10283,
            "implemented": true,
            "isConstructor": true,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 10277,
                    "name": "_kernel",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10270,
                    "src": "484:7:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$12600",
                      "typeString": "contract IKernel"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 10278,
                    "name": "_appId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10272,
                    "src": "493:6:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 10279,
                    "name": "_initializePayload",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10274,
                    "src": "501:18:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory_ptr",
                      "typeString": "bytes memory"
                    }
                  }
                ],
                "id": 10280,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 10276,
                  "name": "AppProxyBase",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10180,
                  "src": "471:12:21",
                  "typeDescriptions": {
                    "typeIdentifier": "t_type$_t_contract$_AppProxyBase_$10180_$",
                    "typeString": "type(contract AppProxyBase)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "471:49:21"
              }
            ],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10275,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10270,
                  "name": "_kernel",
                  "nodeType": "VariableDeclaration",
                  "scope": 10283,
                  "src": "404:15:21",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$12600",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10269,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12600,
                    "src": "404:7:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$12600",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10272,
                  "name": "_appId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10283,
                  "src": "421:14:21",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10271,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "421:7:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10274,
                  "name": "_initializePayload",
                  "nodeType": "VariableDeclaration",
                  "scope": 10283,
                  "src": "437:24:21",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 10273,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "437:5:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "403:59:21"
            },
            "payable": false,
            "returnParameters": {
              "id": 10281,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "580:0:21"
            },
            "scope": 10303,
            "src": "392:251:21",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10293,
              "nodeType": "Block",
              "src": "787:43:21",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "id": 10289,
                          "name": "appId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10338,
                          "src": "815:5:21",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$",
                            "typeString": "function () view returns (bytes32)"
                          }
                        },
                        "id": 10290,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "815:7:21",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 10288,
                      "name": "getAppBase",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10179,
                      "src": "804:10:21",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                        "typeString": "function (bytes32) view returns (address)"
                      }
                    },
                    "id": 10291,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "804:19:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 10287,
                  "id": 10292,
                  "nodeType": "Return",
                  "src": "797:26:21"
                }
              ]
            },
            "documentation": "@dev ERC897, the address the proxy would delegate calls to",
            "id": 10294,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "implementation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10284,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "754:2:21"
            },
            "payable": false,
            "returnParameters": {
              "id": 10287,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10286,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10294,
                  "src": "778:7:21",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10285,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "778:7:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "777:9:21"
            },
            "scope": 10303,
            "src": "731:99:21",
            "stateMutability": "view",
            "superFunction": 14224,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10301,
              "nodeType": "Block",
              "src": "994:35:21",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10299,
                    "name": "UPGRADEABLE",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 14214,
                    "src": "1011:11:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10298,
                  "id": 10300,
                  "nodeType": "Return",
                  "src": "1004:18:21"
                }
              ]
            },
            "documentation": "@dev ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy",
            "id": 10302,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "proxyType",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10295,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "949:2:21"
            },
            "payable": false,
            "returnParameters": {
              "id": 10298,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10297,
                  "name": "proxyTypeId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10302,
                  "src": "973:19:21",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10296,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "973:7:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "972:21:21"
            },
            "scope": 10303,
            "src": "931:98:21",
            "stateMutability": "pure",
            "superFunction": 14219,
            "visibility": "public"
          }
        ],
        "scope": 10304,
        "src": "56:975:21"
      }
    ],
    "src": "0:1032:21"
  },
  "legacyAST": {
    "absolutePath": "@aragon/os/contracts/apps/AppProxyUpgradeable.sol",
    "exportedSymbols": {
      "AppProxyUpgradeable": [
        10303
      ]
    },
    "id": 10304,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 10265,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:21"
      },
      {
        "absolutePath": "@aragon/os/contracts/apps/AppProxyBase.sol",
        "file": "./AppProxyBase.sol",
        "id": 10266,
        "nodeType": "ImportDirective",
        "scope": 10304,
        "sourceUnit": 10181,
        "src": "25:28:21",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10267,
              "name": "AppProxyBase",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 10180,
              "src": "88:12:21",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AppProxyBase_$10180",
                "typeString": "contract AppProxyBase"
              }
            },
            "id": 10268,
            "nodeType": "InheritanceSpecifier",
            "src": "88:12:21"
          }
        ],
        "contractDependencies": [
          10180,
          10365,
          10583,
          10622,
          10654,
          10838,
          13114,
          14225
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 10303,
        "linearizedBaseContracts": [
          10303,
          10180,
          13114,
          10622,
          10583,
          10838,
          14225,
          10654,
          10365
        ],
        "name": "AppProxyUpgradeable",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 10282,
              "nodeType": "Block",
              "src": "580:63:21",
              "statements": []
            },
            "documentation": "@dev Initialize AppProxyUpgradeable (makes it an upgradeable Aragon app)\n@param _kernel Reference to organization kernel for the app\n@param _appId Identifier for app\n@param _initializePayload Payload for call to be made after setup to initialize",
            "id": 10283,
            "implemented": true,
            "isConstructor": true,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 10277,
                    "name": "_kernel",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10270,
                    "src": "484:7:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$12600",
                      "typeString": "contract IKernel"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 10278,
                    "name": "_appId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10272,
                    "src": "493:6:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 10279,
                    "name": "_initializePayload",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10274,
                    "src": "501:18:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory_ptr",
                      "typeString": "bytes memory"
                    }
                  }
                ],
                "id": 10280,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 10276,
                  "name": "AppProxyBase",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10180,
                  "src": "471:12:21",
                  "typeDescriptions": {
                    "typeIdentifier": "t_type$_t_contract$_AppProxyBase_$10180_$",
                    "typeString": "type(contract AppProxyBase)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "471:49:21"
              }
            ],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10275,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10270,
                  "name": "_kernel",
                  "nodeType": "VariableDeclaration",
                  "scope": 10283,
                  "src": "404:15:21",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$12600",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10269,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12600,
                    "src": "404:7:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$12600",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10272,
                  "name": "_appId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10283,
                  "src": "421:14:21",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10271,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "421:7:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10274,
                  "name": "_initializePayload",
                  "nodeType": "VariableDeclaration",
                  "scope": 10283,
                  "src": "437:24:21",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 10273,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "437:5:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "403:59:21"
            },
            "payable": false,
            "returnParameters": {
              "id": 10281,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "580:0:21"
            },
            "scope": 10303,
            "src": "392:251:21",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10293,
              "nodeType": "Block",
              "src": "787:43:21",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "id": 10289,
                          "name": "appId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10338,
                          "src": "815:5:21",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$",
                            "typeString": "function () view returns (bytes32)"
                          }
                        },
                        "id": 10290,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "815:7:21",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 10288,
                      "name": "getAppBase",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10179,
                      "src": "804:10:21",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                        "typeString": "function (bytes32) view returns (address)"
                      }
                    },
                    "id": 10291,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "804:19:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 10287,
                  "id": 10292,
                  "nodeType": "Return",
                  "src": "797:26:21"
                }
              ]
            },
            "documentation": "@dev ERC897, the address the proxy would delegate calls to",
            "id": 10294,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "implementation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10284,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "754:2:21"
            },
            "payable": false,
            "returnParameters": {
              "id": 10287,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10286,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10294,
                  "src": "778:7:21",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10285,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "778:7:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "777:9:21"
            },
            "scope": 10303,
            "src": "731:99:21",
            "stateMutability": "view",
            "superFunction": 14224,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10301,
              "nodeType": "Block",
              "src": "994:35:21",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10299,
                    "name": "UPGRADEABLE",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 14214,
                    "src": "1011:11:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10298,
                  "id": 10300,
                  "nodeType": "Return",
                  "src": "1004:18:21"
                }
              ]
            },
            "documentation": "@dev ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy",
            "id": 10302,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "proxyType",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10295,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "949:2:21"
            },
            "payable": false,
            "returnParameters": {
              "id": 10298,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10297,
                  "name": "proxyTypeId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10302,
                  "src": "973:19:21",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10296,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "973:7:21",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "972:21:21"
            },
            "scope": 10303,
            "src": "931:98:21",
            "stateMutability": "pure",
            "superFunction": 14219,
            "visibility": "public"
          }
        ],
        "scope": 10304,
        "src": "56:975:21"
      }
    ],
    "src": "0:1032:21"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "2.0.1",
  "updatedAt": "2019-09-04T11:02:55.758Z"
}