{
  "contractName": "AppProxyPinned",
  "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": "0x608060405234801561001057600080fd5b506040516106fd3803806106fd8339810160409081528151602083015191830151909201828282600061004b8464010000000061017a810204565b61005d836401000000006101a2810204565b61006f836401000000006101d9810204565b90506000825111156101185761008d816401000000006102a9810204565b151561009857600080fd5b80600160a060020a03168260405180828051906020019080838360005b838110156100cd5781810151838201526020016100b5565b50505050905090810190601f1680156100fa5780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af4915050151561011857600080fd5b50505050610145610137836101d9640100000000026401000000009004565b6401000000006102d6810204565b6101676101596401000000006102fb810204565b6401000000006102a9810204565b151561017257600080fd5b505050610354565b61019f6000805160206106bd8339815191528264010000000061032661032682021704565b50565b61019f7fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b8264010000000061032661032682021704565b60006101ec64010000000061032a810204565b604080517fbe00bbd80000000000000000000000000000000000000000000000000000000081527ff1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f6004820152602481018590529051600160a060020a03929092169163be00bbd8916044808201926020929091908290030181600087803b15801561027757600080fd5b505af115801561028b573d6000803e3d6000fd5b505050506040513d60208110156102a157600080fd5b505192915050565b600080600160a060020a03831615156102c557600091506102d0565b823b90506000811191505b50919050565b61019f6000805160206106dd8339815191528264010000000061032661032682021704565b60006103216000805160206106dd83398151915264010000000061031e61035082021704565b905090565b9055565b60006103216000805160206106bd83398151915264010000000061031e61035082021704565b5490565b61035a806103636000396000f30060806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634555d5c9811461012b57806348a0c8dd146101525780635c60da1b1461017b57806380afdea8146101b9578063d4aae0c4146101ce575b6127107f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea6000825a10156100e15760003411361583541616156100dc576040513381523460208201527f15eeaa57c7bd188c1388020bcadc2c436ec60d647d36ef5b9eb3c742217ddee1604082a1005b600080fd5b6100e96101e3565b9050610126816000368080601f016020809104026020016040519081016040528093929190818152602001838380828437506101f2945050505050565b505050005b34801561013757600080fd5b50610140610233565b60408051918252519081900360200190f35b34801561015e57600080fd5b50610167610238565b604080519115158252519081900360200190f35b34801561018757600080fd5b506101906101e3565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101c557600080fd5b50610140610263565b3480156101da57600080fd5b5061019061028e565b60006101ed6102b9565b905090565b60006101fd836102e4565b151561020857600080fd5b612710905060008083516020850186855a03f43d604051816000823e82801561022f578282f35b8282fd5b600190565b60006101ed7f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea61031e565b60006101ed7fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b61031e565b60006101ed7f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b61031e565b60006101ed7fdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e61031e565b60008073ffffffffffffffffffffffffffffffffffffffff8316151561030d5760009150610318565b823b90506000811191505b50919050565b5490565b5490565b9055565b90555600a165627a7a7230582011dde276c5373896f3034af8449357ad9bb5fbfcfd199a85aeef252b0a933c3b00294172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137bdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e",
  "deployedBytecode": "0x60806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634555d5c9811461012b57806348a0c8dd146101525780635c60da1b1461017b57806380afdea8146101b9578063d4aae0c4146101ce575b6127107f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea6000825a10156100e15760003411361583541616156100dc576040513381523460208201527f15eeaa57c7bd188c1388020bcadc2c436ec60d647d36ef5b9eb3c742217ddee1604082a1005b600080fd5b6100e96101e3565b9050610126816000368080601f016020809104026020016040519081016040528093929190818152602001838380828437506101f2945050505050565b505050005b34801561013757600080fd5b50610140610233565b60408051918252519081900360200190f35b34801561015e57600080fd5b50610167610238565b604080519115158252519081900360200190f35b34801561018757600080fd5b506101906101e3565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101c557600080fd5b50610140610263565b3480156101da57600080fd5b5061019061028e565b60006101ed6102b9565b905090565b60006101fd836102e4565b151561020857600080fd5b612710905060008083516020850186855a03f43d604051816000823e82801561022f578282f35b8282fd5b600190565b60006101ed7f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea61031e565b60006101ed7fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b61031e565b60006101ed7f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b61031e565b60006101ed7fdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e61031e565b60008073ffffffffffffffffffffffffffffffffffffffff8316151561030d5760009150610318565b823b90506000811191505b50919050565b5490565b5490565b9055565b90555600a165627a7a7230582011dde276c5373896f3034af8449357ad9bb5fbfcfd199a85aeef252b0a933c3b0029",
  "sourceMap": "135:1470:20:-;;;693:281;8:9:-1;5:2;;;30:1;27;20:12;5:2;693:281:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;922:15:19;594:18;693:281:20;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;;;;891:33:20;905:18;916:6;905:10;;;:18;;;:::i;:::-;891:13;;;;:33;:::i;:::-;942:24;953:12;:10;;;;:12;:::i;:::-;942:10;;;;:24;:::i;:::-;934:33;;;;;;;;693:281;;;135:1470;;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;1358:121:20:-;1421:51;-1:-1:-1;;;;;;;;;;;1460:11:20;1421:38;;;;;;:51;:::i;1485:118::-;1530:7;1556:40;-1:-1:-1;;;;;;;;;;;1556:38:20;;;;;;:40;:::i;:::-;1549:47;;1485:118;:::o;778:119:39:-;867:22;;865:26::o;674:116:22:-;713:7;747:35;-1:-1:-1;;;;;;;;;;;747:33:22;;;;;;:35;:::i;239:134:39:-;350:15;;340:27::o;135:1470:20:-;;;;;;;",
  "deployedSourceMap": "135:1470:20:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;135:1470:20;1255:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1255:97:20;;;;;;;;;;;;;;;;;;;;323:113:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;323:113:28;;;;;;;;;;;;;;;;;;;;;;1062:92:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1062:92:20;;;;;;;;;;;;;;;;;;;;;;;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;;;;1062:92:20;1109:7;1135:12;:10;:12::i;:::-;1128:19;;1062:92;:::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;1255:97:20;134:1:61;1255:97:20;:::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;1485:118:20:-;1530:7;1556:40;337:66;1556:38;:40::i;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 \"../common/UnstructuredStorage.sol\";\nimport \"../common/IsContract.sol\";\nimport \"./AppProxyBase.sol\";\n\n\ncontract AppProxyPinned is IsContract, AppProxyBase {\n    using UnstructuredStorage for bytes32;\n\n    // keccak256(\"aragonOS.appStorage.pinnedCode\")\n    bytes32 internal constant PINNED_CODE_POSITION = 0xdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e;\n\n    /**\n    * @dev Initialize AppProxyPinned (makes it an un-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        setPinnedCode(getAppBase(_appId));\n        require(isContract(pinnedCode()));\n    }\n\n    /**\n     * @dev ERC897, the address the proxy would delegate calls to\n     */\n    function implementation() public view returns (address) {\n        return pinnedCode();\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 FORWARDING;\n    }\n\n    function setPinnedCode(address _pinnedCode) internal {\n        PINNED_CODE_POSITION.setStorageAddress(_pinnedCode);\n    }\n\n    function pinnedCode() internal view returns (address) {\n        return PINNED_CODE_POSITION.getStorageAddress();\n    }\n}\n",
  "sourcePath": "@aragon/os/contracts/apps/AppProxyPinned.sol",
  "ast": {
    "absolutePath": "@aragon/os/contracts/apps/AppProxyPinned.sol",
    "exportedSymbols": {
      "AppProxyPinned": [
        10263
      ]
    },
    "id": 10264,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 10182,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:20"
      },
      {
        "absolutePath": "@aragon/os/contracts/common/UnstructuredStorage.sol",
        "file": "../common/UnstructuredStorage.sol",
        "id": 10183,
        "nodeType": "ImportDirective",
        "scope": 10264,
        "sourceUnit": 11307,
        "src": "25:43:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/common/IsContract.sol",
        "file": "../common/IsContract.sol",
        "id": 10184,
        "nodeType": "ImportDirective",
        "scope": 10264,
        "sourceUnit": 10839,
        "src": "69:34:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/apps/AppProxyBase.sol",
        "file": "./AppProxyBase.sol",
        "id": 10185,
        "nodeType": "ImportDirective",
        "scope": 10264,
        "sourceUnit": 10181,
        "src": "104:28:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10186,
              "name": "IsContract",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 10838,
              "src": "162:10:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IsContract_$10838",
                "typeString": "contract IsContract"
              }
            },
            "id": 10187,
            "nodeType": "InheritanceSpecifier",
            "src": "162:10:20"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10188,
              "name": "AppProxyBase",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 10180,
              "src": "174:12:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AppProxyBase_$10180",
                "typeString": "contract AppProxyBase"
              }
            },
            "id": 10189,
            "nodeType": "InheritanceSpecifier",
            "src": "174:12:20"
          }
        ],
        "contractDependencies": [
          10180,
          10365,
          10583,
          10622,
          10654,
          10838,
          13114,
          14225
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 10263,
        "linearizedBaseContracts": [
          10263,
          10180,
          13114,
          10622,
          10583,
          10838,
          14225,
          10654,
          10365
        ],
        "name": "AppProxyPinned",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 10192,
            "libraryName": {
              "contractScope": null,
              "id": 10190,
              "name": "UnstructuredStorage",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 11306,
              "src": "199:19:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UnstructuredStorage_$11306",
                "typeString": "library UnstructuredStorage"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "193:38:20",
            "typeName": {
              "id": 10191,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "223:7:20",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            }
          },
          {
            "constant": true,
            "id": 10195,
            "name": "PINNED_CODE_POSITION",
            "nodeType": "VariableDeclaration",
            "scope": 10263,
            "src": "288:115:20",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 10193,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "288:7:20",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307864656536346466323064363565353364376635316362366162366439323161306136613633386139316539343265316438643032646632386533316330333865",
              "id": 10194,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "337:66:20",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_100820365170570940095149395125004696378246249682938023923674859826976992789390_by_1",
                "typeString": "int_const 1008...(70 digits omitted)...9390"
              },
              "value": "0xdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e"
            },
            "visibility": "internal"
          },
          {
            "body": {
              "id": 10222,
              "nodeType": "Block",
              "src": "881:93:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10211,
                            "name": "_appId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10199,
                            "src": "916:6:20",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          ],
                          "id": 10210,
                          "name": "getAppBase",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10179,
                          "src": "905:10:20",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 10212,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "905:18:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 10209,
                      "name": "setPinnedCode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10252,
                      "src": "891:13:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 10213,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "891:33:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10214,
                  "nodeType": "ExpressionStatement",
                  "src": "891:33:20"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "id": 10217,
                              "name": "pinnedCode",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10262,
                              "src": "953:10:20",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                                "typeString": "function () view returns (address)"
                              }
                            },
                            "id": 10218,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "953:12:20",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 10216,
                          "name": "isContract",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10837,
                          "src": "942:10:20",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$",
                            "typeString": "function (address) view returns (bool)"
                          }
                        },
                        "id": 10219,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "942:24:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 10215,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        15156,
                        15157
                      ],
                      "referencedDeclaration": 15156,
                      "src": "934:7:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 10220,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "934:33:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10221,
                  "nodeType": "ExpressionStatement",
                  "src": "934:33:20"
                }
              ]
            },
            "documentation": "@dev Initialize AppProxyPinned (makes it an un-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": 10223,
            "implemented": true,
            "isConstructor": true,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 10204,
                    "name": "_kernel",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10197,
                    "src": "785:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$12600",
                      "typeString": "contract IKernel"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 10205,
                    "name": "_appId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10199,
                    "src": "794:6:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 10206,
                    "name": "_initializePayload",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10201,
                    "src": "802:18:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory_ptr",
                      "typeString": "bytes memory"
                    }
                  }
                ],
                "id": 10207,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 10203,
                  "name": "AppProxyBase",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10180,
                  "src": "772:12:20",
                  "typeDescriptions": {
                    "typeIdentifier": "t_type$_t_contract$_AppProxyBase_$10180_$",
                    "typeString": "type(contract AppProxyBase)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "772:49:20"
              }
            ],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10202,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10197,
                  "name": "_kernel",
                  "nodeType": "VariableDeclaration",
                  "scope": 10223,
                  "src": "705:15:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$12600",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10196,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12600,
                    "src": "705:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$12600",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10199,
                  "name": "_appId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10223,
                  "src": "722:14:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10198,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "722:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10201,
                  "name": "_initializePayload",
                  "nodeType": "VariableDeclaration",
                  "scope": 10223,
                  "src": "738:24:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 10200,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "738:5:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "704:59:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 10208,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "881:0:20"
            },
            "scope": 10263,
            "src": "693:281:20",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10231,
              "nodeType": "Block",
              "src": "1118:36:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 10228,
                      "name": "pinnedCode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10262,
                      "src": "1135:10:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                        "typeString": "function () view returns (address)"
                      }
                    },
                    "id": 10229,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1135:12:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 10227,
                  "id": 10230,
                  "nodeType": "Return",
                  "src": "1128:19:20"
                }
              ]
            },
            "documentation": "@dev ERC897, the address the proxy would delegate calls to",
            "id": 10232,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "implementation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10224,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1085:2:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 10227,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10226,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10232,
                  "src": "1109:7:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10225,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1109:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1108:9:20"
            },
            "scope": 10263,
            "src": "1062:92:20",
            "stateMutability": "view",
            "superFunction": 14224,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10239,
              "nodeType": "Block",
              "src": "1318:34:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10237,
                    "name": "FORWARDING",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 14211,
                    "src": "1335:10:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10236,
                  "id": 10238,
                  "nodeType": "Return",
                  "src": "1328:17:20"
                }
              ]
            },
            "documentation": "@dev ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy",
            "id": 10240,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "proxyType",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10233,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1273:2:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 10236,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10235,
                  "name": "proxyTypeId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10240,
                  "src": "1297:19:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10234,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1297:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1296:21:20"
            },
            "scope": 10263,
            "src": "1255:97:20",
            "stateMutability": "pure",
            "superFunction": 14219,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10251,
              "nodeType": "Block",
              "src": "1411:68:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10248,
                        "name": "_pinnedCode",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10242,
                        "src": "1460:11:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 10245,
                        "name": "PINNED_CODE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10195,
                        "src": "1421:20:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 10247,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "setStorageAddress",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 11287,
                      "src": "1421:38:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32,address)"
                      }
                    },
                    "id": 10249,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1421:51:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10250,
                  "nodeType": "ExpressionStatement",
                  "src": "1421:51:20"
                }
              ]
            },
            "documentation": null,
            "id": 10252,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "setPinnedCode",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10243,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10242,
                  "name": "_pinnedCode",
                  "nodeType": "VariableDeclaration",
                  "scope": 10252,
                  "src": "1381:19:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10241,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1381:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1380:21:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 10244,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1411:0:20"
            },
            "scope": 10263,
            "src": "1358:121:20",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 10261,
              "nodeType": "Block",
              "src": "1539:64:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 10257,
                        "name": "PINNED_CODE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10195,
                        "src": "1556:20:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 10258,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getStorageAddress",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 11251,
                      "src": "1556:38:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32) view returns (address)"
                      }
                    },
                    "id": 10259,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1556:40:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 10256,
                  "id": 10260,
                  "nodeType": "Return",
                  "src": "1549:47:20"
                }
              ]
            },
            "documentation": null,
            "id": 10262,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "pinnedCode",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10253,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1504:2:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 10256,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10255,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10262,
                  "src": "1530:7:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10254,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1530:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1529:9:20"
            },
            "scope": 10263,
            "src": "1485:118:20",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 10264,
        "src": "135:1470:20"
      }
    ],
    "src": "0:1606:20"
  },
  "legacyAST": {
    "absolutePath": "@aragon/os/contracts/apps/AppProxyPinned.sol",
    "exportedSymbols": {
      "AppProxyPinned": [
        10263
      ]
    },
    "id": 10264,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 10182,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:20"
      },
      {
        "absolutePath": "@aragon/os/contracts/common/UnstructuredStorage.sol",
        "file": "../common/UnstructuredStorage.sol",
        "id": 10183,
        "nodeType": "ImportDirective",
        "scope": 10264,
        "sourceUnit": 11307,
        "src": "25:43:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/common/IsContract.sol",
        "file": "../common/IsContract.sol",
        "id": 10184,
        "nodeType": "ImportDirective",
        "scope": 10264,
        "sourceUnit": 10839,
        "src": "69:34:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/apps/AppProxyBase.sol",
        "file": "./AppProxyBase.sol",
        "id": 10185,
        "nodeType": "ImportDirective",
        "scope": 10264,
        "sourceUnit": 10181,
        "src": "104:28:20",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10186,
              "name": "IsContract",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 10838,
              "src": "162:10:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IsContract_$10838",
                "typeString": "contract IsContract"
              }
            },
            "id": 10187,
            "nodeType": "InheritanceSpecifier",
            "src": "162:10:20"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 10188,
              "name": "AppProxyBase",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 10180,
              "src": "174:12:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AppProxyBase_$10180",
                "typeString": "contract AppProxyBase"
              }
            },
            "id": 10189,
            "nodeType": "InheritanceSpecifier",
            "src": "174:12:20"
          }
        ],
        "contractDependencies": [
          10180,
          10365,
          10583,
          10622,
          10654,
          10838,
          13114,
          14225
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 10263,
        "linearizedBaseContracts": [
          10263,
          10180,
          13114,
          10622,
          10583,
          10838,
          14225,
          10654,
          10365
        ],
        "name": "AppProxyPinned",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 10192,
            "libraryName": {
              "contractScope": null,
              "id": 10190,
              "name": "UnstructuredStorage",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 11306,
              "src": "199:19:20",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UnstructuredStorage_$11306",
                "typeString": "library UnstructuredStorage"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "193:38:20",
            "typeName": {
              "id": 10191,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "223:7:20",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            }
          },
          {
            "constant": true,
            "id": 10195,
            "name": "PINNED_CODE_POSITION",
            "nodeType": "VariableDeclaration",
            "scope": 10263,
            "src": "288:115:20",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 10193,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "288:7:20",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307864656536346466323064363565353364376635316362366162366439323161306136613633386139316539343265316438643032646632386533316330333865",
              "id": 10194,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "337:66:20",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_100820365170570940095149395125004696378246249682938023923674859826976992789390_by_1",
                "typeString": "int_const 1008...(70 digits omitted)...9390"
              },
              "value": "0xdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e"
            },
            "visibility": "internal"
          },
          {
            "body": {
              "id": 10222,
              "nodeType": "Block",
              "src": "881:93:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 10211,
                            "name": "_appId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 10199,
                            "src": "916:6:20",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          ],
                          "id": 10210,
                          "name": "getAppBase",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10179,
                          "src": "905:10:20",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 10212,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "905:18:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 10209,
                      "name": "setPinnedCode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10252,
                      "src": "891:13:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 10213,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "891:33:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10214,
                  "nodeType": "ExpressionStatement",
                  "src": "891:33:20"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "id": 10217,
                              "name": "pinnedCode",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 10262,
                              "src": "953:10:20",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                                "typeString": "function () view returns (address)"
                              }
                            },
                            "id": 10218,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "953:12:20",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 10216,
                          "name": "isContract",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 10837,
                          "src": "942:10:20",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$",
                            "typeString": "function (address) view returns (bool)"
                          }
                        },
                        "id": 10219,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "942:24:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 10215,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        15156,
                        15157
                      ],
                      "referencedDeclaration": 15156,
                      "src": "934:7:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 10220,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "934:33:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10221,
                  "nodeType": "ExpressionStatement",
                  "src": "934:33:20"
                }
              ]
            },
            "documentation": "@dev Initialize AppProxyPinned (makes it an un-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": 10223,
            "implemented": true,
            "isConstructor": true,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 10204,
                    "name": "_kernel",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10197,
                    "src": "785:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$12600",
                      "typeString": "contract IKernel"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 10205,
                    "name": "_appId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10199,
                    "src": "794:6:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 10206,
                    "name": "_initializePayload",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 10201,
                    "src": "802:18:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory_ptr",
                      "typeString": "bytes memory"
                    }
                  }
                ],
                "id": 10207,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 10203,
                  "name": "AppProxyBase",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 10180,
                  "src": "772:12:20",
                  "typeDescriptions": {
                    "typeIdentifier": "t_type$_t_contract$_AppProxyBase_$10180_$",
                    "typeString": "type(contract AppProxyBase)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "772:49:20"
              }
            ],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10202,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10197,
                  "name": "_kernel",
                  "nodeType": "VariableDeclaration",
                  "scope": 10223,
                  "src": "705:15:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$12600",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 10196,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 12600,
                    "src": "705:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$12600",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10199,
                  "name": "_appId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10223,
                  "src": "722:14:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 10198,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "722:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 10201,
                  "name": "_initializePayload",
                  "nodeType": "VariableDeclaration",
                  "scope": 10223,
                  "src": "738:24:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 10200,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "738:5:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "704:59:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 10208,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "881:0:20"
            },
            "scope": 10263,
            "src": "693:281:20",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10231,
              "nodeType": "Block",
              "src": "1118:36:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 10228,
                      "name": "pinnedCode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 10262,
                      "src": "1135:10:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                        "typeString": "function () view returns (address)"
                      }
                    },
                    "id": 10229,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1135:12:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 10227,
                  "id": 10230,
                  "nodeType": "Return",
                  "src": "1128:19:20"
                }
              ]
            },
            "documentation": "@dev ERC897, the address the proxy would delegate calls to",
            "id": 10232,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "implementation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10224,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1085:2:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 10227,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10226,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10232,
                  "src": "1109:7:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10225,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1109:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1108:9:20"
            },
            "scope": 10263,
            "src": "1062:92:20",
            "stateMutability": "view",
            "superFunction": 14224,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10239,
              "nodeType": "Block",
              "src": "1318:34:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 10237,
                    "name": "FORWARDING",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 14211,
                    "src": "1335:10:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 10236,
                  "id": 10238,
                  "nodeType": "Return",
                  "src": "1328:17:20"
                }
              ]
            },
            "documentation": "@dev ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy",
            "id": 10240,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "proxyType",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10233,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1273:2:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 10236,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10235,
                  "name": "proxyTypeId",
                  "nodeType": "VariableDeclaration",
                  "scope": 10240,
                  "src": "1297:19:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 10234,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1297:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1296:21:20"
            },
            "scope": 10263,
            "src": "1255:97:20",
            "stateMutability": "pure",
            "superFunction": 14219,
            "visibility": "public"
          },
          {
            "body": {
              "id": 10251,
              "nodeType": "Block",
              "src": "1411:68:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 10248,
                        "name": "_pinnedCode",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10242,
                        "src": "1460:11:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 10245,
                        "name": "PINNED_CODE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10195,
                        "src": "1421:20:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 10247,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "setStorageAddress",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 11287,
                      "src": "1421:38:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32,address)"
                      }
                    },
                    "id": 10249,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1421:51:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 10250,
                  "nodeType": "ExpressionStatement",
                  "src": "1421:51:20"
                }
              ]
            },
            "documentation": null,
            "id": 10252,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "setPinnedCode",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10243,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10242,
                  "name": "_pinnedCode",
                  "nodeType": "VariableDeclaration",
                  "scope": 10252,
                  "src": "1381:19:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10241,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1381:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1380:21:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 10244,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1411:0:20"
            },
            "scope": 10263,
            "src": "1358:121:20",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 10261,
              "nodeType": "Block",
              "src": "1539:64:20",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 10257,
                        "name": "PINNED_CODE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 10195,
                        "src": "1556:20:20",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 10258,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getStorageAddress",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 11251,
                      "src": "1556:38:20",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32) view returns (address)"
                      }
                    },
                    "id": 10259,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1556:40:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 10256,
                  "id": 10260,
                  "nodeType": "Return",
                  "src": "1549:47:20"
                }
              ]
            },
            "documentation": null,
            "id": 10262,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "pinnedCode",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 10253,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1504:2:20"
            },
            "payable": false,
            "returnParameters": {
              "id": 10256,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 10255,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 10262,
                  "src": "1530:7:20",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 10254,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1530:7:20",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1529:9:20"
            },
            "scope": 10263,
            "src": "1485:118:20",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 10264,
        "src": "135:1470:20"
      }
    ],
    "src": "0:1606:20"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "2.0.1",
  "updatedAt": "2019-09-04T11:02:55.754Z"
}