{
  "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": "0x608060405234801561001057600080fd5b5060405161093c38038061093c8339810180604052810190808051906020019092919080519060200190929190805182019291905050508282826000610064846101c8640100000000026401000000009004565b61007c83610212640100000000026401000000009004565b6100948361025c640100000000026401000000009004565b9050600082511115610154576100b881610360640100000000026401000000009004565b15156100c357600080fd5b8073ffffffffffffffffffffffffffffffffffffffff168260405180828051906020019080838360005b838110156101085780820151818401526020810190506100ed565b50505050905090810190601f1680156101355780820380516001836020036101000a031916815260200191505b50915050600060405180830381855af4915050151561015357600080fd5b5b505050506101876101738361025c640100000000026401000000009004565b6103b2640100000000026401000000009004565b6101b56101a16103fc640100000000026401000000009004565b610360640100000000026401000000009004565b15156101c057600080fd5b5050506104a9565b61020f817f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b600102600019166104466401000000000261044a179091906401000000009004565b50565b610259817fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b6001026000191661044d64010000000002610451179091906401000000009004565b50565b6000610275610454640100000000026401000000009004565b73ffffffffffffffffffffffffffffffffffffffff1663be00bbd87ff1f3eb40f5bc1ad1344716ced8b8a0431d840b5783aea1fd01786bc26f35ac0f600102846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808360001916600019168152602001826000191660001916815260200192505050602060405180830381600087803b15801561031e57600080fd5b505af1158015610332573d6000803e3d6000fd5b505050506040513d602081101561034857600080fd5b81019080805190602001909291905050509050919050565b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103a157600091506103ac565b823b90506000811191505b50919050565b6103f9817fdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e600102600019166104466401000000000261044a179091906401000000009004565b50565b60006104417fdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e6001026000191661049e6401000000000261043f176401000000009004565b905090565b8082555050565b8082555050565b60006104997f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b6001026000191661049e6401000000000261043f176401000000009004565b905090565b600081549050919050565b610484806104b86000396000f30060806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680634555d5c91461016557806348a0c8dd146101905780635c60da1b146101bf57806380afdea814610216578063d4aae0c414610249575b60006127105a101561011a5760003411801561008c5750600080369050145b151561009757600080fd5b61009f6102a0565b15156100aa57600080fd5b7f15eeaa57c7bd188c1388020bcadc2c436ec60d647d36ef5b9eb3c742217ddee13334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1610162565b6101226102d7565b9050610161816000368080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050506102e6565b5b50005b34801561017157600080fd5b5061017a610329565b6040518082815260200191505060405180910390f35b34801561019c57600080fd5b506101a56102a0565b604051808215151515815260200191505060405180910390f35b3480156101cb57600080fd5b506101d46102d7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561022257600080fd5b5061022b610332565b60405180826000191660001916815260200191505060405180910390f35b34801561025557600080fd5b5061025e610369565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006102d27f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea600102600019166103a0565b905090565b60006102e16103ab565b905090565b60006102f1836103e2565b15156102fc57600080fd5b612710905060008083516020850186855a03f43d604051816000823e8260008114610325578282f35b8282fd5b60006001905090565b60006103647fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b60010260001916610434565b905090565b600061039b7f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b6001026000191661043f565b905090565b600081549050919050565b60006103dd7fdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e6001026000191661043f565b905090565b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610423576000915061042e565b823b90506000811191505b50919050565b600081549050919050565b600081549050919050565b8082555050565b80825550505600a165627a7a7230582010f36a3c5f0fa27d94b088de61050afc2943eceed187bea1b666d82da9504ae30029",
  "deployedBytecode": "0x60806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680634555d5c91461016557806348a0c8dd146101905780635c60da1b146101bf57806380afdea814610216578063d4aae0c414610249575b60006127105a101561011a5760003411801561008c5750600080369050145b151561009757600080fd5b61009f6102a0565b15156100aa57600080fd5b7f15eeaa57c7bd188c1388020bcadc2c436ec60d647d36ef5b9eb3c742217ddee13334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1610162565b6101226102d7565b9050610161816000368080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050506102e6565b5b50005b34801561017157600080fd5b5061017a610329565b6040518082815260200191505060405180910390f35b34801561019c57600080fd5b506101a56102a0565b604051808215151515815260200191505060405180910390f35b3480156101cb57600080fd5b506101d46102d7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561022257600080fd5b5061022b610332565b60405180826000191660001916815260200191505060405180910390f35b34801561025557600080fd5b5061025e610369565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006102d27f665fd576fbbe6f247aff98f5c94a561e3f71ec2d3c988d56f12d342396c50cea600102600019166103a0565b905090565b60006102e16103ab565b905090565b60006102f1836103e2565b15156102fc57600080fd5b612710905060008083516020850186855a03f43d604051816000823e8260008114610325578282f35b8282fd5b60006001905090565b60006103647fd625496217aa6a3453eecb9c3489dc5a53e6c67b444329ea2b2cbc9ff547639b60010260001916610434565b905090565b600061039b7f4172f0f7d2289153072b0a6ca36959e0cbe2efc3afe50fc81636caa96338137b6001026000191661043f565b905090565b600081549050919050565b60006103dd7fdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e6001026000191661043f565b905090565b600080600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610423576000915061042e565b823b90506000811191505b50919050565b600081549050919050565b600081549050919050565b8082555050565b80825550505600a165627a7a7230582010f36a3c5f0fa27d94b088de61050afc2943eceed187bea1b666d82da9504ae30029",
  "sourceMap": "135:1470:15:-;;;693:281;8:9:-1;5:2;;;30:1;27;20:12;5:2;693:281:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;785:7;794:6;802: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;;;;891:33:15;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: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;1358:121:15:-;1421:51;1460:11;337:66;1421:20;;:38;;;;;;;;;:51;;;;;:::i;:::-;1358:121;:::o;1485:118::-;1530:7;1556:40;337:66;1556:20;;:38;;;;;;;;:40;;;:::i;:::-;1549:47;;1485:118;:::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;135:1470:15:-;;;;;;;",
  "deployedSourceMap": "135:1470:15:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;135:1470:15;1255:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1255:97:15;;;;;;;;;;;;;;;;;;;;;;;323:113:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;323:113:22;;;;;;;;;;;;;;;;;;;;;;;;;;;1062:92:15;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1062:92:15;;;;;;;;;;;;;;;;;;;;;;;;;;;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;1062:92:15:-;1109:7;1135:12;:10;:12::i;:::-;1128:19;;1062:92;:::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;1255:97:15;1297:19;134:1:53;1328:17:15;;1255:97;:::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;1485:118:15:-;1530:7;1556:40;337:66;1556:20;;:38;;;;:40::i;:::-;1549:47;;1485:118;:::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 \"../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": [
        8245
      ]
    },
    "id": 8246,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 8164,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:15"
      },
      {
        "absolutePath": "@aragon/os/contracts/common/UnstructuredStorage.sol",
        "file": "../common/UnstructuredStorage.sol",
        "id": 8165,
        "nodeType": "ImportDirective",
        "scope": 8246,
        "sourceUnit": 8976,
        "src": "25:43:15",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/common/IsContract.sol",
        "file": "../common/IsContract.sol",
        "id": 8166,
        "nodeType": "ImportDirective",
        "scope": 8246,
        "sourceUnit": 8790,
        "src": "69:34:15",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/apps/AppProxyBase.sol",
        "file": "./AppProxyBase.sol",
        "id": 8167,
        "nodeType": "ImportDirective",
        "scope": 8246,
        "sourceUnit": 8163,
        "src": "104:28:15",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 8168,
              "name": "IsContract",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8789,
              "src": "162:10:15",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IsContract_$8789",
                "typeString": "contract IsContract"
              }
            },
            "id": 8169,
            "nodeType": "InheritanceSpecifier",
            "src": "162:10:15"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 8170,
              "name": "AppProxyBase",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8162,
              "src": "174:12:15",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AppProxyBase_$8162",
                "typeString": "contract AppProxyBase"
              }
            },
            "id": 8171,
            "nodeType": "InheritanceSpecifier",
            "src": "174:12:15"
          }
        ],
        "contractDependencies": [
          8162,
          8347,
          8519,
          8581,
          8613,
          8789,
          10769,
          11872
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 8245,
        "linearizedBaseContracts": [
          8245,
          8162,
          10769,
          8581,
          8519,
          8789,
          11872,
          8613,
          8347
        ],
        "name": "AppProxyPinned",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 8174,
            "libraryName": {
              "contractScope": null,
              "id": 8172,
              "name": "UnstructuredStorage",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8975,
              "src": "199:19:15",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UnstructuredStorage_$8975",
                "typeString": "library UnstructuredStorage"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "193:38:15",
            "typeName": {
              "id": 8173,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "223:7:15",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            }
          },
          {
            "constant": true,
            "id": 8177,
            "name": "PINNED_CODE_POSITION",
            "nodeType": "VariableDeclaration",
            "scope": 8245,
            "src": "288:115:15",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 8175,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "288:7:15",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307864656536346466323064363565353364376635316362366162366439323161306136613633386139316539343265316438643032646632386533316330333865",
              "id": 8176,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "337:66:15",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_100820365170570940095149395125004696378246249682938023923674859826976992789390_by_1",
                "typeString": "int_const 1008...(70 digits omitted)...9390"
              },
              "value": "0xdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e"
            },
            "visibility": "internal"
          },
          {
            "body": {
              "id": 8204,
              "nodeType": "Block",
              "src": "881:93:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8193,
                            "name": "_appId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8181,
                            "src": "916:6:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          ],
                          "id": 8192,
                          "name": "getAppBase",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8161,
                          "src": "905:10:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 8194,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "905:18:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 8191,
                      "name": "setPinnedCode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8234,
                      "src": "891:13:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 8195,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "891:33:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8196,
                  "nodeType": "ExpressionStatement",
                  "src": "891:33:15"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "id": 8199,
                              "name": "pinnedCode",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 8244,
                              "src": "953:10:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                                "typeString": "function () view returns (address)"
                              }
                            },
                            "id": 8200,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "953:12:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 8198,
                          "name": "isContract",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8788,
                          "src": "942:10:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$",
                            "typeString": "function (address) view returns (bool)"
                          }
                        },
                        "id": 8201,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "942:24:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 8197,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        12673,
                        12674
                      ],
                      "referencedDeclaration": 12673,
                      "src": "934:7:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 8202,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "934:33:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8203,
                  "nodeType": "ExpressionStatement",
                  "src": "934:33:15"
                }
              ]
            },
            "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": 8205,
            "implemented": true,
            "isConstructor": true,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 8186,
                    "name": "_kernel",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8179,
                    "src": "785:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$10248",
                      "typeString": "contract IKernel"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 8187,
                    "name": "_appId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8181,
                    "src": "794:6:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 8188,
                    "name": "_initializePayload",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8183,
                    "src": "802:18:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory_ptr",
                      "typeString": "bytes memory"
                    }
                  }
                ],
                "id": 8189,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 8185,
                  "name": "AppProxyBase",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 8162,
                  "src": "772:12:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_type$_t_contract$_AppProxyBase_$8162_$",
                    "typeString": "type(contract AppProxyBase)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "772:49:15"
              }
            ],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8184,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8179,
                  "name": "_kernel",
                  "nodeType": "VariableDeclaration",
                  "scope": 8205,
                  "src": "705:15:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$10248",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8178,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 10248,
                    "src": "705:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$10248",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8181,
                  "name": "_appId",
                  "nodeType": "VariableDeclaration",
                  "scope": 8205,
                  "src": "722:14:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8180,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "722:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8183,
                  "name": "_initializePayload",
                  "nodeType": "VariableDeclaration",
                  "scope": 8205,
                  "src": "738:24:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 8182,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "738:5:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "704:59:15"
            },
            "payable": false,
            "returnParameters": {
              "id": 8190,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "881:0:15"
            },
            "scope": 8245,
            "src": "693:281:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8213,
              "nodeType": "Block",
              "src": "1118:36:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 8210,
                      "name": "pinnedCode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8244,
                      "src": "1135:10:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                        "typeString": "function () view returns (address)"
                      }
                    },
                    "id": 8211,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1135:12:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 8209,
                  "id": 8212,
                  "nodeType": "Return",
                  "src": "1128:19:15"
                }
              ]
            },
            "documentation": "@dev ERC897, the address the proxy would delegate calls to",
            "id": 8214,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "implementation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8206,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1085:2:15"
            },
            "payable": false,
            "returnParameters": {
              "id": 8209,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8208,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8214,
                  "src": "1109:7:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8207,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1109:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1108:9:15"
            },
            "scope": 8245,
            "src": "1062:92:15",
            "stateMutability": "view",
            "superFunction": 11871,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8221,
              "nodeType": "Block",
              "src": "1318:34:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8219,
                    "name": "FORWARDING",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 11858,
                    "src": "1335:10:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 8218,
                  "id": 8220,
                  "nodeType": "Return",
                  "src": "1328:17:15"
                }
              ]
            },
            "documentation": "@dev ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy",
            "id": 8222,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "proxyType",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8215,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1273:2:15"
            },
            "payable": false,
            "returnParameters": {
              "id": 8218,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8217,
                  "name": "proxyTypeId",
                  "nodeType": "VariableDeclaration",
                  "scope": 8222,
                  "src": "1297:19:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 8216,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1297:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1296:21:15"
            },
            "scope": 8245,
            "src": "1255:97:15",
            "stateMutability": "pure",
            "superFunction": 11866,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8233,
              "nodeType": "Block",
              "src": "1411:68:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 8230,
                        "name": "_pinnedCode",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8224,
                        "src": "1460:11:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 8227,
                        "name": "PINNED_CODE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8177,
                        "src": "1421:20:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 8229,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "setStorageAddress",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 8956,
                      "src": "1421:38:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32,address)"
                      }
                    },
                    "id": 8231,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1421:51:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8232,
                  "nodeType": "ExpressionStatement",
                  "src": "1421:51:15"
                }
              ]
            },
            "documentation": null,
            "id": 8234,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "setPinnedCode",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8225,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8224,
                  "name": "_pinnedCode",
                  "nodeType": "VariableDeclaration",
                  "scope": 8234,
                  "src": "1381:19:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8223,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1381:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1380:21:15"
            },
            "payable": false,
            "returnParameters": {
              "id": 8226,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1411:0:15"
            },
            "scope": 8245,
            "src": "1358:121:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 8243,
              "nodeType": "Block",
              "src": "1539:64:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 8239,
                        "name": "PINNED_CODE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8177,
                        "src": "1556:20:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 8240,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getStorageAddress",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 8920,
                      "src": "1556:38:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32) view returns (address)"
                      }
                    },
                    "id": 8241,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1556:40:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 8238,
                  "id": 8242,
                  "nodeType": "Return",
                  "src": "1549:47:15"
                }
              ]
            },
            "documentation": null,
            "id": 8244,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "pinnedCode",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8235,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1504:2:15"
            },
            "payable": false,
            "returnParameters": {
              "id": 8238,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8237,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8244,
                  "src": "1530:7:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8236,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1530:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1529:9:15"
            },
            "scope": 8245,
            "src": "1485:118:15",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 8246,
        "src": "135:1470:15"
      }
    ],
    "src": "0:1606:15"
  },
  "legacyAST": {
    "absolutePath": "@aragon/os/contracts/apps/AppProxyPinned.sol",
    "exportedSymbols": {
      "AppProxyPinned": [
        8245
      ]
    },
    "id": 8246,
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 8164,
        "literals": [
          "solidity",
          "0.4",
          ".24"
        ],
        "nodeType": "PragmaDirective",
        "src": "0:23:15"
      },
      {
        "absolutePath": "@aragon/os/contracts/common/UnstructuredStorage.sol",
        "file": "../common/UnstructuredStorage.sol",
        "id": 8165,
        "nodeType": "ImportDirective",
        "scope": 8246,
        "sourceUnit": 8976,
        "src": "25:43:15",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/common/IsContract.sol",
        "file": "../common/IsContract.sol",
        "id": 8166,
        "nodeType": "ImportDirective",
        "scope": 8246,
        "sourceUnit": 8790,
        "src": "69:34:15",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "absolutePath": "@aragon/os/contracts/apps/AppProxyBase.sol",
        "file": "./AppProxyBase.sol",
        "id": 8167,
        "nodeType": "ImportDirective",
        "scope": 8246,
        "sourceUnit": 8163,
        "src": "104:28:15",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "baseContracts": [
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 8168,
              "name": "IsContract",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8789,
              "src": "162:10:15",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_IsContract_$8789",
                "typeString": "contract IsContract"
              }
            },
            "id": 8169,
            "nodeType": "InheritanceSpecifier",
            "src": "162:10:15"
          },
          {
            "arguments": null,
            "baseName": {
              "contractScope": null,
              "id": 8170,
              "name": "AppProxyBase",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8162,
              "src": "174:12:15",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_AppProxyBase_$8162",
                "typeString": "contract AppProxyBase"
              }
            },
            "id": 8171,
            "nodeType": "InheritanceSpecifier",
            "src": "174:12:15"
          }
        ],
        "contractDependencies": [
          8162,
          8347,
          8519,
          8581,
          8613,
          8789,
          10769,
          11872
        ],
        "contractKind": "contract",
        "documentation": null,
        "fullyImplemented": true,
        "id": 8245,
        "linearizedBaseContracts": [
          8245,
          8162,
          10769,
          8581,
          8519,
          8789,
          11872,
          8613,
          8347
        ],
        "name": "AppProxyPinned",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 8174,
            "libraryName": {
              "contractScope": null,
              "id": 8172,
              "name": "UnstructuredStorage",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 8975,
              "src": "199:19:15",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_UnstructuredStorage_$8975",
                "typeString": "library UnstructuredStorage"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "193:38:15",
            "typeName": {
              "id": 8173,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "223:7:15",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            }
          },
          {
            "constant": true,
            "id": 8177,
            "name": "PINNED_CODE_POSITION",
            "nodeType": "VariableDeclaration",
            "scope": 8245,
            "src": "288:115:15",
            "stateVariable": true,
            "storageLocation": "default",
            "typeDescriptions": {
              "typeIdentifier": "t_bytes32",
              "typeString": "bytes32"
            },
            "typeName": {
              "id": 8175,
              "name": "bytes32",
              "nodeType": "ElementaryTypeName",
              "src": "288:7:15",
              "typeDescriptions": {
                "typeIdentifier": "t_bytes32",
                "typeString": "bytes32"
              }
            },
            "value": {
              "argumentTypes": null,
              "hexValue": "307864656536346466323064363565353364376635316362366162366439323161306136613633386139316539343265316438643032646632386533316330333865",
              "id": 8176,
              "isConstant": false,
              "isLValue": false,
              "isPure": true,
              "kind": "number",
              "lValueRequested": false,
              "nodeType": "Literal",
              "src": "337:66:15",
              "subdenomination": null,
              "typeDescriptions": {
                "typeIdentifier": "t_rational_100820365170570940095149395125004696378246249682938023923674859826976992789390_by_1",
                "typeString": "int_const 1008...(70 digits omitted)...9390"
              },
              "value": "0xdee64df20d65e53d7f51cb6ab6d921a0a6a638a91e942e1d8d02df28e31c038e"
            },
            "visibility": "internal"
          },
          {
            "body": {
              "id": 8204,
              "nodeType": "Block",
              "src": "881:93:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "id": 8193,
                            "name": "_appId",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 8181,
                            "src": "916:6:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_bytes32",
                              "typeString": "bytes32"
                            }
                          ],
                          "id": 8192,
                          "name": "getAppBase",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8161,
                          "src": "905:10:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$",
                            "typeString": "function (bytes32) view returns (address)"
                          }
                        },
                        "id": 8194,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "905:18:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 8191,
                      "name": "setPinnedCode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8234,
                      "src": "891:13:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$",
                        "typeString": "function (address)"
                      }
                    },
                    "id": 8195,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "891:33:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8196,
                  "nodeType": "ExpressionStatement",
                  "src": "891:33:15"
                },
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [
                          {
                            "argumentTypes": null,
                            "arguments": [],
                            "expression": {
                              "argumentTypes": [],
                              "id": 8199,
                              "name": "pinnedCode",
                              "nodeType": "Identifier",
                              "overloadedDeclarations": [],
                              "referencedDeclaration": 8244,
                              "src": "953:10:15",
                              "typeDescriptions": {
                                "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                                "typeString": "function () view returns (address)"
                              }
                            },
                            "id": 8200,
                            "isConstant": false,
                            "isLValue": false,
                            "isPure": false,
                            "kind": "functionCall",
                            "lValueRequested": false,
                            "names": [],
                            "nodeType": "FunctionCall",
                            "src": "953:12:15",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          }
                        ],
                        "expression": {
                          "argumentTypes": [
                            {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          ],
                          "id": 8198,
                          "name": "isContract",
                          "nodeType": "Identifier",
                          "overloadedDeclarations": [],
                          "referencedDeclaration": 8788,
                          "src": "942:10:15",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$",
                            "typeString": "function (address) view returns (bool)"
                          }
                        },
                        "id": 8201,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "942:24:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      ],
                      "id": 8197,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        12673,
                        12674
                      ],
                      "referencedDeclaration": 12673,
                      "src": "934:7:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$",
                        "typeString": "function (bool) pure"
                      }
                    },
                    "id": 8202,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "934:33:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8203,
                  "nodeType": "ExpressionStatement",
                  "src": "934:33:15"
                }
              ]
            },
            "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": 8205,
            "implemented": true,
            "isConstructor": true,
            "isDeclaredConst": false,
            "modifiers": [
              {
                "arguments": [
                  {
                    "argumentTypes": null,
                    "id": 8186,
                    "name": "_kernel",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8179,
                    "src": "785:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$10248",
                      "typeString": "contract IKernel"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 8187,
                    "name": "_appId",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8181,
                    "src": "794:6:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  {
                    "argumentTypes": null,
                    "id": 8188,
                    "name": "_initializePayload",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 8183,
                    "src": "802:18:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_memory_ptr",
                      "typeString": "bytes memory"
                    }
                  }
                ],
                "id": 8189,
                "modifierName": {
                  "argumentTypes": null,
                  "id": 8185,
                  "name": "AppProxyBase",
                  "nodeType": "Identifier",
                  "overloadedDeclarations": [],
                  "referencedDeclaration": 8162,
                  "src": "772:12:15",
                  "typeDescriptions": {
                    "typeIdentifier": "t_type$_t_contract$_AppProxyBase_$8162_$",
                    "typeString": "type(contract AppProxyBase)"
                  }
                },
                "nodeType": "ModifierInvocation",
                "src": "772:49:15"
              }
            ],
            "name": "",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8184,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8179,
                  "name": "_kernel",
                  "nodeType": "VariableDeclaration",
                  "scope": 8205,
                  "src": "705:15:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_contract$_IKernel_$10248",
                    "typeString": "contract IKernel"
                  },
                  "typeName": {
                    "contractScope": null,
                    "id": 8178,
                    "name": "IKernel",
                    "nodeType": "UserDefinedTypeName",
                    "referencedDeclaration": 10248,
                    "src": "705:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_contract$_IKernel_$10248",
                      "typeString": "contract IKernel"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8181,
                  "name": "_appId",
                  "nodeType": "VariableDeclaration",
                  "scope": 8205,
                  "src": "722:14:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes32",
                    "typeString": "bytes32"
                  },
                  "typeName": {
                    "id": 8180,
                    "name": "bytes32",
                    "nodeType": "ElementaryTypeName",
                    "src": "722:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes32",
                      "typeString": "bytes32"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 8183,
                  "name": "_initializePayload",
                  "nodeType": "VariableDeclaration",
                  "scope": 8205,
                  "src": "738:24:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_bytes_memory_ptr",
                    "typeString": "bytes"
                  },
                  "typeName": {
                    "id": 8182,
                    "name": "bytes",
                    "nodeType": "ElementaryTypeName",
                    "src": "738:5:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes_storage_ptr",
                      "typeString": "bytes"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "704:59:15"
            },
            "payable": false,
            "returnParameters": {
              "id": 8190,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "881:0:15"
            },
            "scope": 8245,
            "src": "693:281:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8213,
              "nodeType": "Block",
              "src": "1118:36:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "id": 8210,
                      "name": "pinnedCode",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 8244,
                      "src": "1135:10:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
                        "typeString": "function () view returns (address)"
                      }
                    },
                    "id": 8211,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1135:12:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 8209,
                  "id": 8212,
                  "nodeType": "Return",
                  "src": "1128:19:15"
                }
              ]
            },
            "documentation": "@dev ERC897, the address the proxy would delegate calls to",
            "id": 8214,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "implementation",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8206,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1085:2:15"
            },
            "payable": false,
            "returnParameters": {
              "id": 8209,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8208,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8214,
                  "src": "1109:7:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8207,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1109:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1108:9:15"
            },
            "scope": 8245,
            "src": "1062:92:15",
            "stateMutability": "view",
            "superFunction": 11871,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8221,
              "nodeType": "Block",
              "src": "1318:34:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "id": 8219,
                    "name": "FORWARDING",
                    "nodeType": "Identifier",
                    "overloadedDeclarations": [],
                    "referencedDeclaration": 11858,
                    "src": "1335:10:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "functionReturnParameters": 8218,
                  "id": 8220,
                  "nodeType": "Return",
                  "src": "1328:17:15"
                }
              ]
            },
            "documentation": "@dev ERC897, whether it is a forwarding (1) or an upgradeable (2) proxy",
            "id": 8222,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "proxyType",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8215,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1273:2:15"
            },
            "payable": false,
            "returnParameters": {
              "id": 8218,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8217,
                  "name": "proxyTypeId",
                  "nodeType": "VariableDeclaration",
                  "scope": 8222,
                  "src": "1297:19:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 8216,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "1297:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1296:21:15"
            },
            "scope": 8245,
            "src": "1255:97:15",
            "stateMutability": "pure",
            "superFunction": 11866,
            "visibility": "public"
          },
          {
            "body": {
              "id": 8233,
              "nodeType": "Block",
              "src": "1411:68:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 8230,
                        "name": "_pinnedCode",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8224,
                        "src": "1460:11:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "expression": {
                        "argumentTypes": null,
                        "id": 8227,
                        "name": "PINNED_CODE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8177,
                        "src": "1421:20:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 8229,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "setStorageAddress",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 8956,
                      "src": "1421:38:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32,address)"
                      }
                    },
                    "id": 8231,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1421:51:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 8232,
                  "nodeType": "ExpressionStatement",
                  "src": "1421:51:15"
                }
              ]
            },
            "documentation": null,
            "id": 8234,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": false,
            "modifiers": [],
            "name": "setPinnedCode",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8225,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8224,
                  "name": "_pinnedCode",
                  "nodeType": "VariableDeclaration",
                  "scope": 8234,
                  "src": "1381:19:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8223,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1381:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1380:21:15"
            },
            "payable": false,
            "returnParameters": {
              "id": 8226,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1411:0:15"
            },
            "scope": 8245,
            "src": "1358:121:15",
            "stateMutability": "nonpayable",
            "superFunction": null,
            "visibility": "internal"
          },
          {
            "body": {
              "id": 8243,
              "nodeType": "Block",
              "src": "1539:64:15",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [],
                    "expression": {
                      "argumentTypes": [],
                      "expression": {
                        "argumentTypes": null,
                        "id": 8239,
                        "name": "PINNED_CODE_POSITION",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 8177,
                        "src": "1556:20:15",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes32",
                          "typeString": "bytes32"
                        }
                      },
                      "id": 8240,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": false,
                      "lValueRequested": false,
                      "memberName": "getStorageAddress",
                      "nodeType": "MemberAccess",
                      "referencedDeclaration": 8920,
                      "src": "1556:38:15",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_address_$bound_to$_t_bytes32_$",
                        "typeString": "function (bytes32) view returns (address)"
                      }
                    },
                    "id": 8241,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1556:40:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "functionReturnParameters": 8238,
                  "id": 8242,
                  "nodeType": "Return",
                  "src": "1549:47:15"
                }
              ]
            },
            "documentation": null,
            "id": 8244,
            "implemented": true,
            "isConstructor": false,
            "isDeclaredConst": true,
            "modifiers": [],
            "name": "pinnedCode",
            "nodeType": "FunctionDefinition",
            "parameters": {
              "id": 8235,
              "nodeType": "ParameterList",
              "parameters": [],
              "src": "1504:2:15"
            },
            "payable": false,
            "returnParameters": {
              "id": 8238,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 8237,
                  "name": "",
                  "nodeType": "VariableDeclaration",
                  "scope": 8244,
                  "src": "1530:7:15",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 8236,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "1530:7:15",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "1529:9:15"
            },
            "scope": 8245,
            "src": "1485:118:15",
            "stateMutability": "view",
            "superFunction": null,
            "visibility": "internal"
          }
        ],
        "scope": 8246,
        "src": "135:1470:15"
      }
    ],
    "src": "0:1606:15"
  },
  "compiler": {
    "name": "solc",
    "version": "0.4.24+commit.e67f0147.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.0.1",
  "updatedAt": "2019-03-29T09:45:33.500Z",
  "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": {}
  }
}