{
  "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": "0x608060405234801561001057600080fd5b50604051610906380380610906833981018060405281019080805190602001909291908051906020019092919080518201929190505050828282600061006484610160640100000000026401000000009004565b61007c836101aa640100000000026401000000009004565b610094836101f4640100000000026401000000009004565b9050600082511115610154576100b8816102f8640100000000026401000000009004565b15156100c357600080fd5b8073ffffffffffffffffffffffffffffffffffffffff168260405180828051906020019080838360005b838110156101085780820151818401526020810190506100ed565b50505050905090810190601f1680156101355780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af4915050151561015357600080fd5b5b505050505050506103ad565b6101a7817f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b6001026000191661034a64010000000002610510179091906401000000009004565b50565b6101f1817fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b6001026000191661035164010000000002610517179091906401000000009004565b50565b600061020d610358640100000000026401000000009004565b73ffffffffffffffffffffffffffffffffffffffff1663be00bbd87ff1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f600102846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808360001916600019168152602001826000191660001916815260200192505050602060405180830381600087803b1580156102b657600080fd5b505af11580156102ca573d6000803e3d6000fd5b505050506040513d60208110156102e057600080fd5b81019080805190602001909291905050509050919050565b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103395760009150610344565b823b90506000811191505b50919050565b8082555050565b8082555050565b600061039d7f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b600102600019166103a264010000000002610505176401000000009004565b905090565b600081549050919050565b61054a806103bc6000396000f30060806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680634555d5c91461016557806348a0c8dd146101905780635c60da1b146101bf57806380afdea814610216578063d4aae0c414610249575b60006127105a101561011a5760003411801561008c5750600080369050145b151561009757600080fd5b61009f6102a0565b15156100aa57600080fd5b7f15eeaa57c7bd188c1388020bcadc2c436ec60d647d36ef5b9eb3c742217ddee13334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1610162565b6101226102d7565b9050610161816000368080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050506102ee565b5b50005b34801561017157600080fd5b5061017a610331565b6040518082815260200191505060405180910390f35b34801561019c57600080fd5b506101a56102a0565b604051808215151515815260200191505060405180910390f35b3480156101cb57600080fd5b506101d46102d7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561022257600080fd5b5061022b61033a565b60405180826000191660001916815260200191505060405180910390f35b34801561025557600080fd5b5061025e610371565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006102d27f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea600102600019166103a8565b905090565b60006102e96102e461033a565b6103b3565b905090565b60006102f9836104a8565b151561030457600080fd5b612710905060008083516020850186855a03f43d604051816000823e826000811461032d578282f35b8282fd5b60006002905090565b600061036c7fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b600102600019166104fa565b905090565b60006103a37f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b60010260001916610505565b905090565b600081549050919050565b60006103bd610371565b73ffffffffffffffffffffffffffffffffffffffff1663be00bbd87ff1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f600102846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808360001916600019168152602001826000191660001916815260200192505050602060405180830381600087803b15801561046657600080fd5b505af115801561047a573d6000803e3d6000fd5b505050506040513d602081101561049057600080fd5b81019080805190602001909291905050509050919050565b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104e957600091506104f4565b823b90506000811191505b50919050565b600081549050919050565b600081549050919050565b8082555050565b80825550505600a165627a7a72305820f1912f3338ba4aa4b1b5044dfef799d354879c210a66c163d99db9ce60be509e0029",
  "deployedBytecode": "0x60806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680634555d5c91461016557806348a0c8dd146101905780635c60da1b146101bf57806380afdea814610216578063d4aae0c414610249575b60006127105a101561011a5760003411801561008c5750600080369050145b151561009757600080fd5b61009f6102a0565b15156100aa57600080fd5b7f15eeaa57c7bd188c1388020bcadc2c436ec60d647d36ef5b9eb3c742217ddee13334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1610162565b6101226102d7565b9050610161816000368080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050506102ee565b5b50005b34801561017157600080fd5b5061017a610331565b6040518082815260200191505060405180910390f35b34801561019c57600080fd5b506101a56102a0565b604051808215151515815260200191505060405180910390f35b3480156101cb57600080fd5b506101d46102d7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561022257600080fd5b5061022b61033a565b60405180826000191660001916815260200191505060405180910390f35b34801561025557600080fd5b5061025e610371565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006102d27f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea600102600019166103a8565b905090565b60006102e96102e461033a565b6103b3565b905090565b60006102f9836104a8565b151561030457600080fd5b612710905060008083516020850186855a03f43d604051816000823e826000811461032d578282f35b8282fd5b60006002905090565b600061036c7fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b600102600019166104fa565b905090565b60006103a37f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b60010260001916610505565b905090565b600081549050919050565b60006103bd610371565b73ffffffffffffffffffffffffffffffffffffffff1663be00bbd87ff1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f600102846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808360001916600019168152602001826000191660001916815260200192505050602060405180830381600087803b15801561046657600080fd5b505af115801561047a573d6000803e3d6000fd5b505050506040513d602081101561049057600080fd5b81019080805190602001909291905050509050919050565b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104e957600091506104f4565b823b90506000811191505b50919050565b600081549050919050565b600081549050919050565b8082555050565b80825550505600a165627a7a72305820f1912f3338ba4aa4b1b5044dfef799d354879c210a66c163d99db9ce60be509e0029",
  "sourceMap": "56:920:16:-;;;392:196;8:9:-1;5:2;;;30:1;27;20:12;5:2;392:196:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;484:7;493:6;501:18;922:15:14;594:18;604:7;594:9;;;: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;:20;;1311:18;1290:40;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1290:40:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1282:49;;;;;;;;1035:307;506:842;;;;392:196:16;;;56:920;;908:113:17;963:51;1005:7;485:66;963:15;;:33;;;;;;;;;:51;;;;;:::i;:::-;908:113;:::o;1027:101::-;1080:41;1114:6;601:66;1080:15;;:33;;;;;;;;;:41;;;;;:::i;:::-;1027:101;:::o;1354:143:14:-;1413:7;1439:8;:6;;;:8;;;:::i;:::-;:15;;;1242:66:45;1455:26:14;;1483:6;1439:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1439:51:14;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1439:51:14;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1439:51:14;;;;;;;;;;;;;;;;1432:58;;1354:143;;;:::o;426:244:27:-;486:4;576:12;525:1;506:21;;:7;: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;778:119:31:-;884:4;874:8;867:22;865:26;;:::o;903:119::-;1009:4;999:8;992:22;990:26;;:::o;674:116:17:-;713:7;747:35;485:66;747:15;;:33;;;;;;;;:35;;;:::i;:::-;732:51;;674:116;:::o;239:134:31:-;307:12;356:8;350:15;342:23;;340:27;;;:::o;56:920:16:-;;;;;;;",
  "deployedSourceMap": "56:920:16:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;546:14:21;192:5:20;295:9:21;:25;291:343;;;356:1;344:9;:13;:37;;;;;380:1;361:8;;:15;;:20;344:37;336:46;;;;;;;;404:15;:13;:15::i;:::-;396:24;;;;;;;;439:35;452:10;464:9;439:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;291:343;;;563:16;:14;:16::i;:::-;546:33;;593:30;606:6;614:8;;593:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;:30::i;:::-;291:343;225:415;56:920:16;876:98;;8:9:-1;5:2;;;30:1;27;20:12;5:2;876:98:16;;;;;;;;;;;;;;;;;;;;;;;323:113:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;323:113:22;;;;;;;;;;;;;;;;;;;;;;;;;;;676:99:16;;8:9:-1;5:2;;;30:1;27;20:12;5:2;676:99:16;;;;;;;;;;;;;;;;;;;;;;;;;;;796:106:17;;8:9:-1;5:2;;;30:1;27;20:12;5:2;796:106:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;674:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;674:116:17;;;;;;;;;;;;;;;;;;;;;;;;;;;323:113:22;369:4;392:37;250:66;392:20;;:35;;;;:37::i;:::-;385:44;;323:113;:::o;676:99:16:-;723:7;749:19;760:7;:5;:7::i;:::-;749:10;:19::i;:::-;742:26;;676:99;:::o;460:679:20:-;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;1058:1;1053:28;;;;1116:4;1111:3;1104:17;1053:28;1074:4;1069:3;1062:17;876:98:16;918:19;181:1:53;949:18:16;;876:98;:::o;796:106:17:-;834:7;860:35;601:66;860:15;;:33;;;;:35::i;:::-;853:42;;796:106;:::o;674:116::-;713:7;747:35;485:66;747:15;;:33;;;;:35::i;:::-;732:51;;674:116;:::o;105:128:31:-;170:9;216:8;210:15;202:23;;200:27;;;:::o;1354:143:14:-;1413:7;1439:8;:6;:8::i;:::-;:15;;;1242:66:45;1455:26:14;;1483:6;1439:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1439:51:14;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1439:51:14;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1439:51:14;;;;;;;;;;;;;;;;1432:58;;1354:143;;;:::o;426:244:27:-;486:4;576:12;525:1;506:21;;:7;: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;379:134:31:-;447:12;496:8;490:15;482:23;;480:27;;;:::o;239:134::-;307:12;356:8;350:15;342:23;;340:27;;;:::o;778:119::-;884:4;874:8;867:22;865:26;;:::o;903:119::-;1009:4;999:8;992:22;990: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\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": [
        8285
      ]
    },
    "id": 8286,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 8247,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:16"
      },
      {
        "absolutePath": "@aragon/os/contracts/apps/AppProxyBase.sol",
        "file": "./AppProxyBase.sol",
        "id": 8248,
        "nodeType": "ImportDirective",
        "scope": 8286,
        "sourceUnit": 8163,
        "src": "25:28:16",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 8249,
              "name": "AppProxyBase",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8162,
              "src": "88:12:16",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AppProxyBase_$8162",
                "typeString": "contract AppProxyBase"
              }
            },
            "id": 8250,
            "nodeType": "InheritanceSpecifier",
            "src": "88:12:16"
          }
        ],
        "contractDependencies": [
          8162,
          8347,
          8519,
          8581,
          8613,
          8789,
          10769,
          11872
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 8285,
        "linearizedBaseContracts": [
          8285,
          8162,
          10769,
          8581,
          8519,
          8789,
          11872,
          8613,
          8347
        ],
        "name": "AppProxyUpgradeable",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 8264,
              "nodeType": "Block",
              "src": "580:8:16",
              "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": 8265,
            "implemented": true,
            "isConstructor": true,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 8259,
                    "name": "_kernel",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8252,
                    "src": "484:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$10248",
                      "typeString": "contract IKernel"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 8260,
                    "name": "_appId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8254,
                    "src": "493:6:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 8261,
                    "name": "_initializePayload",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8256,
                    "src": "501:18:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory_ptr",
                      "typeString": "bytes memory"
                    }
                  }
                ],
                "id": 8262,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 8258,
                  "name": "AppProxyBase",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 8162,
                  "src": "471:12:16",
                  "typeDescriptions": {
                    "typeIdentifier": "t_type$_t_contract$_AppProxyBase_$8162_$",
                    "typeString": "type(contract AppProxyBase)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "471:49:16"
              }
            ],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8257,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8252,
                  "name": "_kernel",
                  "nodeType": "VariableDeclaration",
                  "scope": 8265,
                  "src": "404:15:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$10248",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8251,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 10248,
                    "src": "404:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$10248",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8254,
                  "name": "_appId",
                  "nodeType": "VariableDeclaration",
                  "scope": 8265,
                  "src": "421:14:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8253,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "421:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8256,
                  "name": "_initializePayload",
                  "nodeType": "VariableDeclaration",
                  "scope": 8265,
                  "src": "437:24:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 8255,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "437:5:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "403:59:16"
            },
            "payable": false,
            "returnParameters": {
              "id": 8263,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "580:0:16"
            },
            "scope": 8285,
            "src": "392:196:16",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8275,
              "nodeType": "Block",
              "src": "732:43:16",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "id": 8271,
                          "name": "appId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8320,
                          "src": "760:5:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$",
                            "typeString": "function () view returns (bytes32)"
                          }
                        },
                        "id": 8272,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "760:7:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 8270,
                      "name": "getAppBase",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8161,
                      "src": "749:10:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                        "typeString": "function (bytes32) view returns (address)"
                      }
                    },
                    "id": 8273,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "749:19:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 8269,
                  "id": 8274,
                  "nodeType": "Return",
                  "src": "742:26:16"
                }
              ]
            },
            "documentation": "@dev ERC897, the address the proxy would delegate calls to",
            "id": 8276,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "implementation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8266,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "699:2:16"
            },
            "payable": false,
            "returnParameters": {
              "id": 8269,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8268,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8276,
                  "src": "723:7:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8267,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "723:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "722:9:16"
            },
            "scope": 8285,
            "src": "676:99:16",
            "stateMutability": "view",
            "superFunction": 11871,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8283,
              "nodeType": "Block",
              "src": "939:35:16",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8281,
                    "name": "UPGRADEABLE",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 11861,
                    "src": "956:11:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 8280,
                  "id": 8282,
                  "nodeType": "Return",
                  "src": "949:18:16"
                }
              ]
            },
            "documentation": "@dev ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy",
            "id": 8284,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "proxyType",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8277,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "894:2:16"
            },
            "payable": false,
            "returnParameters": {
              "id": 8280,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8279,
                  "name": "proxyTypeId",
                  "nodeType": "VariableDeclaration",
                  "scope": 8284,
                  "src": "918:19:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 8278,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "918:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "917:21:16"
            },
            "scope": 8285,
            "src": "876:98:16",
            "stateMutability": "pure",
            "superFunction": 11866,
            "visibility": "public"
          }
        ],
        "scope": 8286,
        "src": "56:920:16"
      }
    ],
    "src": "0:977:16"
  },
  "legacyAST": {
    "absolutePath": "@aragon/os/contracts/apps/AppProxyUpgradeable.sol",
    "exportedSymbols": {
      "AppProxyUpgradeable": [
        8285
      ]
    },
    "id": 8286,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 8247,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:16"
      },
      {
        "absolutePath": "@aragon/os/contracts/apps/AppProxyBase.sol",
        "file": "./AppProxyBase.sol",
        "id": 8248,
        "nodeType": "ImportDirective",
        "scope": 8286,
        "sourceUnit": 8163,
        "src": "25:28:16",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 8249,
              "name": "AppProxyBase",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8162,
              "src": "88:12:16",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AppProxyBase_$8162",
                "typeString": "contract AppProxyBase"
              }
            },
            "id": 8250,
            "nodeType": "InheritanceSpecifier",
            "src": "88:12:16"
          }
        ],
        "contractDependencies": [
          8162,
          8347,
          8519,
          8581,
          8613,
          8789,
          10769,
          11872
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 8285,
        "linearizedBaseContracts": [
          8285,
          8162,
          10769,
          8581,
          8519,
          8789,
          11872,
          8613,
          8347
        ],
        "name": "AppProxyUpgradeable",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "body": {
              "id": 8264,
              "nodeType": "Block",
              "src": "580:8:16",
              "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": 8265,
            "implemented": true,
            "isConstructor": true,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 8259,
                    "name": "_kernel",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8252,
                    "src": "484:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$10248",
                      "typeString": "contract IKernel"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 8260,
                    "name": "_appId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8254,
                    "src": "493:6:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 8261,
                    "name": "_initializePayload",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8256,
                    "src": "501:18:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory_ptr",
                      "typeString": "bytes memory"
                    }
                  }
                ],
                "id": 8262,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 8258,
                  "name": "AppProxyBase",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 8162,
                  "src": "471:12:16",
                  "typeDescriptions": {
                    "typeIdentifier": "t_type$_t_contract$_AppProxyBase_$8162_$",
                    "typeString": "type(contract AppProxyBase)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "471:49:16"
              }
            ],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8257,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8252,
                  "name": "_kernel",
                  "nodeType": "VariableDeclaration",
                  "scope": 8265,
                  "src": "404:15:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$10248",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8251,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 10248,
                    "src": "404:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$10248",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8254,
                  "name": "_appId",
                  "nodeType": "VariableDeclaration",
                  "scope": 8265,
                  "src": "421:14:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8253,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "421:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8256,
                  "name": "_initializePayload",
                  "nodeType": "VariableDeclaration",
                  "scope": 8265,
                  "src": "437:24:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 8255,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "437:5:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "403:59:16"
            },
            "payable": false,
            "returnParameters": {
              "id": 8263,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "580:0:16"
            },
            "scope": 8285,
            "src": "392:196:16",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8275,
              "nodeType": "Block",
              "src": "732:43:16",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "id": 8271,
                          "name": "appId",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8320,
                          "src": "760:5:16",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$__$returns$_t_bytes32_$",
                            "typeString": "function () view returns (bytes32)"
                          }
                        },
                        "id": 8272,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "760:7:16",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      ],
                      "id": 8270,
                      "name": "getAppBase",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8161,
                      "src": "749:10:16",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                        "typeString": "function (bytes32) view returns (address)"
                      }
                    },
                    "id": 8273,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "749:19:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 8269,
                  "id": 8274,
                  "nodeType": "Return",
                  "src": "742:26:16"
                }
              ]
            },
            "documentation": "@dev ERC897, the address the proxy would delegate calls to",
            "id": 8276,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "implementation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8266,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "699:2:16"
            },
            "payable": false,
            "returnParameters": {
              "id": 8269,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8268,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8276,
                  "src": "723:7:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8267,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "723:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "722:9:16"
            },
            "scope": 8285,
            "src": "676:99:16",
            "stateMutability": "view",
            "superFunction": 11871,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8283,
              "nodeType": "Block",
              "src": "939:35:16",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8281,
                    "name": "UPGRADEABLE",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 11861,
                    "src": "956:11:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 8280,
                  "id": 8282,
                  "nodeType": "Return",
                  "src": "949:18:16"
                }
              ]
            },
            "documentation": "@dev ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy",
            "id": 8284,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "proxyType",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8277,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "894:2:16"
            },
            "payable": false,
            "returnParameters": {
              "id": 8280,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8279,
                  "name": "proxyTypeId",
                  "nodeType": "VariableDeclaration",
                  "scope": 8284,
                  "src": "918:19:16",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 8278,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "918:7:16",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "917:21:16"
            },
            "scope": 8285,
            "src": "876:98:16",
            "stateMutability": "pure",
            "superFunction": 11866,
            "visibility": "public"
          }
        ],
        "scope": 8286,
        "src": "56:920:16"
      }
    ],
    "src": "0:977:16"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.1",
  "updatedAt": "2019-03-29T09:45:33.501Z",
  "devdoc": {
    "methods": {
      "implementation()": {
        "details": "ERC897, the address the proxy would delegate calls to"
      },
      "proxyType()": {
        "details": "ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy"
      }
    }
  },
  "userdoc": {
    "methods": {}
  }
}