{
  "contractName": "ProxyFactory",
  "abi": [
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "address",
          "name": "proxy",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "logic",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "salt",
          "type": "uint256"
        }
      ],
      "name": "NewEip1167Proxy",
      "type": "event"
    }
  ],
  "metadata": "{\"compiler\":{\"version\":\"0.6.11+commit.5ef660b1\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"proxy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"logic\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"salt\",\"type\":\"uint256\"}],\"name\":\"NewEip1167Proxy\",\"type\":\"event\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"ProxyFactory\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Factory for deploying Proxy contracts\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/proxy/ProxyFactory.sol\":\"ProxyFactory\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/proxy/ProxyFactory.sol\":{\"keccak256\":\"0xc3942bee11e73ceca1ef49154ba1a6dbe3ac25ce5e369d72db0f82185d1d10ba\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f1fc9bb98809b73920ac896aa9cbac809f3990a39f10dc06f2f3156f270dee79\",\"dweb:/ipfs/QmVPJojnqGrcMuJ1nvNbxJwLWBsbmkJtWePw55QU5Hk1Xc\"]},\"@openzeppelin/contracts-ethereum-package/contracts/utils/Address.sol\":{\"keccak256\":\"0x5f7da58ee3d9faa9b8999a93d49c8ff978f1afc88ae9bcfc6f9cbb44da011c2b\",\"urls\":[\"bzz-raw://4f089d954b3ecaa26949412fe63e9a184b056562c6c13dd4a0529a5d9a2e685a\",\"dweb:/ipfs/QmVK5iCNAMcEJQxT59bsC5E53JQASDQPU6khHox3d5ZXCn\"]}},\"version\":1}",
  "bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea26469706673582212206abacd4ccc8cab85d304d7da77f3155ef92826c32ccceb66b9ddba328cde0e8564736f6c634300060b0033",
  "deployedBytecode": "0x6080604052600080fdfea26469706673582212206abacd4ccc8cab85d304d7da77f3155ef92826c32ccceb66b9ddba328cde0e8564736f6c634300060b0033",
  "immutableReferences": {},
  "sourceMap": "261:1494:72:-:0;;;;;;;;;;;;;;;;;;;",
  "deployedSourceMap": "261:1494:72:-:0;;;;;",
  "source": "// \"SPDX-License-Identifier: Apache-2.0\"\npragma solidity ^0.6.10;\npragma experimental ABIEncoderV2;\n\nimport \"@openzeppelin/contracts-ethereum-package/contracts/utils/Address.sol\";\n\n/**\n * @title ProxyFactory\n * @notice Factory for deploying Proxy contracts\n */\ncontract ProxyFactory {\n    using Address for address;\n\n    event NewEip1167Proxy(address proxy, address logic, uint256 salt);\n\n    /**\n     * @dev `create2` a new EIP-1167 proxi instance\n     * https://eips.ethereum.org/EIPS/eip-1167\n     * @param logic contract address the proxy `delegatecall`s\n     * @param salt as defined by EIP-1167\n     */\n    function create2Eip1167Proxy(address logic, uint256 salt) internal returns (address newAddr)\n    {\n        require(\n            logic.isContract(),\n            \"ProxyFactory.create2Eip1167Proxy: INVALID_FUNCTION_PARAMETERS\"\n        );\n\n        bytes20 targetBytes = bytes20(logic);\n        assembly {\n            let bytecode := mload(0x40)\n\n            // 0x3d602d80600a3d3981f3 is the static constructor that returns the EIP-1167 bytecode being:\n            // 0x363d3d373d3d3d363d73<target address (20 bytes)>5af43d82803e903d91602b57fd5bf3\n            // source: EIP-1167 reference implementation (https://github.com/optionality/clone-factory)\n            mstore(bytecode, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000)\n            mstore(add(bytecode, 0x14), targetBytes)\n            mstore(add(bytecode, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000)\n\n            newAddr := create2(\n                0,      // 0 wei\n                bytecode,\n                0x37,   // bytecode size\n                salt\n            )\n        }\n        emit NewEip1167Proxy(newAddr, logic, salt);\n    }\n}\n",
  "sourcePath": "/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/proxy/ProxyFactory.sol",
  "ast": {
    "absolutePath": "/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/proxy/ProxyFactory.sol",
    "exportedSymbols": {
      "ProxyFactory": [
        22445
      ]
    },
    "id": 22446,
    "license": "Apache-2.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 22398,
        "literals": [
          "solidity",
          "^",
          "0.6",
          ".10"
        ],
        "nodeType": "PragmaDirective",
        "src": "41:24:72"
      },
      {
        "id": 22399,
        "literals": [
          "experimental",
          "ABIEncoderV2"
        ],
        "nodeType": "PragmaDirective",
        "src": "66:33:72"
      },
      {
        "absolutePath": "@openzeppelin/contracts-ethereum-package/contracts/utils/Address.sol",
        "file": "@openzeppelin/contracts-ethereum-package/contracts/utils/Address.sol",
        "id": 22400,
        "nodeType": "ImportDirective",
        "scope": 22446,
        "sourceUnit": 38300,
        "src": "101:78:72",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 22401,
          "nodeType": "StructuredDocumentation",
          "src": "181:79:72",
          "text": " @title ProxyFactory\n @notice Factory for deploying Proxy contracts"
        },
        "fullyImplemented": true,
        "id": 22445,
        "linearizedBaseContracts": [
          22445
        ],
        "name": "ProxyFactory",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 22404,
            "libraryName": {
              "contractScope": null,
              "id": 22402,
              "name": "Address",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 38299,
              "src": "295:7:72",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Address_$38299",
                "typeString": "library Address"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "289:26:72",
            "typeName": {
              "id": 22403,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "307:7:72",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            }
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 22412,
            "name": "NewEip1167Proxy",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 22411,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22406,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "proxy",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22412,
                  "src": "343:13:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22405,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "343:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22408,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "logic",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22412,
                  "src": "358:13:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22407,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "358:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22410,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "salt",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22412,
                  "src": "373:12:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22409,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "373:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "342:44:72"
            },
            "src": "321:66:72"
          },
          {
            "body": {
              "id": 22443,
              "nodeType": "Block",
              "src": "710:1043:72",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "argumentTypes": null,
                            "id": 22423,
                            "name": "logic",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22415,
                            "src": "741:5:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "id": 22424,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "isContract",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 38264,
                          "src": "741:16:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$",
                            "typeString": "function (address) view returns (bool)"
                          }
                        },
                        "id": 22425,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "741:18:72",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "50726f7879466163746f72792e637265617465324569703131363750726f78793a20494e56414c49445f46554e4354494f4e5f504152414d4554455253",
                        "id": 22426,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "773:63:72",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_68866f0d550bd4e267583c85c670838fb03b037726a1ba0bc66a91bce0b56a7c",
                          "typeString": "literal_string \"ProxyFactory.create2Eip1167Proxy: INVALID_FUNCTION_PARAMETERS\""
                        },
                        "value": "ProxyFactory.create2Eip1167Proxy: INVALID_FUNCTION_PARAMETERS"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_68866f0d550bd4e267583c85c670838fb03b037726a1ba0bc66a91bce0b56a7c",
                          "typeString": "literal_string \"ProxyFactory.create2Eip1167Proxy: INVALID_FUNCTION_PARAMETERS\""
                        }
                      ],
                      "id": 22422,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "720:7:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 22427,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "720:126:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 22428,
                  "nodeType": "ExpressionStatement",
                  "src": "720:126:72"
                },
                {
                  "assignments": [
                    22430
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 22430,
                      "mutability": "mutable",
                      "name": "targetBytes",
                      "nodeType": "VariableDeclaration",
                      "overrides": null,
                      "scope": 22443,
                      "src": "857:19:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes20",
                        "typeString": "bytes20"
                      },
                      "typeName": {
                        "id": 22429,
                        "name": "bytes20",
                        "nodeType": "ElementaryTypeName",
                        "src": "857:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes20",
                          "typeString": "bytes20"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 22435,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 22433,
                        "name": "logic",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22415,
                        "src": "887:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 22432,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "nodeType": "ElementaryTypeNameExpression",
                      "src": "879:7:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_bytes20_$",
                        "typeString": "type(bytes20)"
                      },
                      "typeName": {
                        "id": 22431,
                        "name": "bytes20",
                        "nodeType": "ElementaryTypeName",
                        "src": "879:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": null,
                          "typeString": null
                        }
                      }
                    },
                    "id": 22434,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "879:14:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes20",
                      "typeString": "bytes20"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "857:36:72"
                },
                {
                  "AST": {
                    "nodeType": "YulBlock",
                    "src": "912:783:72",
                    "statements": [
                      {
                        "nodeType": "YulVariableDeclaration",
                        "src": "926:27:72",
                        "value": {
                          "arguments": [
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "948:4:72",
                              "type": "",
                              "value": "0x40"
                            }
                          ],
                          "functionName": {
                            "name": "mload",
                            "nodeType": "YulIdentifier",
                            "src": "942:5:72"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "942:11:72"
                        },
                        "variables": [
                          {
                            "name": "bytecode",
                            "nodeType": "YulTypedName",
                            "src": "930:8:72",
                            "type": ""
                          }
                        ]
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "name": "bytecode",
                              "nodeType": "YulIdentifier",
                              "src": "1279:8:72"
                            },
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "1289:66:72",
                              "type": "",
                              "value": "0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000"
                            }
                          ],
                          "functionName": {
                            "name": "mstore",
                            "nodeType": "YulIdentifier",
                            "src": "1272:6:72"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "1272:84:72"
                        },
                        "nodeType": "YulExpressionStatement",
                        "src": "1272:84:72"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "name": "bytecode",
                                  "nodeType": "YulIdentifier",
                                  "src": "1380:8:72"
                                },
                                {
                                  "kind": "number",
                                  "nodeType": "YulLiteral",
                                  "src": "1390:4:72",
                                  "type": "",
                                  "value": "0x14"
                                }
                              ],
                              "functionName": {
                                "name": "add",
                                "nodeType": "YulIdentifier",
                                "src": "1376:3:72"
                              },
                              "nodeType": "YulFunctionCall",
                              "src": "1376:19:72"
                            },
                            {
                              "name": "targetBytes",
                              "nodeType": "YulIdentifier",
                              "src": "1397:11:72"
                            }
                          ],
                          "functionName": {
                            "name": "mstore",
                            "nodeType": "YulIdentifier",
                            "src": "1369:6:72"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "1369:40:72"
                        },
                        "nodeType": "YulExpressionStatement",
                        "src": "1369:40:72"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "name": "bytecode",
                                  "nodeType": "YulIdentifier",
                                  "src": "1433:8:72"
                                },
                                {
                                  "kind": "number",
                                  "nodeType": "YulLiteral",
                                  "src": "1443:4:72",
                                  "type": "",
                                  "value": "0x28"
                                }
                              ],
                              "functionName": {
                                "name": "add",
                                "nodeType": "YulIdentifier",
                                "src": "1429:3:72"
                              },
                              "nodeType": "YulFunctionCall",
                              "src": "1429:19:72"
                            },
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "1450:66:72",
                              "type": "",
                              "value": "0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000"
                            }
                          ],
                          "functionName": {
                            "name": "mstore",
                            "nodeType": "YulIdentifier",
                            "src": "1422:6:72"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "1422:95:72"
                        },
                        "nodeType": "YulExpressionStatement",
                        "src": "1422:95:72"
                      },
                      {
                        "nodeType": "YulAssignment",
                        "src": "1531:154:72",
                        "value": {
                          "arguments": [
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "1567:1:72",
                              "type": "",
                              "value": "0"
                            },
                            {
                              "name": "bytecode",
                              "nodeType": "YulIdentifier",
                              "src": "1600:8:72"
                            },
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "1626:4:72",
                              "type": "",
                              "value": "0x37"
                            },
                            {
                              "name": "salt",
                              "nodeType": "YulIdentifier",
                              "src": "1667:4:72"
                            }
                          ],
                          "functionName": {
                            "name": "create2",
                            "nodeType": "YulIdentifier",
                            "src": "1542:7:72"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "1542:143:72"
                        },
                        "variableNames": [
                          {
                            "name": "newAddr",
                            "nodeType": "YulIdentifier",
                            "src": "1531:7:72"
                          }
                        ]
                      }
                    ]
                  },
                  "evmVersion": "istanbul",
                  "externalReferences": [
                    {
                      "declaration": 22420,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "1531:7:72",
                      "valueSize": 1
                    },
                    {
                      "declaration": 22417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "1667:4:72",
                      "valueSize": 1
                    },
                    {
                      "declaration": 22430,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "1397:11:72",
                      "valueSize": 1
                    }
                  ],
                  "id": 22436,
                  "nodeType": "InlineAssembly",
                  "src": "903:792:72"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 22438,
                        "name": "newAddr",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22420,
                        "src": "1725:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 22439,
                        "name": "logic",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22415,
                        "src": "1734:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 22440,
                        "name": "salt",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22417,
                        "src": "1741:4:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 22437,
                      "name": "NewEip1167Proxy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22412,
                      "src": "1709:15:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$",
                        "typeString": "function (address,address,uint256)"
                      }
                    },
                    "id": 22441,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1709:37:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 22442,
                  "nodeType": "EmitStatement",
                  "src": "1704:42:72"
                }
              ]
            },
            "documentation": {
              "id": 22413,
              "nodeType": "StructuredDocumentation",
              "src": "393:215:72",
              "text": " @dev `create2` a new EIP-1167 proxi instance\n https://eips.ethereum.org/EIPS/eip-1167\n @param logic contract address the proxy `delegatecall`s\n @param salt as defined by EIP-1167"
            },
            "id": 22444,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "create2Eip1167Proxy",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 22418,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22415,
                  "mutability": "mutable",
                  "name": "logic",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22444,
                  "src": "642:13:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22414,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "642:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22417,
                  "mutability": "mutable",
                  "name": "salt",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22444,
                  "src": "657:12:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22416,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "657:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "641:29:72"
            },
            "returnParameters": {
              "id": 22421,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22420,
                  "mutability": "mutable",
                  "name": "newAddr",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22444,
                  "src": "689:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22419,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "689:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "688:17:72"
            },
            "scope": 22445,
            "src": "613:1140:72",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          }
        ],
        "scope": 22446,
        "src": "261:1494:72"
      }
    ],
    "src": "41:1715:72"
  },
  "legacyAST": {
    "absolutePath": "/Users/johannes/Documents/dev/actus-protocol/ap-monorepo/packages/ap-contracts/contracts/proxy/ProxyFactory.sol",
    "exportedSymbols": {
      "ProxyFactory": [
        22445
      ]
    },
    "id": 22446,
    "license": "Apache-2.0",
    "nodeType": "SourceUnit",
    "nodes": [
      {
        "id": 22398,
        "literals": [
          "solidity",
          "^",
          "0.6",
          ".10"
        ],
        "nodeType": "PragmaDirective",
        "src": "41:24:72"
      },
      {
        "id": 22399,
        "literals": [
          "experimental",
          "ABIEncoderV2"
        ],
        "nodeType": "PragmaDirective",
        "src": "66:33:72"
      },
      {
        "absolutePath": "@openzeppelin/contracts-ethereum-package/contracts/utils/Address.sol",
        "file": "@openzeppelin/contracts-ethereum-package/contracts/utils/Address.sol",
        "id": 22400,
        "nodeType": "ImportDirective",
        "scope": 22446,
        "sourceUnit": 38300,
        "src": "101:78:72",
        "symbolAliases": [],
        "unitAlias": ""
      },
      {
        "abstract": false,
        "baseContracts": [],
        "contractDependencies": [],
        "contractKind": "contract",
        "documentation": {
          "id": 22401,
          "nodeType": "StructuredDocumentation",
          "src": "181:79:72",
          "text": " @title ProxyFactory\n @notice Factory for deploying Proxy contracts"
        },
        "fullyImplemented": true,
        "id": 22445,
        "linearizedBaseContracts": [
          22445
        ],
        "name": "ProxyFactory",
        "nodeType": "ContractDefinition",
        "nodes": [
          {
            "id": 22404,
            "libraryName": {
              "contractScope": null,
              "id": 22402,
              "name": "Address",
              "nodeType": "UserDefinedTypeName",
              "referencedDeclaration": 38299,
              "src": "295:7:72",
              "typeDescriptions": {
                "typeIdentifier": "t_contract$_Address_$38299",
                "typeString": "library Address"
              }
            },
            "nodeType": "UsingForDirective",
            "src": "289:26:72",
            "typeName": {
              "id": 22403,
              "name": "address",
              "nodeType": "ElementaryTypeName",
              "src": "307:7:72",
              "stateMutability": "nonpayable",
              "typeDescriptions": {
                "typeIdentifier": "t_address",
                "typeString": "address"
              }
            }
          },
          {
            "anonymous": false,
            "documentation": null,
            "id": 22412,
            "name": "NewEip1167Proxy",
            "nodeType": "EventDefinition",
            "parameters": {
              "id": 22411,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22406,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "proxy",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22412,
                  "src": "343:13:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22405,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "343:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22408,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "logic",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22412,
                  "src": "358:13:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22407,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "358:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22410,
                  "indexed": false,
                  "mutability": "mutable",
                  "name": "salt",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22412,
                  "src": "373:12:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22409,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "373:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "342:44:72"
            },
            "src": "321:66:72"
          },
          {
            "body": {
              "id": 22443,
              "nodeType": "Block",
              "src": "710:1043:72",
              "statements": [
                {
                  "expression": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "arguments": [],
                        "expression": {
                          "argumentTypes": [],
                          "expression": {
                            "argumentTypes": null,
                            "id": 22423,
                            "name": "logic",
                            "nodeType": "Identifier",
                            "overloadedDeclarations": [],
                            "referencedDeclaration": 22415,
                            "src": "741:5:72",
                            "typeDescriptions": {
                              "typeIdentifier": "t_address",
                              "typeString": "address"
                            }
                          },
                          "id": 22424,
                          "isConstant": false,
                          "isLValue": false,
                          "isPure": false,
                          "lValueRequested": false,
                          "memberName": "isContract",
                          "nodeType": "MemberAccess",
                          "referencedDeclaration": 38264,
                          "src": "741:16:72",
                          "typeDescriptions": {
                            "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$",
                            "typeString": "function (address) view returns (bool)"
                          }
                        },
                        "id": 22425,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": false,
                        "kind": "functionCall",
                        "lValueRequested": false,
                        "names": [],
                        "nodeType": "FunctionCall",
                        "src": "741:18:72",
                        "tryCall": false,
                        "typeDescriptions": {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "hexValue": "50726f7879466163746f72792e637265617465324569703131363750726f78793a20494e56414c49445f46554e4354494f4e5f504152414d4554455253",
                        "id": 22426,
                        "isConstant": false,
                        "isLValue": false,
                        "isPure": true,
                        "kind": "string",
                        "lValueRequested": false,
                        "nodeType": "Literal",
                        "src": "773:63:72",
                        "subdenomination": null,
                        "typeDescriptions": {
                          "typeIdentifier": "t_stringliteral_68866f0d550bd4e267583c85c670838fb03b037726a1ba0bc66a91bce0b56a7c",
                          "typeString": "literal_string \"ProxyFactory.create2Eip1167Proxy: INVALID_FUNCTION_PARAMETERS\""
                        },
                        "value": "ProxyFactory.create2Eip1167Proxy: INVALID_FUNCTION_PARAMETERS"
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_bool",
                          "typeString": "bool"
                        },
                        {
                          "typeIdentifier": "t_stringliteral_68866f0d550bd4e267583c85c670838fb03b037726a1ba0bc66a91bce0b56a7c",
                          "typeString": "literal_string \"ProxyFactory.create2Eip1167Proxy: INVALID_FUNCTION_PARAMETERS\""
                        }
                      ],
                      "id": 22422,
                      "name": "require",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [
                        -18,
                        -18
                      ],
                      "referencedDeclaration": -18,
                      "src": "720:7:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
                        "typeString": "function (bool,string memory) pure"
                      }
                    },
                    "id": 22427,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "720:126:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 22428,
                  "nodeType": "ExpressionStatement",
                  "src": "720:126:72"
                },
                {
                  "assignments": [
                    22430
                  ],
                  "declarations": [
                    {
                      "constant": false,
                      "id": 22430,
                      "mutability": "mutable",
                      "name": "targetBytes",
                      "nodeType": "VariableDeclaration",
                      "overrides": null,
                      "scope": 22443,
                      "src": "857:19:72",
                      "stateVariable": false,
                      "storageLocation": "default",
                      "typeDescriptions": {
                        "typeIdentifier": "t_bytes20",
                        "typeString": "bytes20"
                      },
                      "typeName": {
                        "id": 22429,
                        "name": "bytes20",
                        "nodeType": "ElementaryTypeName",
                        "src": "857:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_bytes20",
                          "typeString": "bytes20"
                        }
                      },
                      "value": null,
                      "visibility": "internal"
                    }
                  ],
                  "id": 22435,
                  "initialValue": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 22433,
                        "name": "logic",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22415,
                        "src": "887:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      ],
                      "id": 22432,
                      "isConstant": false,
                      "isLValue": false,
                      "isPure": true,
                      "lValueRequested": false,
                      "nodeType": "ElementaryTypeNameExpression",
                      "src": "879:7:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_type$_t_bytes20_$",
                        "typeString": "type(bytes20)"
                      },
                      "typeName": {
                        "id": 22431,
                        "name": "bytes20",
                        "nodeType": "ElementaryTypeName",
                        "src": "879:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": null,
                          "typeString": null
                        }
                      }
                    },
                    "id": 22434,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "typeConversion",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "879:14:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_bytes20",
                      "typeString": "bytes20"
                    }
                  },
                  "nodeType": "VariableDeclarationStatement",
                  "src": "857:36:72"
                },
                {
                  "AST": {
                    "nodeType": "YulBlock",
                    "src": "912:783:72",
                    "statements": [
                      {
                        "nodeType": "YulVariableDeclaration",
                        "src": "926:27:72",
                        "value": {
                          "arguments": [
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "948:4:72",
                              "type": "",
                              "value": "0x40"
                            }
                          ],
                          "functionName": {
                            "name": "mload",
                            "nodeType": "YulIdentifier",
                            "src": "942:5:72"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "942:11:72"
                        },
                        "variables": [
                          {
                            "name": "bytecode",
                            "nodeType": "YulTypedName",
                            "src": "930:8:72",
                            "type": ""
                          }
                        ]
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "name": "bytecode",
                              "nodeType": "YulIdentifier",
                              "src": "1279:8:72"
                            },
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "1289:66:72",
                              "type": "",
                              "value": "0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000"
                            }
                          ],
                          "functionName": {
                            "name": "mstore",
                            "nodeType": "YulIdentifier",
                            "src": "1272:6:72"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "1272:84:72"
                        },
                        "nodeType": "YulExpressionStatement",
                        "src": "1272:84:72"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "name": "bytecode",
                                  "nodeType": "YulIdentifier",
                                  "src": "1380:8:72"
                                },
                                {
                                  "kind": "number",
                                  "nodeType": "YulLiteral",
                                  "src": "1390:4:72",
                                  "type": "",
                                  "value": "0x14"
                                }
                              ],
                              "functionName": {
                                "name": "add",
                                "nodeType": "YulIdentifier",
                                "src": "1376:3:72"
                              },
                              "nodeType": "YulFunctionCall",
                              "src": "1376:19:72"
                            },
                            {
                              "name": "targetBytes",
                              "nodeType": "YulIdentifier",
                              "src": "1397:11:72"
                            }
                          ],
                          "functionName": {
                            "name": "mstore",
                            "nodeType": "YulIdentifier",
                            "src": "1369:6:72"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "1369:40:72"
                        },
                        "nodeType": "YulExpressionStatement",
                        "src": "1369:40:72"
                      },
                      {
                        "expression": {
                          "arguments": [
                            {
                              "arguments": [
                                {
                                  "name": "bytecode",
                                  "nodeType": "YulIdentifier",
                                  "src": "1433:8:72"
                                },
                                {
                                  "kind": "number",
                                  "nodeType": "YulLiteral",
                                  "src": "1443:4:72",
                                  "type": "",
                                  "value": "0x28"
                                }
                              ],
                              "functionName": {
                                "name": "add",
                                "nodeType": "YulIdentifier",
                                "src": "1429:3:72"
                              },
                              "nodeType": "YulFunctionCall",
                              "src": "1429:19:72"
                            },
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "1450:66:72",
                              "type": "",
                              "value": "0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000"
                            }
                          ],
                          "functionName": {
                            "name": "mstore",
                            "nodeType": "YulIdentifier",
                            "src": "1422:6:72"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "1422:95:72"
                        },
                        "nodeType": "YulExpressionStatement",
                        "src": "1422:95:72"
                      },
                      {
                        "nodeType": "YulAssignment",
                        "src": "1531:154:72",
                        "value": {
                          "arguments": [
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "1567:1:72",
                              "type": "",
                              "value": "0"
                            },
                            {
                              "name": "bytecode",
                              "nodeType": "YulIdentifier",
                              "src": "1600:8:72"
                            },
                            {
                              "kind": "number",
                              "nodeType": "YulLiteral",
                              "src": "1626:4:72",
                              "type": "",
                              "value": "0x37"
                            },
                            {
                              "name": "salt",
                              "nodeType": "YulIdentifier",
                              "src": "1667:4:72"
                            }
                          ],
                          "functionName": {
                            "name": "create2",
                            "nodeType": "YulIdentifier",
                            "src": "1542:7:72"
                          },
                          "nodeType": "YulFunctionCall",
                          "src": "1542:143:72"
                        },
                        "variableNames": [
                          {
                            "name": "newAddr",
                            "nodeType": "YulIdentifier",
                            "src": "1531:7:72"
                          }
                        ]
                      }
                    ]
                  },
                  "evmVersion": "istanbul",
                  "externalReferences": [
                    {
                      "declaration": 22420,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "1531:7:72",
                      "valueSize": 1
                    },
                    {
                      "declaration": 22417,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "1667:4:72",
                      "valueSize": 1
                    },
                    {
                      "declaration": 22430,
                      "isOffset": false,
                      "isSlot": false,
                      "src": "1397:11:72",
                      "valueSize": 1
                    }
                  ],
                  "id": 22436,
                  "nodeType": "InlineAssembly",
                  "src": "903:792:72"
                },
                {
                  "eventCall": {
                    "argumentTypes": null,
                    "arguments": [
                      {
                        "argumentTypes": null,
                        "id": 22438,
                        "name": "newAddr",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22420,
                        "src": "1725:7:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 22439,
                        "name": "logic",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22415,
                        "src": "1734:5:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        }
                      },
                      {
                        "argumentTypes": null,
                        "id": 22440,
                        "name": "salt",
                        "nodeType": "Identifier",
                        "overloadedDeclarations": [],
                        "referencedDeclaration": 22417,
                        "src": "1741:4:72",
                        "typeDescriptions": {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      }
                    ],
                    "expression": {
                      "argumentTypes": [
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_address",
                          "typeString": "address"
                        },
                        {
                          "typeIdentifier": "t_uint256",
                          "typeString": "uint256"
                        }
                      ],
                      "id": 22437,
                      "name": "NewEip1167Proxy",
                      "nodeType": "Identifier",
                      "overloadedDeclarations": [],
                      "referencedDeclaration": 22412,
                      "src": "1709:15:72",
                      "typeDescriptions": {
                        "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$",
                        "typeString": "function (address,address,uint256)"
                      }
                    },
                    "id": 22441,
                    "isConstant": false,
                    "isLValue": false,
                    "isPure": false,
                    "kind": "functionCall",
                    "lValueRequested": false,
                    "names": [],
                    "nodeType": "FunctionCall",
                    "src": "1709:37:72",
                    "tryCall": false,
                    "typeDescriptions": {
                      "typeIdentifier": "t_tuple$__$",
                      "typeString": "tuple()"
                    }
                  },
                  "id": 22442,
                  "nodeType": "EmitStatement",
                  "src": "1704:42:72"
                }
              ]
            },
            "documentation": {
              "id": 22413,
              "nodeType": "StructuredDocumentation",
              "src": "393:215:72",
              "text": " @dev `create2` a new EIP-1167 proxi instance\n https://eips.ethereum.org/EIPS/eip-1167\n @param logic contract address the proxy `delegatecall`s\n @param salt as defined by EIP-1167"
            },
            "id": 22444,
            "implemented": true,
            "kind": "function",
            "modifiers": [],
            "name": "create2Eip1167Proxy",
            "nodeType": "FunctionDefinition",
            "overrides": null,
            "parameters": {
              "id": 22418,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22415,
                  "mutability": "mutable",
                  "name": "logic",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22444,
                  "src": "642:13:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22414,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "642:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                },
                {
                  "constant": false,
                  "id": 22417,
                  "mutability": "mutable",
                  "name": "salt",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22444,
                  "src": "657:12:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_uint256",
                    "typeString": "uint256"
                  },
                  "typeName": {
                    "id": 22416,
                    "name": "uint256",
                    "nodeType": "ElementaryTypeName",
                    "src": "657:7:72",
                    "typeDescriptions": {
                      "typeIdentifier": "t_uint256",
                      "typeString": "uint256"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "641:29:72"
            },
            "returnParameters": {
              "id": 22421,
              "nodeType": "ParameterList",
              "parameters": [
                {
                  "constant": false,
                  "id": 22420,
                  "mutability": "mutable",
                  "name": "newAddr",
                  "nodeType": "VariableDeclaration",
                  "overrides": null,
                  "scope": 22444,
                  "src": "689:15:72",
                  "stateVariable": false,
                  "storageLocation": "default",
                  "typeDescriptions": {
                    "typeIdentifier": "t_address",
                    "typeString": "address"
                  },
                  "typeName": {
                    "id": 22419,
                    "name": "address",
                    "nodeType": "ElementaryTypeName",
                    "src": "689:7:72",
                    "stateMutability": "nonpayable",
                    "typeDescriptions": {
                      "typeIdentifier": "t_address",
                      "typeString": "address"
                    }
                  },
                  "value": null,
                  "visibility": "internal"
                }
              ],
              "src": "688:17:72"
            },
            "scope": 22445,
            "src": "613:1140:72",
            "stateMutability": "nonpayable",
            "virtual": false,
            "visibility": "internal"
          }
        ],
        "scope": 22446,
        "src": "261:1494:72"
      }
    ],
    "src": "41:1715:72"
  },
  "compiler": {
    "name": "solc",
    "version": "0.6.11+commit.5ef660b1.Emscripten.clang"
  },
  "networks": {},
  "schemaVersion": "3.2.0",
  "updatedAt": "2020-08-12T09:47:18.260Z",
  "devdoc": {
    "kind": "dev",
    "methods": {},
    "title": "ProxyFactory",
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {},
    "notice": "Factory for deploying Proxy contracts",
    "version": 1
  }
}