Comparing version 0.1.22 to 0.1.23
@@ -6,4 +6,4 @@ { | ||
"deployedBytecode": "0x73000000000000000000000000000000000000000030146060604052600080fd00a165627a7a723058207384971bd0cfc1b0533557adc4734504364c8f391c88ec0535c9ae97cca45d660029", | ||
"sourceMap": "86:518:19:-;;132:2:-1;166:7;155:9;146:7;137:37;252:7;246:14;243:1;238:23;232:4;229:33;270:1;265:20;;;;222:63;;265:20;274:9;222:63;;298:9;295:1;288:20;328:4;319:7;311:22;352:7;343;336:24", | ||
"deployedSourceMap": "86:518:19:-;;;;;;;;", | ||
"sourceMap": "86:518:11:-;;132:2:-1;166:7;155:9;146:7;137:37;252:7;246:14;243:1;238:23;232:4;229:33;270:1;265:20;;;;222:63;;265:20;274:9;222:63;;298:9;295:1;288:20;328:4;319:7;311:22;352:7;343;336:24", | ||
"deployedSourceMap": "86:518:11:-;;;;;;;;", | ||
"source": "pragma solidity ^0.4.18;\n\n/**\n * Utility library of inline functions on addresses\n */\nlibrary AddressUtils {\n\n /**\n * Returns whether there is code in the target address\n * @dev This function will return false if invoked during the constructor of a contract,\n * as the code is not actually created until after the constructor finishes.\n * @param addr address address to check\n * @return whether there is code in the target address\n */\n function isContract(address addr) internal view returns (bool) {\n uint256 size;\n assembly { size := extcodesize(addr) }\n return size > 0;\n }\n\n}\n", | ||
@@ -15,10 +15,10 @@ "sourcePath": "zeppelin-solidity/contracts/AddressUtils.sol", | ||
"AddressUtils": [ | ||
1613 | ||
980 | ||
] | ||
}, | ||
"id": 1614, | ||
"id": 981, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 1596, | ||
"id": 963, | ||
"literals": [ | ||
@@ -31,3 +31,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:19" | ||
"src": "0:24:11" | ||
}, | ||
@@ -40,5 +40,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 1613, | ||
"id": 980, | ||
"linearizedBaseContracts": [ | ||
1613 | ||
980 | ||
], | ||
@@ -50,5 +50,5 @@ "name": "AddressUtils", | ||
"body": { | ||
"id": 1611, | ||
"id": 978, | ||
"nodeType": "Block", | ||
"src": "514:87:19", | ||
"src": "514:87:11", | ||
"statements": [ | ||
@@ -60,7 +60,7 @@ { | ||
"constant": false, | ||
"id": 1604, | ||
"id": 971, | ||
"name": "size", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1612, | ||
"src": "520:12:19", | ||
"scope": 979, | ||
"src": "520:12:11", | ||
"stateVariable": false, | ||
@@ -73,6 +73,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1603, | ||
"id": 970, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "520:7:19", | ||
"src": "520:7:11", | ||
"typeDescriptions": { | ||
@@ -87,6 +87,6 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"id": 1605, | ||
"id": 972, | ||
"initialValue": null, | ||
"nodeType": "VariableDeclarationStatement", | ||
"src": "520:12:19" | ||
"src": "520:12:11" | ||
}, | ||
@@ -97,6 +97,6 @@ { | ||
"size": { | ||
"declaration": 1604, | ||
"declaration": 971, | ||
"isOffset": false, | ||
"isSlot": false, | ||
"src": "549:4:19", | ||
"src": "549:4:11", | ||
"valueSize": 1 | ||
@@ -107,6 +107,6 @@ } | ||
"addr": { | ||
"declaration": 1598, | ||
"declaration": 965, | ||
"isOffset": false, | ||
"isSlot": false, | ||
"src": "569:4:19", | ||
"src": "569:4:11", | ||
"valueSize": 1 | ||
@@ -116,6 +116,6 @@ } | ||
], | ||
"id": 1606, | ||
"id": 973, | ||
"nodeType": "InlineAssembly", | ||
"operations": "{\n size := extcodesize(addr)\n}", | ||
"src": "538:49:19" | ||
"src": "538:49:11" | ||
}, | ||
@@ -129,3 +129,3 @@ { | ||
}, | ||
"id": 1609, | ||
"id": 976, | ||
"isConstant": false, | ||
@@ -137,8 +137,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1607, | ||
"id": 974, | ||
"name": "size", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1604, | ||
"src": "588:4:19", | ||
"referencedDeclaration": 971, | ||
"src": "588:4:11", | ||
"typeDescriptions": { | ||
@@ -154,3 +154,3 @@ "typeIdentifier": "t_uint256", | ||
"hexValue": "30", | ||
"id": 1608, | ||
"id": 975, | ||
"isConstant": false, | ||
@@ -162,3 +162,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "595:1:19", | ||
"src": "595:1:11", | ||
"subdenomination": null, | ||
@@ -171,3 +171,3 @@ "typeDescriptions": { | ||
}, | ||
"src": "588:8:19", | ||
"src": "588:8:11", | ||
"typeDescriptions": { | ||
@@ -178,6 +178,6 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"functionReturnParameters": 1602, | ||
"id": 1610, | ||
"functionReturnParameters": 969, | ||
"id": 977, | ||
"nodeType": "Return", | ||
"src": "581:15:19" | ||
"src": "581:15:11" | ||
} | ||
@@ -187,3 +187,3 @@ ] | ||
"documentation": "Returns whether there is code in the target address\n@dev This function will return false if invoked during the constructor of a contract,\n as the code is not actually created until after the constructor finishes.\n@param addr address address to check\n@return whether there is code in the target address", | ||
"id": 1612, | ||
"id": 979, | ||
"implemented": true, | ||
@@ -196,3 +196,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1599, | ||
"id": 966, | ||
"nodeType": "ParameterList", | ||
@@ -202,7 +202,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1598, | ||
"id": 965, | ||
"name": "addr", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1612, | ||
"src": "471:12:19", | ||
"scope": 979, | ||
"src": "471:12:11", | ||
"stateVariable": false, | ||
@@ -215,6 +215,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1597, | ||
"id": 964, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "471:7:19", | ||
"src": "471:7:11", | ||
"typeDescriptions": { | ||
@@ -229,7 +229,7 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "470:14:19" | ||
"src": "470:14:11" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1602, | ||
"id": 969, | ||
"nodeType": "ParameterList", | ||
@@ -239,7 +239,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1601, | ||
"id": 968, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1612, | ||
"src": "508:4:19", | ||
"scope": 979, | ||
"src": "508:4:11", | ||
"stateVariable": false, | ||
@@ -252,6 +252,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1600, | ||
"id": 967, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "508:4:19", | ||
"src": "508:4:11", | ||
"typeDescriptions": { | ||
@@ -266,6 +266,6 @@ "typeIdentifier": "t_bool", | ||
], | ||
"src": "507:6:19" | ||
"src": "507:6:11" | ||
}, | ||
"scope": 1613, | ||
"src": "451:150:19", | ||
"scope": 980, | ||
"src": "451:150:11", | ||
"stateMutability": "view", | ||
@@ -276,7 +276,7 @@ "superFunction": null, | ||
], | ||
"scope": 1614, | ||
"src": "86:518:19" | ||
"scope": 981, | ||
"src": "86:518:11" | ||
} | ||
], | ||
"src": "0:605:19" | ||
"src": "0:605:11" | ||
}, | ||
@@ -287,10 +287,10 @@ "legacyAST": { | ||
"AddressUtils": [ | ||
1613 | ||
980 | ||
] | ||
}, | ||
"id": 1614, | ||
"id": 981, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 1596, | ||
"id": 963, | ||
"literals": [ | ||
@@ -303,3 +303,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:19" | ||
"src": "0:24:11" | ||
}, | ||
@@ -312,5 +312,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 1613, | ||
"id": 980, | ||
"linearizedBaseContracts": [ | ||
1613 | ||
980 | ||
], | ||
@@ -322,5 +322,5 @@ "name": "AddressUtils", | ||
"body": { | ||
"id": 1611, | ||
"id": 978, | ||
"nodeType": "Block", | ||
"src": "514:87:19", | ||
"src": "514:87:11", | ||
"statements": [ | ||
@@ -332,7 +332,7 @@ { | ||
"constant": false, | ||
"id": 1604, | ||
"id": 971, | ||
"name": "size", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1612, | ||
"src": "520:12:19", | ||
"scope": 979, | ||
"src": "520:12:11", | ||
"stateVariable": false, | ||
@@ -345,6 +345,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1603, | ||
"id": 970, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "520:7:19", | ||
"src": "520:7:11", | ||
"typeDescriptions": { | ||
@@ -359,6 +359,6 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"id": 1605, | ||
"id": 972, | ||
"initialValue": null, | ||
"nodeType": "VariableDeclarationStatement", | ||
"src": "520:12:19" | ||
"src": "520:12:11" | ||
}, | ||
@@ -369,6 +369,6 @@ { | ||
"size": { | ||
"declaration": 1604, | ||
"declaration": 971, | ||
"isOffset": false, | ||
"isSlot": false, | ||
"src": "549:4:19", | ||
"src": "549:4:11", | ||
"valueSize": 1 | ||
@@ -379,6 +379,6 @@ } | ||
"addr": { | ||
"declaration": 1598, | ||
"declaration": 965, | ||
"isOffset": false, | ||
"isSlot": false, | ||
"src": "569:4:19", | ||
"src": "569:4:11", | ||
"valueSize": 1 | ||
@@ -388,6 +388,6 @@ } | ||
], | ||
"id": 1606, | ||
"id": 973, | ||
"nodeType": "InlineAssembly", | ||
"operations": "{\n size := extcodesize(addr)\n}", | ||
"src": "538:49:19" | ||
"src": "538:49:11" | ||
}, | ||
@@ -401,3 +401,3 @@ { | ||
}, | ||
"id": 1609, | ||
"id": 976, | ||
"isConstant": false, | ||
@@ -409,8 +409,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1607, | ||
"id": 974, | ||
"name": "size", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1604, | ||
"src": "588:4:19", | ||
"referencedDeclaration": 971, | ||
"src": "588:4:11", | ||
"typeDescriptions": { | ||
@@ -426,3 +426,3 @@ "typeIdentifier": "t_uint256", | ||
"hexValue": "30", | ||
"id": 1608, | ||
"id": 975, | ||
"isConstant": false, | ||
@@ -434,3 +434,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "595:1:19", | ||
"src": "595:1:11", | ||
"subdenomination": null, | ||
@@ -443,3 +443,3 @@ "typeDescriptions": { | ||
}, | ||
"src": "588:8:19", | ||
"src": "588:8:11", | ||
"typeDescriptions": { | ||
@@ -450,6 +450,6 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"functionReturnParameters": 1602, | ||
"id": 1610, | ||
"functionReturnParameters": 969, | ||
"id": 977, | ||
"nodeType": "Return", | ||
"src": "581:15:19" | ||
"src": "581:15:11" | ||
} | ||
@@ -459,3 +459,3 @@ ] | ||
"documentation": "Returns whether there is code in the target address\n@dev This function will return false if invoked during the constructor of a contract,\n as the code is not actually created until after the constructor finishes.\n@param addr address address to check\n@return whether there is code in the target address", | ||
"id": 1612, | ||
"id": 979, | ||
"implemented": true, | ||
@@ -468,3 +468,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1599, | ||
"id": 966, | ||
"nodeType": "ParameterList", | ||
@@ -474,7 +474,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1598, | ||
"id": 965, | ||
"name": "addr", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1612, | ||
"src": "471:12:19", | ||
"scope": 979, | ||
"src": "471:12:11", | ||
"stateVariable": false, | ||
@@ -487,6 +487,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1597, | ||
"id": 964, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "471:7:19", | ||
"src": "471:7:11", | ||
"typeDescriptions": { | ||
@@ -501,7 +501,7 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "470:14:19" | ||
"src": "470:14:11" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1602, | ||
"id": 969, | ||
"nodeType": "ParameterList", | ||
@@ -511,7 +511,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1601, | ||
"id": 968, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1612, | ||
"src": "508:4:19", | ||
"scope": 979, | ||
"src": "508:4:11", | ||
"stateVariable": false, | ||
@@ -524,6 +524,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1600, | ||
"id": 967, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "508:4:19", | ||
"src": "508:4:11", | ||
"typeDescriptions": { | ||
@@ -538,6 +538,6 @@ "typeIdentifier": "t_bool", | ||
], | ||
"src": "507:6:19" | ||
"src": "507:6:11" | ||
}, | ||
"scope": 1613, | ||
"src": "451:150:19", | ||
"scope": 980, | ||
"src": "451:150:11", | ||
"stateMutability": "view", | ||
@@ -548,7 +548,7 @@ "superFunction": null, | ||
], | ||
"scope": 1614, | ||
"src": "86:518:19" | ||
"scope": 981, | ||
"src": "86:518:11" | ||
} | ||
], | ||
"src": "0:605:19" | ||
"src": "0:605:11" | ||
}, | ||
@@ -561,3 +561,3 @@ "compiler": { | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-17T16:14:48.641Z" | ||
"updatedAt": "2018-05-18T22:19:42.733Z" | ||
} |
@@ -33,20 +33,20 @@ { | ||
], | ||
"bytecode": "0x6060604052341561000f57600080fd5b61010b8061001e6000396000f3006060604052600436106049576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063abf8e0e714604e578063f851a440146078575b600080fd5b3415605857600080fd5b605e60ca565b604051808215151515815260200191505060405180910390f35b3415608257600080fd5b608860d3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006001905090565b600063111111429050905600a165627a7a72305820bc741c128556fc8b33d48cf3458a6dd04a00017923d9bcad193156a34ab14d980029", | ||
"deployedBytecode": "0x6060604052600436106049576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063abf8e0e714604e578063f851a440146078575b600080fd5b3415605857600080fd5b605e60ca565b604051808215151515815260200191505060405180910390f35b3415608257600080fd5b608860d3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006001905090565b600063111111429050905600a165627a7a72305820bc741c128556fc8b33d48cf3458a6dd04a00017923d9bcad193156a34ab14d980029", | ||
"bytecode": "0x6060604052341561000f57600080fd5b61010b8061001e6000396000f3006060604052600436106049576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063abf8e0e714604e578063f851a440146078575b600080fd5b3415605857600080fd5b605e60ca565b604051808215151515815260200191505060405180910390f35b3415608257600080fd5b608860d3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006001905090565b600063111111429050905600a165627a7a72305820e696eb45da9b2a5eec2b4b39b084cce495423c72d197023fc02a7257bc90e7260029", | ||
"deployedBytecode": "0x6060604052600436106049576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063abf8e0e714604e578063f851a440146078575b600080fd5b3415605857600080fd5b605e60ca565b604051808215151515815260200191505060405180910390f35b3415608257600080fd5b608860d3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006001905090565b600063111111429050905600a165627a7a72305820e696eb45da9b2a5eec2b4b39b084cce495423c72d197023fc02a7257bc90e7260029", | ||
"sourceMap": "216:227:12:-;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "216:227:12:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;361:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;253:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;361:80;413:4;432;425:11;;361:80;:::o;253:104::-;288:7;310:42;303:49;;253:104;:::o", | ||
"source": "pragma solidity ^0.4.21;\n\n\n/**\n * @dev Implementation contract with an admin() function made to clash with\n * @dev AdminUpgradeabilityProxy's to test correct functioning of the\n * @dev Transparent Proxy feature.\n */\ncontract ClashingImplementation {\n\n function admin() external returns (address) {\n return 0x0000000000000000000000000000000011111142;\n }\n\n function delegatedFunction() external pure returns (bool) {\n return true;\n }\n}\n", | ||
"sourcePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/ClashingImplementation.sol", | ||
"sourcePath": "/home/frangio/zs/zos/lib/contracts/mocks/ClashingImplementation.sol", | ||
"ast": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/ClashingImplementation.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/mocks/ClashingImplementation.sol", | ||
"exportedSymbols": { | ||
"ClashingImplementation": [ | ||
808 | ||
831 | ||
] | ||
}, | ||
"id": 809, | ||
"id": 832, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 791, | ||
"id": 814, | ||
"literals": [ | ||
@@ -67,5 +67,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 808, | ||
"id": 831, | ||
"linearizedBaseContracts": [ | ||
808 | ||
831 | ||
], | ||
@@ -77,3 +77,3 @@ "name": "ClashingImplementation", | ||
"body": { | ||
"id": 798, | ||
"id": 821, | ||
"nodeType": "Block", | ||
@@ -86,3 +86,3 @@ "src": "297:60:12", | ||
"hexValue": "307830303030303030303030303030303030303030303030303030303030303030303131313131313432", | ||
"id": 796, | ||
"id": 819, | ||
"isConstant": false, | ||
@@ -102,4 +102,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 795, | ||
"id": 797, | ||
"functionReturnParameters": 818, | ||
"id": 820, | ||
"nodeType": "Return", | ||
@@ -111,3 +111,3 @@ "src": "303:49:12" | ||
"documentation": null, | ||
"id": 799, | ||
"id": 822, | ||
"implemented": true, | ||
@@ -120,3 +120,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 792, | ||
"id": 815, | ||
"nodeType": "ParameterList", | ||
@@ -128,3 +128,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 795, | ||
"id": 818, | ||
"nodeType": "ParameterList", | ||
@@ -134,6 +134,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 794, | ||
"id": 817, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 799, | ||
"scope": 822, | ||
"src": "288:7:12", | ||
@@ -147,3 +147,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 793, | ||
"id": 816, | ||
"name": "address", | ||
@@ -163,3 +163,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 808, | ||
"scope": 831, | ||
"src": "253:104:12", | ||
@@ -172,3 +172,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 806, | ||
"id": 829, | ||
"nodeType": "Block", | ||
@@ -181,3 +181,3 @@ "src": "419:22:12", | ||
"hexValue": "74727565", | ||
"id": 804, | ||
"id": 827, | ||
"isConstant": false, | ||
@@ -197,4 +197,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 803, | ||
"id": 805, | ||
"functionReturnParameters": 826, | ||
"id": 828, | ||
"nodeType": "Return", | ||
@@ -206,3 +206,3 @@ "src": "425:11:12" | ||
"documentation": null, | ||
"id": 807, | ||
"id": 830, | ||
"implemented": true, | ||
@@ -215,3 +215,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 800, | ||
"id": 823, | ||
"nodeType": "ParameterList", | ||
@@ -223,3 +223,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 803, | ||
"id": 826, | ||
"nodeType": "ParameterList", | ||
@@ -229,6 +229,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 802, | ||
"id": 825, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 807, | ||
"scope": 830, | ||
"src": "413:4:12", | ||
@@ -242,3 +242,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 801, | ||
"id": 824, | ||
"name": "bool", | ||
@@ -258,3 +258,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 808, | ||
"scope": 831, | ||
"src": "361:80:12", | ||
@@ -266,3 +266,3 @@ "stateMutability": "pure", | ||
], | ||
"scope": 809, | ||
"scope": 832, | ||
"src": "216:227:12" | ||
@@ -274,13 +274,13 @@ } | ||
"legacyAST": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/ClashingImplementation.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/mocks/ClashingImplementation.sol", | ||
"exportedSymbols": { | ||
"ClashingImplementation": [ | ||
808 | ||
831 | ||
] | ||
}, | ||
"id": 809, | ||
"id": 832, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 791, | ||
"id": 814, | ||
"literals": [ | ||
@@ -301,5 +301,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 808, | ||
"id": 831, | ||
"linearizedBaseContracts": [ | ||
808 | ||
831 | ||
], | ||
@@ -311,3 +311,3 @@ "name": "ClashingImplementation", | ||
"body": { | ||
"id": 798, | ||
"id": 821, | ||
"nodeType": "Block", | ||
@@ -320,3 +320,3 @@ "src": "297:60:12", | ||
"hexValue": "307830303030303030303030303030303030303030303030303030303030303030303131313131313432", | ||
"id": 796, | ||
"id": 819, | ||
"isConstant": false, | ||
@@ -336,4 +336,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 795, | ||
"id": 797, | ||
"functionReturnParameters": 818, | ||
"id": 820, | ||
"nodeType": "Return", | ||
@@ -345,3 +345,3 @@ "src": "303:49:12" | ||
"documentation": null, | ||
"id": 799, | ||
"id": 822, | ||
"implemented": true, | ||
@@ -354,3 +354,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 792, | ||
"id": 815, | ||
"nodeType": "ParameterList", | ||
@@ -362,3 +362,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 795, | ||
"id": 818, | ||
"nodeType": "ParameterList", | ||
@@ -368,6 +368,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 794, | ||
"id": 817, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 799, | ||
"scope": 822, | ||
"src": "288:7:12", | ||
@@ -381,3 +381,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 793, | ||
"id": 816, | ||
"name": "address", | ||
@@ -397,3 +397,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 808, | ||
"scope": 831, | ||
"src": "253:104:12", | ||
@@ -406,3 +406,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 806, | ||
"id": 829, | ||
"nodeType": "Block", | ||
@@ -415,3 +415,3 @@ "src": "419:22:12", | ||
"hexValue": "74727565", | ||
"id": 804, | ||
"id": 827, | ||
"isConstant": false, | ||
@@ -431,4 +431,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 803, | ||
"id": 805, | ||
"functionReturnParameters": 826, | ||
"id": 828, | ||
"nodeType": "Return", | ||
@@ -440,3 +440,3 @@ "src": "425:11:12" | ||
"documentation": null, | ||
"id": 807, | ||
"id": 830, | ||
"implemented": true, | ||
@@ -449,3 +449,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 800, | ||
"id": 823, | ||
"nodeType": "ParameterList", | ||
@@ -457,3 +457,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 803, | ||
"id": 826, | ||
"nodeType": "ParameterList", | ||
@@ -463,6 +463,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 802, | ||
"id": 825, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 807, | ||
"scope": 830, | ||
"src": "413:4:12", | ||
@@ -476,3 +476,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 801, | ||
"id": 824, | ||
"name": "bool", | ||
@@ -492,3 +492,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 808, | ||
"scope": 831, | ||
"src": "361:80:12", | ||
@@ -500,3 +500,3 @@ "stateMutability": "pure", | ||
], | ||
"scope": 809, | ||
"scope": 832, | ||
"src": "216:227:12" | ||
@@ -513,3 +513,3 @@ } | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-15T16:04:29.312Z" | ||
"updatedAt": "2018-05-17T18:16:35.363Z" | ||
} |
@@ -61,23 +61,23 @@ { | ||
], | ||
"bytecode": "0x6060604052341561000f57600080fd5b61020a8061001e6000396000f300606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633fa4f2451461006757806354fd4d50146100905780636d4ce63c1461011e578063fe4b84df1461014b575b600080fd5b341561007257600080fd5b61007a61016e565b6040518082815260200191505060405180910390f35b341561009b57600080fd5b6100a3610174565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100e35780820151818401526020810190506100c8565b50505050905090810190601f1680156101105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012957600080fd5b6101316101b7565b604051808215151515815260200191505060405180910390f35b341561015657600080fd5b61016c60048080359060200190919050506101c0565b005b60005481565b61017c6101ca565b6040805190810160405280600281526020017f5631000000000000000000000000000000000000000000000000000000000000815250905090565b60006001905090565b8060008190555050565b6020604051908101604052806000815250905600a165627a7a723058208003329b8be62b460395d79910a62ab06833deb3074a950ed9caf4070f7569ef0029", | ||
"deployedBytecode": "0x606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633fa4f2451461006757806354fd4d50146100905780636d4ce63c1461011e578063fe4b84df1461014b575b600080fd5b341561007257600080fd5b61007a61016e565b6040518082815260200191505060405180910390f35b341561009b57600080fd5b6100a3610174565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100e35780820151818401526020810190506100c8565b50505050905090810190601f1680156101105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012957600080fd5b6101316101b7565b604051808215151515815260200191505060405180910390f35b341561015657600080fd5b61016c60048080359060200190919050506101c0565b005b60005481565b61017c6101ca565b6040805190810160405280600281526020017f5631000000000000000000000000000000000000000000000000000000000000815250905090565b60006001905090565b8060008190555050565b6020604051908101604052806000815250905600a165627a7a723058208003329b8be62b460395d79910a62ab06833deb3074a950ed9caf4070f7569ef0029", | ||
"bytecode": "0x6060604052341561000f57600080fd5b61020a8061001e6000396000f300606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633fa4f2451461006757806354fd4d50146100905780636d4ce63c1461011e578063fe4b84df1461014b575b600080fd5b341561007257600080fd5b61007a61016e565b6040518082815260200191505060405180910390f35b341561009b57600080fd5b6100a3610174565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100e35780820151818401526020810190506100c8565b50505050905090810190601f1680156101105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012957600080fd5b6101316101b7565b604051808215151515815260200191505060405180910390f35b341561015657600080fd5b61016c60048080359060200190919050506101c0565b005b60005481565b61017c6101ca565b6040805190810160405280600281526020017f5631000000000000000000000000000000000000000000000000000000000000815250905090565b60006001905090565b8060008190555050565b6020604051908101604052806000815250905600a165627a7a72305820d114e078b63e9b0aac27b2c4ad8b2a4f3a56f481a9cecca7c4243a776d57c2970029", | ||
"deployedBytecode": "0x606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633fa4f2451461006757806354fd4d50146100905780636d4ce63c1461011e578063fe4b84df1461014b575b600080fd5b341561007257600080fd5b61007a61016e565b6040518082815260200191505060405180910390f35b341561009b57600080fd5b6100a3610174565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100e35780820151818401526020810190506100c8565b50505050905090810190601f1680156101105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012957600080fd5b6101316101b7565b604051808215151515815260200191505060405180910390f35b341561015657600080fd5b61016c60048080359060200190919050506101c0565b005b60005481565b61017c6101ca565b6040805190810160405280600281526020017f5631000000000000000000000000000000000000000000000000000000000000815250905090565b60006001905090565b8060008190555050565b6020604051908101604052806000815250905600a165627a7a72305820d114e078b63e9b0aac27b2c4ad8b2a4f3a56f481a9cecca7c4243a776d57c2970029", | ||
"sourceMap": "26:270:13:-;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "26:270:13:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;224:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;224:70:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;156:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84:68;;;;;;;;;;;;;;;;;;;;;;;;;;59:20;;;;:::o;224:70::-;264:6;;:::i;:::-;278:11;;;;;;;;;;;;;;;;;;;;224:70;:::o;156:64::-;192:4;211;204:11;;156:64;:::o;84:68::-;141:6;133:5;:14;;;;84:68;:::o;26:270::-;;;;;;;;;;;;;;;:::o", | ||
"source": "pragma solidity ^0.4.21;\n\ncontract DummyImplementation {\n uint256 public value;\n\n function initialize(uint256 _value) public {\n value = _value;\n }\n\n function get() public pure returns (bool) {\n return true;\n }\n\n function version() public pure returns (string) {\n return \"V1\";\n }\n}\n\ncontract DummyImplementationV2 is DummyImplementation {\n function migrate(uint256 newVal) public {\n value = newVal;\n }\n\n function version() public pure returns (string) {\n return \"V2\";\n }\n}\n", | ||
"sourcePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/DummyImplementation.sol", | ||
"sourcePath": "/home/frangio/zs/zos/lib/contracts/mocks/DummyImplementation.sol", | ||
"ast": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/DummyImplementation.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/mocks/DummyImplementation.sol", | ||
"exportedSymbols": { | ||
"DummyImplementation": [ | ||
839 | ||
862 | ||
], | ||
"DummyImplementationV2": [ | ||
860 | ||
883 | ||
] | ||
}, | ||
"id": 861, | ||
"id": 884, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 810, | ||
"id": 833, | ||
"literals": [ | ||
@@ -98,5 +98,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 839, | ||
"id": 862, | ||
"linearizedBaseContracts": [ | ||
839 | ||
862 | ||
], | ||
@@ -108,6 +108,6 @@ "name": "DummyImplementation", | ||
"constant": false, | ||
"id": 812, | ||
"id": 835, | ||
"name": "value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "59:20:13", | ||
@@ -121,3 +121,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 811, | ||
"id": 834, | ||
"name": "uint256", | ||
@@ -136,3 +136,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 821, | ||
"id": 844, | ||
"nodeType": "Block", | ||
@@ -144,3 +144,3 @@ "src": "127:25:13", | ||
"argumentTypes": null, | ||
"id": 819, | ||
"id": 842, | ||
"isConstant": false, | ||
@@ -152,7 +152,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 817, | ||
"id": 840, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 812, | ||
"referencedDeclaration": 835, | ||
"src": "133:5:13", | ||
@@ -168,7 +168,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 818, | ||
"id": 841, | ||
"name": "_value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 814, | ||
"referencedDeclaration": 837, | ||
"src": "141:6:13", | ||
@@ -186,3 +186,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 820, | ||
"id": 843, | ||
"nodeType": "ExpressionStatement", | ||
@@ -194,3 +194,3 @@ "src": "133:14:13" | ||
"documentation": null, | ||
"id": 822, | ||
"id": 845, | ||
"implemented": true, | ||
@@ -203,3 +203,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 815, | ||
"id": 838, | ||
"nodeType": "ParameterList", | ||
@@ -209,6 +209,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 814, | ||
"id": 837, | ||
"name": "_value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 822, | ||
"scope": 845, | ||
"src": "104:14:13", | ||
@@ -222,3 +222,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 813, | ||
"id": 836, | ||
"name": "uint256", | ||
@@ -240,3 +240,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 816, | ||
"id": 839, | ||
"nodeType": "ParameterList", | ||
@@ -246,3 +246,3 @@ "parameters": [], | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "84:68:13", | ||
@@ -255,3 +255,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 829, | ||
"id": 852, | ||
"nodeType": "Block", | ||
@@ -264,3 +264,3 @@ "src": "198:22:13", | ||
"hexValue": "74727565", | ||
"id": 827, | ||
"id": 850, | ||
"isConstant": false, | ||
@@ -280,4 +280,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 826, | ||
"id": 828, | ||
"functionReturnParameters": 849, | ||
"id": 851, | ||
"nodeType": "Return", | ||
@@ -289,3 +289,3 @@ "src": "204:11:13" | ||
"documentation": null, | ||
"id": 830, | ||
"id": 853, | ||
"implemented": true, | ||
@@ -298,3 +298,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 823, | ||
"id": 846, | ||
"nodeType": "ParameterList", | ||
@@ -306,3 +306,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 826, | ||
"id": 849, | ||
"nodeType": "ParameterList", | ||
@@ -312,6 +312,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 825, | ||
"id": 848, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 830, | ||
"scope": 853, | ||
"src": "192:4:13", | ||
@@ -325,3 +325,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 824, | ||
"id": 847, | ||
"name": "bool", | ||
@@ -341,3 +341,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "156:64:13", | ||
@@ -350,3 +350,3 @@ "stateMutability": "pure", | ||
"body": { | ||
"id": 837, | ||
"id": 860, | ||
"nodeType": "Block", | ||
@@ -359,3 +359,3 @@ "src": "272:22:13", | ||
"hexValue": "5631", | ||
"id": 835, | ||
"id": 858, | ||
"isConstant": false, | ||
@@ -375,4 +375,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 834, | ||
"id": 836, | ||
"functionReturnParameters": 857, | ||
"id": 859, | ||
"nodeType": "Return", | ||
@@ -384,3 +384,3 @@ "src": "278:11:13" | ||
"documentation": null, | ||
"id": 838, | ||
"id": 861, | ||
"implemented": true, | ||
@@ -393,3 +393,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 831, | ||
"id": 854, | ||
"nodeType": "ParameterList", | ||
@@ -401,3 +401,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 834, | ||
"id": 857, | ||
"nodeType": "ParameterList", | ||
@@ -407,6 +407,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 833, | ||
"id": 856, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 838, | ||
"scope": 861, | ||
"src": "264:6:13", | ||
@@ -420,3 +420,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 832, | ||
"id": 855, | ||
"name": "string", | ||
@@ -436,3 +436,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "224:70:13", | ||
@@ -444,3 +444,3 @@ "stateMutability": "pure", | ||
], | ||
"scope": 861, | ||
"scope": 884, | ||
"src": "26:270:13" | ||
@@ -454,13 +454,13 @@ }, | ||
"contractScope": null, | ||
"id": 840, | ||
"id": 863, | ||
"name": "DummyImplementation", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 839, | ||
"referencedDeclaration": 862, | ||
"src": "332:19:13", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_DummyImplementation_$839", | ||
"typeIdentifier": "t_contract$_DummyImplementation_$862", | ||
"typeString": "contract DummyImplementation" | ||
} | ||
}, | ||
"id": 841, | ||
"id": 864, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -471,3 +471,3 @@ "src": "332:19:13" | ||
"contractDependencies": [ | ||
839 | ||
862 | ||
], | ||
@@ -477,6 +477,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 860, | ||
"id": 883, | ||
"linearizedBaseContracts": [ | ||
860, | ||
839 | ||
883, | ||
862 | ||
], | ||
@@ -488,3 +488,3 @@ "name": "DummyImplementationV2", | ||
"body": { | ||
"id": 850, | ||
"id": 873, | ||
"nodeType": "Block", | ||
@@ -496,3 +496,3 @@ "src": "396:25:13", | ||
"argumentTypes": null, | ||
"id": 848, | ||
"id": 871, | ||
"isConstant": false, | ||
@@ -504,7 +504,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 846, | ||
"id": 869, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 812, | ||
"referencedDeclaration": 835, | ||
"src": "402:5:13", | ||
@@ -520,7 +520,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 847, | ||
"id": 870, | ||
"name": "newVal", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 843, | ||
"referencedDeclaration": 866, | ||
"src": "410:6:13", | ||
@@ -538,3 +538,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 849, | ||
"id": 872, | ||
"nodeType": "ExpressionStatement", | ||
@@ -546,3 +546,3 @@ "src": "402:14:13" | ||
"documentation": null, | ||
"id": 851, | ||
"id": 874, | ||
"implemented": true, | ||
@@ -555,3 +555,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 844, | ||
"id": 867, | ||
"nodeType": "ParameterList", | ||
@@ -561,6 +561,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 843, | ||
"id": 866, | ||
"name": "newVal", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 851, | ||
"scope": 874, | ||
"src": "373:14:13", | ||
@@ -574,3 +574,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 842, | ||
"id": 865, | ||
"name": "uint256", | ||
@@ -592,3 +592,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 845, | ||
"id": 868, | ||
"nodeType": "ParameterList", | ||
@@ -598,3 +598,3 @@ "parameters": [], | ||
}, | ||
"scope": 860, | ||
"scope": 883, | ||
"src": "356:65:13", | ||
@@ -607,3 +607,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 858, | ||
"id": 881, | ||
"nodeType": "Block", | ||
@@ -616,3 +616,3 @@ "src": "473:22:13", | ||
"hexValue": "5632", | ||
"id": 856, | ||
"id": 879, | ||
"isConstant": false, | ||
@@ -632,4 +632,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 855, | ||
"id": 857, | ||
"functionReturnParameters": 878, | ||
"id": 880, | ||
"nodeType": "Return", | ||
@@ -641,3 +641,3 @@ "src": "479:11:13" | ||
"documentation": null, | ||
"id": 859, | ||
"id": 882, | ||
"implemented": true, | ||
@@ -650,3 +650,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 852, | ||
"id": 875, | ||
"nodeType": "ParameterList", | ||
@@ -658,3 +658,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 855, | ||
"id": 878, | ||
"nodeType": "ParameterList", | ||
@@ -664,6 +664,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 854, | ||
"id": 877, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 859, | ||
"scope": 882, | ||
"src": "465:6:13", | ||
@@ -677,3 +677,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 853, | ||
"id": 876, | ||
"name": "string", | ||
@@ -693,10 +693,10 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 860, | ||
"scope": 883, | ||
"src": "425:70:13", | ||
"stateMutability": "pure", | ||
"superFunction": 838, | ||
"superFunction": 861, | ||
"visibility": "public" | ||
} | ||
], | ||
"scope": 861, | ||
"scope": 884, | ||
"src": "298:199:13" | ||
@@ -708,16 +708,16 @@ } | ||
"legacyAST": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/DummyImplementation.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/mocks/DummyImplementation.sol", | ||
"exportedSymbols": { | ||
"DummyImplementation": [ | ||
839 | ||
862 | ||
], | ||
"DummyImplementationV2": [ | ||
860 | ||
883 | ||
] | ||
}, | ||
"id": 861, | ||
"id": 884, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 810, | ||
"id": 833, | ||
"literals": [ | ||
@@ -738,5 +738,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 839, | ||
"id": 862, | ||
"linearizedBaseContracts": [ | ||
839 | ||
862 | ||
], | ||
@@ -748,6 +748,6 @@ "name": "DummyImplementation", | ||
"constant": false, | ||
"id": 812, | ||
"id": 835, | ||
"name": "value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "59:20:13", | ||
@@ -761,3 +761,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 811, | ||
"id": 834, | ||
"name": "uint256", | ||
@@ -776,3 +776,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 821, | ||
"id": 844, | ||
"nodeType": "Block", | ||
@@ -784,3 +784,3 @@ "src": "127:25:13", | ||
"argumentTypes": null, | ||
"id": 819, | ||
"id": 842, | ||
"isConstant": false, | ||
@@ -792,7 +792,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 817, | ||
"id": 840, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 812, | ||
"referencedDeclaration": 835, | ||
"src": "133:5:13", | ||
@@ -808,7 +808,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 818, | ||
"id": 841, | ||
"name": "_value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 814, | ||
"referencedDeclaration": 837, | ||
"src": "141:6:13", | ||
@@ -826,3 +826,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 820, | ||
"id": 843, | ||
"nodeType": "ExpressionStatement", | ||
@@ -834,3 +834,3 @@ "src": "133:14:13" | ||
"documentation": null, | ||
"id": 822, | ||
"id": 845, | ||
"implemented": true, | ||
@@ -843,3 +843,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 815, | ||
"id": 838, | ||
"nodeType": "ParameterList", | ||
@@ -849,6 +849,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 814, | ||
"id": 837, | ||
"name": "_value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 822, | ||
"scope": 845, | ||
"src": "104:14:13", | ||
@@ -862,3 +862,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 813, | ||
"id": 836, | ||
"name": "uint256", | ||
@@ -880,3 +880,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 816, | ||
"id": 839, | ||
"nodeType": "ParameterList", | ||
@@ -886,3 +886,3 @@ "parameters": [], | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "84:68:13", | ||
@@ -895,3 +895,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 829, | ||
"id": 852, | ||
"nodeType": "Block", | ||
@@ -904,3 +904,3 @@ "src": "198:22:13", | ||
"hexValue": "74727565", | ||
"id": 827, | ||
"id": 850, | ||
"isConstant": false, | ||
@@ -920,4 +920,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 826, | ||
"id": 828, | ||
"functionReturnParameters": 849, | ||
"id": 851, | ||
"nodeType": "Return", | ||
@@ -929,3 +929,3 @@ "src": "204:11:13" | ||
"documentation": null, | ||
"id": 830, | ||
"id": 853, | ||
"implemented": true, | ||
@@ -938,3 +938,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 823, | ||
"id": 846, | ||
"nodeType": "ParameterList", | ||
@@ -946,3 +946,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 826, | ||
"id": 849, | ||
"nodeType": "ParameterList", | ||
@@ -952,6 +952,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 825, | ||
"id": 848, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 830, | ||
"scope": 853, | ||
"src": "192:4:13", | ||
@@ -965,3 +965,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 824, | ||
"id": 847, | ||
"name": "bool", | ||
@@ -981,3 +981,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "156:64:13", | ||
@@ -990,3 +990,3 @@ "stateMutability": "pure", | ||
"body": { | ||
"id": 837, | ||
"id": 860, | ||
"nodeType": "Block", | ||
@@ -999,3 +999,3 @@ "src": "272:22:13", | ||
"hexValue": "5631", | ||
"id": 835, | ||
"id": 858, | ||
"isConstant": false, | ||
@@ -1015,4 +1015,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 834, | ||
"id": 836, | ||
"functionReturnParameters": 857, | ||
"id": 859, | ||
"nodeType": "Return", | ||
@@ -1024,3 +1024,3 @@ "src": "278:11:13" | ||
"documentation": null, | ||
"id": 838, | ||
"id": 861, | ||
"implemented": true, | ||
@@ -1033,3 +1033,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 831, | ||
"id": 854, | ||
"nodeType": "ParameterList", | ||
@@ -1041,3 +1041,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 834, | ||
"id": 857, | ||
"nodeType": "ParameterList", | ||
@@ -1047,6 +1047,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 833, | ||
"id": 856, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 838, | ||
"scope": 861, | ||
"src": "264:6:13", | ||
@@ -1060,3 +1060,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 832, | ||
"id": 855, | ||
"name": "string", | ||
@@ -1076,3 +1076,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "224:70:13", | ||
@@ -1084,3 +1084,3 @@ "stateMutability": "pure", | ||
], | ||
"scope": 861, | ||
"scope": 884, | ||
"src": "26:270:13" | ||
@@ -1094,13 +1094,13 @@ }, | ||
"contractScope": null, | ||
"id": 840, | ||
"id": 863, | ||
"name": "DummyImplementation", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 839, | ||
"referencedDeclaration": 862, | ||
"src": "332:19:13", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_DummyImplementation_$839", | ||
"typeIdentifier": "t_contract$_DummyImplementation_$862", | ||
"typeString": "contract DummyImplementation" | ||
} | ||
}, | ||
"id": 841, | ||
"id": 864, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -1111,3 +1111,3 @@ "src": "332:19:13" | ||
"contractDependencies": [ | ||
839 | ||
862 | ||
], | ||
@@ -1117,6 +1117,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 860, | ||
"id": 883, | ||
"linearizedBaseContracts": [ | ||
860, | ||
839 | ||
883, | ||
862 | ||
], | ||
@@ -1128,3 +1128,3 @@ "name": "DummyImplementationV2", | ||
"body": { | ||
"id": 850, | ||
"id": 873, | ||
"nodeType": "Block", | ||
@@ -1136,3 +1136,3 @@ "src": "396:25:13", | ||
"argumentTypes": null, | ||
"id": 848, | ||
"id": 871, | ||
"isConstant": false, | ||
@@ -1144,7 +1144,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 846, | ||
"id": 869, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 812, | ||
"referencedDeclaration": 835, | ||
"src": "402:5:13", | ||
@@ -1160,7 +1160,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 847, | ||
"id": 870, | ||
"name": "newVal", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 843, | ||
"referencedDeclaration": 866, | ||
"src": "410:6:13", | ||
@@ -1178,3 +1178,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 849, | ||
"id": 872, | ||
"nodeType": "ExpressionStatement", | ||
@@ -1186,3 +1186,3 @@ "src": "402:14:13" | ||
"documentation": null, | ||
"id": 851, | ||
"id": 874, | ||
"implemented": true, | ||
@@ -1195,3 +1195,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 844, | ||
"id": 867, | ||
"nodeType": "ParameterList", | ||
@@ -1201,6 +1201,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 843, | ||
"id": 866, | ||
"name": "newVal", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 851, | ||
"scope": 874, | ||
"src": "373:14:13", | ||
@@ -1214,3 +1214,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 842, | ||
"id": 865, | ||
"name": "uint256", | ||
@@ -1232,3 +1232,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 845, | ||
"id": 868, | ||
"nodeType": "ParameterList", | ||
@@ -1238,3 +1238,3 @@ "parameters": [], | ||
}, | ||
"scope": 860, | ||
"scope": 883, | ||
"src": "356:65:13", | ||
@@ -1247,3 +1247,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 858, | ||
"id": 881, | ||
"nodeType": "Block", | ||
@@ -1256,3 +1256,3 @@ "src": "473:22:13", | ||
"hexValue": "5632", | ||
"id": 856, | ||
"id": 879, | ||
"isConstant": false, | ||
@@ -1272,4 +1272,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 855, | ||
"id": 857, | ||
"functionReturnParameters": 878, | ||
"id": 880, | ||
"nodeType": "Return", | ||
@@ -1281,3 +1281,3 @@ "src": "479:11:13" | ||
"documentation": null, | ||
"id": 859, | ||
"id": 882, | ||
"implemented": true, | ||
@@ -1290,3 +1290,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 852, | ||
"id": 875, | ||
"nodeType": "ParameterList", | ||
@@ -1298,3 +1298,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 855, | ||
"id": 878, | ||
"nodeType": "ParameterList", | ||
@@ -1304,6 +1304,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 854, | ||
"id": 877, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 859, | ||
"scope": 882, | ||
"src": "465:6:13", | ||
@@ -1317,3 +1317,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 853, | ||
"id": 876, | ||
"name": "string", | ||
@@ -1333,10 +1333,10 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 860, | ||
"scope": 883, | ||
"src": "425:70:13", | ||
"stateMutability": "pure", | ||
"superFunction": 838, | ||
"superFunction": 861, | ||
"visibility": "public" | ||
} | ||
], | ||
"scope": 861, | ||
"scope": 884, | ||
"src": "298:199:13" | ||
@@ -1353,3 +1353,3 @@ } | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-15T16:04:29.312Z" | ||
"updatedAt": "2018-05-17T18:16:35.366Z" | ||
} |
@@ -75,23 +75,23 @@ { | ||
], | ||
"bytecode": "0x6060604052341561000f57600080fd5b6102428061001e6000396000f30060606040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633fa4f24514610072578063454b06081461009b57806354fd4d50146100be5780636d4ce63c1461014c578063fe4b84df14610179575b600080fd5b341561007d57600080fd5b61008561019c565b6040518082815260200191505060405180910390f35b34156100a657600080fd5b6100bc60048080359060200190919050506101a2565b005b34156100c957600080fd5b6100d16101ac565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101115780820151818401526020810190506100f6565b50505050905090810190601f16801561013e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015757600080fd5b61015f6101ef565b604051808215151515815260200191505060405180910390f35b341561018457600080fd5b61019a60048080359060200190919050506101f8565b005b60005481565b8060008190555050565b6101b4610202565b6040805190810160405280600281526020017f5632000000000000000000000000000000000000000000000000000000000000815250905090565b60006001905090565b8060008190555050565b6020604051908101604052806000815250905600a165627a7a72305820f0e5c20dea91dacd6f5658a4d05fd1b4a414c09ae1e673cf3c4d1e669f1d24260029", | ||
"deployedBytecode": "0x60606040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633fa4f24514610072578063454b06081461009b57806354fd4d50146100be5780636d4ce63c1461014c578063fe4b84df14610179575b600080fd5b341561007d57600080fd5b61008561019c565b6040518082815260200191505060405180910390f35b34156100a657600080fd5b6100bc60048080359060200190919050506101a2565b005b34156100c957600080fd5b6100d16101ac565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101115780820151818401526020810190506100f6565b50505050905090810190601f16801561013e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015757600080fd5b61015f6101ef565b604051808215151515815260200191505060405180910390f35b341561018457600080fd5b61019a60048080359060200190919050506101f8565b005b60005481565b8060008190555050565b6101b4610202565b6040805190810160405280600281526020017f5632000000000000000000000000000000000000000000000000000000000000815250905090565b60006001905090565b8060008190555050565b6020604051908101604052806000815250905600a165627a7a72305820f0e5c20dea91dacd6f5658a4d05fd1b4a414c09ae1e673cf3c4d1e669f1d24260029", | ||
"bytecode": "0x6060604052341561000f57600080fd5b6102428061001e6000396000f30060606040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633fa4f24514610072578063454b06081461009b57806354fd4d50146100be5780636d4ce63c1461014c578063fe4b84df14610179575b600080fd5b341561007d57600080fd5b61008561019c565b6040518082815260200191505060405180910390f35b34156100a657600080fd5b6100bc60048080359060200190919050506101a2565b005b34156100c957600080fd5b6100d16101ac565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101115780820151818401526020810190506100f6565b50505050905090810190601f16801561013e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015757600080fd5b61015f6101ef565b604051808215151515815260200191505060405180910390f35b341561018457600080fd5b61019a60048080359060200190919050506101f8565b005b60005481565b8060008190555050565b6101b4610202565b6040805190810160405280600281526020017f5632000000000000000000000000000000000000000000000000000000000000815250905090565b60006001905090565b8060008190555050565b6020604051908101604052806000815250905600a165627a7a72305820cb64e63c4888f925ff554f2aefe026242a27ea44d221e0ad49d3a1afe03dcbc30029", | ||
"deployedBytecode": "0x60606040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633fa4f24514610072578063454b06081461009b57806354fd4d50146100be5780636d4ce63c1461014c578063fe4b84df14610179575b600080fd5b341561007d57600080fd5b61008561019c565b6040518082815260200191505060405180910390f35b34156100a657600080fd5b6100bc60048080359060200190919050506101a2565b005b34156100c957600080fd5b6100d16101ac565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101115780820151818401526020810190506100f6565b50505050905090810190601f16801561013e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015757600080fd5b61015f6101ef565b604051808215151515815260200191505060405180910390f35b341561018457600080fd5b61019a60048080359060200190919050506101f8565b005b60005481565b8060008190555050565b6101b4610202565b6040805190810160405280600281526020017f5632000000000000000000000000000000000000000000000000000000000000815250905090565b60006001905090565b8060008190555050565b6020604051908101604052806000815250905600a165627a7a72305820cb64e63c4888f925ff554f2aefe026242a27ea44d221e0ad49d3a1afe03dcbc30029", | ||
"sourceMap": "298:199:13:-;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "298:199:13:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;356:65;;;;;;;;;;;;;;;;;;;;;;;;;;425:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;425:70:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;156:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84:68;;;;;;;;;;;;;;;;;;;;;;;;;;59:20;;;;:::o;356:65::-;410:6;402:5;:14;;;;356:65;:::o;425:70::-;465:6;;:::i;:::-;479:11;;;;;;;;;;;;;;;;;;;;425:70;:::o;156:64::-;192:4;211;204:11;;156:64;:::o;84:68::-;141:6;133:5;:14;;;;84:68;:::o;298:199::-;;;;;;;;;;;;;;;:::o", | ||
"source": "pragma solidity ^0.4.21;\n\ncontract DummyImplementation {\n uint256 public value;\n\n function initialize(uint256 _value) public {\n value = _value;\n }\n\n function get() public pure returns (bool) {\n return true;\n }\n\n function version() public pure returns (string) {\n return \"V1\";\n }\n}\n\ncontract DummyImplementationV2 is DummyImplementation {\n function migrate(uint256 newVal) public {\n value = newVal;\n }\n\n function version() public pure returns (string) {\n return \"V2\";\n }\n}\n", | ||
"sourcePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/DummyImplementation.sol", | ||
"sourcePath": "/home/frangio/zs/zos/lib/contracts/mocks/DummyImplementation.sol", | ||
"ast": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/DummyImplementation.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/mocks/DummyImplementation.sol", | ||
"exportedSymbols": { | ||
"DummyImplementation": [ | ||
839 | ||
862 | ||
], | ||
"DummyImplementationV2": [ | ||
860 | ||
883 | ||
] | ||
}, | ||
"id": 861, | ||
"id": 884, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 810, | ||
"id": 833, | ||
"literals": [ | ||
@@ -112,5 +112,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 839, | ||
"id": 862, | ||
"linearizedBaseContracts": [ | ||
839 | ||
862 | ||
], | ||
@@ -122,6 +122,6 @@ "name": "DummyImplementation", | ||
"constant": false, | ||
"id": 812, | ||
"id": 835, | ||
"name": "value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "59:20:13", | ||
@@ -135,3 +135,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 811, | ||
"id": 834, | ||
"name": "uint256", | ||
@@ -150,3 +150,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 821, | ||
"id": 844, | ||
"nodeType": "Block", | ||
@@ -158,3 +158,3 @@ "src": "127:25:13", | ||
"argumentTypes": null, | ||
"id": 819, | ||
"id": 842, | ||
"isConstant": false, | ||
@@ -166,7 +166,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 817, | ||
"id": 840, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 812, | ||
"referencedDeclaration": 835, | ||
"src": "133:5:13", | ||
@@ -182,7 +182,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 818, | ||
"id": 841, | ||
"name": "_value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 814, | ||
"referencedDeclaration": 837, | ||
"src": "141:6:13", | ||
@@ -200,3 +200,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 820, | ||
"id": 843, | ||
"nodeType": "ExpressionStatement", | ||
@@ -208,3 +208,3 @@ "src": "133:14:13" | ||
"documentation": null, | ||
"id": 822, | ||
"id": 845, | ||
"implemented": true, | ||
@@ -217,3 +217,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 815, | ||
"id": 838, | ||
"nodeType": "ParameterList", | ||
@@ -223,6 +223,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 814, | ||
"id": 837, | ||
"name": "_value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 822, | ||
"scope": 845, | ||
"src": "104:14:13", | ||
@@ -236,3 +236,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 813, | ||
"id": 836, | ||
"name": "uint256", | ||
@@ -254,3 +254,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 816, | ||
"id": 839, | ||
"nodeType": "ParameterList", | ||
@@ -260,3 +260,3 @@ "parameters": [], | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "84:68:13", | ||
@@ -269,3 +269,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 829, | ||
"id": 852, | ||
"nodeType": "Block", | ||
@@ -278,3 +278,3 @@ "src": "198:22:13", | ||
"hexValue": "74727565", | ||
"id": 827, | ||
"id": 850, | ||
"isConstant": false, | ||
@@ -294,4 +294,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 826, | ||
"id": 828, | ||
"functionReturnParameters": 849, | ||
"id": 851, | ||
"nodeType": "Return", | ||
@@ -303,3 +303,3 @@ "src": "204:11:13" | ||
"documentation": null, | ||
"id": 830, | ||
"id": 853, | ||
"implemented": true, | ||
@@ -312,3 +312,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 823, | ||
"id": 846, | ||
"nodeType": "ParameterList", | ||
@@ -320,3 +320,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 826, | ||
"id": 849, | ||
"nodeType": "ParameterList", | ||
@@ -326,6 +326,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 825, | ||
"id": 848, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 830, | ||
"scope": 853, | ||
"src": "192:4:13", | ||
@@ -339,3 +339,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 824, | ||
"id": 847, | ||
"name": "bool", | ||
@@ -355,3 +355,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "156:64:13", | ||
@@ -364,3 +364,3 @@ "stateMutability": "pure", | ||
"body": { | ||
"id": 837, | ||
"id": 860, | ||
"nodeType": "Block", | ||
@@ -373,3 +373,3 @@ "src": "272:22:13", | ||
"hexValue": "5631", | ||
"id": 835, | ||
"id": 858, | ||
"isConstant": false, | ||
@@ -389,4 +389,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 834, | ||
"id": 836, | ||
"functionReturnParameters": 857, | ||
"id": 859, | ||
"nodeType": "Return", | ||
@@ -398,3 +398,3 @@ "src": "278:11:13" | ||
"documentation": null, | ||
"id": 838, | ||
"id": 861, | ||
"implemented": true, | ||
@@ -407,3 +407,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 831, | ||
"id": 854, | ||
"nodeType": "ParameterList", | ||
@@ -415,3 +415,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 834, | ||
"id": 857, | ||
"nodeType": "ParameterList", | ||
@@ -421,6 +421,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 833, | ||
"id": 856, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 838, | ||
"scope": 861, | ||
"src": "264:6:13", | ||
@@ -434,3 +434,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 832, | ||
"id": 855, | ||
"name": "string", | ||
@@ -450,3 +450,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "224:70:13", | ||
@@ -458,3 +458,3 @@ "stateMutability": "pure", | ||
], | ||
"scope": 861, | ||
"scope": 884, | ||
"src": "26:270:13" | ||
@@ -468,13 +468,13 @@ }, | ||
"contractScope": null, | ||
"id": 840, | ||
"id": 863, | ||
"name": "DummyImplementation", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 839, | ||
"referencedDeclaration": 862, | ||
"src": "332:19:13", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_DummyImplementation_$839", | ||
"typeIdentifier": "t_contract$_DummyImplementation_$862", | ||
"typeString": "contract DummyImplementation" | ||
} | ||
}, | ||
"id": 841, | ||
"id": 864, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -485,3 +485,3 @@ "src": "332:19:13" | ||
"contractDependencies": [ | ||
839 | ||
862 | ||
], | ||
@@ -491,6 +491,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 860, | ||
"id": 883, | ||
"linearizedBaseContracts": [ | ||
860, | ||
839 | ||
883, | ||
862 | ||
], | ||
@@ -502,3 +502,3 @@ "name": "DummyImplementationV2", | ||
"body": { | ||
"id": 850, | ||
"id": 873, | ||
"nodeType": "Block", | ||
@@ -510,3 +510,3 @@ "src": "396:25:13", | ||
"argumentTypes": null, | ||
"id": 848, | ||
"id": 871, | ||
"isConstant": false, | ||
@@ -518,7 +518,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 846, | ||
"id": 869, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 812, | ||
"referencedDeclaration": 835, | ||
"src": "402:5:13", | ||
@@ -534,7 +534,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 847, | ||
"id": 870, | ||
"name": "newVal", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 843, | ||
"referencedDeclaration": 866, | ||
"src": "410:6:13", | ||
@@ -552,3 +552,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 849, | ||
"id": 872, | ||
"nodeType": "ExpressionStatement", | ||
@@ -560,3 +560,3 @@ "src": "402:14:13" | ||
"documentation": null, | ||
"id": 851, | ||
"id": 874, | ||
"implemented": true, | ||
@@ -569,3 +569,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 844, | ||
"id": 867, | ||
"nodeType": "ParameterList", | ||
@@ -575,6 +575,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 843, | ||
"id": 866, | ||
"name": "newVal", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 851, | ||
"scope": 874, | ||
"src": "373:14:13", | ||
@@ -588,3 +588,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 842, | ||
"id": 865, | ||
"name": "uint256", | ||
@@ -606,3 +606,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 845, | ||
"id": 868, | ||
"nodeType": "ParameterList", | ||
@@ -612,3 +612,3 @@ "parameters": [], | ||
}, | ||
"scope": 860, | ||
"scope": 883, | ||
"src": "356:65:13", | ||
@@ -621,3 +621,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 858, | ||
"id": 881, | ||
"nodeType": "Block", | ||
@@ -630,3 +630,3 @@ "src": "473:22:13", | ||
"hexValue": "5632", | ||
"id": 856, | ||
"id": 879, | ||
"isConstant": false, | ||
@@ -646,4 +646,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 855, | ||
"id": 857, | ||
"functionReturnParameters": 878, | ||
"id": 880, | ||
"nodeType": "Return", | ||
@@ -655,3 +655,3 @@ "src": "479:11:13" | ||
"documentation": null, | ||
"id": 859, | ||
"id": 882, | ||
"implemented": true, | ||
@@ -664,3 +664,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 852, | ||
"id": 875, | ||
"nodeType": "ParameterList", | ||
@@ -672,3 +672,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 855, | ||
"id": 878, | ||
"nodeType": "ParameterList", | ||
@@ -678,6 +678,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 854, | ||
"id": 877, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 859, | ||
"scope": 882, | ||
"src": "465:6:13", | ||
@@ -691,3 +691,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 853, | ||
"id": 876, | ||
"name": "string", | ||
@@ -707,10 +707,10 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 860, | ||
"scope": 883, | ||
"src": "425:70:13", | ||
"stateMutability": "pure", | ||
"superFunction": 838, | ||
"superFunction": 861, | ||
"visibility": "public" | ||
} | ||
], | ||
"scope": 861, | ||
"scope": 884, | ||
"src": "298:199:13" | ||
@@ -722,16 +722,16 @@ } | ||
"legacyAST": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/DummyImplementation.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/mocks/DummyImplementation.sol", | ||
"exportedSymbols": { | ||
"DummyImplementation": [ | ||
839 | ||
862 | ||
], | ||
"DummyImplementationV2": [ | ||
860 | ||
883 | ||
] | ||
}, | ||
"id": 861, | ||
"id": 884, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 810, | ||
"id": 833, | ||
"literals": [ | ||
@@ -752,5 +752,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 839, | ||
"id": 862, | ||
"linearizedBaseContracts": [ | ||
839 | ||
862 | ||
], | ||
@@ -762,6 +762,6 @@ "name": "DummyImplementation", | ||
"constant": false, | ||
"id": 812, | ||
"id": 835, | ||
"name": "value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "59:20:13", | ||
@@ -775,3 +775,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 811, | ||
"id": 834, | ||
"name": "uint256", | ||
@@ -790,3 +790,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 821, | ||
"id": 844, | ||
"nodeType": "Block", | ||
@@ -798,3 +798,3 @@ "src": "127:25:13", | ||
"argumentTypes": null, | ||
"id": 819, | ||
"id": 842, | ||
"isConstant": false, | ||
@@ -806,7 +806,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 817, | ||
"id": 840, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 812, | ||
"referencedDeclaration": 835, | ||
"src": "133:5:13", | ||
@@ -822,7 +822,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 818, | ||
"id": 841, | ||
"name": "_value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 814, | ||
"referencedDeclaration": 837, | ||
"src": "141:6:13", | ||
@@ -840,3 +840,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 820, | ||
"id": 843, | ||
"nodeType": "ExpressionStatement", | ||
@@ -848,3 +848,3 @@ "src": "133:14:13" | ||
"documentation": null, | ||
"id": 822, | ||
"id": 845, | ||
"implemented": true, | ||
@@ -857,3 +857,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 815, | ||
"id": 838, | ||
"nodeType": "ParameterList", | ||
@@ -863,6 +863,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 814, | ||
"id": 837, | ||
"name": "_value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 822, | ||
"scope": 845, | ||
"src": "104:14:13", | ||
@@ -876,3 +876,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 813, | ||
"id": 836, | ||
"name": "uint256", | ||
@@ -894,3 +894,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 816, | ||
"id": 839, | ||
"nodeType": "ParameterList", | ||
@@ -900,3 +900,3 @@ "parameters": [], | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "84:68:13", | ||
@@ -909,3 +909,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 829, | ||
"id": 852, | ||
"nodeType": "Block", | ||
@@ -918,3 +918,3 @@ "src": "198:22:13", | ||
"hexValue": "74727565", | ||
"id": 827, | ||
"id": 850, | ||
"isConstant": false, | ||
@@ -934,4 +934,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 826, | ||
"id": 828, | ||
"functionReturnParameters": 849, | ||
"id": 851, | ||
"nodeType": "Return", | ||
@@ -943,3 +943,3 @@ "src": "204:11:13" | ||
"documentation": null, | ||
"id": 830, | ||
"id": 853, | ||
"implemented": true, | ||
@@ -952,3 +952,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 823, | ||
"id": 846, | ||
"nodeType": "ParameterList", | ||
@@ -960,3 +960,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 826, | ||
"id": 849, | ||
"nodeType": "ParameterList", | ||
@@ -966,6 +966,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 825, | ||
"id": 848, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 830, | ||
"scope": 853, | ||
"src": "192:4:13", | ||
@@ -979,3 +979,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 824, | ||
"id": 847, | ||
"name": "bool", | ||
@@ -995,3 +995,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "156:64:13", | ||
@@ -1004,3 +1004,3 @@ "stateMutability": "pure", | ||
"body": { | ||
"id": 837, | ||
"id": 860, | ||
"nodeType": "Block", | ||
@@ -1013,3 +1013,3 @@ "src": "272:22:13", | ||
"hexValue": "5631", | ||
"id": 835, | ||
"id": 858, | ||
"isConstant": false, | ||
@@ -1029,4 +1029,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 834, | ||
"id": 836, | ||
"functionReturnParameters": 857, | ||
"id": 859, | ||
"nodeType": "Return", | ||
@@ -1038,3 +1038,3 @@ "src": "278:11:13" | ||
"documentation": null, | ||
"id": 838, | ||
"id": 861, | ||
"implemented": true, | ||
@@ -1047,3 +1047,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 831, | ||
"id": 854, | ||
"nodeType": "ParameterList", | ||
@@ -1055,3 +1055,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 834, | ||
"id": 857, | ||
"nodeType": "ParameterList", | ||
@@ -1061,6 +1061,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 833, | ||
"id": 856, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 838, | ||
"scope": 861, | ||
"src": "264:6:13", | ||
@@ -1074,3 +1074,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 832, | ||
"id": 855, | ||
"name": "string", | ||
@@ -1090,3 +1090,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 839, | ||
"scope": 862, | ||
"src": "224:70:13", | ||
@@ -1098,3 +1098,3 @@ "stateMutability": "pure", | ||
], | ||
"scope": 861, | ||
"scope": 884, | ||
"src": "26:270:13" | ||
@@ -1108,13 +1108,13 @@ }, | ||
"contractScope": null, | ||
"id": 840, | ||
"id": 863, | ||
"name": "DummyImplementation", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 839, | ||
"referencedDeclaration": 862, | ||
"src": "332:19:13", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_DummyImplementation_$839", | ||
"typeIdentifier": "t_contract$_DummyImplementation_$862", | ||
"typeString": "contract DummyImplementation" | ||
} | ||
}, | ||
"id": 841, | ||
"id": 864, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -1125,3 +1125,3 @@ "src": "332:19:13" | ||
"contractDependencies": [ | ||
839 | ||
862 | ||
], | ||
@@ -1131,6 +1131,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 860, | ||
"id": 883, | ||
"linearizedBaseContracts": [ | ||
860, | ||
839 | ||
883, | ||
862 | ||
], | ||
@@ -1142,3 +1142,3 @@ "name": "DummyImplementationV2", | ||
"body": { | ||
"id": 850, | ||
"id": 873, | ||
"nodeType": "Block", | ||
@@ -1150,3 +1150,3 @@ "src": "396:25:13", | ||
"argumentTypes": null, | ||
"id": 848, | ||
"id": 871, | ||
"isConstant": false, | ||
@@ -1158,7 +1158,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 846, | ||
"id": 869, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 812, | ||
"referencedDeclaration": 835, | ||
"src": "402:5:13", | ||
@@ -1174,7 +1174,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 847, | ||
"id": 870, | ||
"name": "newVal", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 843, | ||
"referencedDeclaration": 866, | ||
"src": "410:6:13", | ||
@@ -1192,3 +1192,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 849, | ||
"id": 872, | ||
"nodeType": "ExpressionStatement", | ||
@@ -1200,3 +1200,3 @@ "src": "402:14:13" | ||
"documentation": null, | ||
"id": 851, | ||
"id": 874, | ||
"implemented": true, | ||
@@ -1209,3 +1209,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 844, | ||
"id": 867, | ||
"nodeType": "ParameterList", | ||
@@ -1215,6 +1215,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 843, | ||
"id": 866, | ||
"name": "newVal", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 851, | ||
"scope": 874, | ||
"src": "373:14:13", | ||
@@ -1228,3 +1228,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 842, | ||
"id": 865, | ||
"name": "uint256", | ||
@@ -1246,3 +1246,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 845, | ||
"id": 868, | ||
"nodeType": "ParameterList", | ||
@@ -1252,3 +1252,3 @@ "parameters": [], | ||
}, | ||
"scope": 860, | ||
"scope": 883, | ||
"src": "356:65:13", | ||
@@ -1261,3 +1261,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 858, | ||
"id": 881, | ||
"nodeType": "Block", | ||
@@ -1270,3 +1270,3 @@ "src": "473:22:13", | ||
"hexValue": "5632", | ||
"id": 856, | ||
"id": 879, | ||
"isConstant": false, | ||
@@ -1286,4 +1286,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 855, | ||
"id": 857, | ||
"functionReturnParameters": 878, | ||
"id": 880, | ||
"nodeType": "Return", | ||
@@ -1295,3 +1295,3 @@ "src": "479:11:13" | ||
"documentation": null, | ||
"id": 859, | ||
"id": 882, | ||
"implemented": true, | ||
@@ -1304,3 +1304,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 852, | ||
"id": 875, | ||
"nodeType": "ParameterList", | ||
@@ -1312,3 +1312,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 855, | ||
"id": 878, | ||
"nodeType": "ParameterList", | ||
@@ -1318,6 +1318,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 854, | ||
"id": 877, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 859, | ||
"scope": 882, | ||
"src": "465:6:13", | ||
@@ -1331,3 +1331,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 853, | ||
"id": 876, | ||
"name": "string", | ||
@@ -1347,10 +1347,10 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 860, | ||
"scope": 883, | ||
"src": "425:70:13", | ||
"stateMutability": "pure", | ||
"superFunction": 838, | ||
"superFunction": 861, | ||
"visibility": "public" | ||
} | ||
], | ||
"scope": 861, | ||
"scope": 884, | ||
"src": "298:199:13" | ||
@@ -1367,3 +1367,3 @@ } | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-15T16:04:29.312Z" | ||
"updatedAt": "2018-05-17T18:16:35.366Z" | ||
} |
@@ -141,10 +141,10 @@ { | ||
], | ||
"bytecode": "0x6060604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506109b4806100536000396000f300606060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063054f7d9c1461008857806306419fe5146100b557806330b7be291461013157806362a5af3b1461018e5780636b683896146101a35780638da5cb5b14610240578063f2fde38b14610295575b600080fd5b341561009357600080fd5b61009b6102ce565b604051808215151515815260200191505060405180910390f35b34156100c057600080fd5b61012f600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506102e1565b005b341561013c57600080fd5b61018c600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061030b565b005b341561019957600080fd5b6101a16104e5565b005b34156101ae57600080fd5b6101fe600480803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050610579565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561024b57600080fd5b61025361060e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102a057600080fd5b6102cc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610633565b005b600260009054906101000a900460ff1681565b600260009054906101000a900460ff161515156102fd57600080fd5b6103078282610788565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561036657600080fd5b60006001826040518082805190602001908083835b6020831015156103a0578051825260208201915060208101905060208303925061037b565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c65981600060405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156104a757808201518184015260208101905061048c565b50505050905090810190601f1680156104d45780820380516001836020036101000a031916815260200191505b50935050505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561054057600080fd5b600260009054906101000a900460ff1615151561055c57600080fd5b6001600260006101000a81548160ff021916908315150217905550565b60006001826040518082805190602001908083835b6020831015156105b3578051825260208201915060208101905060208303925061058e565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561068e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156106ca57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156107e357600080fd5b6107ec81610975565b15156107f757600080fd5b806001836040518082805190602001908083835b602083101515610830578051825260208201915060208101905060208303925061080b565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c659828260405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b8381101561093657808201518184015260208101905061091b565b50505050905090810190601f1680156109635780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b600080823b9050600081119150509190505600a165627a7a72305820e996ff5eff7b925084b2d77e8e3a0b93cc2ffd5997516f492e7c813495d3b9240029", | ||
"deployedBytecode": "0x606060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063054f7d9c1461008857806306419fe5146100b557806330b7be291461013157806362a5af3b1461018e5780636b683896146101a35780638da5cb5b14610240578063f2fde38b14610295575b600080fd5b341561009357600080fd5b61009b6102ce565b604051808215151515815260200191505060405180910390f35b34156100c057600080fd5b61012f600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506102e1565b005b341561013c57600080fd5b61018c600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061030b565b005b341561019957600080fd5b6101a16104e5565b005b34156101ae57600080fd5b6101fe600480803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050610579565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561024b57600080fd5b61025361060e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102a057600080fd5b6102cc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610633565b005b600260009054906101000a900460ff1681565b600260009054906101000a900460ff161515156102fd57600080fd5b6103078282610788565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561036657600080fd5b60006001826040518082805190602001908083835b6020831015156103a0578051825260208201915060208101905060208303925061037b565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c65981600060405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156104a757808201518184015260208101905061048c565b50505050905090810190601f1680156104d45780820380516001836020036101000a031916815260200191505b50935050505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561054057600080fd5b600260009054906101000a900460ff1615151561055c57600080fd5b6001600260006101000a81548160ff021916908315150217905550565b60006001826040518082805190602001908083835b6020831015156105b3578051825260208201915060208101905060208303925061058e565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561068e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156106ca57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156107e357600080fd5b6107ec81610975565b15156107f757600080fd5b806001836040518082805190602001908083835b602083101515610830578051825260208201915060208101905060208303925061080b565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c659828260405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b8381101561093657808201518184015260208101905061091b565b50505050905090810190601f1680156109635780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b600080823b9050600081119150509190505600a165627a7a72305820e996ff5eff7b925084b2d77e8e3a0b93cc2ffd5997516f492e7c813495d3b9240029", | ||
"sourceMap": "194:988:4:-;;;509:10:20;501:5;;:18;;;;;;;;;;;;;;;;;;194:988:4;;;;;;", | ||
"deployedSourceMap": "194:988:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;317:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1023:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1641:178:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;612:73:4;;;;;;;;;;;;;;1028:125:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;832:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;317:18:4;;;;;;;;;;;;;:::o;1023:157::-;483:6;;;;;;;;;;;482:7;474:16;;;;;;;;1122:53;1146:12;1160:14;1122:23;:53::i;:::-;1023:157;;:::o;1641:178:5:-;653:5:20;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;1754:1:5;1714:15;1730:12;1714:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1714:29:5;;;;;;;;;;;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;1767:47;1789:12;1811:1;1767:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1767:47:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1641:178;:::o;612:73:4:-;653:5:20;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;483:6:4;;;;;;;;;;;482:7;474:16;;;;;;;;676:4;667:6;;:13;;;;;;;;;;;;;;;;;;612:73::o;1028:125:5:-;1097:7;1119:15;1135:12;1119:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1119:29:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1112:36;;1028:125;;;:::o;238:20:20:-;;;;;;;;;;;;;:::o;832:169::-;653:5;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;928:1;908:22;;:8;:22;;;;900:31;;;;;;;;965:8;937:37;;958:5;;;;;;;;;;;937:37;;;;;;;;;;;;988:8;980:5;;:16;;;;;;;;;;;;;;;;;;832:169;:::o;1375:262:5:-;653:5:20;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;1478:39:5;1502:14;1478:23;:39::i;:::-;1470:48;;;;;;;;1556:14;1524:15;1540:12;1524:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1524:29:5;;;;;;;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;1581:51;1603:12;1617:14;1581:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1581:51:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1375:262;;:::o;451:150:19:-;508:4;520:12;569:4;557:17;549:25;;595:1;588:4;:8;581:15;;451:150;;;;:::o", | ||
"bytecode": "0x6060604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506109b4806100536000396000f300606060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063054f7d9c1461008857806306419fe5146100b557806330b7be291461013157806362a5af3b1461018e5780636b683896146101a35780638da5cb5b14610240578063f2fde38b14610295575b600080fd5b341561009357600080fd5b61009b6102ce565b604051808215151515815260200191505060405180910390f35b34156100c057600080fd5b61012f600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506102e1565b005b341561013c57600080fd5b61018c600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061030b565b005b341561019957600080fd5b6101a16104e5565b005b34156101ae57600080fd5b6101fe600480803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050610579565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561024b57600080fd5b61025361060e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102a057600080fd5b6102cc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610633565b005b600260009054906101000a900460ff1681565b600260009054906101000a900460ff161515156102fd57600080fd5b6103078282610788565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561036657600080fd5b60006001826040518082805190602001908083835b6020831015156103a0578051825260208201915060208101905060208303925061037b565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c65981600060405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156104a757808201518184015260208101905061048c565b50505050905090810190601f1680156104d45780820380516001836020036101000a031916815260200191505b50935050505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561054057600080fd5b600260009054906101000a900460ff1615151561055c57600080fd5b6001600260006101000a81548160ff021916908315150217905550565b60006001826040518082805190602001908083835b6020831015156105b3578051825260208201915060208101905060208303925061058e565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561068e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156106ca57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156107e357600080fd5b6107ec81610975565b15156107f757600080fd5b806001836040518082805190602001908083835b602083101515610830578051825260208201915060208101905060208303925061080b565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c659828260405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b8381101561093657808201518184015260208101905061091b565b50505050905090810190601f1680156109635780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b600080823b9050600081119150509190505600a165627a7a723058208c18096d3c6264b1f1904a2bd74f9ef2d1ccc7df29cadef8ec20600410e308d20029", | ||
"deployedBytecode": "0x606060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063054f7d9c1461008857806306419fe5146100b557806330b7be291461013157806362a5af3b1461018e5780636b683896146101a35780638da5cb5b14610240578063f2fde38b14610295575b600080fd5b341561009357600080fd5b61009b6102ce565b604051808215151515815260200191505060405180910390f35b34156100c057600080fd5b61012f600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506102e1565b005b341561013c57600080fd5b61018c600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061030b565b005b341561019957600080fd5b6101a16104e5565b005b34156101ae57600080fd5b6101fe600480803590602001908201803590602001908080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505091905050610579565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561024b57600080fd5b61025361060e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102a057600080fd5b6102cc600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610633565b005b600260009054906101000a900460ff1681565b600260009054906101000a900460ff161515156102fd57600080fd5b6103078282610788565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561036657600080fd5b60006001826040518082805190602001908083835b6020831015156103a0578051825260208201915060208101905060208303925061037b565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c65981600060405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156104a757808201518184015260208101905061048c565b50505050905090810190601f1680156104d45780820380516001836020036101000a031916815260200191505b50935050505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561054057600080fd5b600260009054906101000a900460ff1615151561055c57600080fd5b6001600260006101000a81548160ff021916908315150217905550565b60006001826040518082805190602001908083835b6020831015156105b3578051825260208201915060208101905060208303925061058e565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561068e57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156106ca57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156107e357600080fd5b6107ec81610975565b15156107f757600080fd5b806001836040518082805190602001908083835b602083101515610830578051825260208201915060208101905060208303925061080b565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c659828260405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b8381101561093657808201518184015260208101905061091b565b50505050905090810190601f1680156109635780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b600080823b9050600081119150509190505600a165627a7a723058208c18096d3c6264b1f1904a2bd74f9ef2d1ccc7df29cadef8ec20600410e308d20029", | ||
"sourceMap": "194:988:4:-;;;509:10:23;501:5;;:18;;;;;;;;;;;;;;;;;;194:988:4;;;;;;", | ||
"deployedSourceMap": "194:988:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;317:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1023:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1649:178:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;612:73:4;;;;;;;;;;;;;;1036:125:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;832:174;;;;;;;;;;;;;;;;;;;;;;;;;;;;317:18:4;;;;;;;;;;;;;:::o;1023:157::-;483:6;;;;;;;;;;;482:7;474:16;;;;;;;;1122:53;1146:12;1160:14;1122:23;:53::i;:::-;1023:157;;:::o;1649:178:5:-;653:5:23;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;1762:1:5;1722:15;1738:12;1722:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1722:29:5;;;;;;;;;;;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;1775:47;1797:12;1819:1;1775:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1775:47:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1649:178;:::o;612:73:4:-;653:5:23;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;483:6:4;;;;;;;;;;;482:7;474:16;;;;;;;;676:4;667:6;;:13;;;;;;;;;;;;;;;;;;612:73::o;1036:125:5:-;1105:7;1127:15;1143:12;1127:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1127:29:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1120:36;;1036:125;;;:::o;238:20:23:-;;;;;;;;;;;;;:::o;832:174::-;653:5;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;928:1;908:22;;:8;:22;;;;900:31;;;;;;;;970:8;942:37;;963:5;;;;;;;;;;;942:37;;;;;;;;;;;;993:8;985:5;;:16;;;;;;;;;;;;;;;;;;832:174;:::o;1383:262:5:-;653:5:23;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;1486:39:5;1510:14;1486:23;:39::i;:::-;1478:48;;;;;;;;1564:14;1532:15;1548:12;1532:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1532:29:5;;;;;;;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;1589:51;1611:12;1625:14;1589:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1589:51:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1383:262;;:::o;438:568:22:-;495:4;507:12;922:4;910:17;902:25;;1000:1;993:4;:8;986:15;;438:568;;;;:::o", | ||
"source": "pragma solidity ^0.4.21;\n\nimport \"./ImplementationDirectory.sol\";\n\n/**\n * @title FreezableImplementationDirectory\n * @dev Implementation directory which can be made immutable by the owner \n */\n contract FreezableImplementationDirectory is ImplementationDirectory {\n // Stores the mutability state of the directory\n bool public frozen;\n\n /**\n * @dev Modifier that allows functions to be called only when the contract is not frozen\n */\n modifier whenNotFrozen() {\n require(!frozen);\n _;\n }\n \n /**\n * @dev Makes the directory irreversibly immutable. Can only be called once, by the owner\n */\n function freeze() onlyOwner whenNotFrozen public {\n frozen = true;\n }\n \n /**\n * @dev Adds the address of an implementation to the directory\n * @dev Overrides parent implementation to prevent it from running if the directory is frozen\n * @param contractName Name of the contract whose implementation address is being added\n * @param implementation Address where the contract is implemented\n */\n function setImplementation(string contractName, address implementation) public whenNotFrozen {\n super.setImplementation(contractName, implementation);\n }\n}\n", | ||
"sourcePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/FreezableImplementationDirectory.sol", | ||
"sourcePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/FreezableImplementationDirectory.sol", | ||
"ast": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/FreezableImplementationDirectory.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/FreezableImplementationDirectory.sol", | ||
"exportedSymbols": { | ||
@@ -170,3 +170,3 @@ "FreezableImplementationDirectory": [ | ||
{ | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/ImplementationDirectory.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/ImplementationDirectory.sol", | ||
"file": "./ImplementationDirectory.sol", | ||
@@ -205,3 +205,3 @@ "id": 388, | ||
524, | ||
1669 | ||
1797 | ||
], | ||
@@ -215,3 +215,3 @@ "contractKind": "contract", | ||
514, | ||
1669, | ||
1797, | ||
524 | ||
@@ -299,3 +299,3 @@ ], | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1685, | ||
"referencedDeclaration": 1813, | ||
"src": "474:7:4", | ||
@@ -419,3 +419,3 @@ "typeDescriptions": { | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1643, | ||
"referencedDeclaration": 1771, | ||
"src": "630:9:4", | ||
@@ -525,3 +525,3 @@ "typeDescriptions": { | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1720, | ||
"referencedDeclaration": 1848, | ||
"src": "1122:5:4", | ||
@@ -675,3 +675,3 @@ "typeDescriptions": { | ||
"legacyAST": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/FreezableImplementationDirectory.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/FreezableImplementationDirectory.sol", | ||
"exportedSymbols": { | ||
@@ -697,3 +697,3 @@ "FreezableImplementationDirectory": [ | ||
{ | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/ImplementationDirectory.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/ImplementationDirectory.sol", | ||
"file": "./ImplementationDirectory.sol", | ||
@@ -732,3 +732,3 @@ "id": 388, | ||
524, | ||
1669 | ||
1797 | ||
], | ||
@@ -742,3 +742,3 @@ "contractKind": "contract", | ||
514, | ||
1669, | ||
1797, | ||
524 | ||
@@ -826,3 +826,3 @@ ], | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1685, | ||
"referencedDeclaration": 1813, | ||
"src": "474:7:4", | ||
@@ -946,3 +946,3 @@ "typeDescriptions": { | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1643, | ||
"referencedDeclaration": 1771, | ||
"src": "630:9:4", | ||
@@ -1052,3 +1052,3 @@ "typeDescriptions": { | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1720, | ||
"referencedDeclaration": 1848, | ||
"src": "1122:5:4", | ||
@@ -1207,3 +1207,3 @@ "typeDescriptions": { | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-17T16:14:48.547Z" | ||
"updatedAt": "2018-05-17T18:16:35.367Z" | ||
} |
@@ -29,15 +29,15 @@ { | ||
"source": "pragma solidity ^0.4.21;\n\n/**\n * @title ImplementationProvider\n * @dev Interface for providing implementation addresses for other contracts by name\n */\ninterface ImplementationProvider {\n /**\n * @dev Prototype of function that returns implementation addresses\n * @param contractName Name of the contract whose address is being fetched\n * @return Implementation address of desired contract\n */\n function getImplementation(string contractName) public view returns (address);\n}\n", | ||
"sourcePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/ImplementationProvider.sol", | ||
"sourcePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/ImplementationProvider.sol", | ||
"ast": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/ImplementationProvider.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/ImplementationProvider.sol", | ||
"exportedSymbols": { | ||
"ImplementationProvider": [ | ||
524 | ||
478 | ||
] | ||
}, | ||
"id": 525, | ||
"id": 479, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 516, | ||
"id": 470, | ||
"literals": [ | ||
@@ -50,3 +50,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:6" | ||
"src": "0:24:5" | ||
}, | ||
@@ -59,5 +59,5 @@ { | ||
"fullyImplemented": false, | ||
"id": 524, | ||
"id": 478, | ||
"linearizedBaseContracts": [ | ||
524 | ||
478 | ||
], | ||
@@ -70,3 +70,3 @@ "name": "ImplementationProvider", | ||
"documentation": "@dev Prototype of function that returns implementation addresses\n@param contractName Name of the contract whose address is being fetched\n@return Implementation address of desired contract", | ||
"id": 523, | ||
"id": 477, | ||
"implemented": false, | ||
@@ -79,3 +79,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 519, | ||
"id": 473, | ||
"nodeType": "ParameterList", | ||
@@ -85,7 +85,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 518, | ||
"id": 472, | ||
"name": "contractName", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 523, | ||
"src": "431:19:6", | ||
"scope": 477, | ||
"src": "431:19:5", | ||
"stateVariable": false, | ||
@@ -98,6 +98,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 517, | ||
"id": 471, | ||
"name": "string", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "431:6:6", | ||
"src": "431:6:5", | ||
"typeDescriptions": { | ||
@@ -112,7 +112,7 @@ "typeIdentifier": "t_string_storage_ptr", | ||
], | ||
"src": "430:21:6" | ||
"src": "430:21:5" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 522, | ||
"id": 476, | ||
"nodeType": "ParameterList", | ||
@@ -122,7 +122,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 521, | ||
"id": 475, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 523, | ||
"src": "473:7:6", | ||
"scope": 477, | ||
"src": "473:7:5", | ||
"stateVariable": false, | ||
@@ -135,6 +135,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 520, | ||
"id": 474, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "473:7:6", | ||
"src": "473:7:5", | ||
"typeDescriptions": { | ||
@@ -149,6 +149,6 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "472:9:6" | ||
"src": "472:9:5" | ||
}, | ||
"scope": 524, | ||
"src": "404:78:6", | ||
"scope": 478, | ||
"src": "404:78:5", | ||
"stateMutability": "view", | ||
@@ -159,20 +159,20 @@ "superFunction": null, | ||
], | ||
"scope": 525, | ||
"src": "152:332:6" | ||
"scope": 479, | ||
"src": "152:332:5" | ||
} | ||
], | ||
"src": "0:485:6" | ||
"src": "0:485:5" | ||
}, | ||
"legacyAST": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/ImplementationProvider.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/ImplementationProvider.sol", | ||
"exportedSymbols": { | ||
"ImplementationProvider": [ | ||
524 | ||
478 | ||
] | ||
}, | ||
"id": 525, | ||
"id": 479, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 516, | ||
"id": 470, | ||
"literals": [ | ||
@@ -185,3 +185,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:6" | ||
"src": "0:24:5" | ||
}, | ||
@@ -194,5 +194,5 @@ { | ||
"fullyImplemented": false, | ||
"id": 524, | ||
"id": 478, | ||
"linearizedBaseContracts": [ | ||
524 | ||
478 | ||
], | ||
@@ -205,3 +205,3 @@ "name": "ImplementationProvider", | ||
"documentation": "@dev Prototype of function that returns implementation addresses\n@param contractName Name of the contract whose address is being fetched\n@return Implementation address of desired contract", | ||
"id": 523, | ||
"id": 477, | ||
"implemented": false, | ||
@@ -214,3 +214,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 519, | ||
"id": 473, | ||
"nodeType": "ParameterList", | ||
@@ -220,7 +220,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 518, | ||
"id": 472, | ||
"name": "contractName", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 523, | ||
"src": "431:19:6", | ||
"scope": 477, | ||
"src": "431:19:5", | ||
"stateVariable": false, | ||
@@ -233,6 +233,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 517, | ||
"id": 471, | ||
"name": "string", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "431:6:6", | ||
"src": "431:6:5", | ||
"typeDescriptions": { | ||
@@ -247,7 +247,7 @@ "typeIdentifier": "t_string_storage_ptr", | ||
], | ||
"src": "430:21:6" | ||
"src": "430:21:5" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 522, | ||
"id": 476, | ||
"nodeType": "ParameterList", | ||
@@ -257,7 +257,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 521, | ||
"id": 475, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 523, | ||
"src": "473:7:6", | ||
"scope": 477, | ||
"src": "473:7:5", | ||
"stateVariable": false, | ||
@@ -270,6 +270,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 520, | ||
"id": 474, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "473:7:6", | ||
"src": "473:7:5", | ||
"typeDescriptions": { | ||
@@ -284,6 +284,6 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "472:9:6" | ||
"src": "472:9:5" | ||
}, | ||
"scope": 524, | ||
"src": "404:78:6", | ||
"scope": 478, | ||
"src": "404:78:5", | ||
"stateMutability": "view", | ||
@@ -294,7 +294,7 @@ "superFunction": null, | ||
], | ||
"scope": 525, | ||
"src": "152:332:6" | ||
"scope": 479, | ||
"src": "152:332:5" | ||
} | ||
], | ||
"src": "0:485:6" | ||
"src": "0:485:5" | ||
}, | ||
@@ -307,3 +307,3 @@ "compiler": { | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-17T16:14:48.547Z" | ||
"updatedAt": "2018-05-18T22:19:42.733Z" | ||
} |
@@ -19,20 +19,20 @@ { | ||
], | ||
"bytecode": "0x60606040523415600e57600080fd5b60ac8061001c6000396000f300606060405260043610603f576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063158ef93e146044575b600080fd5b3415604e57600080fd5b6054606e565b604051808215151515815260200191505060405180910390f35b6000809054906101000a900460ff16815600a165627a7a72305820062eabe0afeff4dda9be6d1bb570e3335d74a99786a18fc2f24998f54397b27a0029", | ||
"deployedBytecode": "0x606060405260043610603f576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063158ef93e146044575b600080fd5b3415604e57600080fd5b6054606e565b604051808215151515815260200191505060405180910390f35b6000809054906101000a900460ff16815600a165627a7a72305820062eabe0afeff4dda9be6d1bb570e3335d74a99786a18fc2f24998f54397b27a0029", | ||
"sourceMap": "314:300:9:-;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "314:300:9:-;;;;;;;;;;;;;;;;;;;;;;;;415:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", | ||
"bytecode": "0x60606040523415600e57600080fd5b60ac8061001c6000396000f300606060405260043610603f576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063158ef93e146044575b600080fd5b3415604e57600080fd5b6054606e565b604051808215151515815260200191505060405180910390f35b6000809054906101000a900460ff16815600a165627a7a72305820a9ab724329ae32459e9482cb2d589f29c8235fcb60cf3fd22533c0ff9f07e1310029", | ||
"deployedBytecode": "0x606060405260043610603f576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063158ef93e146044575b600080fd5b3415604e57600080fd5b6054606e565b604051808215151515815260200191505060405180910390f35b6000809054906101000a900460ff16815600a165627a7a72305820a9ab724329ae32459e9482cb2d589f29c8235fcb60cf3fd22533c0ff9f07e1310029", | ||
"sourceMap": "314:300:10:-;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "314:300:10:-;;;;;;;;;;;;;;;;;;;;;;;;415:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o", | ||
"source": "pragma solidity ^0.4.21;\n\n\n/**\n * @title Initializable\n *\n * @dev Simple helper contract to support initialization outside of constructor.\n * @dev Use Migratable for more complex migration mechanisms.\n *\n * @dev Beware! It is the developer's responsibility to ensure an initializer\n * @dev is actually called.\n */\ncontract Initializable {\n\n /**\n * @dev changed to true when contract has been initialized\n */\n bool public initialized;\n\n /**\n * @dev used to decorate the initialization function of a contract\n */\n modifier isInitializer() {\n require(!initialized);\n _;\n initialized = true;\n }\n}\n", | ||
"sourcePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/migrations/Initializable.sol", | ||
"sourcePath": "/home/frangio/zs/zos/lib/contracts/migrations/Initializable.sol", | ||
"ast": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/migrations/Initializable.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/migrations/Initializable.sol", | ||
"exportedSymbols": { | ||
"Initializable": [ | ||
659 | ||
716 | ||
] | ||
}, | ||
"id": 660, | ||
"id": 717, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 643, | ||
"id": 700, | ||
"literals": [ | ||
@@ -45,3 +45,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:9" | ||
"src": "0:24:10" | ||
}, | ||
@@ -54,5 +54,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 659, | ||
"id": 716, | ||
"linearizedBaseContracts": [ | ||
659 | ||
716 | ||
], | ||
@@ -64,7 +64,7 @@ "name": "Initializable", | ||
"constant": false, | ||
"id": 645, | ||
"id": 702, | ||
"name": "initialized", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 659, | ||
"src": "415:23:9", | ||
"scope": 716, | ||
"src": "415:23:10", | ||
"stateVariable": true, | ||
@@ -77,6 +77,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 644, | ||
"id": 701, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "415:4:9", | ||
"src": "415:4:10", | ||
"typeDescriptions": { | ||
@@ -92,5 +92,5 @@ "typeIdentifier": "t_bool", | ||
"body": { | ||
"id": 657, | ||
"id": 714, | ||
"nodeType": "Block", | ||
"src": "549:63:9", | ||
"src": "549:63:10", | ||
"statements": [ | ||
@@ -103,3 +103,3 @@ { | ||
"argumentTypes": null, | ||
"id": 649, | ||
"id": 706, | ||
"isConstant": false, | ||
@@ -112,11 +112,11 @@ "isLValue": false, | ||
"prefix": true, | ||
"src": "563:12:9", | ||
"src": "563:12:10", | ||
"subExpression": { | ||
"argumentTypes": null, | ||
"id": 648, | ||
"id": 705, | ||
"name": "initialized", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 645, | ||
"src": "564:11:9", | ||
"referencedDeclaration": 702, | ||
"src": "564:11:10", | ||
"typeDescriptions": { | ||
@@ -140,8 +140,8 @@ "typeIdentifier": "t_bool", | ||
], | ||
"id": 647, | ||
"id": 704, | ||
"name": "require", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1685, | ||
"src": "555:7:9", | ||
"referencedDeclaration": 1813, | ||
"src": "555:7:10", | ||
"typeDescriptions": { | ||
@@ -152,3 +152,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", | ||
}, | ||
"id": 650, | ||
"id": 707, | ||
"isConstant": false, | ||
@@ -161,3 +161,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "555:21:9", | ||
"src": "555:21:10", | ||
"typeDescriptions": { | ||
@@ -168,10 +168,10 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 651, | ||
"id": 708, | ||
"nodeType": "ExpressionStatement", | ||
"src": "555:21:9" | ||
"src": "555:21:10" | ||
}, | ||
{ | ||
"id": 652, | ||
"id": 709, | ||
"nodeType": "PlaceholderStatement", | ||
"src": "582:1:9" | ||
"src": "582:1:10" | ||
}, | ||
@@ -181,3 +181,3 @@ { | ||
"argumentTypes": null, | ||
"id": 655, | ||
"id": 712, | ||
"isConstant": false, | ||
@@ -189,8 +189,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 653, | ||
"id": 710, | ||
"name": "initialized", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 645, | ||
"src": "589:11:9", | ||
"referencedDeclaration": 702, | ||
"src": "589:11:10", | ||
"typeDescriptions": { | ||
@@ -206,3 +206,3 @@ "typeIdentifier": "t_bool", | ||
"hexValue": "74727565", | ||
"id": 654, | ||
"id": 711, | ||
"isConstant": false, | ||
@@ -214,3 +214,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "603:4:9", | ||
"src": "603:4:10", | ||
"subdenomination": null, | ||
@@ -223,3 +223,3 @@ "typeDescriptions": { | ||
}, | ||
"src": "589:18:9", | ||
"src": "589:18:10", | ||
"typeDescriptions": { | ||
@@ -230,5 +230,5 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"id": 656, | ||
"id": 713, | ||
"nodeType": "ExpressionStatement", | ||
"src": "589:18:9" | ||
"src": "589:18:10" | ||
} | ||
@@ -238,33 +238,33 @@ ] | ||
"documentation": "@dev used to decorate the initialization function of a contract", | ||
"id": 658, | ||
"id": 715, | ||
"name": "isInitializer", | ||
"nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 646, | ||
"id": 703, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "546:2:9" | ||
"src": "546:2:10" | ||
}, | ||
"src": "524:88:9", | ||
"src": "524:88:10", | ||
"visibility": "internal" | ||
} | ||
], | ||
"scope": 660, | ||
"src": "314:300:9" | ||
"scope": 717, | ||
"src": "314:300:10" | ||
} | ||
], | ||
"src": "0:615:9" | ||
"src": "0:615:10" | ||
}, | ||
"legacyAST": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/migrations/Initializable.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/migrations/Initializable.sol", | ||
"exportedSymbols": { | ||
"Initializable": [ | ||
659 | ||
716 | ||
] | ||
}, | ||
"id": 660, | ||
"id": 717, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 643, | ||
"id": 700, | ||
"literals": [ | ||
@@ -277,3 +277,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:9" | ||
"src": "0:24:10" | ||
}, | ||
@@ -286,5 +286,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 659, | ||
"id": 716, | ||
"linearizedBaseContracts": [ | ||
659 | ||
716 | ||
], | ||
@@ -296,7 +296,7 @@ "name": "Initializable", | ||
"constant": false, | ||
"id": 645, | ||
"id": 702, | ||
"name": "initialized", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 659, | ||
"src": "415:23:9", | ||
"scope": 716, | ||
"src": "415:23:10", | ||
"stateVariable": true, | ||
@@ -309,6 +309,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 644, | ||
"id": 701, | ||
"name": "bool", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "415:4:9", | ||
"src": "415:4:10", | ||
"typeDescriptions": { | ||
@@ -324,5 +324,5 @@ "typeIdentifier": "t_bool", | ||
"body": { | ||
"id": 657, | ||
"id": 714, | ||
"nodeType": "Block", | ||
"src": "549:63:9", | ||
"src": "549:63:10", | ||
"statements": [ | ||
@@ -335,3 +335,3 @@ { | ||
"argumentTypes": null, | ||
"id": 649, | ||
"id": 706, | ||
"isConstant": false, | ||
@@ -344,11 +344,11 @@ "isLValue": false, | ||
"prefix": true, | ||
"src": "563:12:9", | ||
"src": "563:12:10", | ||
"subExpression": { | ||
"argumentTypes": null, | ||
"id": 648, | ||
"id": 705, | ||
"name": "initialized", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 645, | ||
"src": "564:11:9", | ||
"referencedDeclaration": 702, | ||
"src": "564:11:10", | ||
"typeDescriptions": { | ||
@@ -372,8 +372,8 @@ "typeIdentifier": "t_bool", | ||
], | ||
"id": 647, | ||
"id": 704, | ||
"name": "require", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1685, | ||
"src": "555:7:9", | ||
"referencedDeclaration": 1813, | ||
"src": "555:7:10", | ||
"typeDescriptions": { | ||
@@ -384,3 +384,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", | ||
}, | ||
"id": 650, | ||
"id": 707, | ||
"isConstant": false, | ||
@@ -393,3 +393,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "555:21:9", | ||
"src": "555:21:10", | ||
"typeDescriptions": { | ||
@@ -400,10 +400,10 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 651, | ||
"id": 708, | ||
"nodeType": "ExpressionStatement", | ||
"src": "555:21:9" | ||
"src": "555:21:10" | ||
}, | ||
{ | ||
"id": 652, | ||
"id": 709, | ||
"nodeType": "PlaceholderStatement", | ||
"src": "582:1:9" | ||
"src": "582:1:10" | ||
}, | ||
@@ -413,3 +413,3 @@ { | ||
"argumentTypes": null, | ||
"id": 655, | ||
"id": 712, | ||
"isConstant": false, | ||
@@ -421,8 +421,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 653, | ||
"id": 710, | ||
"name": "initialized", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 645, | ||
"src": "589:11:9", | ||
"referencedDeclaration": 702, | ||
"src": "589:11:10", | ||
"typeDescriptions": { | ||
@@ -438,3 +438,3 @@ "typeIdentifier": "t_bool", | ||
"hexValue": "74727565", | ||
"id": 654, | ||
"id": 711, | ||
"isConstant": false, | ||
@@ -446,3 +446,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "603:4:9", | ||
"src": "603:4:10", | ||
"subdenomination": null, | ||
@@ -455,3 +455,3 @@ "typeDescriptions": { | ||
}, | ||
"src": "589:18:9", | ||
"src": "589:18:10", | ||
"typeDescriptions": { | ||
@@ -462,5 +462,5 @@ "typeIdentifier": "t_bool", | ||
}, | ||
"id": 656, | ||
"id": 713, | ||
"nodeType": "ExpressionStatement", | ||
"src": "589:18:9" | ||
"src": "589:18:10" | ||
} | ||
@@ -470,20 +470,20 @@ ] | ||
"documentation": "@dev used to decorate the initialization function of a contract", | ||
"id": 658, | ||
"id": 715, | ||
"name": "isInitializer", | ||
"nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 646, | ||
"id": 703, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "546:2:9" | ||
"src": "546:2:10" | ||
}, | ||
"src": "524:88:9", | ||
"src": "524:88:10", | ||
"visibility": "internal" | ||
} | ||
], | ||
"scope": 660, | ||
"src": "314:300:9" | ||
"scope": 717, | ||
"src": "314:300:10" | ||
} | ||
], | ||
"src": "0:615:9" | ||
"src": "0:615:10" | ||
}, | ||
@@ -496,3 +496,3 @@ "compiler": { | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-17T16:14:48.548Z" | ||
"updatedAt": "2018-05-17T18:16:35.363Z" | ||
} |
@@ -28,20 +28,20 @@ { | ||
], | ||
"bytecode": "0x6060604052341561000f57600080fd5b60fe8061001d6000396000f3006060604052600436106049576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063158ef93e14604e5780638129fc1c146078575b600080fd5b3415605857600080fd5b605e608a565b604051808215151515815260200191505060405180910390f35b3415608257600080fd5b6088609c565b005b6000809054906101000a900460ff1681565b6000809054906101000a900460ff1615151560b657600080fd5b60016000806101000a81548160ff0219169083151502179055505600a165627a7a723058205409859dbdd7743fe88e3d156e4ed84a1e75eae6d3e555579dc181daa9881d3f0029", | ||
"deployedBytecode": "0x6060604052600436106049576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063158ef93e14604e5780638129fc1c146078575b600080fd5b3415605857600080fd5b605e608a565b604051808215151515815260200191505060405180910390f35b3415608257600080fd5b6088609c565b005b6000809054906101000a900460ff1681565b6000809054906101000a900460ff1615151560b657600080fd5b60016000806101000a81548160ff0219169083151502179055505600a165627a7a723058205409859dbdd7743fe88e3d156e4ed84a1e75eae6d3e555579dc181daa9881d3f0029", | ||
"sourceMap": "173:100:11:-;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "173:100:11:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;415:23:9;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;222:48:11;;;;;;;;;;;;;;415:23:9;;;;;;;;;;;;;:::o;222:48:11:-;564:11:9;;;;;;;;;;;563:12;555:21;;;;;;;;603:4;589:11;;:18;;;;;;;;;;;;;;;;;;222:48:11:o", | ||
"bytecode": "0x6060604052341561000f57600080fd5b60fe8061001d6000396000f3006060604052600436106049576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063158ef93e14604e5780638129fc1c146078575b600080fd5b3415605857600080fd5b605e608a565b604051808215151515815260200191505060405180910390f35b3415608257600080fd5b6088609c565b005b6000809054906101000a900460ff1681565b6000809054906101000a900460ff1615151560b657600080fd5b60016000806101000a81548160ff0219169083151502179055505600a165627a7a723058205a198fdebc9213dd23c2b4959aee2e0efbec34b83d0ce821142f067faaa2206f0029", | ||
"deployedBytecode": "0x6060604052600436106049576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063158ef93e14604e5780638129fc1c146078575b600080fd5b3415605857600080fd5b605e608a565b604051808215151515815260200191505060405180910390f35b3415608257600080fd5b6088609c565b005b6000809054906101000a900460ff1681565b6000809054906101000a900460ff1615151560b657600080fd5b60016000806101000a81548160ff0219169083151502179055505600a165627a7a723058205a198fdebc9213dd23c2b4959aee2e0efbec34b83d0ce821142f067faaa2206f0029", | ||
"sourceMap": "173:100:14:-;;;;;;;;;;;;;;;;;", | ||
"deployedSourceMap": "173:100:14:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;415:23:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;222:48:14;;;;;;;;;;;;;;415:23:10;;;;;;;;;;;;;:::o;222:48:14:-;564:11:10;;;;;;;;;;;563:12;555:21;;;;;;;;603:4;589:11;;:18;;;;;;;;;;;;;;;;;;222:48:14:o", | ||
"source": "pragma solidity ^0.4.21;\n\nimport \"../migrations/Initializable.sol\";\n\n/**\n * @title InitializableMock\n * @dev This contract is a mock to test initializable functionality\n */\ncontract InitializableMock is Initializable {\n\n function initialize() public isInitializer {\n }\n\n}\n", | ||
"sourcePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/InitializableMock.sol", | ||
"sourcePath": "/home/frangio/zs/zos/lib/contracts/mocks/InitializableMock.sol", | ||
"ast": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/InitializableMock.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/mocks/InitializableMock.sol", | ||
"exportedSymbols": { | ||
"InitializableMock": [ | ||
767 | ||
895 | ||
] | ||
}, | ||
"id": 768, | ||
"id": 896, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 757, | ||
"id": 885, | ||
"literals": [ | ||
@@ -54,12 +54,12 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:11" | ||
"src": "0:24:14" | ||
}, | ||
{ | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/migrations/Initializable.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/migrations/Initializable.sol", | ||
"file": "../migrations/Initializable.sol", | ||
"id": 758, | ||
"id": 886, | ||
"nodeType": "ImportDirective", | ||
"scope": 768, | ||
"sourceUnit": 660, | ||
"src": "26:41:11", | ||
"scope": 896, | ||
"sourceUnit": 717, | ||
"src": "26:41:14", | ||
"symbolAliases": [], | ||
@@ -74,19 +74,19 @@ "unitAlias": "" | ||
"contractScope": null, | ||
"id": 759, | ||
"id": 887, | ||
"name": "Initializable", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 659, | ||
"src": "203:13:11", | ||
"referencedDeclaration": 716, | ||
"src": "203:13:14", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Initializable_$659", | ||
"typeIdentifier": "t_contract$_Initializable_$716", | ||
"typeString": "contract Initializable" | ||
} | ||
}, | ||
"id": 760, | ||
"id": 888, | ||
"nodeType": "InheritanceSpecifier", | ||
"src": "203:13:11" | ||
"src": "203:13:14" | ||
} | ||
], | ||
"contractDependencies": [ | ||
659 | ||
716 | ||
], | ||
@@ -96,6 +96,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 767, | ||
"id": 895, | ||
"linearizedBaseContracts": [ | ||
767, | ||
659 | ||
895, | ||
716 | ||
], | ||
@@ -107,9 +107,9 @@ "name": "InitializableMock", | ||
"body": { | ||
"id": 765, | ||
"id": 893, | ||
"nodeType": "Block", | ||
"src": "265:5:11", | ||
"src": "265:5:14", | ||
"statements": [] | ||
}, | ||
"documentation": null, | ||
"id": 766, | ||
"id": 894, | ||
"implemented": true, | ||
@@ -121,11 +121,11 @@ "isConstructor": false, | ||
"arguments": [], | ||
"id": 763, | ||
"id": 891, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 762, | ||
"id": 890, | ||
"name": "isInitializer", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 658, | ||
"src": "251:13:11", | ||
"referencedDeclaration": 715, | ||
"src": "251:13:14", | ||
"typeDescriptions": { | ||
@@ -137,3 +137,3 @@ "typeIdentifier": "t_modifier$__$", | ||
"nodeType": "ModifierInvocation", | ||
"src": "251:13:11" | ||
"src": "251:13:14" | ||
} | ||
@@ -144,16 +144,16 @@ ], | ||
"parameters": { | ||
"id": 761, | ||
"id": 889, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "241:2:11" | ||
"src": "241:2:14" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 764, | ||
"id": 892, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "265:0:11" | ||
"src": "265:0:14" | ||
}, | ||
"scope": 767, | ||
"src": "222:48:11", | ||
"scope": 895, | ||
"src": "222:48:14", | ||
"stateMutability": "nonpayable", | ||
@@ -164,20 +164,20 @@ "superFunction": null, | ||
], | ||
"scope": 768, | ||
"src": "173:100:11" | ||
"scope": 896, | ||
"src": "173:100:14" | ||
} | ||
], | ||
"src": "0:274:11" | ||
"src": "0:274:14" | ||
}, | ||
"legacyAST": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/InitializableMock.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/mocks/InitializableMock.sol", | ||
"exportedSymbols": { | ||
"InitializableMock": [ | ||
767 | ||
895 | ||
] | ||
}, | ||
"id": 768, | ||
"id": 896, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 757, | ||
"id": 885, | ||
"literals": [ | ||
@@ -190,12 +190,12 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:11" | ||
"src": "0:24:14" | ||
}, | ||
{ | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/migrations/Initializable.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/migrations/Initializable.sol", | ||
"file": "../migrations/Initializable.sol", | ||
"id": 758, | ||
"id": 886, | ||
"nodeType": "ImportDirective", | ||
"scope": 768, | ||
"sourceUnit": 660, | ||
"src": "26:41:11", | ||
"scope": 896, | ||
"sourceUnit": 717, | ||
"src": "26:41:14", | ||
"symbolAliases": [], | ||
@@ -210,19 +210,19 @@ "unitAlias": "" | ||
"contractScope": null, | ||
"id": 759, | ||
"id": 887, | ||
"name": "Initializable", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 659, | ||
"src": "203:13:11", | ||
"referencedDeclaration": 716, | ||
"src": "203:13:14", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Initializable_$659", | ||
"typeIdentifier": "t_contract$_Initializable_$716", | ||
"typeString": "contract Initializable" | ||
} | ||
}, | ||
"id": 760, | ||
"id": 888, | ||
"nodeType": "InheritanceSpecifier", | ||
"src": "203:13:11" | ||
"src": "203:13:14" | ||
} | ||
], | ||
"contractDependencies": [ | ||
659 | ||
716 | ||
], | ||
@@ -232,6 +232,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 767, | ||
"id": 895, | ||
"linearizedBaseContracts": [ | ||
767, | ||
659 | ||
895, | ||
716 | ||
], | ||
@@ -243,9 +243,9 @@ "name": "InitializableMock", | ||
"body": { | ||
"id": 765, | ||
"id": 893, | ||
"nodeType": "Block", | ||
"src": "265:5:11", | ||
"src": "265:5:14", | ||
"statements": [] | ||
}, | ||
"documentation": null, | ||
"id": 766, | ||
"id": 894, | ||
"implemented": true, | ||
@@ -257,11 +257,11 @@ "isConstructor": false, | ||
"arguments": [], | ||
"id": 763, | ||
"id": 891, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 762, | ||
"id": 890, | ||
"name": "isInitializer", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 658, | ||
"src": "251:13:11", | ||
"referencedDeclaration": 715, | ||
"src": "251:13:14", | ||
"typeDescriptions": { | ||
@@ -273,3 +273,3 @@ "typeIdentifier": "t_modifier$__$", | ||
"nodeType": "ModifierInvocation", | ||
"src": "251:13:11" | ||
"src": "251:13:14" | ||
} | ||
@@ -280,16 +280,16 @@ ], | ||
"parameters": { | ||
"id": 761, | ||
"id": 889, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "241:2:11" | ||
"src": "241:2:14" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 764, | ||
"id": 892, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "265:0:11" | ||
"src": "265:0:14" | ||
}, | ||
"scope": 767, | ||
"src": "222:48:11", | ||
"scope": 895, | ||
"src": "222:48:14", | ||
"stateMutability": "nonpayable", | ||
@@ -300,7 +300,7 @@ "superFunction": null, | ||
], | ||
"scope": 768, | ||
"src": "173:100:11" | ||
"scope": 896, | ||
"src": "173:100:14" | ||
} | ||
], | ||
"src": "0:274:11" | ||
"src": "0:274:14" | ||
}, | ||
@@ -313,3 +313,3 @@ "compiler": { | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-17T16:14:48.551Z" | ||
"updatedAt": "2018-05-17T18:16:35.362Z" | ||
} |
@@ -88,20 +88,20 @@ { | ||
], | ||
"bytecode": "0x6060604052341561000f57600080fd5b6105258061001e6000396000f300606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630c55699c14610067578063a9cc471814610090578063c0bac1a8146100a5578063fe4b84df1461015d575b600080fd5b341561007257600080fd5b61007a610175565b6040518082815260200191505060405180910390f35b341561009b57600080fd5b6100a361017b565b005b34156100b057600080fd5b610143600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061018a565b604051808215151515815260200191505060405180910390f35b6101736004808035906020019091905050610275565b005b60015481565b6000151561018857600080fd5b565b600080836040518082805190602001908083835b6020831015156101c3578051825260208201915060208101905060208303925061019e565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b60208310151561022c5780518252602082019150602081019050602083039250610207565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900460ff16905092915050565b6040805190810160405280601181526020017f496e697469616c697a61626c654d6f636b0000000000000000000000000000008152506040805190810160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152506102eb828261018a565b1515156102f757600080fd5b826001819055507fdd117a11c22118c9dee4b5a67ce578bc44529dce21ee0ccc439588fbb9fb4ea38282604051808060200180602001838103835285818151815260200191508051906020019080838360005b8381101561036557808201518184015260208101905061034a565b50505050905090810190601f1680156103925780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b838110156103cb5780820151818401526020810190506103b0565b50505050905090810190601f1680156103f85780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160016000836040518082805190602001908083835b602083101515610441578051825260208201915060208101905060208303925061041c565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b6020831015156104aa5780518252602082019150602081019050602083039250610485565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff0219169083151502179055505050505600a165627a7a72305820232f92a855d541190dd4f91844877ff0f4df145511dcfd601b6e61b4873538c40029", | ||
"deployedBytecode": "0x606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630c55699c14610067578063a9cc471814610090578063c0bac1a8146100a5578063fe4b84df1461015d575b600080fd5b341561007257600080fd5b61007a610175565b6040518082815260200191505060405180910390f35b341561009b57600080fd5b6100a361017b565b005b34156100b057600080fd5b610143600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061018a565b604051808215151515815260200191505060405180910390f35b6101736004808035906020019091905050610275565b005b60015481565b6000151561018857600080fd5b565b600080836040518082805190602001908083835b6020831015156101c3578051825260208201915060208101905060208303925061019e565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b60208310151561022c5780518252602082019150602081019050602083039250610207565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900460ff16905092915050565b6040805190810160405280601181526020017f496e697469616c697a61626c654d6f636b0000000000000000000000000000008152506040805190810160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152506102eb828261018a565b1515156102f757600080fd5b826001819055507fdd117a11c22118c9dee4b5a67ce578bc44529dce21ee0ccc439588fbb9fb4ea38282604051808060200180602001838103835285818151815260200191508051906020019080838360005b8381101561036557808201518184015260208101905061034a565b50505050905090810190601f1680156103925780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b838110156103cb5780820151818401526020810190506103b0565b50505050905090810190601f1680156103f85780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160016000836040518082805190602001908083835b602083101515610441578051825260208201915060208101905060208303925061041c565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b6020831015156104aa5780518252602082019150602081019050602083039250610485565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff0219169083151502179055505050505600a165627a7a72305820232f92a855d541190dd4f91844877ff0f4df145511dcfd601b6e61b4873538c40029", | ||
"sourceMap": "168:271:12:-;;;231:35;;;;;;;;168:271;;;;;;", | ||
"deployedSourceMap": "168:271:12:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;210:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;384:53;;;;;;;;;;;;;;1950:140:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;270:110:12;;;;;;;;;;;;;;;;;;210:16;;;;:::o;384:53::-;426:5;418:14;;;;;;;;384:53::o;1950:140:10:-;2031:4;2050:8;2059:12;2050:22;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;2050:22:10;;;;;;;;;;;;;;;;;;;;;2073:11;2050:35;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;2050:35:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2043:42;;1950:140;;;;:::o;270:110:12:-;1004:223:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1083:37;1094:12;1108:11;1083:10;:37::i;:::-;1082:38;1074:47;;;;;;;;370:5:12;366:1;:9;;;;1139:35:10;1148:12;1162:11;1139:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1139:35:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1139:35:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1218:4;1180:8;1189:12;1180:22;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1180:22:10;;;;;;;;;;;;;;;;;;;;;1203:11;1180:35;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1180:35:10;;;;;;;;;;;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;270:110:12;;;:::o", | ||
"bytecode": "0x6060604052341561000f57600080fd5b6105258061001e6000396000f300606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630c55699c14610067578063a9cc471814610090578063c0bac1a8146100a5578063fe4b84df1461015d575b600080fd5b341561007257600080fd5b61007a610175565b6040518082815260200191505060405180910390f35b341561009b57600080fd5b6100a361017b565b005b34156100b057600080fd5b610143600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061018a565b604051808215151515815260200191505060405180910390f35b6101736004808035906020019091905050610275565b005b60015481565b6000151561018857600080fd5b565b600080836040518082805190602001908083835b6020831015156101c3578051825260208201915060208101905060208303925061019e565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b60208310151561022c5780518252602082019150602081019050602083039250610207565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900460ff16905092915050565b6040805190810160405280601181526020017f496e697469616c697a61626c654d6f636b0000000000000000000000000000008152506040805190810160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152506102eb828261018a565b1515156102f757600080fd5b826001819055507fdd117a11c22118c9dee4b5a67ce578bc44529dce21ee0ccc439588fbb9fb4ea38282604051808060200180602001838103835285818151815260200191508051906020019080838360005b8381101561036557808201518184015260208101905061034a565b50505050905090810190601f1680156103925780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b838110156103cb5780820151818401526020810190506103b0565b50505050905090810190601f1680156103f85780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160016000836040518082805190602001908083835b602083101515610441578051825260208201915060208101905060208303925061041c565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b6020831015156104aa5780518252602082019150602081019050602083039250610485565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff0219169083151502179055505050505600a165627a7a72305820cc64357aaf1dd00a77e05ac992f086b5bf629a372d7264a2fb6e7726131052e20029", | ||
"deployedBytecode": "0x606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630c55699c14610067578063a9cc471814610090578063c0bac1a8146100a5578063fe4b84df1461015d575b600080fd5b341561007257600080fd5b61007a610175565b6040518082815260200191505060405180910390f35b341561009b57600080fd5b6100a361017b565b005b34156100b057600080fd5b610143600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061018a565b604051808215151515815260200191505060405180910390f35b6101736004808035906020019091905050610275565b005b60015481565b6000151561018857600080fd5b565b600080836040518082805190602001908083835b6020831015156101c3578051825260208201915060208101905060208303925061019e565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b60208310151561022c5780518252602082019150602081019050602083039250610207565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900460ff16905092915050565b6040805190810160405280601181526020017f496e697469616c697a61626c654d6f636b0000000000000000000000000000008152506040805190810160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152506102eb828261018a565b1515156102f757600080fd5b826001819055507fdd117a11c22118c9dee4b5a67ce578bc44529dce21ee0ccc439588fbb9fb4ea38282604051808060200180602001838103835285818151815260200191508051906020019080838360005b8381101561036557808201518184015260208101905061034a565b50505050905090810190601f1680156103925780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b838110156103cb5780820151818401526020810190506103b0565b50505050905090810190601f1680156103f85780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160016000836040518082805190602001908083835b602083101515610441578051825260208201915060208101905060208303925061041c565b6001836020036101000a0380198251168184511680821785525050505050509050019150509081526020016040518091039020826040518082805190602001908083835b6020831015156104aa5780518252602082019150602081019050602083039250610485565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548160ff0219169083151502179055505050505600a165627a7a72305820cc64357aaf1dd00a77e05ac992f086b5bf629a372d7264a2fb6e7726131052e20029", | ||
"sourceMap": "168:271:15:-;;;231:35;;;;;;;;168:271;;;;;;", | ||
"deployedSourceMap": "168:271:15:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;210:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;384:53;;;;;;;;;;;;;;1950:140:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;270:110:15;;;;;;;;;;;;;;;;;;210:16;;;;:::o;384:53::-;426:5;418:14;;;;;;;;384:53::o;1950:140:11:-;2031:4;2050:8;2059:12;2050:22;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;2050:22:11;;;;;;;;;;;;;;;;;;;;;2073:11;2050:35;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;2050:35:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2043:42;;1950:140;;;;:::o;270:110:15:-;1004:223:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1083:37;1094:12;1108:11;1083:10;:37::i;:::-;1082:38;1074:47;;;;;;;;370:5:15;366:1;:9;;;;1139:35:11;1148:12;1162:11;1139:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1139:35:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1139:35:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1218:4;1180:8;1189:12;1180:22;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1180:22:11;;;;;;;;;;;;;;;;;;;;;1203:11;1180:35;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1180:35:11;;;;;;;;;;;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;270:110:15;;;:::o", | ||
"source": "pragma solidity ^0.4.21;\n\nimport \"../migrations/Migratable.sol\";\n\n/**\n * @title MigratableMock\n * @dev This contract is a mock to test upgradeability functionality\n */\ncontract MigratableMock is Migratable {\n uint256 public x;\n\n function MigratableMock() public {}\n\n function initialize(uint256 value) public payable isInitializer(\"InitializableMock\", \"0\") {\n x = value;\n }\n\n function fail() public pure {\n require(false);\n }\n}\n", | ||
"sourcePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/MigratableMock.sol", | ||
"sourcePath": "/home/frangio/zs/zos/lib/contracts/mocks/MigratableMock.sol", | ||
"ast": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/MigratableMock.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/mocks/MigratableMock.sol", | ||
"exportedSymbols": { | ||
"MigratableMock": [ | ||
801 | ||
929 | ||
] | ||
}, | ||
"id": 802, | ||
"id": 930, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 769, | ||
"id": 897, | ||
"literals": [ | ||
@@ -114,12 +114,12 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:12" | ||
"src": "0:24:15" | ||
}, | ||
{ | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/migrations/Migratable.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/migrations/Migratable.sol", | ||
"file": "../migrations/Migratable.sol", | ||
"id": 770, | ||
"id": 898, | ||
"nodeType": "ImportDirective", | ||
"scope": 802, | ||
"sourceUnit": 756, | ||
"src": "26:38:12", | ||
"scope": 930, | ||
"sourceUnit": 813, | ||
"src": "26:38:15", | ||
"symbolAliases": [], | ||
@@ -134,19 +134,19 @@ "unitAlias": "" | ||
"contractScope": null, | ||
"id": 771, | ||
"id": 899, | ||
"name": "Migratable", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 755, | ||
"src": "195:10:12", | ||
"referencedDeclaration": 812, | ||
"src": "195:10:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migratable_$755", | ||
"typeIdentifier": "t_contract$_Migratable_$812", | ||
"typeString": "contract Migratable" | ||
} | ||
}, | ||
"id": 772, | ||
"id": 900, | ||
"nodeType": "InheritanceSpecifier", | ||
"src": "195:10:12" | ||
"src": "195:10:15" | ||
} | ||
], | ||
"contractDependencies": [ | ||
755 | ||
812 | ||
], | ||
@@ -156,6 +156,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 801, | ||
"id": 929, | ||
"linearizedBaseContracts": [ | ||
801, | ||
755 | ||
929, | ||
812 | ||
], | ||
@@ -167,7 +167,7 @@ "name": "MigratableMock", | ||
"constant": false, | ||
"id": 774, | ||
"id": 902, | ||
"name": "x", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 801, | ||
"src": "210:16:12", | ||
"scope": 929, | ||
"src": "210:16:15", | ||
"stateVariable": true, | ||
@@ -180,6 +180,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 773, | ||
"id": 901, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "210:7:12", | ||
"src": "210:7:15", | ||
"typeDescriptions": { | ||
@@ -195,9 +195,9 @@ "typeIdentifier": "t_uint256", | ||
"body": { | ||
"id": 777, | ||
"id": 905, | ||
"nodeType": "Block", | ||
"src": "264:2:12", | ||
"src": "264:2:15", | ||
"statements": [] | ||
}, | ||
"documentation": null, | ||
"id": 778, | ||
"id": 906, | ||
"implemented": true, | ||
@@ -210,16 +210,16 @@ "isConstructor": true, | ||
"parameters": { | ||
"id": 775, | ||
"id": 903, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "254:2:12" | ||
"src": "254:2:15" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 776, | ||
"id": 904, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "264:0:12" | ||
"src": "264:0:15" | ||
}, | ||
"scope": 801, | ||
"src": "231:35:12", | ||
"scope": 929, | ||
"src": "231:35:15", | ||
"stateMutability": "nonpayable", | ||
@@ -231,5 +231,5 @@ "superFunction": null, | ||
"body": { | ||
"id": 791, | ||
"id": 919, | ||
"nodeType": "Block", | ||
"src": "360:20:12", | ||
"src": "360:20:15", | ||
"statements": [ | ||
@@ -239,3 +239,3 @@ { | ||
"argumentTypes": null, | ||
"id": 789, | ||
"id": 917, | ||
"isConstant": false, | ||
@@ -247,8 +247,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 787, | ||
"id": 915, | ||
"name": "x", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 774, | ||
"src": "366:1:12", | ||
"referencedDeclaration": 902, | ||
"src": "366:1:15", | ||
"typeDescriptions": { | ||
@@ -263,8 +263,8 @@ "typeIdentifier": "t_uint256", | ||
"argumentTypes": null, | ||
"id": 788, | ||
"id": 916, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 780, | ||
"src": "370:5:12", | ||
"referencedDeclaration": 908, | ||
"src": "370:5:15", | ||
"typeDescriptions": { | ||
@@ -275,3 +275,3 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"src": "366:9:12", | ||
"src": "366:9:15", | ||
"typeDescriptions": { | ||
@@ -282,5 +282,5 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"id": 790, | ||
"id": 918, | ||
"nodeType": "ExpressionStatement", | ||
"src": "366:9:12" | ||
"src": "366:9:15" | ||
} | ||
@@ -290,3 +290,3 @@ ] | ||
"documentation": null, | ||
"id": 792, | ||
"id": 920, | ||
"implemented": true, | ||
@@ -301,3 +301,3 @@ "isConstructor": false, | ||
"hexValue": "496e697469616c697a61626c654d6f636b", | ||
"id": 783, | ||
"id": 911, | ||
"isConstant": false, | ||
@@ -309,3 +309,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "334:19:12", | ||
"src": "334:19:15", | ||
"subdenomination": null, | ||
@@ -321,3 +321,3 @@ "typeDescriptions": { | ||
"hexValue": "30", | ||
"id": 784, | ||
"id": 912, | ||
"isConstant": false, | ||
@@ -329,3 +329,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "355:3:12", | ||
"src": "355:3:15", | ||
"subdenomination": null, | ||
@@ -339,11 +339,11 @@ "typeDescriptions": { | ||
], | ||
"id": 785, | ||
"id": 913, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 782, | ||
"id": 910, | ||
"name": "isInitializer", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 702, | ||
"src": "320:13:12", | ||
"referencedDeclaration": 759, | ||
"src": "320:13:15", | ||
"typeDescriptions": { | ||
@@ -355,3 +355,3 @@ "typeIdentifier": "t_modifier$_t_string_memory_ptr_$_t_string_memory_ptr_$", | ||
"nodeType": "ModifierInvocation", | ||
"src": "320:39:12" | ||
"src": "320:39:15" | ||
} | ||
@@ -362,3 +362,3 @@ ], | ||
"parameters": { | ||
"id": 781, | ||
"id": 909, | ||
"nodeType": "ParameterList", | ||
@@ -368,7 +368,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 780, | ||
"id": 908, | ||
"name": "value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 792, | ||
"src": "290:13:12", | ||
"scope": 920, | ||
"src": "290:13:15", | ||
"stateVariable": false, | ||
@@ -381,6 +381,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 779, | ||
"id": 907, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "290:7:12", | ||
"src": "290:7:15", | ||
"typeDescriptions": { | ||
@@ -395,13 +395,13 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "289:15:12" | ||
"src": "289:15:15" | ||
}, | ||
"payable": true, | ||
"returnParameters": { | ||
"id": 786, | ||
"id": 914, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "360:0:12" | ||
"src": "360:0:15" | ||
}, | ||
"scope": 801, | ||
"src": "270:110:12", | ||
"scope": 929, | ||
"src": "270:110:15", | ||
"stateMutability": "payable", | ||
@@ -413,5 +413,5 @@ "superFunction": null, | ||
"body": { | ||
"id": 799, | ||
"id": 927, | ||
"nodeType": "Block", | ||
"src": "412:25:12", | ||
"src": "412:25:15", | ||
"statements": [ | ||
@@ -425,3 +425,3 @@ { | ||
"hexValue": "66616c7365", | ||
"id": 796, | ||
"id": 924, | ||
"isConstant": false, | ||
@@ -433,3 +433,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "426:5:12", | ||
"src": "426:5:15", | ||
"subdenomination": null, | ||
@@ -450,8 +450,8 @@ "typeDescriptions": { | ||
], | ||
"id": 795, | ||
"id": 923, | ||
"name": "require", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1685, | ||
"src": "418:7:12", | ||
"referencedDeclaration": 1813, | ||
"src": "418:7:15", | ||
"typeDescriptions": { | ||
@@ -462,3 +462,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", | ||
}, | ||
"id": 797, | ||
"id": 925, | ||
"isConstant": false, | ||
@@ -471,3 +471,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "418:14:12", | ||
"src": "418:14:15", | ||
"typeDescriptions": { | ||
@@ -478,5 +478,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 798, | ||
"id": 926, | ||
"nodeType": "ExpressionStatement", | ||
"src": "418:14:12" | ||
"src": "418:14:15" | ||
} | ||
@@ -486,3 +486,3 @@ ] | ||
"documentation": null, | ||
"id": 800, | ||
"id": 928, | ||
"implemented": true, | ||
@@ -495,16 +495,16 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 793, | ||
"id": 921, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "397:2:12" | ||
"src": "397:2:15" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 794, | ||
"id": 922, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "412:0:12" | ||
"src": "412:0:15" | ||
}, | ||
"scope": 801, | ||
"src": "384:53:12", | ||
"scope": 929, | ||
"src": "384:53:15", | ||
"stateMutability": "pure", | ||
@@ -515,20 +515,20 @@ "superFunction": null, | ||
], | ||
"scope": 802, | ||
"src": "168:271:12" | ||
"scope": 930, | ||
"src": "168:271:15" | ||
} | ||
], | ||
"src": "0:440:12" | ||
"src": "0:440:15" | ||
}, | ||
"legacyAST": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/mocks/MigratableMock.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/mocks/MigratableMock.sol", | ||
"exportedSymbols": { | ||
"MigratableMock": [ | ||
801 | ||
929 | ||
] | ||
}, | ||
"id": 802, | ||
"id": 930, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 769, | ||
"id": 897, | ||
"literals": [ | ||
@@ -541,12 +541,12 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:12" | ||
"src": "0:24:15" | ||
}, | ||
{ | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/migrations/Migratable.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/migrations/Migratable.sol", | ||
"file": "../migrations/Migratable.sol", | ||
"id": 770, | ||
"id": 898, | ||
"nodeType": "ImportDirective", | ||
"scope": 802, | ||
"sourceUnit": 756, | ||
"src": "26:38:12", | ||
"scope": 930, | ||
"sourceUnit": 813, | ||
"src": "26:38:15", | ||
"symbolAliases": [], | ||
@@ -561,19 +561,19 @@ "unitAlias": "" | ||
"contractScope": null, | ||
"id": 771, | ||
"id": 899, | ||
"name": "Migratable", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 755, | ||
"src": "195:10:12", | ||
"referencedDeclaration": 812, | ||
"src": "195:10:15", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migratable_$755", | ||
"typeIdentifier": "t_contract$_Migratable_$812", | ||
"typeString": "contract Migratable" | ||
} | ||
}, | ||
"id": 772, | ||
"id": 900, | ||
"nodeType": "InheritanceSpecifier", | ||
"src": "195:10:12" | ||
"src": "195:10:15" | ||
} | ||
], | ||
"contractDependencies": [ | ||
755 | ||
812 | ||
], | ||
@@ -583,6 +583,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 801, | ||
"id": 929, | ||
"linearizedBaseContracts": [ | ||
801, | ||
755 | ||
929, | ||
812 | ||
], | ||
@@ -594,7 +594,7 @@ "name": "MigratableMock", | ||
"constant": false, | ||
"id": 774, | ||
"id": 902, | ||
"name": "x", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 801, | ||
"src": "210:16:12", | ||
"scope": 929, | ||
"src": "210:16:15", | ||
"stateVariable": true, | ||
@@ -607,6 +607,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 773, | ||
"id": 901, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "210:7:12", | ||
"src": "210:7:15", | ||
"typeDescriptions": { | ||
@@ -622,9 +622,9 @@ "typeIdentifier": "t_uint256", | ||
"body": { | ||
"id": 777, | ||
"id": 905, | ||
"nodeType": "Block", | ||
"src": "264:2:12", | ||
"src": "264:2:15", | ||
"statements": [] | ||
}, | ||
"documentation": null, | ||
"id": 778, | ||
"id": 906, | ||
"implemented": true, | ||
@@ -637,16 +637,16 @@ "isConstructor": true, | ||
"parameters": { | ||
"id": 775, | ||
"id": 903, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "254:2:12" | ||
"src": "254:2:15" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 776, | ||
"id": 904, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "264:0:12" | ||
"src": "264:0:15" | ||
}, | ||
"scope": 801, | ||
"src": "231:35:12", | ||
"scope": 929, | ||
"src": "231:35:15", | ||
"stateMutability": "nonpayable", | ||
@@ -658,5 +658,5 @@ "superFunction": null, | ||
"body": { | ||
"id": 791, | ||
"id": 919, | ||
"nodeType": "Block", | ||
"src": "360:20:12", | ||
"src": "360:20:15", | ||
"statements": [ | ||
@@ -666,3 +666,3 @@ { | ||
"argumentTypes": null, | ||
"id": 789, | ||
"id": 917, | ||
"isConstant": false, | ||
@@ -674,8 +674,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 787, | ||
"id": 915, | ||
"name": "x", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 774, | ||
"src": "366:1:12", | ||
"referencedDeclaration": 902, | ||
"src": "366:1:15", | ||
"typeDescriptions": { | ||
@@ -690,8 +690,8 @@ "typeIdentifier": "t_uint256", | ||
"argumentTypes": null, | ||
"id": 788, | ||
"id": 916, | ||
"name": "value", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 780, | ||
"src": "370:5:12", | ||
"referencedDeclaration": 908, | ||
"src": "370:5:15", | ||
"typeDescriptions": { | ||
@@ -702,3 +702,3 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"src": "366:9:12", | ||
"src": "366:9:15", | ||
"typeDescriptions": { | ||
@@ -709,5 +709,5 @@ "typeIdentifier": "t_uint256", | ||
}, | ||
"id": 790, | ||
"id": 918, | ||
"nodeType": "ExpressionStatement", | ||
"src": "366:9:12" | ||
"src": "366:9:15" | ||
} | ||
@@ -717,3 +717,3 @@ ] | ||
"documentation": null, | ||
"id": 792, | ||
"id": 920, | ||
"implemented": true, | ||
@@ -728,3 +728,3 @@ "isConstructor": false, | ||
"hexValue": "496e697469616c697a61626c654d6f636b", | ||
"id": 783, | ||
"id": 911, | ||
"isConstant": false, | ||
@@ -736,3 +736,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "334:19:12", | ||
"src": "334:19:15", | ||
"subdenomination": null, | ||
@@ -748,3 +748,3 @@ "typeDescriptions": { | ||
"hexValue": "30", | ||
"id": 784, | ||
"id": 912, | ||
"isConstant": false, | ||
@@ -756,3 +756,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "355:3:12", | ||
"src": "355:3:15", | ||
"subdenomination": null, | ||
@@ -766,11 +766,11 @@ "typeDescriptions": { | ||
], | ||
"id": 785, | ||
"id": 913, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 782, | ||
"id": 910, | ||
"name": "isInitializer", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 702, | ||
"src": "320:13:12", | ||
"referencedDeclaration": 759, | ||
"src": "320:13:15", | ||
"typeDescriptions": { | ||
@@ -782,3 +782,3 @@ "typeIdentifier": "t_modifier$_t_string_memory_ptr_$_t_string_memory_ptr_$", | ||
"nodeType": "ModifierInvocation", | ||
"src": "320:39:12" | ||
"src": "320:39:15" | ||
} | ||
@@ -789,3 +789,3 @@ ], | ||
"parameters": { | ||
"id": 781, | ||
"id": 909, | ||
"nodeType": "ParameterList", | ||
@@ -795,7 +795,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 780, | ||
"id": 908, | ||
"name": "value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 792, | ||
"src": "290:13:12", | ||
"scope": 920, | ||
"src": "290:13:15", | ||
"stateVariable": false, | ||
@@ -808,6 +808,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 779, | ||
"id": 907, | ||
"name": "uint256", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "290:7:12", | ||
"src": "290:7:15", | ||
"typeDescriptions": { | ||
@@ -822,13 +822,13 @@ "typeIdentifier": "t_uint256", | ||
], | ||
"src": "289:15:12" | ||
"src": "289:15:15" | ||
}, | ||
"payable": true, | ||
"returnParameters": { | ||
"id": 786, | ||
"id": 914, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "360:0:12" | ||
"src": "360:0:15" | ||
}, | ||
"scope": 801, | ||
"src": "270:110:12", | ||
"scope": 929, | ||
"src": "270:110:15", | ||
"stateMutability": "payable", | ||
@@ -840,5 +840,5 @@ "superFunction": null, | ||
"body": { | ||
"id": 799, | ||
"id": 927, | ||
"nodeType": "Block", | ||
"src": "412:25:12", | ||
"src": "412:25:15", | ||
"statements": [ | ||
@@ -852,3 +852,3 @@ { | ||
"hexValue": "66616c7365", | ||
"id": 796, | ||
"id": 924, | ||
"isConstant": false, | ||
@@ -860,3 +860,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "426:5:12", | ||
"src": "426:5:15", | ||
"subdenomination": null, | ||
@@ -877,8 +877,8 @@ "typeDescriptions": { | ||
], | ||
"id": 795, | ||
"id": 923, | ||
"name": "require", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1685, | ||
"src": "418:7:12", | ||
"referencedDeclaration": 1813, | ||
"src": "418:7:15", | ||
"typeDescriptions": { | ||
@@ -889,3 +889,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", | ||
}, | ||
"id": 797, | ||
"id": 925, | ||
"isConstant": false, | ||
@@ -898,3 +898,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "418:14:12", | ||
"src": "418:14:15", | ||
"typeDescriptions": { | ||
@@ -905,5 +905,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 798, | ||
"id": 926, | ||
"nodeType": "ExpressionStatement", | ||
"src": "418:14:12" | ||
"src": "418:14:15" | ||
} | ||
@@ -913,3 +913,3 @@ ] | ||
"documentation": null, | ||
"id": 800, | ||
"id": 928, | ||
"implemented": true, | ||
@@ -922,16 +922,16 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 793, | ||
"id": 921, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "397:2:12" | ||
"src": "397:2:15" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 794, | ||
"id": 922, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "412:0:12" | ||
"src": "412:0:15" | ||
}, | ||
"scope": 801, | ||
"src": "384:53:12", | ||
"scope": 929, | ||
"src": "384:53:15", | ||
"stateMutability": "pure", | ||
@@ -942,7 +942,7 @@ "superFunction": null, | ||
], | ||
"scope": 802, | ||
"src": "168:271:12" | ||
"scope": 930, | ||
"src": "168:271:15" | ||
} | ||
], | ||
"src": "0:440:12" | ||
"src": "0:440:15" | ||
}, | ||
@@ -955,3 +955,3 @@ "compiler": { | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-17T16:14:48.551Z" | ||
"updatedAt": "2018-05-17T18:16:35.365Z" | ||
} |
@@ -67,20 +67,20 @@ { | ||
], | ||
"bytecode": "0x6060604052341561000f57600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506102d78061005e6000396000f300606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630900f01014610067578063445df0ac146100a05780638da5cb5b146100c9578063fdacd5761461011e575b600080fd5b341561007257600080fd5b61009e600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610141565b005b34156100ab57600080fd5b6100b3610220565b6040518082815260200191505060405180910390f35b34156100d457600080fd5b6100dc610226565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561012957600080fd5b61013f600480803590602001909190505061024b565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561021c578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b151561020b57600080fd5b5af1151561021857600080fd5b5050505b5050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102a857806001819055505b505600a165627a7a7230582045b34f1477cd5b3328c4e332640822601f335933432c5e85710708d2df90c5f90029", | ||
"deployedBytecode": "0x606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630900f01014610067578063445df0ac146100a05780638da5cb5b146100c9578063fdacd5761461011e575b600080fd5b341561007257600080fd5b61009e600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610141565b005b34156100ab57600080fd5b6100b3610220565b6040518082815260200191505060405180910390f35b34156100d457600080fd5b6100dc610226565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561012957600080fd5b61013f600480803590602001909190505061024b565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561021c578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b151561020b57600080fd5b5af1151561021857600080fd5b5050505b5050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102a857806001819055505b505600a165627a7a7230582045b34f1477cd5b3328c4e332640822601f335933432c5e85710708d2df90c5f90029", | ||
"bytecode": "0x6060604052341561000f57600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506102d78061005e6000396000f300606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630900f01014610067578063445df0ac146100a05780638da5cb5b146100c9578063fdacd5761461011e575b600080fd5b341561007257600080fd5b61009e600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610141565b005b34156100ab57600080fd5b6100b3610220565b6040518082815260200191505060405180910390f35b34156100d457600080fd5b6100dc610226565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561012957600080fd5b61013f600480803590602001909190505061024b565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561021c578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b151561020b57600080fd5b5af1151561021857600080fd5b5050505b5050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102a857806001819055505b505600a165627a7a7230582061fdda412caf236472b153a7627a195c3678bf54c4bb9174d2419706270d45590029", | ||
"deployedBytecode": "0x606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630900f01014610067578063445df0ac146100a05780638da5cb5b146100c9578063fdacd5761461011e575b600080fd5b341561007257600080fd5b61009e600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610141565b005b34156100ab57600080fd5b6100b3610220565b6040518082815260200191505060405180910390f35b34156100d457600080fd5b6100dc610226565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561012957600080fd5b61013f600480803590602001909190505061024b565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561021c578190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b151561020b57600080fd5b5af1151561021857600080fd5b5050505b5050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102a857806001819055505b505600a165627a7a7230582061fdda412caf236472b153a7627a195c3678bf54c4bb9174d2419706270d45590029", | ||
"sourceMap": "26:488:9:-;;;178:58;;;;;;;;221:10;213:5;;:18;;;;;;;;;;;;;;;;;;26:488;;;;;;", | ||
"deployedSourceMap": "26:488:9:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;347:165;;;;;;;;;;;;;;;;;;;;;;;;;;;;74:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;240:103;;;;;;;;;;;;;;;;;;;;;;;;;;347:165;409:19;161:5;;;;;;;;;;;147:19;;:10;:19;;;143:26;;;442:11;409:45;;460:8;:21;;;482:24;;460:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;143:26;347:165;;:::o;74:36::-;;;;:::o;50:20::-;;;;;;;;;;;;;:::o;240:103::-;161:5;;;;;;;;;;;147:19;;:10;:19;;;143:26;;;329:9;302:24;:36;;;;143:26;240:103;:::o", | ||
"source": "pragma solidity ^0.4.21;\n\ncontract Migrations {\n address public owner;\n uint public last_completed_migration;\n\n modifier restricted() {\n if (msg.sender == owner) _;\n }\n\n function Migrations() public {\n owner = msg.sender;\n }\n\n function setCompleted(uint completed) public restricted {\n last_completed_migration = completed;\n }\n\n function upgrade(address new_address) public restricted {\n Migrations upgraded = Migrations(new_address);\n upgraded.setCompleted(last_completed_migration);\n }\n}\n", | ||
"sourcePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/lifecycle/Migrations.sol", | ||
"sourcePath": "/home/frangio/zs/zos/lib/contracts/lifecycle/Migrations.sol", | ||
"ast": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/lifecycle/Migrations.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/lifecycle/Migrations.sol", | ||
"exportedSymbols": { | ||
"Migrations": [ | ||
675 | ||
698 | ||
] | ||
}, | ||
"id": 676, | ||
"id": 699, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 620, | ||
"id": 643, | ||
"literals": [ | ||
@@ -101,5 +101,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 675, | ||
"id": 698, | ||
"linearizedBaseContracts": [ | ||
675 | ||
698 | ||
], | ||
@@ -111,6 +111,6 @@ "name": "Migrations", | ||
"constant": false, | ||
"id": 622, | ||
"id": 645, | ||
"name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 675, | ||
"scope": 698, | ||
"src": "50:20:9", | ||
@@ -124,3 +124,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 621, | ||
"id": 644, | ||
"name": "address", | ||
@@ -139,6 +139,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 624, | ||
"id": 647, | ||
"name": "last_completed_migration", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 675, | ||
"scope": 698, | ||
"src": "74:36:9", | ||
@@ -152,3 +152,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 623, | ||
"id": 646, | ||
"name": "uint", | ||
@@ -167,3 +167,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 632, | ||
"id": 655, | ||
"nodeType": "Block", | ||
@@ -179,3 +179,3 @@ "src": "137:37:9", | ||
}, | ||
"id": 629, | ||
"id": 652, | ||
"isConstant": false, | ||
@@ -189,7 +189,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 626, | ||
"id": 649, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1771, | ||
"referencedDeclaration": 1810, | ||
"src": "147:3:9", | ||
@@ -201,3 +201,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 627, | ||
"id": 650, | ||
"isConstant": false, | ||
@@ -220,7 +220,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 628, | ||
"id": 651, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 622, | ||
"referencedDeclaration": 645, | ||
"src": "161:5:9", | ||
@@ -239,7 +239,7 @@ "typeDescriptions": { | ||
"falseBody": null, | ||
"id": 631, | ||
"id": 654, | ||
"nodeType": "IfStatement", | ||
"src": "143:26:9", | ||
"trueBody": { | ||
"id": 630, | ||
"id": 653, | ||
"nodeType": "PlaceholderStatement", | ||
@@ -252,7 +252,7 @@ "src": "168:1:9" | ||
"documentation": null, | ||
"id": 633, | ||
"id": 656, | ||
"name": "restricted", | ||
"nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 625, | ||
"id": 648, | ||
"nodeType": "ParameterList", | ||
@@ -267,3 +267,3 @@ "parameters": [], | ||
"body": { | ||
"id": 641, | ||
"id": 664, | ||
"nodeType": "Block", | ||
@@ -275,3 +275,3 @@ "src": "207:29:9", | ||
"argumentTypes": null, | ||
"id": 639, | ||
"id": 662, | ||
"isConstant": false, | ||
@@ -283,7 +283,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 636, | ||
"id": 659, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 622, | ||
"referencedDeclaration": 645, | ||
"src": "213:5:9", | ||
@@ -301,7 +301,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 637, | ||
"id": 660, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1771, | ||
"referencedDeclaration": 1810, | ||
"src": "221:3:9", | ||
@@ -313,3 +313,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 638, | ||
"id": 661, | ||
"isConstant": false, | ||
@@ -334,3 +334,3 @@ "isLValue": false, | ||
}, | ||
"id": 640, | ||
"id": 663, | ||
"nodeType": "ExpressionStatement", | ||
@@ -342,3 +342,3 @@ "src": "213:18:9" | ||
"documentation": null, | ||
"id": 642, | ||
"id": 665, | ||
"implemented": true, | ||
@@ -351,3 +351,3 @@ "isConstructor": true, | ||
"parameters": { | ||
"id": 634, | ||
"id": 657, | ||
"nodeType": "ParameterList", | ||
@@ -359,3 +359,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 635, | ||
"id": 658, | ||
"nodeType": "ParameterList", | ||
@@ -365,3 +365,3 @@ "parameters": [], | ||
}, | ||
"scope": 675, | ||
"scope": 698, | ||
"src": "178:58:9", | ||
@@ -374,3 +374,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 653, | ||
"id": 676, | ||
"nodeType": "Block", | ||
@@ -382,3 +382,3 @@ "src": "296:47:9", | ||
"argumentTypes": null, | ||
"id": 651, | ||
"id": 674, | ||
"isConstant": false, | ||
@@ -390,7 +390,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 649, | ||
"id": 672, | ||
"name": "last_completed_migration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 624, | ||
"referencedDeclaration": 647, | ||
"src": "302:24:9", | ||
@@ -406,7 +406,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 650, | ||
"id": 673, | ||
"name": "completed", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 644, | ||
"referencedDeclaration": 667, | ||
"src": "329:9:9", | ||
@@ -424,3 +424,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 652, | ||
"id": 675, | ||
"nodeType": "ExpressionStatement", | ||
@@ -432,3 +432,3 @@ "src": "302:36:9" | ||
"documentation": null, | ||
"id": 654, | ||
"id": 677, | ||
"implemented": true, | ||
@@ -440,10 +440,10 @@ "isConstructor": false, | ||
"arguments": [], | ||
"id": 647, | ||
"id": 670, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 646, | ||
"id": 669, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 633, | ||
"referencedDeclaration": 656, | ||
"src": "285:10:9", | ||
@@ -462,3 +462,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 645, | ||
"id": 668, | ||
"nodeType": "ParameterList", | ||
@@ -468,6 +468,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 644, | ||
"id": 667, | ||
"name": "completed", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 654, | ||
"scope": 677, | ||
"src": "262:14:9", | ||
@@ -481,3 +481,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 643, | ||
"id": 666, | ||
"name": "uint", | ||
@@ -499,3 +499,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 648, | ||
"id": 671, | ||
"nodeType": "ParameterList", | ||
@@ -505,3 +505,3 @@ "parameters": [], | ||
}, | ||
"scope": 675, | ||
"scope": 698, | ||
"src": "240:103:9", | ||
@@ -514,3 +514,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 673, | ||
"id": 696, | ||
"nodeType": "Block", | ||
@@ -521,3 +521,3 @@ "src": "403:109:9", | ||
"assignments": [ | ||
662 | ||
685 | ||
], | ||
@@ -527,6 +527,6 @@ "declarations": [ | ||
"constant": false, | ||
"id": 662, | ||
"id": 685, | ||
"name": "upgraded", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 674, | ||
"scope": 697, | ||
"src": "409:19:9", | ||
@@ -536,3 +536,3 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$675", | ||
"typeIdentifier": "t_contract$_Migrations_$698", | ||
"typeString": "contract Migrations" | ||
@@ -542,9 +542,9 @@ }, | ||
"contractScope": null, | ||
"id": 661, | ||
"id": 684, | ||
"name": "Migrations", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 675, | ||
"referencedDeclaration": 698, | ||
"src": "409:10:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$675", | ||
"typeIdentifier": "t_contract$_Migrations_$698", | ||
"typeString": "contract Migrations" | ||
@@ -557,3 +557,3 @@ } | ||
], | ||
"id": 666, | ||
"id": 689, | ||
"initialValue": { | ||
@@ -564,7 +564,7 @@ "argumentTypes": null, | ||
"argumentTypes": null, | ||
"id": 664, | ||
"id": 687, | ||
"name": "new_address", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 656, | ||
"referencedDeclaration": 679, | ||
"src": "442:11:9", | ||
@@ -584,14 +584,14 @@ "typeDescriptions": { | ||
], | ||
"id": 663, | ||
"id": 686, | ||
"name": "Migrations", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 675, | ||
"referencedDeclaration": 698, | ||
"src": "431:10:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_type$_t_contract$_Migrations_$675_$", | ||
"typeIdentifier": "t_type$_t_contract$_Migrations_$698_$", | ||
"typeString": "type(contract Migrations)" | ||
} | ||
}, | ||
"id": 665, | ||
"id": 688, | ||
"isConstant": false, | ||
@@ -606,3 +606,3 @@ "isLValue": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$675", | ||
"typeIdentifier": "t_contract$_Migrations_$698", | ||
"typeString": "contract Migrations" | ||
@@ -620,7 +620,7 @@ } | ||
"argumentTypes": null, | ||
"id": 670, | ||
"id": 693, | ||
"name": "last_completed_migration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 624, | ||
"referencedDeclaration": 647, | ||
"src": "482:24:9", | ||
@@ -642,14 +642,14 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 667, | ||
"id": 690, | ||
"name": "upgraded", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 662, | ||
"referencedDeclaration": 685, | ||
"src": "460:8:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$675", | ||
"typeIdentifier": "t_contract$_Migrations_$698", | ||
"typeString": "contract Migrations" | ||
} | ||
}, | ||
"id": 669, | ||
"id": 692, | ||
"isConstant": false, | ||
@@ -661,3 +661,3 @@ "isLValue": false, | ||
"nodeType": "MemberAccess", | ||
"referencedDeclaration": 654, | ||
"referencedDeclaration": 677, | ||
"src": "460:21:9", | ||
@@ -669,3 +669,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 671, | ||
"id": 694, | ||
"isConstant": false, | ||
@@ -684,3 +684,3 @@ "isLValue": false, | ||
}, | ||
"id": 672, | ||
"id": 695, | ||
"nodeType": "ExpressionStatement", | ||
@@ -692,3 +692,3 @@ "src": "460:47:9" | ||
"documentation": null, | ||
"id": 674, | ||
"id": 697, | ||
"implemented": true, | ||
@@ -700,10 +700,10 @@ "isConstructor": false, | ||
"arguments": [], | ||
"id": 659, | ||
"id": 682, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 658, | ||
"id": 681, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 633, | ||
"referencedDeclaration": 656, | ||
"src": "392:10:9", | ||
@@ -722,3 +722,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 657, | ||
"id": 680, | ||
"nodeType": "ParameterList", | ||
@@ -728,6 +728,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 656, | ||
"id": 679, | ||
"name": "new_address", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 674, | ||
"scope": 697, | ||
"src": "364:19:9", | ||
@@ -741,3 +741,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 655, | ||
"id": 678, | ||
"name": "address", | ||
@@ -759,3 +759,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 660, | ||
"id": 683, | ||
"nodeType": "ParameterList", | ||
@@ -765,3 +765,3 @@ "parameters": [], | ||
}, | ||
"scope": 675, | ||
"scope": 698, | ||
"src": "347:165:9", | ||
@@ -773,3 +773,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 676, | ||
"scope": 699, | ||
"src": "26:488:9" | ||
@@ -781,13 +781,13 @@ } | ||
"legacyAST": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/lifecycle/Migrations.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/lifecycle/Migrations.sol", | ||
"exportedSymbols": { | ||
"Migrations": [ | ||
675 | ||
698 | ||
] | ||
}, | ||
"id": 676, | ||
"id": 699, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 620, | ||
"id": 643, | ||
"literals": [ | ||
@@ -808,5 +808,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 675, | ||
"id": 698, | ||
"linearizedBaseContracts": [ | ||
675 | ||
698 | ||
], | ||
@@ -818,6 +818,6 @@ "name": "Migrations", | ||
"constant": false, | ||
"id": 622, | ||
"id": 645, | ||
"name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 675, | ||
"scope": 698, | ||
"src": "50:20:9", | ||
@@ -831,3 +831,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 621, | ||
"id": 644, | ||
"name": "address", | ||
@@ -846,6 +846,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 624, | ||
"id": 647, | ||
"name": "last_completed_migration", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 675, | ||
"scope": 698, | ||
"src": "74:36:9", | ||
@@ -859,3 +859,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 623, | ||
"id": 646, | ||
"name": "uint", | ||
@@ -874,3 +874,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 632, | ||
"id": 655, | ||
"nodeType": "Block", | ||
@@ -886,3 +886,3 @@ "src": "137:37:9", | ||
}, | ||
"id": 629, | ||
"id": 652, | ||
"isConstant": false, | ||
@@ -896,7 +896,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 626, | ||
"id": 649, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1771, | ||
"referencedDeclaration": 1810, | ||
"src": "147:3:9", | ||
@@ -908,3 +908,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 627, | ||
"id": 650, | ||
"isConstant": false, | ||
@@ -927,7 +927,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 628, | ||
"id": 651, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 622, | ||
"referencedDeclaration": 645, | ||
"src": "161:5:9", | ||
@@ -946,7 +946,7 @@ "typeDescriptions": { | ||
"falseBody": null, | ||
"id": 631, | ||
"id": 654, | ||
"nodeType": "IfStatement", | ||
"src": "143:26:9", | ||
"trueBody": { | ||
"id": 630, | ||
"id": 653, | ||
"nodeType": "PlaceholderStatement", | ||
@@ -959,7 +959,7 @@ "src": "168:1:9" | ||
"documentation": null, | ||
"id": 633, | ||
"id": 656, | ||
"name": "restricted", | ||
"nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 625, | ||
"id": 648, | ||
"nodeType": "ParameterList", | ||
@@ -974,3 +974,3 @@ "parameters": [], | ||
"body": { | ||
"id": 641, | ||
"id": 664, | ||
"nodeType": "Block", | ||
@@ -982,3 +982,3 @@ "src": "207:29:9", | ||
"argumentTypes": null, | ||
"id": 639, | ||
"id": 662, | ||
"isConstant": false, | ||
@@ -990,7 +990,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 636, | ||
"id": 659, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 622, | ||
"referencedDeclaration": 645, | ||
"src": "213:5:9", | ||
@@ -1008,7 +1008,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 637, | ||
"id": 660, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1771, | ||
"referencedDeclaration": 1810, | ||
"src": "221:3:9", | ||
@@ -1020,3 +1020,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 638, | ||
"id": 661, | ||
"isConstant": false, | ||
@@ -1041,3 +1041,3 @@ "isLValue": false, | ||
}, | ||
"id": 640, | ||
"id": 663, | ||
"nodeType": "ExpressionStatement", | ||
@@ -1049,3 +1049,3 @@ "src": "213:18:9" | ||
"documentation": null, | ||
"id": 642, | ||
"id": 665, | ||
"implemented": true, | ||
@@ -1058,3 +1058,3 @@ "isConstructor": true, | ||
"parameters": { | ||
"id": 634, | ||
"id": 657, | ||
"nodeType": "ParameterList", | ||
@@ -1066,3 +1066,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 635, | ||
"id": 658, | ||
"nodeType": "ParameterList", | ||
@@ -1072,3 +1072,3 @@ "parameters": [], | ||
}, | ||
"scope": 675, | ||
"scope": 698, | ||
"src": "178:58:9", | ||
@@ -1081,3 +1081,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 653, | ||
"id": 676, | ||
"nodeType": "Block", | ||
@@ -1089,3 +1089,3 @@ "src": "296:47:9", | ||
"argumentTypes": null, | ||
"id": 651, | ||
"id": 674, | ||
"isConstant": false, | ||
@@ -1097,7 +1097,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 649, | ||
"id": 672, | ||
"name": "last_completed_migration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 624, | ||
"referencedDeclaration": 647, | ||
"src": "302:24:9", | ||
@@ -1113,7 +1113,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 650, | ||
"id": 673, | ||
"name": "completed", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 644, | ||
"referencedDeclaration": 667, | ||
"src": "329:9:9", | ||
@@ -1131,3 +1131,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 652, | ||
"id": 675, | ||
"nodeType": "ExpressionStatement", | ||
@@ -1139,3 +1139,3 @@ "src": "302:36:9" | ||
"documentation": null, | ||
"id": 654, | ||
"id": 677, | ||
"implemented": true, | ||
@@ -1147,10 +1147,10 @@ "isConstructor": false, | ||
"arguments": [], | ||
"id": 647, | ||
"id": 670, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 646, | ||
"id": 669, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 633, | ||
"referencedDeclaration": 656, | ||
"src": "285:10:9", | ||
@@ -1169,3 +1169,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 645, | ||
"id": 668, | ||
"nodeType": "ParameterList", | ||
@@ -1175,6 +1175,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 644, | ||
"id": 667, | ||
"name": "completed", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 654, | ||
"scope": 677, | ||
"src": "262:14:9", | ||
@@ -1188,3 +1188,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 643, | ||
"id": 666, | ||
"name": "uint", | ||
@@ -1206,3 +1206,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 648, | ||
"id": 671, | ||
"nodeType": "ParameterList", | ||
@@ -1212,3 +1212,3 @@ "parameters": [], | ||
}, | ||
"scope": 675, | ||
"scope": 698, | ||
"src": "240:103:9", | ||
@@ -1221,3 +1221,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 673, | ||
"id": 696, | ||
"nodeType": "Block", | ||
@@ -1228,3 +1228,3 @@ "src": "403:109:9", | ||
"assignments": [ | ||
662 | ||
685 | ||
], | ||
@@ -1234,6 +1234,6 @@ "declarations": [ | ||
"constant": false, | ||
"id": 662, | ||
"id": 685, | ||
"name": "upgraded", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 674, | ||
"scope": 697, | ||
"src": "409:19:9", | ||
@@ -1243,3 +1243,3 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$675", | ||
"typeIdentifier": "t_contract$_Migrations_$698", | ||
"typeString": "contract Migrations" | ||
@@ -1249,9 +1249,9 @@ }, | ||
"contractScope": null, | ||
"id": 661, | ||
"id": 684, | ||
"name": "Migrations", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 675, | ||
"referencedDeclaration": 698, | ||
"src": "409:10:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$675", | ||
"typeIdentifier": "t_contract$_Migrations_$698", | ||
"typeString": "contract Migrations" | ||
@@ -1264,3 +1264,3 @@ } | ||
], | ||
"id": 666, | ||
"id": 689, | ||
"initialValue": { | ||
@@ -1271,7 +1271,7 @@ "argumentTypes": null, | ||
"argumentTypes": null, | ||
"id": 664, | ||
"id": 687, | ||
"name": "new_address", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 656, | ||
"referencedDeclaration": 679, | ||
"src": "442:11:9", | ||
@@ -1291,14 +1291,14 @@ "typeDescriptions": { | ||
], | ||
"id": 663, | ||
"id": 686, | ||
"name": "Migrations", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 675, | ||
"referencedDeclaration": 698, | ||
"src": "431:10:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_type$_t_contract$_Migrations_$675_$", | ||
"typeIdentifier": "t_type$_t_contract$_Migrations_$698_$", | ||
"typeString": "type(contract Migrations)" | ||
} | ||
}, | ||
"id": 665, | ||
"id": 688, | ||
"isConstant": false, | ||
@@ -1313,3 +1313,3 @@ "isLValue": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$675", | ||
"typeIdentifier": "t_contract$_Migrations_$698", | ||
"typeString": "contract Migrations" | ||
@@ -1327,7 +1327,7 @@ } | ||
"argumentTypes": null, | ||
"id": 670, | ||
"id": 693, | ||
"name": "last_completed_migration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 624, | ||
"referencedDeclaration": 647, | ||
"src": "482:24:9", | ||
@@ -1349,14 +1349,14 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 667, | ||
"id": 690, | ||
"name": "upgraded", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 662, | ||
"referencedDeclaration": 685, | ||
"src": "460:8:9", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$675", | ||
"typeIdentifier": "t_contract$_Migrations_$698", | ||
"typeString": "contract Migrations" | ||
} | ||
}, | ||
"id": 669, | ||
"id": 692, | ||
"isConstant": false, | ||
@@ -1368,3 +1368,3 @@ "isLValue": false, | ||
"nodeType": "MemberAccess", | ||
"referencedDeclaration": 654, | ||
"referencedDeclaration": 677, | ||
"src": "460:21:9", | ||
@@ -1376,3 +1376,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 671, | ||
"id": 694, | ||
"isConstant": false, | ||
@@ -1391,3 +1391,3 @@ "isLValue": false, | ||
}, | ||
"id": 672, | ||
"id": 695, | ||
"nodeType": "ExpressionStatement", | ||
@@ -1399,3 +1399,3 @@ "src": "460:47:9" | ||
"documentation": null, | ||
"id": 674, | ||
"id": 697, | ||
"implemented": true, | ||
@@ -1407,10 +1407,10 @@ "isConstructor": false, | ||
"arguments": [], | ||
"id": 659, | ||
"id": 682, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 658, | ||
"id": 681, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 633, | ||
"referencedDeclaration": 656, | ||
"src": "392:10:9", | ||
@@ -1429,3 +1429,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 657, | ||
"id": 680, | ||
"nodeType": "ParameterList", | ||
@@ -1435,6 +1435,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 656, | ||
"id": 679, | ||
"name": "new_address", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 674, | ||
"scope": 697, | ||
"src": "364:19:9", | ||
@@ -1448,3 +1448,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 655, | ||
"id": 678, | ||
"name": "address", | ||
@@ -1466,3 +1466,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 660, | ||
"id": 683, | ||
"nodeType": "ParameterList", | ||
@@ -1472,3 +1472,3 @@ "parameters": [], | ||
}, | ||
"scope": 675, | ||
"scope": 698, | ||
"src": "347:165:9", | ||
@@ -1480,3 +1480,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 676, | ||
"scope": 699, | ||
"src": "26:488:9" | ||
@@ -1493,3 +1493,3 @@ } | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-15T16:04:29.311Z" | ||
"updatedAt": "2018-05-17T18:16:35.368Z" | ||
} |
@@ -58,4 +58,4 @@ { | ||
"deployedBytecode": "0x60606040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610051578063f2fde38b146100a6575b600080fd5b341561005c57600080fd5b6100646100df565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100b157600080fd5b6100dd600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610104565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561015f57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561019b57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a72305820afb82469b3898c1ab3f20864d2a1e1f8997896187c117d5c58bf5a2f97a3a1b40029", | ||
"sourceMap": "217:787:20:-;;;469:55;;;;;;;;509:10;501:5;;:18;;;;;;;;;;;;;;;;;;217:787;;;;;;", | ||
"deployedSourceMap": "217:787:20:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;832:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20;;;;;;;;;;;;;:::o;832:169::-;653:5;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;928:1;908:22;;:8;:22;;;;900:31;;;;;;;;965:8;937:37;;958:5;;;;;;;;;;;937:37;;;;;;;;;;;;988:8;980:5;;:16;;;;;;;;;;;;;;;;;;832:169;:::o", | ||
"sourceMap": "217:787:12:-;;;469:55;;;;;;;;509:10;501:5;;:18;;;;;;;;;;;;;;;;;;217:787;;;;;;", | ||
"deployedSourceMap": "217:787:12:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;832:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20;;;;;;;;;;;;;:::o;832:169::-;653:5;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;928:1;908:22;;:8;:22;;;;900:31;;;;;;;;965:8;937:37;;958:5;;;;;;;;;;;937:37;;;;;;;;;;;;988:8;980:5;;:16;;;;;;;;;;;;;;;;;;832:169;:::o", | ||
"source": "pragma solidity ^0.4.18;\n\n\n/**\n * @title Ownable\n * @dev The Ownable contract has an owner address, and provides basic authorization control\n * functions, this simplifies the implementation of \"user permissions\".\n */\ncontract Ownable {\n address public owner;\n\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n\n /**\n * @dev The Ownable constructor sets the original `owner` of the contract to the sender\n * account.\n */\n function Ownable() public {\n owner = msg.sender;\n }\n\n /**\n * @dev Throws if called by any account other than the owner.\n */\n modifier onlyOwner() {\n require(msg.sender == owner);\n _;\n }\n\n /**\n * @dev Allows the current owner to transfer control of the contract to a newOwner.\n * @param newOwner The address to transfer ownership to.\n */\n function transferOwnership(address newOwner) public onlyOwner {\n require(newOwner != address(0));\n OwnershipTransferred(owner, newOwner);\n owner = newOwner;\n }\n\n}\n", | ||
@@ -67,10 +67,10 @@ "sourcePath": "zeppelin-solidity/contracts/ownership/Ownable.sol", | ||
"Ownable": [ | ||
1669 | ||
1036 | ||
] | ||
}, | ||
"id": 1670, | ||
"id": 1037, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 1615, | ||
"id": 982, | ||
"literals": [ | ||
@@ -83,3 +83,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:20" | ||
"src": "0:24:12" | ||
}, | ||
@@ -92,5 +92,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 1669, | ||
"id": 1036, | ||
"linearizedBaseContracts": [ | ||
1669 | ||
1036 | ||
], | ||
@@ -102,7 +102,7 @@ "name": "Ownable", | ||
"constant": false, | ||
"id": 1617, | ||
"id": 984, | ||
"name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1669, | ||
"src": "238:20:20", | ||
"scope": 1036, | ||
"src": "238:20:12", | ||
"stateVariable": true, | ||
@@ -115,6 +115,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1616, | ||
"id": 983, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "238:7:20", | ||
"src": "238:7:12", | ||
"typeDescriptions": { | ||
@@ -131,7 +131,7 @@ "typeIdentifier": "t_address", | ||
"documentation": null, | ||
"id": 1623, | ||
"id": 990, | ||
"name": "OwnershipTransferred", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 1622, | ||
"id": 989, | ||
"nodeType": "ParameterList", | ||
@@ -141,8 +141,8 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1619, | ||
"id": 986, | ||
"indexed": true, | ||
"name": "previousOwner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1623, | ||
"src": "291:29:20", | ||
"scope": 990, | ||
"src": "291:29:12", | ||
"stateVariable": false, | ||
@@ -155,6 +155,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1618, | ||
"id": 985, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "291:7:20", | ||
"src": "291:7:12", | ||
"typeDescriptions": { | ||
@@ -170,8 +170,8 @@ "typeIdentifier": "t_address", | ||
"constant": false, | ||
"id": 1621, | ||
"id": 988, | ||
"indexed": true, | ||
"name": "newOwner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1623, | ||
"src": "322:24:20", | ||
"scope": 990, | ||
"src": "322:24:12", | ||
"stateVariable": false, | ||
@@ -184,6 +184,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1620, | ||
"id": 987, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "322:7:20", | ||
"src": "322:7:12", | ||
"typeDescriptions": { | ||
@@ -198,11 +198,11 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "290:57:20" | ||
"src": "290:57:12" | ||
}, | ||
"src": "264:84:20" | ||
"src": "264:84:12" | ||
}, | ||
{ | ||
"body": { | ||
"id": 1631, | ||
"id": 998, | ||
"nodeType": "Block", | ||
"src": "495:29:20", | ||
"src": "495:29:12", | ||
"statements": [ | ||
@@ -212,3 +212,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1629, | ||
"id": 996, | ||
"isConstant": false, | ||
@@ -220,8 +220,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1626, | ||
"id": 993, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1617, | ||
"src": "501:5:20", | ||
"referencedDeclaration": 984, | ||
"src": "501:5:12", | ||
"typeDescriptions": { | ||
@@ -238,8 +238,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1627, | ||
"id": 994, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1682, | ||
"src": "509:3:20", | ||
"referencedDeclaration": 1049, | ||
"src": "509:3:12", | ||
"typeDescriptions": { | ||
@@ -250,3 +250,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 1628, | ||
"id": 995, | ||
"isConstant": false, | ||
@@ -259,3 +259,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "509:10:20", | ||
"src": "509:10:12", | ||
"typeDescriptions": { | ||
@@ -266,3 +266,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "501:18:20", | ||
"src": "501:18:12", | ||
"typeDescriptions": { | ||
@@ -273,5 +273,5 @@ "typeIdentifier": "t_address", | ||
}, | ||
"id": 1630, | ||
"id": 997, | ||
"nodeType": "ExpressionStatement", | ||
"src": "501:18:20" | ||
"src": "501:18:12" | ||
} | ||
@@ -281,3 +281,3 @@ ] | ||
"documentation": "@dev The Ownable constructor sets the original `owner` of the contract to the sender\naccount.", | ||
"id": 1632, | ||
"id": 999, | ||
"implemented": true, | ||
@@ -290,16 +290,16 @@ "isConstructor": true, | ||
"parameters": { | ||
"id": 1624, | ||
"id": 991, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "485:2:20" | ||
"src": "485:2:12" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1625, | ||
"id": 992, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "495:0:20" | ||
"src": "495:0:12" | ||
}, | ||
"scope": 1669, | ||
"src": "469:55:20", | ||
"scope": 1036, | ||
"src": "469:55:12", | ||
"stateMutability": "nonpayable", | ||
@@ -311,5 +311,5 @@ "superFunction": null, | ||
"body": { | ||
"id": 1642, | ||
"id": 1009, | ||
"nodeType": "Block", | ||
"src": "625:46:20", | ||
"src": "625:46:12", | ||
"statements": [ | ||
@@ -326,3 +326,3 @@ { | ||
}, | ||
"id": 1638, | ||
"id": 1005, | ||
"isConstant": false, | ||
@@ -336,8 +336,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1635, | ||
"id": 1002, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1682, | ||
"src": "639:3:20", | ||
"referencedDeclaration": 1049, | ||
"src": "639:3:12", | ||
"typeDescriptions": { | ||
@@ -348,3 +348,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 1636, | ||
"id": 1003, | ||
"isConstant": false, | ||
@@ -357,3 +357,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "639:10:20", | ||
"src": "639:10:12", | ||
"typeDescriptions": { | ||
@@ -368,8 +368,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1637, | ||
"id": 1004, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1617, | ||
"src": "653:5:20", | ||
"referencedDeclaration": 984, | ||
"src": "653:5:12", | ||
"typeDescriptions": { | ||
@@ -380,3 +380,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "639:19:20", | ||
"src": "639:19:12", | ||
"typeDescriptions": { | ||
@@ -395,8 +395,8 @@ "typeIdentifier": "t_bool", | ||
], | ||
"id": 1634, | ||
"id": 1001, | ||
"name": "require", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1685, | ||
"src": "631:7:20", | ||
"referencedDeclaration": 1052, | ||
"src": "631:7:12", | ||
"typeDescriptions": { | ||
@@ -407,3 +407,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", | ||
}, | ||
"id": 1639, | ||
"id": 1006, | ||
"isConstant": false, | ||
@@ -416,3 +416,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "631:28:20", | ||
"src": "631:28:12", | ||
"typeDescriptions": { | ||
@@ -423,10 +423,10 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1640, | ||
"id": 1007, | ||
"nodeType": "ExpressionStatement", | ||
"src": "631:28:20" | ||
"src": "631:28:12" | ||
}, | ||
{ | ||
"id": 1641, | ||
"id": 1008, | ||
"nodeType": "PlaceholderStatement", | ||
"src": "665:1:20" | ||
"src": "665:1:12" | ||
} | ||
@@ -436,12 +436,12 @@ ] | ||
"documentation": "@dev Throws if called by any account other than the owner.", | ||
"id": 1643, | ||
"id": 1010, | ||
"name": "onlyOwner", | ||
"nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 1633, | ||
"id": 1000, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "622:2:20" | ||
"src": "622:2:12" | ||
}, | ||
"src": "604:67:20", | ||
"src": "604:67:12", | ||
"visibility": "internal" | ||
@@ -451,5 +451,5 @@ }, | ||
"body": { | ||
"id": 1667, | ||
"id": 1034, | ||
"nodeType": "Block", | ||
"src": "894:107:20", | ||
"src": "894:107:12", | ||
"statements": [ | ||
@@ -466,3 +466,3 @@ { | ||
}, | ||
"id": 1655, | ||
"id": 1022, | ||
"isConstant": false, | ||
@@ -474,8 +474,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1651, | ||
"id": 1018, | ||
"name": "newOwner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1645, | ||
"src": "908:8:20", | ||
"referencedDeclaration": 1012, | ||
"src": "908:8:12", | ||
"typeDescriptions": { | ||
@@ -494,3 +494,3 @@ "typeIdentifier": "t_address", | ||
"hexValue": "30", | ||
"id": 1653, | ||
"id": 1020, | ||
"isConstant": false, | ||
@@ -502,3 +502,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "928:1:20", | ||
"src": "928:1:12", | ||
"subdenomination": null, | ||
@@ -519,3 +519,3 @@ "typeDescriptions": { | ||
], | ||
"id": 1652, | ||
"id": 1019, | ||
"isConstant": false, | ||
@@ -526,3 +526,3 @@ "isLValue": false, | ||
"nodeType": "ElementaryTypeNameExpression", | ||
"src": "920:7:20", | ||
"src": "920:7:12", | ||
"typeDescriptions": { | ||
@@ -534,3 +534,3 @@ "typeIdentifier": "t_type$_t_address_$", | ||
}, | ||
"id": 1654, | ||
"id": 1021, | ||
"isConstant": false, | ||
@@ -543,3 +543,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "920:10:20", | ||
"src": "920:10:12", | ||
"typeDescriptions": { | ||
@@ -550,3 +550,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "908:22:20", | ||
"src": "908:22:12", | ||
"typeDescriptions": { | ||
@@ -565,8 +565,8 @@ "typeIdentifier": "t_bool", | ||
], | ||
"id": 1650, | ||
"id": 1017, | ||
"name": "require", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1685, | ||
"src": "900:7:20", | ||
"referencedDeclaration": 1052, | ||
"src": "900:7:12", | ||
"typeDescriptions": { | ||
@@ -577,3 +577,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", | ||
}, | ||
"id": 1656, | ||
"id": 1023, | ||
"isConstant": false, | ||
@@ -586,3 +586,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "900:31:20", | ||
"src": "900:31:12", | ||
"typeDescriptions": { | ||
@@ -593,5 +593,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1657, | ||
"id": 1024, | ||
"nodeType": "ExpressionStatement", | ||
"src": "900:31:20" | ||
"src": "900:31:12" | ||
}, | ||
@@ -604,8 +604,8 @@ { | ||
"argumentTypes": null, | ||
"id": 1659, | ||
"id": 1026, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1617, | ||
"src": "958:5:20", | ||
"referencedDeclaration": 984, | ||
"src": "958:5:12", | ||
"typeDescriptions": { | ||
@@ -618,8 +618,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1660, | ||
"id": 1027, | ||
"name": "newOwner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1645, | ||
"src": "965:8:20", | ||
"referencedDeclaration": 1012, | ||
"src": "965:8:12", | ||
"typeDescriptions": { | ||
@@ -642,8 +642,8 @@ "typeIdentifier": "t_address", | ||
], | ||
"id": 1658, | ||
"id": 1025, | ||
"name": "OwnershipTransferred", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1623, | ||
"src": "937:20:20", | ||
"referencedDeclaration": 990, | ||
"src": "937:20:12", | ||
"typeDescriptions": { | ||
@@ -654,3 +654,3 @@ "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", | ||
}, | ||
"id": 1661, | ||
"id": 1028, | ||
"isConstant": false, | ||
@@ -663,3 +663,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "937:37:20", | ||
"src": "937:37:12", | ||
"typeDescriptions": { | ||
@@ -670,5 +670,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1662, | ||
"id": 1029, | ||
"nodeType": "ExpressionStatement", | ||
"src": "937:37:20" | ||
"src": "937:37:12" | ||
}, | ||
@@ -678,3 +678,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1665, | ||
"id": 1032, | ||
"isConstant": false, | ||
@@ -686,8 +686,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1663, | ||
"id": 1030, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1617, | ||
"src": "980:5:20", | ||
"referencedDeclaration": 984, | ||
"src": "980:5:12", | ||
"typeDescriptions": { | ||
@@ -702,8 +702,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1664, | ||
"id": 1031, | ||
"name": "newOwner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1645, | ||
"src": "988:8:20", | ||
"referencedDeclaration": 1012, | ||
"src": "988:8:12", | ||
"typeDescriptions": { | ||
@@ -714,3 +714,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "980:16:20", | ||
"src": "980:16:12", | ||
"typeDescriptions": { | ||
@@ -721,5 +721,5 @@ "typeIdentifier": "t_address", | ||
}, | ||
"id": 1666, | ||
"id": 1033, | ||
"nodeType": "ExpressionStatement", | ||
"src": "980:16:20" | ||
"src": "980:16:12" | ||
} | ||
@@ -729,3 +729,3 @@ ] | ||
"documentation": "@dev Allows the current owner to transfer control of the contract to a newOwner.\n@param newOwner The address to transfer ownership to.", | ||
"id": 1668, | ||
"id": 1035, | ||
"implemented": true, | ||
@@ -737,11 +737,11 @@ "isConstructor": false, | ||
"arguments": [], | ||
"id": 1648, | ||
"id": 1015, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 1647, | ||
"id": 1014, | ||
"name": "onlyOwner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1643, | ||
"src": "884:9:20", | ||
"referencedDeclaration": 1010, | ||
"src": "884:9:12", | ||
"typeDescriptions": { | ||
@@ -753,3 +753,3 @@ "typeIdentifier": "t_modifier$__$", | ||
"nodeType": "ModifierInvocation", | ||
"src": "884:9:20" | ||
"src": "884:9:12" | ||
} | ||
@@ -760,3 +760,3 @@ ], | ||
"parameters": { | ||
"id": 1646, | ||
"id": 1013, | ||
"nodeType": "ParameterList", | ||
@@ -766,7 +766,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1645, | ||
"id": 1012, | ||
"name": "newOwner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1668, | ||
"src": "859:16:20", | ||
"scope": 1035, | ||
"src": "859:16:12", | ||
"stateVariable": false, | ||
@@ -779,6 +779,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1644, | ||
"id": 1011, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "859:7:20", | ||
"src": "859:7:12", | ||
"typeDescriptions": { | ||
@@ -793,13 +793,13 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "858:18:20" | ||
"src": "858:18:12" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1649, | ||
"id": 1016, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "894:0:20" | ||
"src": "894:0:12" | ||
}, | ||
"scope": 1669, | ||
"src": "832:169:20", | ||
"scope": 1036, | ||
"src": "832:169:12", | ||
"stateMutability": "nonpayable", | ||
@@ -810,7 +810,7 @@ "superFunction": null, | ||
], | ||
"scope": 1670, | ||
"src": "217:787:20" | ||
"scope": 1037, | ||
"src": "217:787:12" | ||
} | ||
], | ||
"src": "0:1005:20" | ||
"src": "0:1005:12" | ||
}, | ||
@@ -821,10 +821,10 @@ "legacyAST": { | ||
"Ownable": [ | ||
1669 | ||
1036 | ||
] | ||
}, | ||
"id": 1670, | ||
"id": 1037, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 1615, | ||
"id": 982, | ||
"literals": [ | ||
@@ -837,3 +837,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:20" | ||
"src": "0:24:12" | ||
}, | ||
@@ -846,5 +846,5 @@ { | ||
"fullyImplemented": true, | ||
"id": 1669, | ||
"id": 1036, | ||
"linearizedBaseContracts": [ | ||
1669 | ||
1036 | ||
], | ||
@@ -856,7 +856,7 @@ "name": "Ownable", | ||
"constant": false, | ||
"id": 1617, | ||
"id": 984, | ||
"name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1669, | ||
"src": "238:20:20", | ||
"scope": 1036, | ||
"src": "238:20:12", | ||
"stateVariable": true, | ||
@@ -869,6 +869,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1616, | ||
"id": 983, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "238:7:20", | ||
"src": "238:7:12", | ||
"typeDescriptions": { | ||
@@ -885,7 +885,7 @@ "typeIdentifier": "t_address", | ||
"documentation": null, | ||
"id": 1623, | ||
"id": 990, | ||
"name": "OwnershipTransferred", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 1622, | ||
"id": 989, | ||
"nodeType": "ParameterList", | ||
@@ -895,8 +895,8 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1619, | ||
"id": 986, | ||
"indexed": true, | ||
"name": "previousOwner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1623, | ||
"src": "291:29:20", | ||
"scope": 990, | ||
"src": "291:29:12", | ||
"stateVariable": false, | ||
@@ -909,6 +909,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1618, | ||
"id": 985, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "291:7:20", | ||
"src": "291:7:12", | ||
"typeDescriptions": { | ||
@@ -924,8 +924,8 @@ "typeIdentifier": "t_address", | ||
"constant": false, | ||
"id": 1621, | ||
"id": 988, | ||
"indexed": true, | ||
"name": "newOwner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1623, | ||
"src": "322:24:20", | ||
"scope": 990, | ||
"src": "322:24:12", | ||
"stateVariable": false, | ||
@@ -938,6 +938,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1620, | ||
"id": 987, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "322:7:20", | ||
"src": "322:7:12", | ||
"typeDescriptions": { | ||
@@ -952,11 +952,11 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "290:57:20" | ||
"src": "290:57:12" | ||
}, | ||
"src": "264:84:20" | ||
"src": "264:84:12" | ||
}, | ||
{ | ||
"body": { | ||
"id": 1631, | ||
"id": 998, | ||
"nodeType": "Block", | ||
"src": "495:29:20", | ||
"src": "495:29:12", | ||
"statements": [ | ||
@@ -966,3 +966,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1629, | ||
"id": 996, | ||
"isConstant": false, | ||
@@ -974,8 +974,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1626, | ||
"id": 993, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1617, | ||
"src": "501:5:20", | ||
"referencedDeclaration": 984, | ||
"src": "501:5:12", | ||
"typeDescriptions": { | ||
@@ -992,8 +992,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1627, | ||
"id": 994, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1682, | ||
"src": "509:3:20", | ||
"referencedDeclaration": 1049, | ||
"src": "509:3:12", | ||
"typeDescriptions": { | ||
@@ -1004,3 +1004,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 1628, | ||
"id": 995, | ||
"isConstant": false, | ||
@@ -1013,3 +1013,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "509:10:20", | ||
"src": "509:10:12", | ||
"typeDescriptions": { | ||
@@ -1020,3 +1020,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "501:18:20", | ||
"src": "501:18:12", | ||
"typeDescriptions": { | ||
@@ -1027,5 +1027,5 @@ "typeIdentifier": "t_address", | ||
}, | ||
"id": 1630, | ||
"id": 997, | ||
"nodeType": "ExpressionStatement", | ||
"src": "501:18:20" | ||
"src": "501:18:12" | ||
} | ||
@@ -1035,3 +1035,3 @@ ] | ||
"documentation": "@dev The Ownable constructor sets the original `owner` of the contract to the sender\naccount.", | ||
"id": 1632, | ||
"id": 999, | ||
"implemented": true, | ||
@@ -1044,16 +1044,16 @@ "isConstructor": true, | ||
"parameters": { | ||
"id": 1624, | ||
"id": 991, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "485:2:20" | ||
"src": "485:2:12" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1625, | ||
"id": 992, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "495:0:20" | ||
"src": "495:0:12" | ||
}, | ||
"scope": 1669, | ||
"src": "469:55:20", | ||
"scope": 1036, | ||
"src": "469:55:12", | ||
"stateMutability": "nonpayable", | ||
@@ -1065,5 +1065,5 @@ "superFunction": null, | ||
"body": { | ||
"id": 1642, | ||
"id": 1009, | ||
"nodeType": "Block", | ||
"src": "625:46:20", | ||
"src": "625:46:12", | ||
"statements": [ | ||
@@ -1080,3 +1080,3 @@ { | ||
}, | ||
"id": 1638, | ||
"id": 1005, | ||
"isConstant": false, | ||
@@ -1090,8 +1090,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1635, | ||
"id": 1002, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1682, | ||
"src": "639:3:20", | ||
"referencedDeclaration": 1049, | ||
"src": "639:3:12", | ||
"typeDescriptions": { | ||
@@ -1102,3 +1102,3 @@ "typeIdentifier": "t_magic_message", | ||
}, | ||
"id": 1636, | ||
"id": 1003, | ||
"isConstant": false, | ||
@@ -1111,3 +1111,3 @@ "isLValue": false, | ||
"referencedDeclaration": null, | ||
"src": "639:10:20", | ||
"src": "639:10:12", | ||
"typeDescriptions": { | ||
@@ -1122,8 +1122,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1637, | ||
"id": 1004, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1617, | ||
"src": "653:5:20", | ||
"referencedDeclaration": 984, | ||
"src": "653:5:12", | ||
"typeDescriptions": { | ||
@@ -1134,3 +1134,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "639:19:20", | ||
"src": "639:19:12", | ||
"typeDescriptions": { | ||
@@ -1149,8 +1149,8 @@ "typeIdentifier": "t_bool", | ||
], | ||
"id": 1634, | ||
"id": 1001, | ||
"name": "require", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1685, | ||
"src": "631:7:20", | ||
"referencedDeclaration": 1052, | ||
"src": "631:7:12", | ||
"typeDescriptions": { | ||
@@ -1161,3 +1161,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", | ||
}, | ||
"id": 1639, | ||
"id": 1006, | ||
"isConstant": false, | ||
@@ -1170,3 +1170,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "631:28:20", | ||
"src": "631:28:12", | ||
"typeDescriptions": { | ||
@@ -1177,10 +1177,10 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1640, | ||
"id": 1007, | ||
"nodeType": "ExpressionStatement", | ||
"src": "631:28:20" | ||
"src": "631:28:12" | ||
}, | ||
{ | ||
"id": 1641, | ||
"id": 1008, | ||
"nodeType": "PlaceholderStatement", | ||
"src": "665:1:20" | ||
"src": "665:1:12" | ||
} | ||
@@ -1190,12 +1190,12 @@ ] | ||
"documentation": "@dev Throws if called by any account other than the owner.", | ||
"id": 1643, | ||
"id": 1010, | ||
"name": "onlyOwner", | ||
"nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 1633, | ||
"id": 1000, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "622:2:20" | ||
"src": "622:2:12" | ||
}, | ||
"src": "604:67:20", | ||
"src": "604:67:12", | ||
"visibility": "internal" | ||
@@ -1205,5 +1205,5 @@ }, | ||
"body": { | ||
"id": 1667, | ||
"id": 1034, | ||
"nodeType": "Block", | ||
"src": "894:107:20", | ||
"src": "894:107:12", | ||
"statements": [ | ||
@@ -1220,3 +1220,3 @@ { | ||
}, | ||
"id": 1655, | ||
"id": 1022, | ||
"isConstant": false, | ||
@@ -1228,8 +1228,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1651, | ||
"id": 1018, | ||
"name": "newOwner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1645, | ||
"src": "908:8:20", | ||
"referencedDeclaration": 1012, | ||
"src": "908:8:12", | ||
"typeDescriptions": { | ||
@@ -1248,3 +1248,3 @@ "typeIdentifier": "t_address", | ||
"hexValue": "30", | ||
"id": 1653, | ||
"id": 1020, | ||
"isConstant": false, | ||
@@ -1256,3 +1256,3 @@ "isLValue": false, | ||
"nodeType": "Literal", | ||
"src": "928:1:20", | ||
"src": "928:1:12", | ||
"subdenomination": null, | ||
@@ -1273,3 +1273,3 @@ "typeDescriptions": { | ||
], | ||
"id": 1652, | ||
"id": 1019, | ||
"isConstant": false, | ||
@@ -1280,3 +1280,3 @@ "isLValue": false, | ||
"nodeType": "ElementaryTypeNameExpression", | ||
"src": "920:7:20", | ||
"src": "920:7:12", | ||
"typeDescriptions": { | ||
@@ -1288,3 +1288,3 @@ "typeIdentifier": "t_type$_t_address_$", | ||
}, | ||
"id": 1654, | ||
"id": 1021, | ||
"isConstant": false, | ||
@@ -1297,3 +1297,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "920:10:20", | ||
"src": "920:10:12", | ||
"typeDescriptions": { | ||
@@ -1304,3 +1304,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "908:22:20", | ||
"src": "908:22:12", | ||
"typeDescriptions": { | ||
@@ -1319,8 +1319,8 @@ "typeIdentifier": "t_bool", | ||
], | ||
"id": 1650, | ||
"id": 1017, | ||
"name": "require", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1685, | ||
"src": "900:7:20", | ||
"referencedDeclaration": 1052, | ||
"src": "900:7:12", | ||
"typeDescriptions": { | ||
@@ -1331,3 +1331,3 @@ "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", | ||
}, | ||
"id": 1656, | ||
"id": 1023, | ||
"isConstant": false, | ||
@@ -1340,3 +1340,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "900:31:20", | ||
"src": "900:31:12", | ||
"typeDescriptions": { | ||
@@ -1347,5 +1347,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1657, | ||
"id": 1024, | ||
"nodeType": "ExpressionStatement", | ||
"src": "900:31:20" | ||
"src": "900:31:12" | ||
}, | ||
@@ -1358,8 +1358,8 @@ { | ||
"argumentTypes": null, | ||
"id": 1659, | ||
"id": 1026, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1617, | ||
"src": "958:5:20", | ||
"referencedDeclaration": 984, | ||
"src": "958:5:12", | ||
"typeDescriptions": { | ||
@@ -1372,8 +1372,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1660, | ||
"id": 1027, | ||
"name": "newOwner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1645, | ||
"src": "965:8:20", | ||
"referencedDeclaration": 1012, | ||
"src": "965:8:12", | ||
"typeDescriptions": { | ||
@@ -1396,8 +1396,8 @@ "typeIdentifier": "t_address", | ||
], | ||
"id": 1658, | ||
"id": 1025, | ||
"name": "OwnershipTransferred", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1623, | ||
"src": "937:20:20", | ||
"referencedDeclaration": 990, | ||
"src": "937:20:12", | ||
"typeDescriptions": { | ||
@@ -1408,3 +1408,3 @@ "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", | ||
}, | ||
"id": 1661, | ||
"id": 1028, | ||
"isConstant": false, | ||
@@ -1417,3 +1417,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "937:37:20", | ||
"src": "937:37:12", | ||
"typeDescriptions": { | ||
@@ -1424,5 +1424,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1662, | ||
"id": 1029, | ||
"nodeType": "ExpressionStatement", | ||
"src": "937:37:20" | ||
"src": "937:37:12" | ||
}, | ||
@@ -1432,3 +1432,3 @@ { | ||
"argumentTypes": null, | ||
"id": 1665, | ||
"id": 1032, | ||
"isConstant": false, | ||
@@ -1440,8 +1440,8 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 1663, | ||
"id": 1030, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1617, | ||
"src": "980:5:20", | ||
"referencedDeclaration": 984, | ||
"src": "980:5:12", | ||
"typeDescriptions": { | ||
@@ -1456,8 +1456,8 @@ "typeIdentifier": "t_address", | ||
"argumentTypes": null, | ||
"id": 1664, | ||
"id": 1031, | ||
"name": "newOwner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1645, | ||
"src": "988:8:20", | ||
"referencedDeclaration": 1012, | ||
"src": "988:8:12", | ||
"typeDescriptions": { | ||
@@ -1468,3 +1468,3 @@ "typeIdentifier": "t_address", | ||
}, | ||
"src": "980:16:20", | ||
"src": "980:16:12", | ||
"typeDescriptions": { | ||
@@ -1475,5 +1475,5 @@ "typeIdentifier": "t_address", | ||
}, | ||
"id": 1666, | ||
"id": 1033, | ||
"nodeType": "ExpressionStatement", | ||
"src": "980:16:20" | ||
"src": "980:16:12" | ||
} | ||
@@ -1483,3 +1483,3 @@ ] | ||
"documentation": "@dev Allows the current owner to transfer control of the contract to a newOwner.\n@param newOwner The address to transfer ownership to.", | ||
"id": 1668, | ||
"id": 1035, | ||
"implemented": true, | ||
@@ -1491,11 +1491,11 @@ "isConstructor": false, | ||
"arguments": [], | ||
"id": 1648, | ||
"id": 1015, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 1647, | ||
"id": 1014, | ||
"name": "onlyOwner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1643, | ||
"src": "884:9:20", | ||
"referencedDeclaration": 1010, | ||
"src": "884:9:12", | ||
"typeDescriptions": { | ||
@@ -1507,3 +1507,3 @@ "typeIdentifier": "t_modifier$__$", | ||
"nodeType": "ModifierInvocation", | ||
"src": "884:9:20" | ||
"src": "884:9:12" | ||
} | ||
@@ -1514,3 +1514,3 @@ ], | ||
"parameters": { | ||
"id": 1646, | ||
"id": 1013, | ||
"nodeType": "ParameterList", | ||
@@ -1520,7 +1520,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1645, | ||
"id": 1012, | ||
"name": "newOwner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1668, | ||
"src": "859:16:20", | ||
"scope": 1035, | ||
"src": "859:16:12", | ||
"stateVariable": false, | ||
@@ -1533,6 +1533,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1644, | ||
"id": 1011, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "859:7:20", | ||
"src": "859:7:12", | ||
"typeDescriptions": { | ||
@@ -1547,13 +1547,13 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "858:18:20" | ||
"src": "858:18:12" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1649, | ||
"id": 1016, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "894:0:20" | ||
"src": "894:0:12" | ||
}, | ||
"scope": 1669, | ||
"src": "832:169:20", | ||
"scope": 1036, | ||
"src": "832:169:12", | ||
"stateMutability": "nonpayable", | ||
@@ -1564,7 +1564,7 @@ "superFunction": null, | ||
], | ||
"scope": 1670, | ||
"src": "217:787:20" | ||
"scope": 1037, | ||
"src": "217:787:12" | ||
} | ||
], | ||
"src": "0:1005:20" | ||
"src": "0:1005:12" | ||
}, | ||
@@ -1577,3 +1577,3 @@ "compiler": { | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-17T16:14:48.642Z" | ||
"updatedAt": "2018-05-18T22:19:42.735Z" | ||
} |
@@ -15,15 +15,15 @@ { | ||
"source": "pragma solidity ^0.4.21;\n\n/**\n * @title Proxy\n *\n * @dev Implements delegation of calls to other contracts, with proper\n * @dev forwarding of return values and bubbling of failures.\n *\n * @dev Defines a fallback function that delegates all calls to the address\n * @dev returned by the abstract _implementation() internal function.\n */\ncontract Proxy {\n /**\n * @dev Implemented entirely in _fallback.\n */\n function () payable external {\n _fallback();\n }\n\n /**\n * @return address of the implementation to which the fallback delegates all calls\n */\n function _implementation() internal view returns (address);\n\n /**\n * @dev Delegates execution to an implementation contract.\n *\n * @dev This is a low level function that doesn't return to its internal call site.\n * @dev It will return to the external caller whatever the implementation returns.\n *\n * @param implementation address to which we delegate\n */\n function _delegate(address implementation) internal {\n assembly {\n // Copy msg.data. We take full control of memory in this inline assembly\n // block because it will not return to Solidity code. We overwrite the\n // Solidity scratch pad at memory position 0.\n calldatacopy(0, 0, calldatasize)\n\n // Call the implementation.\n // out and outsize are 0 because we don't know the size yet.\n let result := delegatecall(gas, implementation, 0, calldatasize, 0, 0)\n\n // Copy the returned data.\n returndatacopy(0, 0, returndatasize)\n\n switch result\n // delegatecall returns 0 on error.\n case 0 { revert(0, returndatasize) }\n default { return(0, returndatasize) }\n }\n }\n\n /**\n * @dev Function that is run as the first thing in the fallback function.\n *\n * @dev Can be redefined in derived contracts to add functionality.\n * @dev Redefinitions must call super._willFallback().\n */\n function _willFallback() internal {\n }\n\n /**\n * @dev Extracted fallback function to enable manual triggering.\n */\n function _fallback() internal {\n _willFallback();\n _delegate(_implementation());\n }\n}\n", | ||
"sourcePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/upgradeability/Proxy.sol", | ||
"sourcePath": "/home/frangio/zs/zos/lib/contracts/upgradeability/Proxy.sol", | ||
"ast": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/upgradeability/Proxy.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/upgradeability/Proxy.sol", | ||
"exportedSymbols": { | ||
"Proxy": [ | ||
1427 | ||
794 | ||
] | ||
}, | ||
"id": 1428, | ||
"id": 795, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 1391, | ||
"id": 758, | ||
"literals": [ | ||
@@ -36,3 +36,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:16" | ||
"src": "0:24:8" | ||
}, | ||
@@ -45,5 +45,5 @@ { | ||
"fullyImplemented": false, | ||
"id": 1427, | ||
"id": 794, | ||
"linearizedBaseContracts": [ | ||
1427 | ||
794 | ||
], | ||
@@ -55,5 +55,5 @@ "name": "Proxy", | ||
"body": { | ||
"id": 1397, | ||
"id": 764, | ||
"nodeType": "Block", | ||
"src": "440:22:16", | ||
"src": "440:22:8", | ||
"statements": [ | ||
@@ -66,8 +66,8 @@ { | ||
"argumentTypes": [], | ||
"id": 1394, | ||
"id": 761, | ||
"name": "_fallback", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1426, | ||
"src": "446:9:16", | ||
"referencedDeclaration": 793, | ||
"src": "446:9:8", | ||
"typeDescriptions": { | ||
@@ -78,3 +78,3 @@ "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", | ||
}, | ||
"id": 1395, | ||
"id": 762, | ||
"isConstant": false, | ||
@@ -87,3 +87,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "446:11:16", | ||
"src": "446:11:8", | ||
"typeDescriptions": { | ||
@@ -94,5 +94,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1396, | ||
"id": 763, | ||
"nodeType": "ExpressionStatement", | ||
"src": "446:11:16" | ||
"src": "446:11:8" | ||
} | ||
@@ -102,3 +102,3 @@ ] | ||
"documentation": "@dev Implemented entirely in _fallback.", | ||
"id": 1398, | ||
"id": 765, | ||
"implemented": true, | ||
@@ -111,16 +111,16 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1392, | ||
"id": 759, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "420:2:16" | ||
"src": "420:2:8" | ||
}, | ||
"payable": true, | ||
"returnParameters": { | ||
"id": 1393, | ||
"id": 760, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "440:0:16" | ||
"src": "440:0:8" | ||
}, | ||
"scope": 1427, | ||
"src": "411:51:16", | ||
"scope": 794, | ||
"src": "411:51:8", | ||
"stateMutability": "payable", | ||
@@ -133,3 +133,3 @@ "superFunction": null, | ||
"documentation": "@return address of the implementation to which the fallback delegates all calls", | ||
"id": 1403, | ||
"id": 770, | ||
"implemented": false, | ||
@@ -142,10 +142,10 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1399, | ||
"id": 766, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "587:2:16" | ||
"src": "587:2:8" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1402, | ||
"id": 769, | ||
"nodeType": "ParameterList", | ||
@@ -155,7 +155,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1401, | ||
"id": 768, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1403, | ||
"src": "613:7:16", | ||
"scope": 770, | ||
"src": "613:7:8", | ||
"stateVariable": false, | ||
@@ -168,6 +168,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1400, | ||
"id": 767, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "613:7:16", | ||
"src": "613:7:8", | ||
"typeDescriptions": { | ||
@@ -182,6 +182,6 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "612:9:16" | ||
"src": "612:9:8" | ||
}, | ||
"scope": 1427, | ||
"src": "563:59:16", | ||
"scope": 794, | ||
"src": "563:59:8", | ||
"stateMutability": "view", | ||
@@ -193,5 +193,5 @@ "superFunction": null, | ||
"body": { | ||
"id": 1409, | ||
"id": 776, | ||
"nodeType": "Block", | ||
"src": "988:679:16", | ||
"src": "988:679:8", | ||
"statements": [ | ||
@@ -202,6 +202,6 @@ { | ||
"implementation": { | ||
"declaration": 1405, | ||
"declaration": 772, | ||
"isOffset": false, | ||
"isSlot": false, | ||
"src": "1392:14:16", | ||
"src": "1392:14:8", | ||
"valueSize": 1 | ||
@@ -211,6 +211,6 @@ } | ||
], | ||
"id": 1408, | ||
"id": 775, | ||
"nodeType": "InlineAssembly", | ||
"operations": "{\n calldatacopy(0, 0, calldatasize())\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\n returndatacopy(0, 0, returndatasize())\n switch result\n case 0 {\n revert(0, returndatasize())\n }\n default {\n return(0, returndatasize())\n }\n}", | ||
"src": "994:673:16" | ||
"src": "994:673:8" | ||
} | ||
@@ -220,3 +220,3 @@ ] | ||
"documentation": "@dev Delegates execution to an implementation contract.\n * @dev This is a low level function that doesn't return to its internal call site.\n@dev It will return to the external caller whatever the implementation returns.\n * @param implementation address to which we delegate", | ||
"id": 1410, | ||
"id": 777, | ||
"implemented": true, | ||
@@ -229,3 +229,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1406, | ||
"id": 773, | ||
"nodeType": "ParameterList", | ||
@@ -235,7 +235,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1405, | ||
"id": 772, | ||
"name": "implementation", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1410, | ||
"src": "955:22:16", | ||
"scope": 777, | ||
"src": "955:22:8", | ||
"stateVariable": false, | ||
@@ -248,6 +248,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1404, | ||
"id": 771, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "955:7:16", | ||
"src": "955:7:8", | ||
"typeDescriptions": { | ||
@@ -262,13 +262,13 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "954:24:16" | ||
"src": "954:24:8" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1407, | ||
"id": 774, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "988:0:16" | ||
"src": "988:0:8" | ||
}, | ||
"scope": 1427, | ||
"src": "936:731:16", | ||
"scope": 794, | ||
"src": "936:731:8", | ||
"stateMutability": "nonpayable", | ||
@@ -280,9 +280,9 @@ "superFunction": null, | ||
"body": { | ||
"id": 1413, | ||
"id": 780, | ||
"nodeType": "Block", | ||
"src": "1925:5:16", | ||
"src": "1925:5:8", | ||
"statements": [] | ||
}, | ||
"documentation": "@dev Function that is run as the first thing in the fallback function.\n * @dev Can be redefined in derived contracts to add functionality.\n@dev Redefinitions must call super._willFallback().", | ||
"id": 1414, | ||
"id": 781, | ||
"implemented": true, | ||
@@ -295,16 +295,16 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1411, | ||
"id": 778, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "1913:2:16" | ||
"src": "1913:2:8" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1412, | ||
"id": 779, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "1925:0:16" | ||
"src": "1925:0:8" | ||
}, | ||
"scope": 1427, | ||
"src": "1891:39:16", | ||
"scope": 794, | ||
"src": "1891:39:8", | ||
"stateMutability": "nonpayable", | ||
@@ -316,5 +316,5 @@ "superFunction": null, | ||
"body": { | ||
"id": 1425, | ||
"id": 792, | ||
"nodeType": "Block", | ||
"src": "2043:60:16", | ||
"src": "2043:60:8", | ||
"statements": [ | ||
@@ -327,8 +327,8 @@ { | ||
"argumentTypes": [], | ||
"id": 1417, | ||
"id": 784, | ||
"name": "_willFallback", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1414, | ||
"src": "2049:13:16", | ||
"referencedDeclaration": 781, | ||
"src": "2049:13:8", | ||
"typeDescriptions": { | ||
@@ -339,3 +339,3 @@ "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", | ||
}, | ||
"id": 1418, | ||
"id": 785, | ||
"isConstant": false, | ||
@@ -348,3 +348,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "2049:15:16", | ||
"src": "2049:15:8", | ||
"typeDescriptions": { | ||
@@ -355,5 +355,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1419, | ||
"id": 786, | ||
"nodeType": "ExpressionStatement", | ||
"src": "2049:15:16" | ||
"src": "2049:15:8" | ||
}, | ||
@@ -369,8 +369,8 @@ { | ||
"argumentTypes": [], | ||
"id": 1421, | ||
"id": 788, | ||
"name": "_implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1403, | ||
"src": "2080:15:16", | ||
"referencedDeclaration": 770, | ||
"src": "2080:15:8", | ||
"typeDescriptions": { | ||
@@ -381,3 +381,3 @@ "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", | ||
}, | ||
"id": 1422, | ||
"id": 789, | ||
"isConstant": false, | ||
@@ -390,3 +390,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "2080:17:16", | ||
"src": "2080:17:8", | ||
"typeDescriptions": { | ||
@@ -405,8 +405,8 @@ "typeIdentifier": "t_address", | ||
], | ||
"id": 1420, | ||
"id": 787, | ||
"name": "_delegate", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1410, | ||
"src": "2070:9:16", | ||
"referencedDeclaration": 777, | ||
"src": "2070:9:8", | ||
"typeDescriptions": { | ||
@@ -417,3 +417,3 @@ "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", | ||
}, | ||
"id": 1423, | ||
"id": 790, | ||
"isConstant": false, | ||
@@ -426,3 +426,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "2070:28:16", | ||
"src": "2070:28:8", | ||
"typeDescriptions": { | ||
@@ -433,5 +433,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1424, | ||
"id": 791, | ||
"nodeType": "ExpressionStatement", | ||
"src": "2070:28:16" | ||
"src": "2070:28:8" | ||
} | ||
@@ -441,3 +441,3 @@ ] | ||
"documentation": "@dev Extracted fallback function to enable manual triggering.", | ||
"id": 1426, | ||
"id": 793, | ||
"implemented": true, | ||
@@ -450,16 +450,16 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1415, | ||
"id": 782, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "2031:2:16" | ||
"src": "2031:2:8" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1416, | ||
"id": 783, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "2043:0:16" | ||
"src": "2043:0:8" | ||
}, | ||
"scope": 1427, | ||
"src": "2013:90:16", | ||
"scope": 794, | ||
"src": "2013:90:8", | ||
"stateMutability": "nonpayable", | ||
@@ -470,20 +470,20 @@ "superFunction": null, | ||
], | ||
"scope": 1428, | ||
"src": "335:1770:16" | ||
"scope": 795, | ||
"src": "335:1770:8" | ||
} | ||
], | ||
"src": "0:2106:16" | ||
"src": "0:2106:8" | ||
}, | ||
"legacyAST": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/upgradeability/Proxy.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/upgradeability/Proxy.sol", | ||
"exportedSymbols": { | ||
"Proxy": [ | ||
1427 | ||
794 | ||
] | ||
}, | ||
"id": 1428, | ||
"id": 795, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 1391, | ||
"id": 758, | ||
"literals": [ | ||
@@ -496,3 +496,3 @@ "solidity", | ||
"nodeType": "PragmaDirective", | ||
"src": "0:24:16" | ||
"src": "0:24:8" | ||
}, | ||
@@ -505,5 +505,5 @@ { | ||
"fullyImplemented": false, | ||
"id": 1427, | ||
"id": 794, | ||
"linearizedBaseContracts": [ | ||
1427 | ||
794 | ||
], | ||
@@ -515,5 +515,5 @@ "name": "Proxy", | ||
"body": { | ||
"id": 1397, | ||
"id": 764, | ||
"nodeType": "Block", | ||
"src": "440:22:16", | ||
"src": "440:22:8", | ||
"statements": [ | ||
@@ -526,8 +526,8 @@ { | ||
"argumentTypes": [], | ||
"id": 1394, | ||
"id": 761, | ||
"name": "_fallback", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1426, | ||
"src": "446:9:16", | ||
"referencedDeclaration": 793, | ||
"src": "446:9:8", | ||
"typeDescriptions": { | ||
@@ -538,3 +538,3 @@ "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", | ||
}, | ||
"id": 1395, | ||
"id": 762, | ||
"isConstant": false, | ||
@@ -547,3 +547,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "446:11:16", | ||
"src": "446:11:8", | ||
"typeDescriptions": { | ||
@@ -554,5 +554,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1396, | ||
"id": 763, | ||
"nodeType": "ExpressionStatement", | ||
"src": "446:11:16" | ||
"src": "446:11:8" | ||
} | ||
@@ -562,3 +562,3 @@ ] | ||
"documentation": "@dev Implemented entirely in _fallback.", | ||
"id": 1398, | ||
"id": 765, | ||
"implemented": true, | ||
@@ -571,16 +571,16 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1392, | ||
"id": 759, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "420:2:16" | ||
"src": "420:2:8" | ||
}, | ||
"payable": true, | ||
"returnParameters": { | ||
"id": 1393, | ||
"id": 760, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "440:0:16" | ||
"src": "440:0:8" | ||
}, | ||
"scope": 1427, | ||
"src": "411:51:16", | ||
"scope": 794, | ||
"src": "411:51:8", | ||
"stateMutability": "payable", | ||
@@ -593,3 +593,3 @@ "superFunction": null, | ||
"documentation": "@return address of the implementation to which the fallback delegates all calls", | ||
"id": 1403, | ||
"id": 770, | ||
"implemented": false, | ||
@@ -602,10 +602,10 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1399, | ||
"id": 766, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "587:2:16" | ||
"src": "587:2:8" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1402, | ||
"id": 769, | ||
"nodeType": "ParameterList", | ||
@@ -615,7 +615,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1401, | ||
"id": 768, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1403, | ||
"src": "613:7:16", | ||
"scope": 770, | ||
"src": "613:7:8", | ||
"stateVariable": false, | ||
@@ -628,6 +628,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1400, | ||
"id": 767, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "613:7:16", | ||
"src": "613:7:8", | ||
"typeDescriptions": { | ||
@@ -642,6 +642,6 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "612:9:16" | ||
"src": "612:9:8" | ||
}, | ||
"scope": 1427, | ||
"src": "563:59:16", | ||
"scope": 794, | ||
"src": "563:59:8", | ||
"stateMutability": "view", | ||
@@ -653,5 +653,5 @@ "superFunction": null, | ||
"body": { | ||
"id": 1409, | ||
"id": 776, | ||
"nodeType": "Block", | ||
"src": "988:679:16", | ||
"src": "988:679:8", | ||
"statements": [ | ||
@@ -662,6 +662,6 @@ { | ||
"implementation": { | ||
"declaration": 1405, | ||
"declaration": 772, | ||
"isOffset": false, | ||
"isSlot": false, | ||
"src": "1392:14:16", | ||
"src": "1392:14:8", | ||
"valueSize": 1 | ||
@@ -671,6 +671,6 @@ } | ||
], | ||
"id": 1408, | ||
"id": 775, | ||
"nodeType": "InlineAssembly", | ||
"operations": "{\n calldatacopy(0, 0, calldatasize())\n let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)\n returndatacopy(0, 0, returndatasize())\n switch result\n case 0 {\n revert(0, returndatasize())\n }\n default {\n return(0, returndatasize())\n }\n}", | ||
"src": "994:673:16" | ||
"src": "994:673:8" | ||
} | ||
@@ -680,3 +680,3 @@ ] | ||
"documentation": "@dev Delegates execution to an implementation contract.\n * @dev This is a low level function that doesn't return to its internal call site.\n@dev It will return to the external caller whatever the implementation returns.\n * @param implementation address to which we delegate", | ||
"id": 1410, | ||
"id": 777, | ||
"implemented": true, | ||
@@ -689,3 +689,3 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1406, | ||
"id": 773, | ||
"nodeType": "ParameterList", | ||
@@ -695,7 +695,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 1405, | ||
"id": 772, | ||
"name": "implementation", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 1410, | ||
"src": "955:22:16", | ||
"scope": 777, | ||
"src": "955:22:8", | ||
"stateVariable": false, | ||
@@ -708,6 +708,6 @@ "storageLocation": "default", | ||
"typeName": { | ||
"id": 1404, | ||
"id": 771, | ||
"name": "address", | ||
"nodeType": "ElementaryTypeName", | ||
"src": "955:7:16", | ||
"src": "955:7:8", | ||
"typeDescriptions": { | ||
@@ -722,13 +722,13 @@ "typeIdentifier": "t_address", | ||
], | ||
"src": "954:24:16" | ||
"src": "954:24:8" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1407, | ||
"id": 774, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "988:0:16" | ||
"src": "988:0:8" | ||
}, | ||
"scope": 1427, | ||
"src": "936:731:16", | ||
"scope": 794, | ||
"src": "936:731:8", | ||
"stateMutability": "nonpayable", | ||
@@ -740,9 +740,9 @@ "superFunction": null, | ||
"body": { | ||
"id": 1413, | ||
"id": 780, | ||
"nodeType": "Block", | ||
"src": "1925:5:16", | ||
"src": "1925:5:8", | ||
"statements": [] | ||
}, | ||
"documentation": "@dev Function that is run as the first thing in the fallback function.\n * @dev Can be redefined in derived contracts to add functionality.\n@dev Redefinitions must call super._willFallback().", | ||
"id": 1414, | ||
"id": 781, | ||
"implemented": true, | ||
@@ -755,16 +755,16 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1411, | ||
"id": 778, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "1913:2:16" | ||
"src": "1913:2:8" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1412, | ||
"id": 779, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "1925:0:16" | ||
"src": "1925:0:8" | ||
}, | ||
"scope": 1427, | ||
"src": "1891:39:16", | ||
"scope": 794, | ||
"src": "1891:39:8", | ||
"stateMutability": "nonpayable", | ||
@@ -776,5 +776,5 @@ "superFunction": null, | ||
"body": { | ||
"id": 1425, | ||
"id": 792, | ||
"nodeType": "Block", | ||
"src": "2043:60:16", | ||
"src": "2043:60:8", | ||
"statements": [ | ||
@@ -787,8 +787,8 @@ { | ||
"argumentTypes": [], | ||
"id": 1417, | ||
"id": 784, | ||
"name": "_willFallback", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1414, | ||
"src": "2049:13:16", | ||
"referencedDeclaration": 781, | ||
"src": "2049:13:8", | ||
"typeDescriptions": { | ||
@@ -799,3 +799,3 @@ "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", | ||
}, | ||
"id": 1418, | ||
"id": 785, | ||
"isConstant": false, | ||
@@ -808,3 +808,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "2049:15:16", | ||
"src": "2049:15:8", | ||
"typeDescriptions": { | ||
@@ -815,5 +815,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1419, | ||
"id": 786, | ||
"nodeType": "ExpressionStatement", | ||
"src": "2049:15:16" | ||
"src": "2049:15:8" | ||
}, | ||
@@ -829,8 +829,8 @@ { | ||
"argumentTypes": [], | ||
"id": 1421, | ||
"id": 788, | ||
"name": "_implementation", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1403, | ||
"src": "2080:15:16", | ||
"referencedDeclaration": 770, | ||
"src": "2080:15:8", | ||
"typeDescriptions": { | ||
@@ -841,3 +841,3 @@ "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", | ||
}, | ||
"id": 1422, | ||
"id": 789, | ||
"isConstant": false, | ||
@@ -850,3 +850,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "2080:17:16", | ||
"src": "2080:17:8", | ||
"typeDescriptions": { | ||
@@ -865,8 +865,8 @@ "typeIdentifier": "t_address", | ||
], | ||
"id": 1420, | ||
"id": 787, | ||
"name": "_delegate", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1410, | ||
"src": "2070:9:16", | ||
"referencedDeclaration": 777, | ||
"src": "2070:9:8", | ||
"typeDescriptions": { | ||
@@ -877,3 +877,3 @@ "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", | ||
}, | ||
"id": 1423, | ||
"id": 790, | ||
"isConstant": false, | ||
@@ -886,3 +886,3 @@ "isLValue": false, | ||
"nodeType": "FunctionCall", | ||
"src": "2070:28:16", | ||
"src": "2070:28:8", | ||
"typeDescriptions": { | ||
@@ -893,5 +893,5 @@ "typeIdentifier": "t_tuple$__$", | ||
}, | ||
"id": 1424, | ||
"id": 791, | ||
"nodeType": "ExpressionStatement", | ||
"src": "2070:28:16" | ||
"src": "2070:28:8" | ||
} | ||
@@ -901,3 +901,3 @@ ] | ||
"documentation": "@dev Extracted fallback function to enable manual triggering.", | ||
"id": 1426, | ||
"id": 793, | ||
"implemented": true, | ||
@@ -910,16 +910,16 @@ "isConstructor": false, | ||
"parameters": { | ||
"id": 1415, | ||
"id": 782, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "2031:2:16" | ||
"src": "2031:2:8" | ||
}, | ||
"payable": false, | ||
"returnParameters": { | ||
"id": 1416, | ||
"id": 783, | ||
"nodeType": "ParameterList", | ||
"parameters": [], | ||
"src": "2043:0:16" | ||
"src": "2043:0:8" | ||
}, | ||
"scope": 1427, | ||
"src": "2013:90:16", | ||
"scope": 794, | ||
"src": "2013:90:8", | ||
"stateMutability": "nonpayable", | ||
@@ -930,7 +930,7 @@ "superFunction": null, | ||
], | ||
"scope": 1428, | ||
"src": "335:1770:16" | ||
"scope": 795, | ||
"src": "335:1770:8" | ||
} | ||
], | ||
"src": "0:2106:16" | ||
"src": "0:2106:8" | ||
}, | ||
@@ -943,3 +943,3 @@ "compiler": { | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-17T16:14:48.637Z" | ||
"updatedAt": "2018-05-18T22:19:42.734Z" | ||
} |
@@ -161,10 +161,10 @@ { | ||
], | ||
"bytecode": "0x6060604052341561000f57600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600260016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610a3a8061009f6000396000f30060606040526004361061008e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063054f7d9c1461009357806306419fe5146100c057806330b7be291461013c57806362a5af3b146101995780636b683896146101ae5780638da5cb5b1461024b578063ca4b208b146102a0578063f2fde38b146102f5575b600080fd5b341561009e57600080fd5b6100a661032e565b604051808215151515815260200191505060405180910390f35b34156100cb57600080fd5b61013a600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610341565b005b341561014757600080fd5b610197600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061036b565b005b34156101a457600080fd5b6101ac610545565b005b34156101b957600080fd5b610209600480803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919050506105d9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561025657600080fd5b61025e61066e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102ab57600080fd5b6102b3610693565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561030057600080fd5b61032c600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106b9565b005b600260009054906101000a900460ff1681565b600260009054906101000a900460ff1615151561035d57600080fd5b610367828261080e565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156103c657600080fd5b60006001826040518082805190602001908083835b60208310151561040057805182526020820191506020810190506020830392506103db565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c65981600060405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156105075780820151818401526020810190506104ec565b50505050905090810190601f1680156105345780820380516001836020036101000a031916815260200191505b50935050505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105a057600080fd5b600260009054906101000a900460ff161515156105bc57600080fd5b6001600260006101000a81548160ff021916908315150217905550565b60006001826040518082805190602001908083835b60208310151561061357805182526020820191506020810190506020830392506105ee565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561071457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561075057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561086957600080fd5b610872816109fb565b151561087d57600080fd5b806001836040518082805190602001908083835b6020831015156108b65780518252602082019150602081019050602083039250610891565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c659828260405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156109bc5780820151818401526020810190506109a1565b50505050905090810190601f1680156109e95780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b600080823b9050600081119150509190505600a165627a7a72305820b07f8e22367743fad3a98ae1a6c04199dcbe3247038b0a1130e4555ed75b89ad0029", | ||
"deployedBytecode": "0x60606040526004361061008e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063054f7d9c1461009357806306419fe5146100c057806330b7be291461013c57806362a5af3b146101995780636b683896146101ae5780638da5cb5b1461024b578063ca4b208b146102a0578063f2fde38b146102f5575b600080fd5b341561009e57600080fd5b6100a661032e565b604051808215151515815260200191505060405180910390f35b34156100cb57600080fd5b61013a600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610341565b005b341561014757600080fd5b610197600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061036b565b005b34156101a457600080fd5b6101ac610545565b005b34156101b957600080fd5b610209600480803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919050506105d9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561025657600080fd5b61025e61066e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102ab57600080fd5b6102b3610693565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561030057600080fd5b61032c600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106b9565b005b600260009054906101000a900460ff1681565b600260009054906101000a900460ff1615151561035d57600080fd5b610367828261080e565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156103c657600080fd5b60006001826040518082805190602001908083835b60208310151561040057805182526020820191506020810190506020830392506103db565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c65981600060405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156105075780820151818401526020810190506104ec565b50505050905090810190601f1680156105345780820380516001836020036101000a031916815260200191505b50935050505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105a057600080fd5b600260009054906101000a900460ff161515156105bc57600080fd5b6001600260006101000a81548160ff021916908315150217905550565b60006001826040518082805190602001908083835b60208310151561061357805182526020820191506020810190506020830392506105ee565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561071457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561075057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561086957600080fd5b610872816109fb565b151561087d57600080fd5b806001836040518082805190602001908083835b6020831015156108b65780518252602082019150602081019050602083039250610891565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c659828260405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156109bc5780820151818401526020810190506109a1565b50505050905090810190601f1680156109e95780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b600080823b9050600081119150509190505600a165627a7a72305820b07f8e22367743fad3a98ae1a6c04199dcbe3247038b0a1130e4555ed75b89ad0029", | ||
"sourceMap": "274:312:8:-;;;525:59;;;;;;;;509:10:20;501:5;;:18;;;;;;;;;;;;;;;;;;569:10:8;557:9;;:22;;;;;;;;;;;;;;;;;;274:312;;;;;;", | ||
"deployedSourceMap": "274:312:8:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;317:18:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1023:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1641:178:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;612:73:4;;;;;;;;;;;;;;1028:125:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;411:24:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;832:169:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;317:18:4;;;;;;;;;;;;;:::o;1023:157::-;483:6;;;;;;;;;;;482:7;474:16;;;;;;;;1122:53;1146:12;1160:14;1122:23;:53::i;:::-;1023:157;;:::o;1641:178:5:-;653:5:20;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;1754:1:5;1714:15;1730:12;1714:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1714:29:5;;;;;;;;;;;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;1767:47;1789:12;1811:1;1767:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1767:47:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1641:178;:::o;612:73:4:-;653:5:20;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;483:6:4;;;;;;;;;;;482:7;474:16;;;;;;;;676:4;667:6;;:13;;;;;;;;;;;;;;;;;;612:73::o;1028:125:5:-;1097:7;1119:15;1135:12;1119:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1119:29:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1112:36;;1028:125;;;:::o;238:20:20:-;;;;;;;;;;;;;:::o;411:24:8:-;;;;;;;;;;;;;:::o;832:169:20:-;653:5;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;928:1;908:22;;:8;:22;;;;900:31;;;;;;;;965:8;937:37;;958:5;;;;;;;;;;;937:37;;;;;;;;;;;;988:8;980:5;;:16;;;;;;;;;;;;;;;;;;832:169;:::o;1375:262:5:-;653:5:20;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;1478:39:5;1502:14;1478:23;:39::i;:::-;1470:48;;;;;;;;1556:14;1524:15;1540:12;1524:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1524:29:5;;;;;;;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;1581:51;1603:12;1617:14;1581:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1581:51:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1375:262;;:::o;451:150:19:-;508:4;520:12;569:4;557:17;549:25;;595:1;588:4;:8;581:15;;451:150;;;;:::o", | ||
"bytecode": "0x6060604052341561000f57600080fd5b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600260016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610a3a8061009f6000396000f30060606040526004361061008e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063054f7d9c1461009357806306419fe5146100c057806330b7be291461013c57806362a5af3b146101995780636b683896146101ae5780638da5cb5b1461024b578063ca4b208b146102a0578063f2fde38b146102f5575b600080fd5b341561009e57600080fd5b6100a661032e565b604051808215151515815260200191505060405180910390f35b34156100cb57600080fd5b61013a600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610341565b005b341561014757600080fd5b610197600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061036b565b005b34156101a457600080fd5b6101ac610545565b005b34156101b957600080fd5b610209600480803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919050506105d9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561025657600080fd5b61025e61066e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102ab57600080fd5b6102b3610693565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561030057600080fd5b61032c600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106b9565b005b600260009054906101000a900460ff1681565b600260009054906101000a900460ff1615151561035d57600080fd5b610367828261080e565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156103c657600080fd5b60006001826040518082805190602001908083835b60208310151561040057805182526020820191506020810190506020830392506103db565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c65981600060405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156105075780820151818401526020810190506104ec565b50505050905090810190601f1680156105345780820380516001836020036101000a031916815260200191505b50935050505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105a057600080fd5b600260009054906101000a900460ff161515156105bc57600080fd5b6001600260006101000a81548160ff021916908315150217905550565b60006001826040518082805190602001908083835b60208310151561061357805182526020820191506020810190506020830392506105ee565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561071457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561075057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561086957600080fd5b610872816109fb565b151561087d57600080fd5b806001836040518082805190602001908083835b6020831015156108b65780518252602082019150602081019050602083039250610891565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c659828260405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156109bc5780820151818401526020810190506109a1565b50505050905090810190601f1680156109e95780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b600080823b9050600081119150509190505600a165627a7a723058201aa60b556b43152c4155f8faa33b7ee7d849b918b9804aefded4e229c4a907f00029", | ||
"deployedBytecode": "0x60606040526004361061008e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063054f7d9c1461009357806306419fe5146100c057806330b7be291461013c57806362a5af3b146101995780636b683896146101ae5780638da5cb5b1461024b578063ca4b208b146102a0578063f2fde38b146102f5575b600080fd5b341561009e57600080fd5b6100a661032e565b604051808215151515815260200191505060405180910390f35b34156100cb57600080fd5b61013a600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610341565b005b341561014757600080fd5b610197600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190505061036b565b005b34156101a457600080fd5b6101ac610545565b005b34156101b957600080fd5b610209600480803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919050506105d9565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561025657600080fd5b61025e61066e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102ab57600080fd5b6102b3610693565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561030057600080fd5b61032c600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106b9565b005b600260009054906101000a900460ff1681565b600260009054906101000a900460ff1615151561035d57600080fd5b610367828261080e565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156103c657600080fd5b60006001826040518082805190602001908083835b60208310151561040057805182526020820191506020810190506020830392506103db565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c65981600060405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156105075780820151818401526020810190506104ec565b50505050905090810190601f1680156105345780820380516001836020036101000a031916815260200191505b50935050505060405180910390a150565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105a057600080fd5b600260009054906101000a900460ff161515156105bc57600080fd5b6001600260006101000a81548160ff021916908315150217905550565b60006001826040518082805190602001908083835b60208310151561061357805182526020820191506020810190506020830392506105ee565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561071457600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561075057600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561086957600080fd5b610872816109fb565b151561087d57600080fd5b806001836040518082805190602001908083835b6020831015156108b65780518252602082019150602081019050602083039250610891565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd46d20dadc2a85a470fddb00aee90ec2cc1f302e7e2dbf61ffaef72527f3c659828260405180806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b838110156109bc5780820151818401526020810190506109a1565b50505050905090810190601f1680156109e95780820380516001836020036101000a031916815260200191505b50935050505060405180910390a15050565b600080823b9050600081119150509190505600a165627a7a723058201aa60b556b43152c4155f8faa33b7ee7d849b918b9804aefded4e229c4a907f00029", | ||
"sourceMap": "274:312:8:-;;;525:59;;;;;;;;509:10:23;501:5;;:18;;;;;;;;;;;;;;;;;;569:10:8;557:9;;:22;;;;;;;;;;;;;;;;;;274:312;;;;;;", | ||
"deployedSourceMap": "274:312:8:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;317:18:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1023:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1649:178:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;612:73:4;;;;;;;;;;;;;;1036:125:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;238:20:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;411:24:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;832:174:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;317:18:4;;;;;;;;;;;;;:::o;1023:157::-;483:6;;;;;;;;;;;482:7;474:16;;;;;;;;1122:53;1146:12;1160:14;1122:23;:53::i;:::-;1023:157;;:::o;1649:178:5:-;653:5:23;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;1762:1:5;1722:15;1738:12;1722:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1722:29:5;;;;;;;;;;;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;1775:47;1797:12;1819:1;1775:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1775:47:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1649:178;:::o;612:73:4:-;653:5:23;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;483:6:4;;;;;;;;;;;482:7;474:16;;;;;;;;676:4;667:6;;:13;;;;;;;;;;;;;;;;;;612:73::o;1036:125:5:-;1105:7;1127:15;1143:12;1127:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1127:29:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1120:36;;1036:125;;;:::o;238:20:23:-;;;;;;;;;;;;;:::o;411:24:8:-;;;;;;;;;;;;;:::o;832:174:23:-;653:5;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;928:1;908:22;;:8;:22;;;;900:31;;;;;;;;970:8;942:37;;963:5;;;;;;;;;;;942:37;;;;;;;;;;;;993:8;985:5;;:16;;;;;;;;;;;;;;;;;;832:174;:::o;1383:262:5:-;653:5:23;;;;;;;;;;;639:19;;:10;:19;;;631:28;;;;;;;;1486:39:5;1510:14;1486:23;:39::i;:::-;1478:48;;;;;;;;1564:14;1532:15;1548:12;1532:29;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;51:19;36:153;;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;1532:29:5;;;;;;;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;1589:51;1611:12;1625:14;1589:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;1589:51:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1383:262;;:::o;438:568:22:-;495:4;507:12;922:4;910:17;902:25;;1000:1;993:4;:8;986:15;;438:568;;;;:::o", | ||
"source": "pragma solidity ^0.4.21;\n\nimport \"./FreezableImplementationDirectory.sol\";\n\n/**\n * @title Release\n * @dev This contract represents a particular stdlib version from a developer\n * @dev Has an immutable reference to all contract implementations that comprise this version\n */\ncontract Release is FreezableImplementationDirectory {\n\n /**\n * @dev Developer address, owner of the implementation directory\n */\n address public developer;\n \n /**\n * @dev Constructor function that sets the developer of this release\n */\n function Release() public {\n developer = msg.sender;\n }\n}\n", | ||
"sourcePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/Release.sol", | ||
"sourcePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/Release.sol", | ||
"ast": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/Release.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/Release.sol", | ||
"exportedSymbols": { | ||
@@ -190,3 +190,3 @@ "Release": [ | ||
{ | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/FreezableImplementationDirectory.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/FreezableImplementationDirectory.sol", | ||
"file": "./FreezableImplementationDirectory.sol", | ||
@@ -226,3 +226,3 @@ "id": 627, | ||
524, | ||
1669 | ||
1797 | ||
], | ||
@@ -237,3 +237,3 @@ "contractKind": "contract", | ||
514, | ||
1669, | ||
1797, | ||
524 | ||
@@ -307,3 +307,3 @@ ], | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1682, | ||
"referencedDeclaration": 1810, | ||
"src": "569:3:8", | ||
@@ -376,3 +376,3 @@ "typeDescriptions": { | ||
"legacyAST": { | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/Release.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/Release.sol", | ||
"exportedSymbols": { | ||
@@ -398,3 +398,3 @@ "Release": [ | ||
{ | ||
"absolutePath": "/Users/facu/Documents/Laburo/Zeppelin/ZeppelinOS/zos-lib/contracts/application/versioning/FreezableImplementationDirectory.sol", | ||
"absolutePath": "/home/frangio/zs/zos/lib/contracts/application/versioning/FreezableImplementationDirectory.sol", | ||
"file": "./FreezableImplementationDirectory.sol", | ||
@@ -434,3 +434,3 @@ "id": 627, | ||
524, | ||
1669 | ||
1797 | ||
], | ||
@@ -445,3 +445,3 @@ "contractKind": "contract", | ||
514, | ||
1669, | ||
1797, | ||
524 | ||
@@ -515,3 +515,3 @@ ], | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 1682, | ||
"referencedDeclaration": 1810, | ||
"src": "569:3:8", | ||
@@ -589,3 +589,3 @@ "typeDescriptions": { | ||
"schemaVersion": "2.0.0", | ||
"updatedAt": "2018-05-17T16:14:48.547Z" | ||
"updatedAt": "2018-05-17T18:16:35.364Z" | ||
} |
@@ -108,3 +108,2 @@ 'use strict'; | ||
async createProxy(contractClass, contractName, initMethodName, initArgs) { | ||
log.info(`Creating ${contractName} proxy...`); | ||
const { receipt } = typeof initArgs === 'undefined' ? await this._createProxy(contractName) : await this._createProxyAndCall(contractClass, contractName, initMethodName, initArgs); | ||
@@ -121,4 +120,3 @@ | ||
async upgradeProxy(proxyAddress, contractClass, contractName, initMethodName, initArgs) { | ||
log.info(`Updating ${contractName} proxy...`); | ||
const { receipt } = typeof initArgs === 'undefined' ? await this._updateProxy(proxyAddress, contractName) : await this._updateProxyAndCall(proxyAddress, contractClass, contractName, initMethodName, initArgs); | ||
const { receipt } = typeof initArgs === 'undefined' ? await this._upgradeProxy(proxyAddress, contractName) : await this._upgradeProxyAndCall(proxyAddress, contractClass, contractName, initMethodName, initArgs); | ||
log.info(` TX receipt received: ${receipt.transactionHash}`); | ||
@@ -128,2 +126,3 @@ } | ||
async _createProxy(contractName) { | ||
log.info(`Creating ${contractName} proxy without initializing...`); | ||
return this._app.create(contractName, this.txParams); | ||
@@ -135,2 +134,3 @@ } | ||
const initArgTypes = initMethod.inputs.map(input => input.type); | ||
log.info(`Creating ${contractName} proxy and calling ${this._callInfo(initMethod, initArgs)}...`); | ||
const callData = (0, _encodeCall2.default)(initMethodName, initArgTypes, initArgs); | ||
@@ -140,9 +140,11 @@ return this._app.createAndCall(contractName, callData, this.txParams); | ||
async _updateProxy(proxyAddress, contractName) { | ||
async _upgradeProxy(proxyAddress, contractName) { | ||
log.info(`Upgrading ${contractName} proxy without running migrations...`); | ||
return this._app.upgrade(proxyAddress, contractName, this.txParams); | ||
} | ||
async _updateProxyAndCall(proxyAddress, contractClass, contractName, initMethodName, initArgs) { | ||
async _upgradeProxyAndCall(proxyAddress, contractClass, contractName, initMethodName, initArgs) { | ||
const initMethod = this._validateInitMethod(contractClass, initMethodName, initArgs); | ||
const initArgTypes = initMethod.inputs.map(input => input.type); | ||
log.info(`Upgrading ${contractName} proxy and calling ${this._callInfo(initMethod, initArgs)}...`); | ||
const callData = (0, _encodeCall2.default)(initMethodName, initArgTypes, initArgs); | ||
@@ -157,3 +159,7 @@ return this._app.upgradeAndCall(proxyAddress, contractName, callData, this.txParams); | ||
} | ||
_callInfo(initMethod, initArgs) { | ||
return `${initMethod.name}(${initMethod.inputs.map(i => i.type).join(',')}) with ${JSON.stringify(initArgs).replace(/^\[|\]$/g, "")}`; | ||
} | ||
} | ||
exports.default = App; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.Release = exports.Package = exports.App = exports.Contracts = exports.FileSystem = exports.Logger = exports.behaviors = exports.assertRevert = exports.encodeCall = exports.decodeLogs = exports.version = undefined; | ||
exports.Release = exports.Package = exports.App = exports.Contracts = exports.FileSystem = exports.Logger = exports.behaviors = exports.assertions = exports.assertRevert = exports.encodeCall = exports.decodeLogs = exports.version = undefined; | ||
@@ -17,6 +17,2 @@ var _decodeLogs = require('./helpers/decodeLogs'); | ||
var _assertRevert = require('./helpers/assertRevert'); | ||
var _assertRevert2 = _interopRequireDefault(_assertRevert); | ||
var _Logger = require('./utils/Logger'); | ||
@@ -36,4 +32,2 @@ | ||
var _test2 = _interopRequireDefault(_test); | ||
var _App = require('./app/App'); | ||
@@ -64,2 +58,4 @@ | ||
const assertions = _test.helpers.assertions; | ||
const assertRevert = _test.helpers.assertRevert; | ||
@@ -70,4 +66,5 @@ // model objects | ||
exports.encodeCall = _encodeCall2.default; | ||
exports.assertRevert = _assertRevert2.default; | ||
exports.behaviors = _test2.default; | ||
exports.assertRevert = assertRevert; | ||
exports.assertions = assertions; | ||
exports.behaviors = _test.behaviors; | ||
exports.Logger = _Logger2.default; | ||
@@ -74,0 +71,0 @@ exports.FileSystem = _FileSystem2.default; |
@@ -8,3 +8,3 @@ 'use strict'; | ||
var _assertRevert = require('../../helpers/assertRevert'); | ||
var _assertRevert = require('../helpers/assertRevert'); | ||
@@ -11,0 +11,0 @@ var _assertRevert2 = _interopRequireDefault(_assertRevert); |
@@ -8,3 +8,3 @@ 'use strict'; | ||
var _assertRevert = require('../../helpers/assertRevert'); | ||
var _assertRevert = require('../helpers/assertRevert'); | ||
@@ -11,0 +11,0 @@ var _assertRevert2 = _interopRequireDefault(_assertRevert); |
@@ -6,3 +6,12 @@ 'use strict'; | ||
}); | ||
exports.behaviors = exports.helpers = undefined; | ||
var _assertions = require('./helpers/assertions'); | ||
var _assertions2 = _interopRequireDefault(_assertions); | ||
var _assertRevert = require('./helpers/assertRevert'); | ||
var _assertRevert2 = _interopRequireDefault(_assertRevert); | ||
var _Ownable = require('./behaviors/Ownable'); | ||
@@ -18,5 +27,13 @@ | ||
exports.default = { | ||
const helpers = { | ||
assertions: _assertions2.default, | ||
assertRevert: _assertRevert2.default | ||
}; | ||
const behaviors = { | ||
shouldBehaveLikeOwnable: _Ownable2.default, | ||
shouldBehaveLikeImplementationDirectory: _ImplementationDirectory2.default | ||
}; | ||
}; | ||
exports.helpers = helpers; | ||
exports.behaviors = behaviors; |
{ | ||
"name": "zos-lib", | ||
"version": "0.1.22", | ||
"version": "0.1.23", | ||
"description": "ZeppelinOS library", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6398055
92
157403
4