UNPKG

@daostack/upgrades

Version:
829 lines (828 loc) 41.1 kB
{ "fileName": "ZosInitializableUpgradeabilityProxy.sol", "contractName": "ZosInitializableUpgradeabilityProxy", "source": "pragma solidity ^0.6.0;\n// SPDX-License-Identifier: MIT\n\nimport './ZosBaseUpgradeabilityProxy.sol';\n\n/**\n * @title InitializableUpgradeabilityProxy\n * @dev Extends BaseUpgradeabilityProxy with an initializer for initializing\n * implementation and init data.\n */\ncontract ZosInitializableUpgradeabilityProxy is ZosBaseUpgradeabilityProxy {\n /**\n * @dev Contract initializer.\n * @param _logic Address of the initial implementation.\n * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.\n * It should include the signature and the parameters of the function to be called, as described in\n * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\n * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.\n */\n function initialize(address _logic, bytes memory _data) public payable {\n require(_implementation() == address(0));\n assert(IMPLEMENTATION_SLOT == keccak256(\"org.zeppelinos.proxy.implementation\"));\n _setImplementation(_logic);\n if(_data.length > 0) {\n (bool success,) = _logic.delegatecall(_data);\n require(success);\n }\n }\n}\n", "sourcePath": "contracts/mocks/zos/ZosInitializableUpgradeabilityProxy.sol", "sourceMap": "262:951:31:-:0;;;;;;;;;;;;;;;;;;;;;;", "deployedSourceMap": "262:951:31:-:0;;;;;;;;;;;;;;;;;;;;;;;514:50:39;548:11;:9;:11;;:::i;:::-;514:50;262:951:31;;459:51:39;494:11;:9;:11;;:::i;:::-;459:51;262:951:31;863:348;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2075:90:39;2111:15;:13;:15;;:::i;:::-;2132:28;2142:17;:15;:17;;:::i;:::-;2132:9;:28;;:::i;:::-;2075:90;:::o;863:348:31:-;977:1;948:31;;:17;:15;:17;;:::i;:::-;:31;;;940:40;;;;;;;;1016:48;;;;;;;;;;;;;;;;;;;993:71;;;826:66:29;993:19:31;;:71;;;;986:79;;;;;;1071:26;1090:6;1071:18;:26;;:::i;:::-;1121:1;1106:5;:12;:16;1103:104;;;1133:12;1150:6;:19;;1170:5;1150:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1132:44;;;1192:7;1184:16;;;;;;;;1103:104;;863:348;;;:::o;1933:47:39:-;;:::o;1011:165:29:-;1070:12;1090;826:66;1105:19;;1090:34;;1161:4;1155:11;1147:19;;1139:33;;;:::o;981:743:39:-;1283:14;1280:1;1277;1264:34;1479:1;1476;1460:14;1457:1;1441:14;1434:5;1421:60;1543:16;1540:1;1537;1522:38;1575:6;1635:1;1630:38;;;;1695:16;1692:1;1685:27;1568:146;;1630:38;1649:16;1646:1;1639:27;1568:146;;1048:672;;;:::o;1590:305:29:-;1668:57;1707:17;1668:38;:57;;:::i;:::-;1660:129;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1796:12;826:66;1811:19;;1796:34;;1867:17;1861:4;1854:31;1846:45;;;:::o;956:616:43:-;1016:4;1032:12;1531:7;1519:20;1511:28;;1564:1;1557:4;:8;1550:15;;;;;956:616;;;;;:::o", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "implementation", "type": "address" } ], "name": "Upgraded", "type": "event" }, { "stateMutability": "payable", "type": "fallback" }, { "inputs": [ { "internalType": "address", "name": "_logic", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "name": "initialize", "outputs": [], "stateMutability": "payable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ], "ast": { "absolutePath": "contracts/mocks/zos/ZosInitializableUpgradeabilityProxy.sol", "exportedSymbols": { "ZosInitializableUpgradeabilityProxy": [ 5618 ] }, "id": 5619, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { "id": 5565, "literals": [ "solidity", "^", "0.6", ".0" ], "nodeType": "PragmaDirective", "src": "0:23:31" }, { "absolutePath": "contracts/mocks/zos/ZosBaseUpgradeabilityProxy.sol", "file": "./ZosBaseUpgradeabilityProxy.sol", "id": 5566, "nodeType": "ImportDirective", "scope": 5619, "sourceUnit": 5494, "src": "57:42:31", "symbolAliases": [], "unitAlias": "" }, { "abstract": false, "baseContracts": [ { "arguments": null, "baseName": { "contractScope": null, "id": 5568, "name": "ZosBaseUpgradeabilityProxy", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 5493, "src": "310:26:31", "typeDescriptions": { "typeIdentifier": "t_contract$_ZosBaseUpgradeabilityProxy_$5493", "typeString": "contract ZosBaseUpgradeabilityProxy" } }, "id": 5569, "nodeType": "InheritanceSpecifier", "src": "310:26:31" } ], "contractDependencies": [ 5493, 6257 ], "contractKind": "contract", "documentation": { "id": 5567, "nodeType": "StructuredDocumentation", "src": "101:160:31", "text": " @title InitializableUpgradeabilityProxy\n @dev Extends BaseUpgradeabilityProxy with an initializer for initializing\n implementation and init data." }, "fullyImplemented": true, "id": 5618, "linearizedBaseContracts": [ 5618, 5493, 6257 ], "name": "ZosInitializableUpgradeabilityProxy", "nodeType": "ContractDefinition", "nodes": [ { "body": { "id": 5616, "nodeType": "Block", "src": "934:277:31", "statements": [ { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_address", "typeString": "address" }, "id": 5584, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "arguments": [], "expression": { "argumentTypes": [], "id": 5578, "name": "_implementation", "nodeType": "Identifier", "overloadedDeclarations": [ 5457 ], "referencedDeclaration": 5457, "src": "948:15:31", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, "id": 5579, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "948:17:31", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", "id": 5582, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "977:1:31", "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": 5581, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", "src": "969:7:31", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { "id": 5580, "name": "address", "nodeType": "ElementaryTypeName", "src": "969:7:31", "typeDescriptions": { "typeIdentifier": null, "typeString": null } } }, "id": 5583, "isConstant": false, "isLValue": false, "isPure": true, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "969:10:31", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, "src": "948:31:31", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 5577, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ -18, -18 ], "referencedDeclaration": -18, "src": "940:7:31", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 5585, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "940:40:31", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5586, "nodeType": "ExpressionStatement", "src": "940:40:31" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "commonType": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, "id": 5592, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "id": 5588, "name": "IMPLEMENTATION_SLOT", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5444, "src": "993:19:31", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "6f72672e7a657070656c696e6f732e70726f78792e696d706c656d656e746174696f6e", "id": 5590, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", "src": "1026:37:31", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3", "typeString": "literal_string \"org.zeppelinos.proxy.implementation\"" }, "value": "org.zeppelinos.proxy.implementation" } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_stringliteral_7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3", "typeString": "literal_string \"org.zeppelinos.proxy.implementation\"" } ], "id": 5589, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -8, "src": "1016:9:31", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, "id": 5591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1016:48:31", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "src": "993:71:31", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 5587, "name": "assert", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": -3, "src": "986:6:31", "typeDescriptions": { "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 5593, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "986:79:31", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5594, "nodeType": "ExpressionStatement", "src": "986:79:31" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 5596, "name": "_logic", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5572, "src": "1090:6:31", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_address", "typeString": "address" } ], "id": 5595, "name": "_setImplementation", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5492, "src": "1071:18:31", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, "id": 5597, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1071:26:31", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5598, "nodeType": "ExpressionStatement", "src": "1071:26:31" }, { "condition": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, "id": 5602, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "id": 5599, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5574, "src": "1106:5:31", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "id": 5600, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1106:12:31", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { "argumentTypes": null, "hexValue": "30", "id": 5601, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", "src": "1121:1:31", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, "src": "1106:16:31", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, "id": 5615, "nodeType": "IfStatement", "src": "1103:104:31", "trueBody": { "id": 5614, "nodeType": "Block", "src": "1124:83:31", "statements": [ { "assignments": [ 5604, null ], "declarations": [ { "constant": false, "id": 5604, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", "overrides": null, "scope": 5614, "src": "1133:12:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "typeName": { "id": 5603, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1133:4:31", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "value": null, "visibility": "internal" }, null ], "id": 5609, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 5607, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5574, "src": "1170:5:31", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } ], "expression": { "argumentTypes": null, "id": 5605, "name": "_logic", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5572, "src": "1150:6:31", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "id": 5606, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", "referencedDeclaration": null, "src": "1150:19:31", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, "id": 5608, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1150:26:31", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "tuple(bool,bytes memory)" } }, "nodeType": "VariableDeclarationStatement", "src": "1132:44:31" }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "id": 5611, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 5604, "src": "1192:7:31", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], "expression": { "argumentTypes": [ { "typeIdentifier": "t_bool", "typeString": "bool" } ], "id": 5610, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ -18, -18 ], "referencedDeclaration": -18, "src": "1184:7:31", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, "id": 5612, "isConstant": false, "isLValue": false, "isPure": false, "kind": "functionCall", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", "src": "1184:16:31", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, "id": 5613, "nodeType": "ExpressionStatement", "src": "1184:16:31" } ] } } ] }, "documentation": { "id": 5570, "nodeType": "StructuredDocumentation", "src": "341:519:31", "text": " @dev Contract initializer.\n @param _logic Address of the initial implementation.\n @param _data Data to send as msg.data to the implementation to initialize the proxied contract.\n It should include the signature and the parameters of the function to be called, as described in\n https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.\n This parameter is optional, if no data is given the initialization call to proxied contract will be skipped." }, "functionSelector": "d1f57894", "id": 5617, "implemented": true, "kind": "function", "modifiers": [], "name": "initialize", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 5575, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 5572, "mutability": "mutable", "name": "_logic", "nodeType": "VariableDeclaration", "overrides": null, "scope": 5617, "src": "883:14:31", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 5571, "name": "address", "nodeType": "ElementaryTypeName", "src": "883:7:31", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" }, { "constant": false, "id": 5574, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", "overrides": null, "scope": 5617, "src": "899:18:31", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { "id": 5573, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "899:5:31", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], "src": "882:36:31" }, "returnParameters": { "id": 5576, "nodeType": "ParameterList", "parameters": [], "src": "934:0:31" }, "scope": 5618, "src": "863:348:31", "stateMutability": "payable", "virtual": false, "visibility": "public" } ], "scope": 5619, "src": "262:951:31" } ], "src": "0:1214:31" }, "bytecode": "0x60806040523480156100115760006000fd5b50610017565b610485806100266000396000f3fe6080604052600436106100225760003560e01c8063d1f578941461004b57610039565b36610039575b61003661012e63ffffffff16565b5b005b5b61004861012e63ffffffff16565b5b005b61012c600480360360408110156100625760006000fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156100a05760006000fd5b8201836020820111156100b35760006000fd5b803590602001918460018302840111640100000000831117156100d65760006000fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505090909192909091929050505061015b565b005b61013c6102d863ffffffff16565b61015861014d6102db63ffffffff16565b61030e63ffffffff16565b5b565b600073ffffffffffffffffffffffffffffffffffffffff166101816102db63ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161415156101a45760006000fd5b60405180806103f26023913960230190506040518091039020600019167f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360001b600019161415156101f257fe5b6102018261034163ffffffff16565b6000815111156102d35760008273ffffffffffffffffffffffffffffffffffffffff16826040518082805190602001908083835b60208310151561025b57805182525b602082019150602081019050602083039250610235565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146102bb576040519150601f19603f3d011682016040523d82523d6000602084013e6102c0565b606091505b505090508015156102d15760006000fd5b505b5b5050565b5b565b600060007f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360001b905080549150505b90565b36600060003760006000366000845af43d600060003e8060008114610336573d6000f361033b565b3d6000fd5b50505b50565b610350816103d763ffffffff16565b15156103a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610415603b913960400191505060405180910390fd5b60007f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360001b9050818155505b50565b60006000823b9050600081119150506103ec56505b91905056fe6f72672e7a657070656c696e6f732e70726f78792e696d706c656d656e746174696f6e43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220ede8959dbb815390b91dccb2485d5ca6a51639b1e824aa6dc61d638d409bf5c164736f6c634300060a0033", "deployedBytecode": "0x6080604052600436106100225760003560e01c8063d1f578941461004b57610039565b36610039575b61003661012e63ffffffff16565b5b005b5b61004861012e63ffffffff16565b5b005b61012c600480360360408110156100625760006000fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156100a05760006000fd5b8201836020820111156100b35760006000fd5b803590602001918460018302840111640100000000831117156100d65760006000fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505090909192909091929050505061015b565b005b61013c6102d863ffffffff16565b61015861014d6102db63ffffffff16565b61030e63ffffffff16565b5b565b600073ffffffffffffffffffffffffffffffffffffffff166101816102db63ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161415156101a45760006000fd5b60405180806103f26023913960230190506040518091039020600019167f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360001b600019161415156101f257fe5b6102018261034163ffffffff16565b6000815111156102d35760008273ffffffffffffffffffffffffffffffffffffffff16826040518082805190602001908083835b60208310151561025b57805182525b602082019150602081019050602083039250610235565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146102bb576040519150601f19603f3d011682016040523d82523d6000602084013e6102c0565b606091505b505090508015156102d15760006000fd5b505b5b5050565b5b565b600060007f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360001b905080549150505b90565b36600060003760006000366000845af43d600060003e8060008114610336573d6000f361033b565b3d6000fd5b50505b50565b610350816103d763ffffffff16565b15156103a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610415603b913960400191505060405180910390fd5b60007f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360001b9050818155505b50565b60006000823b9050600081119150506103ec56505b91905056fe6f72672e7a657070656c696e6f732e70726f78792e696d706c656d656e746174696f6e43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220ede8959dbb815390b91dccb2485d5ca6a51639b1e824aa6dc61d638d409bf5c164736f6c634300060a0033", "compiler": { "name": "solc", "version": "0.6.10+commit.00c0fcaf.Emscripten.clang", "optimizer": {}, "evmVersion": "constantinople" } }