UNPKG

@gnosis.pm/pm-contracts

Version:

Collection of smart contracts for the Gnosis prediction market platform

968 lines 39.5 kB
{ "contractName": "Proxy", "abi": [ { "constant": true, "inputs": [], "name": "masterCopy", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "_masterCopy", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" } ], "metadata": "{\"compiler\":{\"version\":\"0.5.6+commit.b259423e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":true,\"inputs\":[],\"name\":\"masterCopy\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_masterCopy\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"fallback\"}],\"devdoc\":{\"author\":\"Stefan George - <stefan@gnosis.pm>\",\"methods\":{\"constructor\":{\"details\":\"Constructor function sets address of master copy contract.\",\"params\":{\"_masterCopy\":\"Master copy address.\"}}},\"title\":\"Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.\"},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"@gnosis.pm/util-contracts/contracts/Proxy.sol\":\"Proxy\"},\"evmVersion\":\"petersburg\",\"libraries\":{},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@gnosis.pm/util-contracts/contracts/Proxy.sol\":{\"keccak256\":\"0xeab0e83a9ec9e7f052c0455a11577061ec6d1994db08dae429abd6faaabf6555\",\"urls\":[\"bzzr://b2c1273d4ec30e2f9e768eea8c510f8493a7359b03e01923d93eea86b57ec145\"]}},\"version\":1}", "bytecode": "0x608060405234801561001057600080fd5b506040516020806101d98339810180604052602081101561003057600080fd5b8101908080519060200190929190505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561007b57600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505061010e806100cb6000396000f3fe608060405260043610601c5760003560e01c8063a619486e146069575b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050366000803760008036600084600019f43d6000803e80600081146064573d6000f35b3d6000fd5b348015607457600080fd5b50607b60bd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea165627a7a72305820d1faa9051944d7e95805b9946bfeea602836cd9dce55ed3b8acd372472d71a220029", "deployedBytecode": "0x608060405260043610601c5760003560e01c8063a619486e146069575b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050366000803760008036600084600019f43d6000803e80600081146064573d6000f35b3d6000fd5b348015607457600080fd5b50607b60bd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea165627a7a72305820d1faa9051944d7e95805b9946bfeea602836cd9dce55ed3b8acd372472d71a220029", "sourceMap": "399:833:29:-;;;551:137;8:9:-1;5:2;;;30:1;27;20:12;5:2;551:137:29;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;551:137:29;;;;;;;;;;;;;;;;644:1;621:25;;:11;:25;;;;613:34;;;;;;670:11;657:10;;:24;;;;;;;;;;;;;;;;;;551:137;399:833;;;;;;", "deployedSourceMap": "399:833:29:-;;;;;;;;;;;;;;;;;;848:19;870:10;;;;;;;;;;;848:32;;932:14;929:1;926;913:34;1031:1;1028;1012:14;1009:1;996:11;992:1;988:6;975:58;1067:16;1064:1;1061;1046:38;1104:7;1129:1;1124:38;;;;1195:16;1192:1;1185:27;1124:38;1143:16;1140:1;1133:27;205:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;205:25:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", "source": "pragma solidity >=0.4.24 ^0.5.1;\n\n/// @title Proxied - indicates that a contract will be proxied. Also defines storage requirements for Proxy.\n/// @author Alan Lu - <alan@gnosis.pm>\ncontract Proxied {\n address public masterCopy;\n}\n\n/// @title Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.\n/// @author Stefan George - <stefan@gnosis.pm>\ncontract Proxy is Proxied {\n /// @dev Constructor function sets address of master copy contract.\n /// @param _masterCopy Master copy address.\n constructor(address _masterCopy)\n public\n {\n require(_masterCopy != address(0));\n masterCopy = _masterCopy;\n }\n\n /// @dev Fallback function forwards all transactions and returns all received return data.\n function ()\n external\n payable\n {\n address _masterCopy = masterCopy;\n assembly {\n calldatacopy(0, 0, calldatasize())\n let success := delegatecall(not(0), _masterCopy, 0, calldatasize(), 0, 0)\n returndatacopy(0, 0, returndatasize())\n switch success\n case 0 { revert(0, returndatasize()) }\n default { return(0, returndatasize()) }\n }\n }\n}\n", "sourcePath": "@gnosis.pm/util-contracts/contracts/Proxy.sol", "ast": { "absolutePath": "@gnosis.pm/util-contracts/contracts/Proxy.sol", "exportedSymbols": { "Proxied": [ 6798 ], "Proxy": [ 6828 ] }, "id": 6829, "nodeType": "SourceUnit", "nodes": [ { "id": 6795, "literals": [ "solidity", ">=", "0.4", ".24", "^", "0.5", ".1" ], "nodeType": "PragmaDirective", "src": "0:32:29" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": "@title Proxied - indicates that a contract will be proxied. Also defines storage requirements for Proxy.\n @author Alan Lu - <alan@gnosis.pm>", "fullyImplemented": true, "id": 6798, "linearizedBaseContracts": [ 6798 ], "name": "Proxied", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, "id": 6797, "name": "masterCopy", "nodeType": "VariableDeclaration", "scope": 6798, "src": "205:25:29", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 6796, "name": "address", "nodeType": "ElementaryTypeName", "src": "205:7:29", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "public" } ], "scope": 6829, "src": "182:51:29" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 6799, "name": "Proxied", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 6798, "src": "417:7:29", "typeDescriptions": { "typeIdentifier": "t_contract$_Proxied_$6798", "typeString": "contract Proxied" } }, "id": 6800, "nodeType": "InheritanceSpecifier", "src": "417:7:29" } ], "contractDependencies": [ 6798 ], "contractKind": "contract", "documentation": "@title Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.\n @author Stefan George - <stefan@gnosis.pm>", "fullyImplemented": true, "id": 6828, "linearizedBaseContracts": [ 6828, 6798 ], "name": "Proxy", "nodeType": "ContractDefinition", "nodes": [ { "body": { "id": 6817, "nodeType": "Block", "src": "603:85:29", "statements": [ { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 6810, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "id": 6806, "name": "_masterCopy", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6802, "src": "621:11:29", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", "id": 6808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "644:1:29", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 6807, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "636:7:29", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 6809, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "636:10:29", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, "src": "621:25:29", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 6805, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 7923, 7924 ], "referencedDeclaration": 7923, "src": "613:7:29", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 6811, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "613:34:29", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 6812, "nodeType": "ExpressionStatement", "src": "613:34:29" }, { "expression": { "argumentTypes": null, "id": 6815, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "id": 6813, "name": "masterCopy", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6797, "src": "657:10:29", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "id": 6814, "name": "_masterCopy", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6802, "src": "670:11:29", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "657:24:29", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 6816, "nodeType": "ExpressionStatement", "src": "657:24:29" } ] }, "documentation": "@dev Constructor function sets address of master copy contract.\n @param _masterCopy Master copy address.", "id": 6818, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { "id": 6803, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 6802, "name": "_masterCopy", "nodeType": "VariableDeclaration", "scope": 6818, "src": "563:19:29", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 6801, "name": "address", "nodeType": "ElementaryTypeName", "src": "563:7:29", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "562:21:29" }, "returnParameters": { "id": 6804, "nodeType": "ParameterList", "parameters": [], "src": "603:0:29" }, "scope": 6828, "src": "551:137:29", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { "id": 6826, "nodeType": "Block", "src": "838:392:29", "statements": [ { "assignments": [ 6822 ], "declarations": [ { "constant": false, "id": 6822, "name": "_masterCopy", "nodeType": "VariableDeclaration", "scope": 6826, "src": "848:19:29", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 6821, "name": "address", "nodeType": "ElementaryTypeName", "src": "848:7:29", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "id": 6824, "initialValue": { "argumentTypes": null, "id": 6823, "name": "masterCopy", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6797, "src": "870:10:29", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", "src": "848:32:29" }, { "externalReferences": [ { "_masterCopy": { "declaration": 6822, "isOffset": false, "isSlot": false, "src": "996:11:29", "valueSize": 1 } } ], "id": 6825, "nodeType": "InlineAssembly", "operations": "{\n calldatacopy(0, 0, calldatasize())\n let success := delegatecall(not(0), _masterCopy, 0, calldatasize(), 0, 0)\n returndatacopy(0, 0, returndatasize())\n switch success\n case 0 {\n revert(0, returndatasize())\n }\n default {\n return(0, returndatasize())\n }\n}", "src": "890:340:29" } ] }, "documentation": "@dev Fallback function forwards all transactions and returns all received return data.", "id": 6827, "implemented": true, "kind": "fallback", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { "id": 6819, "nodeType": "ParameterList", "parameters": [], "src": "798:2:29" }, "returnParameters": { "id": 6820, "nodeType": "ParameterList", "parameters": [], "src": "838:0:29" }, "scope": 6828, "src": "789:441:29", "stateMutability": "payable", "superFunction": null, "visibility": "external" } ], "scope": 6829, "src": "399:833:29" } ], "src": "0:1233:29" }, "legacyAST": { "absolutePath": "@gnosis.pm/util-contracts/contracts/Proxy.sol", "exportedSymbols": { "Proxied": [ 6798 ], "Proxy": [ 6828 ] }, "id": 6829, "nodeType": "SourceUnit", "nodes": [ { "id": 6795, "literals": [ "solidity", ">=", "0.4", ".24", "^", "0.5", ".1" ], "nodeType": "PragmaDirective", "src": "0:32:29" }, { "baseContracts": [], "contractDependencies": [], "contractKind": "contract", "documentation": "@title Proxied - indicates that a contract will be proxied. Also defines storage requirements for Proxy.\n @author Alan Lu - <alan@gnosis.pm>", "fullyImplemented": true, "id": 6798, "linearizedBaseContracts": [ 6798 ], "name": "Proxied", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, "id": 6797, "name": "masterCopy", "nodeType": "VariableDeclaration", "scope": 6798, "src": "205:25:29", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 6796, "name": "address", "nodeType": "ElementaryTypeName", "src": "205:7:29", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "public" } ], "scope": 6829, "src": "182:51:29" }, { "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 6799, "name": "Proxied", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 6798, "src": "417:7:29", "typeDescriptions": { "typeIdentifier": "t_contract$_Proxied_$6798", "typeString": "contract Proxied" } }, "id": 6800, "nodeType": "InheritanceSpecifier", "src": "417:7:29" } ], "contractDependencies": [ 6798 ], "contractKind": "contract", "documentation": "@title Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.\n @author Stefan George - <stefan@gnosis.pm>", "fullyImplemented": true, "id": 6828, "linearizedBaseContracts": [ 6828, 6798 ], "name": "Proxy", "nodeType": "ContractDefinition", "nodes": [ { "body": { "id": 6817, "nodeType": "Block", "src": "603:85:29", "statements": [ { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 6810, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "id": 6806, "name": "_masterCopy", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6802, "src": "621:11:29", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", "id": 6808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "644:1:29", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" } ], "id": 6807, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "636:7:29", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, "id": 6809, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "636:10:29", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, "src": "621:25:29", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 6805, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ 7923, 7924 ], "referencedDeclaration": 7923, "src": "613:7:29", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 6811, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "613:34:29", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 6812, "nodeType": "ExpressionStatement", "src": "613:34:29" }, { "expression": { "argumentTypes": null, "id": 6815, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, "id": 6813, "name": "masterCopy", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6797, "src": "657:10:29", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, "id": 6814, "name": "_masterCopy", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6802, "src": "670:11:29", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "src": "657:24:29", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 6816, "nodeType": "ExpressionStatement", "src": "657:24:29" } ] }, "documentation": "@dev Constructor function sets address of master copy contract.\n @param _masterCopy Master copy address.", "id": 6818, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { "id": 6803, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 6802, "name": "_masterCopy", "nodeType": "VariableDeclaration", "scope": 6818, "src": "563:19:29", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 6801, "name": "address", "nodeType": "ElementaryTypeName", "src": "563:7:29", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "562:21:29" }, "returnParameters": { "id": 6804, "nodeType": "ParameterList", "parameters": [], "src": "603:0:29" }, "scope": 6828, "src": "551:137:29", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { "id": 6826, "nodeType": "Block", "src": "838:392:29", "statements": [ { "assignments": [ 6822 ], "declarations": [ { "constant": false, "id": 6822, "name": "_masterCopy", "nodeType": "VariableDeclaration", "scope": 6826, "src": "848:19:29", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 6821, "name": "address", "nodeType": "ElementaryTypeName", "src": "848:7:29", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "id": 6824, "initialValue": { "argumentTypes": null, "id": 6823, "name": "masterCopy", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 6797, "src": "870:10:29", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", "src": "848:32:29" }, { "externalReferences": [ { "_masterCopy": { "declaration": 6822, "isOffset": false, "isSlot": false, "src": "996:11:29", "valueSize": 1 } } ], "id": 6825, "nodeType": "InlineAssembly", "operations": "{\n calldatacopy(0, 0, calldatasize())\n let success := delegatecall(not(0), _masterCopy, 0, calldatasize(), 0, 0)\n returndatacopy(0, 0, returndatasize())\n switch success\n case 0 {\n revert(0, returndatasize())\n }\n default {\n return(0, returndatasize())\n }\n}", "src": "890:340:29" } ] }, "documentation": "@dev Fallback function forwards all transactions and returns all received return data.", "id": 6827, "implemented": true, "kind": "fallback", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { "id": 6819, "nodeType": "ParameterList", "parameters": [], "src": "798:2:29" }, "returnParameters": { "id": 6820, "nodeType": "ParameterList", "parameters": [], "src": "838:0:29" }, "scope": 6828, "src": "789:441:29", "stateMutability": "payable", "superFunction": null, "visibility": "external" } ], "scope": 6829, "src": "399:833:29" } ], "src": "0:1233:29" }, "compiler": { "name": "solc", "version": "0.5.6+commit.b259423e.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.0.11", "updatedAt": "2019-09-20T17:46:52.251Z", "devdoc": { "author": "Stefan George - <stefan@gnosis.pm>", "methods": { "constructor": { "details": "Constructor function sets address of master copy contract.", "params": { "_masterCopy": "Master copy address." } } }, "title": "Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract." }, "userdoc": { "methods": {} } }