@gnosis.pm/conditional-tokens-contracts
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -15,10 +15,10 @@ { | ||
"Address": [ | ||
2593 | ||
2540 | ||
] | ||
}, | ||
"id": 2594, | ||
"id": 2541, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2576, | ||
"id": 2523, | ||
"literals": [ | ||
@@ -39,5 +39,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 2593, | ||
"id": 2540, | ||
"linearizedBaseContracts": [ | ||
2593 | ||
2540 | ||
], | ||
@@ -49,3 +49,3 @@ "name": "Address", | ||
"body": { | ||
"id": 2591, | ||
"id": 2538, | ||
"nodeType": "Block", | ||
@@ -56,3 +56,3 @@ "src": "608:347:11", | ||
"assignments": [ | ||
2584 | ||
2531 | ||
], | ||
@@ -62,6 +62,6 @@ "declarations": [ | ||
"constant": false, | ||
"id": 2584, | ||
"id": 2531, | ||
"name": "size", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2591, | ||
"scope": 2538, | ||
"src": "805:12:11", | ||
@@ -75,3 +75,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2583, | ||
"id": 2530, | ||
"name": "uint256", | ||
@@ -89,3 +89,3 @@ "nodeType": "ElementaryTypeName", | ||
], | ||
"id": 2585, | ||
"id": 2532, | ||
"initialValue": null, | ||
@@ -99,3 +99,3 @@ "nodeType": "VariableDeclarationStatement", | ||
"size": { | ||
"declaration": 2584, | ||
"declaration": 2531, | ||
"isOffset": false, | ||
@@ -109,3 +109,3 @@ "isSlot": false, | ||
"account": { | ||
"declaration": 2578, | ||
"declaration": 2525, | ||
"isOffset": false, | ||
@@ -118,3 +118,3 @@ "isSlot": false, | ||
], | ||
"id": 2586, | ||
"id": 2533, | ||
"nodeType": "InlineAssembly", | ||
@@ -131,3 +131,3 @@ "operations": "{ size := extcodesize(account) }", | ||
}, | ||
"id": 2589, | ||
"id": 2536, | ||
"isConstant": false, | ||
@@ -139,7 +139,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2587, | ||
"id": 2534, | ||
"name": "size", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2584, | ||
"referencedDeclaration": 2531, | ||
"src": "940:4:11", | ||
@@ -156,3 +156,3 @@ "typeDescriptions": { | ||
"hexValue": "30", | ||
"id": 2588, | ||
"id": 2535, | ||
"isConstant": false, | ||
@@ -178,4 +178,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 2582, | ||
"id": 2590, | ||
"functionReturnParameters": 2529, | ||
"id": 2537, | ||
"nodeType": "Return", | ||
@@ -187,3 +187,3 @@ "src": "933:15:11" | ||
"documentation": "@dev Returns true if `account` is a contract.\n * This test is non-exhaustive, and there may be false-negatives: during the\nexecution of a contract's constructor, its address will be reported as\nnot containing a contract.\n * > It is unsafe to assume that an address for which this function returns\nfalse is an externally-owned account (EOA) and not a contract.", | ||
"id": 2592, | ||
"id": 2539, | ||
"implemented": true, | ||
@@ -195,3 +195,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2579, | ||
"id": 2526, | ||
"nodeType": "ParameterList", | ||
@@ -201,6 +201,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2578, | ||
"id": 2525, | ||
"name": "account", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2592, | ||
"scope": 2539, | ||
"src": "562:15:11", | ||
@@ -214,3 +214,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2577, | ||
"id": 2524, | ||
"name": "address", | ||
@@ -232,3 +232,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2582, | ||
"id": 2529, | ||
"nodeType": "ParameterList", | ||
@@ -238,6 +238,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2581, | ||
"id": 2528, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2592, | ||
"scope": 2539, | ||
"src": "602:4:11", | ||
@@ -251,3 +251,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2580, | ||
"id": 2527, | ||
"name": "bool", | ||
@@ -267,3 +267,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 2593, | ||
"scope": 2540, | ||
"src": "542:413:11", | ||
@@ -275,3 +275,3 @@ "stateMutability": "view", | ||
], | ||
"scope": 2594, | ||
"scope": 2541, | ||
"src": "94:863:11" | ||
@@ -286,10 +286,10 @@ } | ||
"Address": [ | ||
2593 | ||
2540 | ||
] | ||
}, | ||
"id": 2594, | ||
"id": 2541, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2576, | ||
"id": 2523, | ||
"literals": [ | ||
@@ -310,5 +310,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 2593, | ||
"id": 2540, | ||
"linearizedBaseContracts": [ | ||
2593 | ||
2540 | ||
], | ||
@@ -320,3 +320,3 @@ "name": "Address", | ||
"body": { | ||
"id": 2591, | ||
"id": 2538, | ||
"nodeType": "Block", | ||
@@ -327,3 +327,3 @@ "src": "608:347:11", | ||
"assignments": [ | ||
2584 | ||
2531 | ||
], | ||
@@ -333,6 +333,6 @@ "declarations": [ | ||
"constant": false, | ||
"id": 2584, | ||
"id": 2531, | ||
"name": "size", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2591, | ||
"scope": 2538, | ||
"src": "805:12:11", | ||
@@ -346,3 +346,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2583, | ||
"id": 2530, | ||
"name": "uint256", | ||
@@ -360,3 +360,3 @@ "nodeType": "ElementaryTypeName", | ||
], | ||
"id": 2585, | ||
"id": 2532, | ||
"initialValue": null, | ||
@@ -370,3 +370,3 @@ "nodeType": "VariableDeclarationStatement", | ||
"size": { | ||
"declaration": 2584, | ||
"declaration": 2531, | ||
"isOffset": false, | ||
@@ -380,3 +380,3 @@ "isSlot": false, | ||
"account": { | ||
"declaration": 2578, | ||
"declaration": 2525, | ||
"isOffset": false, | ||
@@ -389,3 +389,3 @@ "isSlot": false, | ||
], | ||
"id": 2586, | ||
"id": 2533, | ||
"nodeType": "InlineAssembly", | ||
@@ -402,3 +402,3 @@ "operations": "{ size := extcodesize(account) }", | ||
}, | ||
"id": 2589, | ||
"id": 2536, | ||
"isConstant": false, | ||
@@ -410,7 +410,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2587, | ||
"id": 2534, | ||
"name": "size", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2584, | ||
"referencedDeclaration": 2531, | ||
"src": "940:4:11", | ||
@@ -427,3 +427,3 @@ "typeDescriptions": { | ||
"hexValue": "30", | ||
"id": 2588, | ||
"id": 2535, | ||
"isConstant": false, | ||
@@ -449,4 +449,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 2582, | ||
"id": 2590, | ||
"functionReturnParameters": 2529, | ||
"id": 2537, | ||
"nodeType": "Return", | ||
@@ -458,3 +458,3 @@ "src": "933:15:11" | ||
"documentation": "@dev Returns true if `account` is a contract.\n * This test is non-exhaustive, and there may be false-negatives: during the\nexecution of a contract's constructor, its address will be reported as\nnot containing a contract.\n * > It is unsafe to assume that an address for which this function returns\nfalse is an externally-owned account (EOA) and not a contract.", | ||
"id": 2592, | ||
"id": 2539, | ||
"implemented": true, | ||
@@ -466,3 +466,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2579, | ||
"id": 2526, | ||
"nodeType": "ParameterList", | ||
@@ -472,6 +472,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2578, | ||
"id": 2525, | ||
"name": "account", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2592, | ||
"scope": 2539, | ||
"src": "562:15:11", | ||
@@ -485,3 +485,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2577, | ||
"id": 2524, | ||
"name": "address", | ||
@@ -503,3 +503,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2582, | ||
"id": 2529, | ||
"nodeType": "ParameterList", | ||
@@ -509,6 +509,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2581, | ||
"id": 2528, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2592, | ||
"scope": 2539, | ||
"src": "602:4:11", | ||
@@ -522,3 +522,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2580, | ||
"id": 2527, | ||
"name": "bool", | ||
@@ -538,3 +538,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 2593, | ||
"scope": 2540, | ||
"src": "542:413:11", | ||
@@ -546,3 +546,3 @@ "stateMutability": "view", | ||
], | ||
"scope": 2594, | ||
"scope": 2541, | ||
"src": "94:863:11" | ||
@@ -558,4 +558,4 @@ } | ||
"networks": {}, | ||
"schemaVersion": "3.0.11", | ||
"updatedAt": "2019-08-28T15:50:55.592Z", | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-09-13T16:35:28.224Z", | ||
"devdoc": { | ||
@@ -562,0 +562,0 @@ "details": "Collection of functions related to the address type,", |
@@ -111,10 +111,10 @@ { | ||
"ERC1155TokenReceiver": [ | ||
2104 | ||
2051 | ||
] | ||
}, | ||
"id": 2105, | ||
"id": 2052, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2079, | ||
"id": 2026, | ||
"literals": [ | ||
@@ -132,6 +132,6 @@ "solidity", | ||
"file": "./IERC1155TokenReceiver.sol", | ||
"id": 2080, | ||
"id": 2027, | ||
"nodeType": "ImportDirective", | ||
"scope": 2105, | ||
"sourceUnit": 2254, | ||
"scope": 2052, | ||
"sourceUnit": 2201, | ||
"src": "25:37:3", | ||
@@ -144,6 +144,6 @@ "symbolAliases": [], | ||
"file": "openzeppelin-solidity/contracts/introspection/ERC165.sol", | ||
"id": 2081, | ||
"id": 2028, | ||
"nodeType": "ImportDirective", | ||
"scope": 2105, | ||
"sourceUnit": 2363, | ||
"scope": 2052, | ||
"sourceUnit": 2310, | ||
"src": "63:66:3", | ||
@@ -159,13 +159,13 @@ "symbolAliases": [], | ||
"contractScope": null, | ||
"id": 2082, | ||
"id": 2029, | ||
"name": "ERC165", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2362, | ||
"referencedDeclaration": 2309, | ||
"src": "164:6:3", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_ERC165_$2362", | ||
"typeIdentifier": "t_contract$_ERC165_$2309", | ||
"typeString": "contract ERC165" | ||
} | ||
}, | ||
"id": 2083, | ||
"id": 2030, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -178,13 +178,13 @@ "src": "164:6:3" | ||
"contractScope": null, | ||
"id": 2084, | ||
"id": 2031, | ||
"name": "IERC1155TokenReceiver", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2253, | ||
"referencedDeclaration": 2200, | ||
"src": "172:21:3", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC1155TokenReceiver_$2253", | ||
"typeIdentifier": "t_contract$_IERC1155TokenReceiver_$2200", | ||
"typeString": "contract IERC1155TokenReceiver" | ||
} | ||
}, | ||
"id": 2085, | ||
"id": 2032, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -195,5 +195,5 @@ "src": "172:21:3" | ||
"contractDependencies": [ | ||
2253, | ||
2362, | ||
2372 | ||
2200, | ||
2309, | ||
2319 | ||
], | ||
@@ -203,8 +203,8 @@ "contractKind": "contract", | ||
"fullyImplemented": false, | ||
"id": 2104, | ||
"id": 2051, | ||
"linearizedBaseContracts": [ | ||
2104, | ||
2253, | ||
2362, | ||
2372 | ||
2051, | ||
2200, | ||
2309, | ||
2319 | ||
], | ||
@@ -216,3 +216,3 @@ "name": "ERC1155TokenReceiver", | ||
"body": { | ||
"id": 2102, | ||
"id": 2049, | ||
"nodeType": "Block", | ||
@@ -231,3 +231,3 @@ "src": "221:179:3", | ||
}, | ||
"id": 2099, | ||
"id": 2046, | ||
"isConstant": false, | ||
@@ -247,3 +247,3 @@ "isLValue": false, | ||
"hexValue": "30", | ||
"id": 2090, | ||
"id": 2037, | ||
"isConstant": false, | ||
@@ -271,14 +271,14 @@ "isLValue": false, | ||
], | ||
"id": 2089, | ||
"id": 2036, | ||
"name": "ERC1155TokenReceiver", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2104, | ||
"referencedDeclaration": 2051, | ||
"src": "263:20:3", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_type$_t_contract$_ERC1155TokenReceiver_$2104_$", | ||
"typeIdentifier": "t_type$_t_contract$_ERC1155TokenReceiver_$2051_$", | ||
"typeString": "type(contract ERC1155TokenReceiver)" | ||
} | ||
}, | ||
"id": 2091, | ||
"id": 2038, | ||
"isConstant": false, | ||
@@ -293,7 +293,7 @@ "isLValue": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_ERC1155TokenReceiver_$2104", | ||
"typeIdentifier": "t_contract$_ERC1155TokenReceiver_$2051", | ||
"typeString": "contract ERC1155TokenReceiver" | ||
} | ||
}, | ||
"id": 2092, | ||
"id": 2039, | ||
"isConstant": false, | ||
@@ -305,3 +305,3 @@ "isLValue": false, | ||
"nodeType": "MemberAccess", | ||
"referencedDeclaration": 2235, | ||
"referencedDeclaration": 2182, | ||
"src": "263:41:3", | ||
@@ -313,3 +313,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2093, | ||
"id": 2040, | ||
"isConstant": false, | ||
@@ -340,3 +340,3 @@ "isLValue": false, | ||
"hexValue": "30", | ||
"id": 2095, | ||
"id": 2042, | ||
"isConstant": false, | ||
@@ -364,14 +364,14 @@ "isLValue": false, | ||
], | ||
"id": 2094, | ||
"id": 2041, | ||
"name": "ERC1155TokenReceiver", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2104, | ||
"referencedDeclaration": 2051, | ||
"src": "328:20:3", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_type$_t_contract$_ERC1155TokenReceiver_$2104_$", | ||
"typeIdentifier": "t_type$_t_contract$_ERC1155TokenReceiver_$2051_$", | ||
"typeString": "type(contract ERC1155TokenReceiver)" | ||
} | ||
}, | ||
"id": 2096, | ||
"id": 2043, | ||
"isConstant": false, | ||
@@ -386,7 +386,7 @@ "isLValue": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_ERC1155TokenReceiver_$2104", | ||
"typeIdentifier": "t_contract$_ERC1155TokenReceiver_$2051", | ||
"typeString": "contract ERC1155TokenReceiver" | ||
} | ||
}, | ||
"id": 2097, | ||
"id": 2044, | ||
"isConstant": false, | ||
@@ -398,3 +398,3 @@ "isLValue": false, | ||
"nodeType": "MemberAccess", | ||
"referencedDeclaration": 2252, | ||
"referencedDeclaration": 2199, | ||
"src": "328:46:3", | ||
@@ -406,3 +406,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2098, | ||
"id": 2045, | ||
"isConstant": false, | ||
@@ -435,7 +435,7 @@ "isLValue": false, | ||
], | ||
"id": 2088, | ||
"id": 2035, | ||
"name": "_registerInterface", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2361, | ||
"referencedDeclaration": 2308, | ||
"src": "231:18:3", | ||
@@ -447,3 +447,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2100, | ||
"id": 2047, | ||
"isConstant": false, | ||
@@ -462,3 +462,3 @@ "isLValue": false, | ||
}, | ||
"id": 2101, | ||
"id": 2048, | ||
"nodeType": "ExpressionStatement", | ||
@@ -470,3 +470,3 @@ "src": "231:162:3" | ||
"documentation": null, | ||
"id": 2103, | ||
"id": 2050, | ||
"implemented": true, | ||
@@ -478,3 +478,3 @@ "kind": "constructor", | ||
"parameters": { | ||
"id": 2086, | ||
"id": 2033, | ||
"nodeType": "ParameterList", | ||
@@ -485,3 +485,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 2087, | ||
"id": 2034, | ||
"nodeType": "ParameterList", | ||
@@ -491,3 +491,3 @@ "parameters": [], | ||
}, | ||
"scope": 2104, | ||
"scope": 2051, | ||
"src": "200:200:3", | ||
@@ -499,3 +499,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2105, | ||
"scope": 2052, | ||
"src": "131:271:3" | ||
@@ -510,10 +510,10 @@ } | ||
"ERC1155TokenReceiver": [ | ||
2104 | ||
2051 | ||
] | ||
}, | ||
"id": 2105, | ||
"id": 2052, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2079, | ||
"id": 2026, | ||
"literals": [ | ||
@@ -531,6 +531,6 @@ "solidity", | ||
"file": "./IERC1155TokenReceiver.sol", | ||
"id": 2080, | ||
"id": 2027, | ||
"nodeType": "ImportDirective", | ||
"scope": 2105, | ||
"sourceUnit": 2254, | ||
"scope": 2052, | ||
"sourceUnit": 2201, | ||
"src": "25:37:3", | ||
@@ -543,6 +543,6 @@ "symbolAliases": [], | ||
"file": "openzeppelin-solidity/contracts/introspection/ERC165.sol", | ||
"id": 2081, | ||
"id": 2028, | ||
"nodeType": "ImportDirective", | ||
"scope": 2105, | ||
"sourceUnit": 2363, | ||
"scope": 2052, | ||
"sourceUnit": 2310, | ||
"src": "63:66:3", | ||
@@ -558,13 +558,13 @@ "symbolAliases": [], | ||
"contractScope": null, | ||
"id": 2082, | ||
"id": 2029, | ||
"name": "ERC165", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2362, | ||
"referencedDeclaration": 2309, | ||
"src": "164:6:3", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_ERC165_$2362", | ||
"typeIdentifier": "t_contract$_ERC165_$2309", | ||
"typeString": "contract ERC165" | ||
} | ||
}, | ||
"id": 2083, | ||
"id": 2030, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -577,13 +577,13 @@ "src": "164:6:3" | ||
"contractScope": null, | ||
"id": 2084, | ||
"id": 2031, | ||
"name": "IERC1155TokenReceiver", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2253, | ||
"referencedDeclaration": 2200, | ||
"src": "172:21:3", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC1155TokenReceiver_$2253", | ||
"typeIdentifier": "t_contract$_IERC1155TokenReceiver_$2200", | ||
"typeString": "contract IERC1155TokenReceiver" | ||
} | ||
}, | ||
"id": 2085, | ||
"id": 2032, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -594,5 +594,5 @@ "src": "172:21:3" | ||
"contractDependencies": [ | ||
2253, | ||
2362, | ||
2372 | ||
2200, | ||
2309, | ||
2319 | ||
], | ||
@@ -602,8 +602,8 @@ "contractKind": "contract", | ||
"fullyImplemented": false, | ||
"id": 2104, | ||
"id": 2051, | ||
"linearizedBaseContracts": [ | ||
2104, | ||
2253, | ||
2362, | ||
2372 | ||
2051, | ||
2200, | ||
2309, | ||
2319 | ||
], | ||
@@ -615,3 +615,3 @@ "name": "ERC1155TokenReceiver", | ||
"body": { | ||
"id": 2102, | ||
"id": 2049, | ||
"nodeType": "Block", | ||
@@ -630,3 +630,3 @@ "src": "221:179:3", | ||
}, | ||
"id": 2099, | ||
"id": 2046, | ||
"isConstant": false, | ||
@@ -646,3 +646,3 @@ "isLValue": false, | ||
"hexValue": "30", | ||
"id": 2090, | ||
"id": 2037, | ||
"isConstant": false, | ||
@@ -670,14 +670,14 @@ "isLValue": false, | ||
], | ||
"id": 2089, | ||
"id": 2036, | ||
"name": "ERC1155TokenReceiver", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2104, | ||
"referencedDeclaration": 2051, | ||
"src": "263:20:3", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_type$_t_contract$_ERC1155TokenReceiver_$2104_$", | ||
"typeIdentifier": "t_type$_t_contract$_ERC1155TokenReceiver_$2051_$", | ||
"typeString": "type(contract ERC1155TokenReceiver)" | ||
} | ||
}, | ||
"id": 2091, | ||
"id": 2038, | ||
"isConstant": false, | ||
@@ -692,7 +692,7 @@ "isLValue": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_ERC1155TokenReceiver_$2104", | ||
"typeIdentifier": "t_contract$_ERC1155TokenReceiver_$2051", | ||
"typeString": "contract ERC1155TokenReceiver" | ||
} | ||
}, | ||
"id": 2092, | ||
"id": 2039, | ||
"isConstant": false, | ||
@@ -704,3 +704,3 @@ "isLValue": false, | ||
"nodeType": "MemberAccess", | ||
"referencedDeclaration": 2235, | ||
"referencedDeclaration": 2182, | ||
"src": "263:41:3", | ||
@@ -712,3 +712,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2093, | ||
"id": 2040, | ||
"isConstant": false, | ||
@@ -739,3 +739,3 @@ "isLValue": false, | ||
"hexValue": "30", | ||
"id": 2095, | ||
"id": 2042, | ||
"isConstant": false, | ||
@@ -763,14 +763,14 @@ "isLValue": false, | ||
], | ||
"id": 2094, | ||
"id": 2041, | ||
"name": "ERC1155TokenReceiver", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2104, | ||
"referencedDeclaration": 2051, | ||
"src": "328:20:3", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_type$_t_contract$_ERC1155TokenReceiver_$2104_$", | ||
"typeIdentifier": "t_type$_t_contract$_ERC1155TokenReceiver_$2051_$", | ||
"typeString": "type(contract ERC1155TokenReceiver)" | ||
} | ||
}, | ||
"id": 2096, | ||
"id": 2043, | ||
"isConstant": false, | ||
@@ -785,7 +785,7 @@ "isLValue": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_ERC1155TokenReceiver_$2104", | ||
"typeIdentifier": "t_contract$_ERC1155TokenReceiver_$2051", | ||
"typeString": "contract ERC1155TokenReceiver" | ||
} | ||
}, | ||
"id": 2097, | ||
"id": 2044, | ||
"isConstant": false, | ||
@@ -797,3 +797,3 @@ "isLValue": false, | ||
"nodeType": "MemberAccess", | ||
"referencedDeclaration": 2252, | ||
"referencedDeclaration": 2199, | ||
"src": "328:46:3", | ||
@@ -805,3 +805,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2098, | ||
"id": 2045, | ||
"isConstant": false, | ||
@@ -834,7 +834,7 @@ "isLValue": false, | ||
], | ||
"id": 2088, | ||
"id": 2035, | ||
"name": "_registerInterface", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2361, | ||
"referencedDeclaration": 2308, | ||
"src": "231:18:3", | ||
@@ -846,3 +846,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2100, | ||
"id": 2047, | ||
"isConstant": false, | ||
@@ -861,3 +861,3 @@ "isLValue": false, | ||
}, | ||
"id": 2101, | ||
"id": 2048, | ||
"nodeType": "ExpressionStatement", | ||
@@ -869,3 +869,3 @@ "src": "231:162:3" | ||
"documentation": null, | ||
"id": 2103, | ||
"id": 2050, | ||
"implemented": true, | ||
@@ -877,3 +877,3 @@ "kind": "constructor", | ||
"parameters": { | ||
"id": 2086, | ||
"id": 2033, | ||
"nodeType": "ParameterList", | ||
@@ -884,3 +884,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 2087, | ||
"id": 2034, | ||
"nodeType": "ParameterList", | ||
@@ -890,3 +890,3 @@ "parameters": [], | ||
}, | ||
"scope": 2104, | ||
"scope": 2051, | ||
"src": "200:200:3", | ||
@@ -898,3 +898,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2105, | ||
"scope": 2052, | ||
"src": "131:271:3" | ||
@@ -910,4 +910,4 @@ } | ||
"networks": {}, | ||
"schemaVersion": "3.0.11", | ||
"updatedAt": "2019-08-28T15:50:55.587Z", | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-09-13T16:35:28.220Z", | ||
"devdoc": { | ||
@@ -914,0 +914,0 @@ "methods": { |
@@ -41,10 +41,10 @@ { | ||
"ERC165": [ | ||
2362 | ||
2309 | ||
] | ||
}, | ||
"id": 2363, | ||
"id": 2310, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2312, | ||
"id": 2259, | ||
"literals": [ | ||
@@ -62,6 +62,6 @@ "solidity", | ||
"file": "./IERC165.sol", | ||
"id": 2313, | ||
"id": 2260, | ||
"nodeType": "ImportDirective", | ||
"scope": 2363, | ||
"sourceUnit": 2373, | ||
"scope": 2310, | ||
"sourceUnit": 2320, | ||
"src": "25:23:7", | ||
@@ -77,13 +77,13 @@ "symbolAliases": [], | ||
"contractScope": null, | ||
"id": 2314, | ||
"id": 2261, | ||
"name": "IERC165", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2372, | ||
"referencedDeclaration": 2319, | ||
"src": "241:7:7", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC165_$2372", | ||
"typeIdentifier": "t_contract$_IERC165_$2319", | ||
"typeString": "contract IERC165" | ||
} | ||
}, | ||
"id": 2315, | ||
"id": 2262, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -94,3 +94,3 @@ "src": "241:7:7" | ||
"contractDependencies": [ | ||
2372 | ||
2319 | ||
], | ||
@@ -100,6 +100,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 2362, | ||
"id": 2309, | ||
"linearizedBaseContracts": [ | ||
2362, | ||
2372 | ||
2309, | ||
2319 | ||
], | ||
@@ -111,6 +111,6 @@ "name": "ERC165", | ||
"constant": true, | ||
"id": 2318, | ||
"id": 2265, | ||
"name": "_INTERFACE_ID_ERC165", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2362, | ||
"scope": 2309, | ||
"src": "338:57:7", | ||
@@ -124,3 +124,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2316, | ||
"id": 2263, | ||
"name": "bytes4", | ||
@@ -137,3 +137,3 @@ "nodeType": "ElementaryTypeName", | ||
"hexValue": "30783031666663396137", | ||
"id": 2317, | ||
"id": 2264, | ||
"isConstant": false, | ||
@@ -157,6 +157,6 @@ "isLValue": false, | ||
"constant": false, | ||
"id": 2322, | ||
"id": 2269, | ||
"name": "_supportedInterfaces", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2362, | ||
"scope": 2309, | ||
"src": "489:52:7", | ||
@@ -170,5 +170,5 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2321, | ||
"id": 2268, | ||
"keyType": { | ||
"id": 2319, | ||
"id": 2266, | ||
"name": "bytes4", | ||
@@ -189,3 +189,3 @@ "nodeType": "ElementaryTypeName", | ||
"valueType": { | ||
"id": 2320, | ||
"id": 2267, | ||
"name": "bool", | ||
@@ -205,3 +205,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 2329, | ||
"id": 2276, | ||
"nodeType": "Block", | ||
@@ -216,7 +216,7 @@ "src": "572:193:7", | ||
"argumentTypes": null, | ||
"id": 2326, | ||
"id": 2273, | ||
"name": "_INTERFACE_ID_ERC165", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2318, | ||
"referencedDeclaration": 2265, | ||
"src": "737:20:7", | ||
@@ -236,7 +236,7 @@ "typeDescriptions": { | ||
], | ||
"id": 2325, | ||
"id": 2272, | ||
"name": "_registerInterface", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2361, | ||
"referencedDeclaration": 2308, | ||
"src": "718:18:7", | ||
@@ -248,3 +248,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2327, | ||
"id": 2274, | ||
"isConstant": false, | ||
@@ -263,3 +263,3 @@ "isLValue": false, | ||
}, | ||
"id": 2328, | ||
"id": 2275, | ||
"nodeType": "ExpressionStatement", | ||
@@ -271,3 +271,3 @@ "src": "718:40:7" | ||
"documentation": null, | ||
"id": 2330, | ||
"id": 2277, | ||
"implemented": true, | ||
@@ -279,3 +279,3 @@ "kind": "constructor", | ||
"parameters": { | ||
"id": 2323, | ||
"id": 2270, | ||
"nodeType": "ParameterList", | ||
@@ -286,3 +286,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 2324, | ||
"id": 2271, | ||
"nodeType": "ParameterList", | ||
@@ -292,3 +292,3 @@ "parameters": [], | ||
}, | ||
"scope": 2362, | ||
"scope": 2309, | ||
"src": "548:217:7", | ||
@@ -301,3 +301,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 2341, | ||
"id": 2288, | ||
"nodeType": "Block", | ||
@@ -311,7 +311,7 @@ "src": "991:57:7", | ||
"argumentTypes": null, | ||
"id": 2337, | ||
"id": 2284, | ||
"name": "_supportedInterfaces", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2322, | ||
"referencedDeclaration": 2269, | ||
"src": "1008:20:7", | ||
@@ -323,10 +323,10 @@ "typeDescriptions": { | ||
}, | ||
"id": 2339, | ||
"id": 2286, | ||
"indexExpression": { | ||
"argumentTypes": null, | ||
"id": 2338, | ||
"id": 2285, | ||
"name": "interfaceId", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2332, | ||
"referencedDeclaration": 2279, | ||
"src": "1029:11:7", | ||
@@ -349,4 +349,4 @@ "typeDescriptions": { | ||
}, | ||
"functionReturnParameters": 2336, | ||
"id": 2340, | ||
"functionReturnParameters": 2283, | ||
"id": 2287, | ||
"nodeType": "Return", | ||
@@ -358,3 +358,3 @@ "src": "1001:40:7" | ||
"documentation": "@dev See `IERC165.supportsInterface`.\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.", | ||
"id": 2342, | ||
"id": 2289, | ||
"implemented": true, | ||
@@ -366,3 +366,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2333, | ||
"id": 2280, | ||
"nodeType": "ParameterList", | ||
@@ -372,6 +372,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2332, | ||
"id": 2279, | ||
"name": "interfaceId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2342, | ||
"scope": 2289, | ||
"src": "942:18:7", | ||
@@ -385,3 +385,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2331, | ||
"id": 2278, | ||
"name": "bytes4", | ||
@@ -402,3 +402,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2336, | ||
"id": 2283, | ||
"nodeType": "ParameterList", | ||
@@ -408,6 +408,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2335, | ||
"id": 2282, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2342, | ||
"scope": 2289, | ||
"src": "985:4:7", | ||
@@ -421,3 +421,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2334, | ||
"id": 2281, | ||
"name": "bool", | ||
@@ -437,6 +437,6 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 2362, | ||
"scope": 2309, | ||
"src": "915:133:7", | ||
"stateMutability": "view", | ||
"superFunction": 2371, | ||
"superFunction": 2318, | ||
"visibility": "external" | ||
@@ -446,3 +446,3 @@ }, | ||
"body": { | ||
"id": 2360, | ||
"id": 2307, | ||
"nodeType": "Block", | ||
@@ -461,3 +461,3 @@ "src": "1499:133:7", | ||
}, | ||
"id": 2350, | ||
"id": 2297, | ||
"isConstant": false, | ||
@@ -469,7 +469,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2348, | ||
"id": 2295, | ||
"name": "interfaceId", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2344, | ||
"referencedDeclaration": 2291, | ||
"src": "1517:11:7", | ||
@@ -486,3 +486,3 @@ "typeDescriptions": { | ||
"hexValue": "30786666666666666666", | ||
"id": 2349, | ||
"id": 2296, | ||
"isConstant": false, | ||
@@ -511,3 +511,3 @@ "isLValue": false, | ||
"hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", | ||
"id": 2351, | ||
"id": 2298, | ||
"isConstant": false, | ||
@@ -539,10 +539,10 @@ "isLValue": false, | ||
], | ||
"id": 2347, | ||
"id": 2294, | ||
"name": "require", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [ | ||
2611, | ||
2612 | ||
2558, | ||
2559 | ||
], | ||
"referencedDeclaration": 2612, | ||
"referencedDeclaration": 2559, | ||
"src": "1509:7:7", | ||
@@ -554,3 +554,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2352, | ||
"id": 2299, | ||
"isConstant": false, | ||
@@ -569,3 +569,3 @@ "isLValue": false, | ||
}, | ||
"id": 2353, | ||
"id": 2300, | ||
"nodeType": "ExpressionStatement", | ||
@@ -577,3 +577,3 @@ "src": "1509:66:7" | ||
"argumentTypes": null, | ||
"id": 2358, | ||
"id": 2305, | ||
"isConstant": false, | ||
@@ -587,7 +587,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2354, | ||
"id": 2301, | ||
"name": "_supportedInterfaces", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2322, | ||
"referencedDeclaration": 2269, | ||
"src": "1585:20:7", | ||
@@ -599,10 +599,10 @@ "typeDescriptions": { | ||
}, | ||
"id": 2356, | ||
"id": 2303, | ||
"indexExpression": { | ||
"argumentTypes": null, | ||
"id": 2355, | ||
"id": 2302, | ||
"name": "interfaceId", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2344, | ||
"referencedDeclaration": 2291, | ||
"src": "1606:11:7", | ||
@@ -630,3 +630,3 @@ "typeDescriptions": { | ||
"hexValue": "74727565", | ||
"id": 2357, | ||
"id": 2304, | ||
"isConstant": false, | ||
@@ -652,3 +652,3 @@ "isLValue": false, | ||
}, | ||
"id": 2359, | ||
"id": 2306, | ||
"nodeType": "ExpressionStatement", | ||
@@ -660,3 +660,3 @@ "src": "1585:40:7" | ||
"documentation": "@dev Registers the contract as an implementer of the interface defined by\n`interfaceId`. Support of the actual ERC165 interface is automatic and\nregistering its interface id is not required.\n * See `IERC165.supportsInterface`.\n * Requirements:\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).", | ||
"id": 2361, | ||
"id": 2308, | ||
"implemented": true, | ||
@@ -668,3 +668,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2345, | ||
"id": 2292, | ||
"nodeType": "ParameterList", | ||
@@ -674,6 +674,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2344, | ||
"id": 2291, | ||
"name": "interfaceId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2361, | ||
"scope": 2308, | ||
"src": "1470:18:7", | ||
@@ -687,3 +687,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2343, | ||
"id": 2290, | ||
"name": "bytes4", | ||
@@ -704,3 +704,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2346, | ||
"id": 2293, | ||
"nodeType": "ParameterList", | ||
@@ -710,3 +710,3 @@ "parameters": [], | ||
}, | ||
"scope": 2362, | ||
"scope": 2309, | ||
"src": "1442:190:7", | ||
@@ -718,3 +718,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2363, | ||
"scope": 2310, | ||
"src": "222:1412:7" | ||
@@ -729,10 +729,10 @@ } | ||
"ERC165": [ | ||
2362 | ||
2309 | ||
] | ||
}, | ||
"id": 2363, | ||
"id": 2310, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2312, | ||
"id": 2259, | ||
"literals": [ | ||
@@ -750,6 +750,6 @@ "solidity", | ||
"file": "./IERC165.sol", | ||
"id": 2313, | ||
"id": 2260, | ||
"nodeType": "ImportDirective", | ||
"scope": 2363, | ||
"sourceUnit": 2373, | ||
"scope": 2310, | ||
"sourceUnit": 2320, | ||
"src": "25:23:7", | ||
@@ -765,13 +765,13 @@ "symbolAliases": [], | ||
"contractScope": null, | ||
"id": 2314, | ||
"id": 2261, | ||
"name": "IERC165", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2372, | ||
"referencedDeclaration": 2319, | ||
"src": "241:7:7", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC165_$2372", | ||
"typeIdentifier": "t_contract$_IERC165_$2319", | ||
"typeString": "contract IERC165" | ||
} | ||
}, | ||
"id": 2315, | ||
"id": 2262, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -782,3 +782,3 @@ "src": "241:7:7" | ||
"contractDependencies": [ | ||
2372 | ||
2319 | ||
], | ||
@@ -788,6 +788,6 @@ "contractKind": "contract", | ||
"fullyImplemented": true, | ||
"id": 2362, | ||
"id": 2309, | ||
"linearizedBaseContracts": [ | ||
2362, | ||
2372 | ||
2309, | ||
2319 | ||
], | ||
@@ -799,6 +799,6 @@ "name": "ERC165", | ||
"constant": true, | ||
"id": 2318, | ||
"id": 2265, | ||
"name": "_INTERFACE_ID_ERC165", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2362, | ||
"scope": 2309, | ||
"src": "338:57:7", | ||
@@ -812,3 +812,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2316, | ||
"id": 2263, | ||
"name": "bytes4", | ||
@@ -825,3 +825,3 @@ "nodeType": "ElementaryTypeName", | ||
"hexValue": "30783031666663396137", | ||
"id": 2317, | ||
"id": 2264, | ||
"isConstant": false, | ||
@@ -845,6 +845,6 @@ "isLValue": false, | ||
"constant": false, | ||
"id": 2322, | ||
"id": 2269, | ||
"name": "_supportedInterfaces", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2362, | ||
"scope": 2309, | ||
"src": "489:52:7", | ||
@@ -858,5 +858,5 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2321, | ||
"id": 2268, | ||
"keyType": { | ||
"id": 2319, | ||
"id": 2266, | ||
"name": "bytes4", | ||
@@ -877,3 +877,3 @@ "nodeType": "ElementaryTypeName", | ||
"valueType": { | ||
"id": 2320, | ||
"id": 2267, | ||
"name": "bool", | ||
@@ -893,3 +893,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 2329, | ||
"id": 2276, | ||
"nodeType": "Block", | ||
@@ -904,7 +904,7 @@ "src": "572:193:7", | ||
"argumentTypes": null, | ||
"id": 2326, | ||
"id": 2273, | ||
"name": "_INTERFACE_ID_ERC165", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2318, | ||
"referencedDeclaration": 2265, | ||
"src": "737:20:7", | ||
@@ -924,7 +924,7 @@ "typeDescriptions": { | ||
], | ||
"id": 2325, | ||
"id": 2272, | ||
"name": "_registerInterface", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2361, | ||
"referencedDeclaration": 2308, | ||
"src": "718:18:7", | ||
@@ -936,3 +936,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2327, | ||
"id": 2274, | ||
"isConstant": false, | ||
@@ -951,3 +951,3 @@ "isLValue": false, | ||
}, | ||
"id": 2328, | ||
"id": 2275, | ||
"nodeType": "ExpressionStatement", | ||
@@ -959,3 +959,3 @@ "src": "718:40:7" | ||
"documentation": null, | ||
"id": 2330, | ||
"id": 2277, | ||
"implemented": true, | ||
@@ -967,3 +967,3 @@ "kind": "constructor", | ||
"parameters": { | ||
"id": 2323, | ||
"id": 2270, | ||
"nodeType": "ParameterList", | ||
@@ -974,3 +974,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 2324, | ||
"id": 2271, | ||
"nodeType": "ParameterList", | ||
@@ -980,3 +980,3 @@ "parameters": [], | ||
}, | ||
"scope": 2362, | ||
"scope": 2309, | ||
"src": "548:217:7", | ||
@@ -989,3 +989,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 2341, | ||
"id": 2288, | ||
"nodeType": "Block", | ||
@@ -999,7 +999,7 @@ "src": "991:57:7", | ||
"argumentTypes": null, | ||
"id": 2337, | ||
"id": 2284, | ||
"name": "_supportedInterfaces", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2322, | ||
"referencedDeclaration": 2269, | ||
"src": "1008:20:7", | ||
@@ -1011,10 +1011,10 @@ "typeDescriptions": { | ||
}, | ||
"id": 2339, | ||
"id": 2286, | ||
"indexExpression": { | ||
"argumentTypes": null, | ||
"id": 2338, | ||
"id": 2285, | ||
"name": "interfaceId", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2332, | ||
"referencedDeclaration": 2279, | ||
"src": "1029:11:7", | ||
@@ -1037,4 +1037,4 @@ "typeDescriptions": { | ||
}, | ||
"functionReturnParameters": 2336, | ||
"id": 2340, | ||
"functionReturnParameters": 2283, | ||
"id": 2287, | ||
"nodeType": "Return", | ||
@@ -1046,3 +1046,3 @@ "src": "1001:40:7" | ||
"documentation": "@dev See `IERC165.supportsInterface`.\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.", | ||
"id": 2342, | ||
"id": 2289, | ||
"implemented": true, | ||
@@ -1054,3 +1054,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2333, | ||
"id": 2280, | ||
"nodeType": "ParameterList", | ||
@@ -1060,6 +1060,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2332, | ||
"id": 2279, | ||
"name": "interfaceId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2342, | ||
"scope": 2289, | ||
"src": "942:18:7", | ||
@@ -1073,3 +1073,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2331, | ||
"id": 2278, | ||
"name": "bytes4", | ||
@@ -1090,3 +1090,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2336, | ||
"id": 2283, | ||
"nodeType": "ParameterList", | ||
@@ -1096,6 +1096,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2335, | ||
"id": 2282, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2342, | ||
"scope": 2289, | ||
"src": "985:4:7", | ||
@@ -1109,3 +1109,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2334, | ||
"id": 2281, | ||
"name": "bool", | ||
@@ -1125,6 +1125,6 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 2362, | ||
"scope": 2309, | ||
"src": "915:133:7", | ||
"stateMutability": "view", | ||
"superFunction": 2371, | ||
"superFunction": 2318, | ||
"visibility": "external" | ||
@@ -1134,3 +1134,3 @@ }, | ||
"body": { | ||
"id": 2360, | ||
"id": 2307, | ||
"nodeType": "Block", | ||
@@ -1149,3 +1149,3 @@ "src": "1499:133:7", | ||
}, | ||
"id": 2350, | ||
"id": 2297, | ||
"isConstant": false, | ||
@@ -1157,7 +1157,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2348, | ||
"id": 2295, | ||
"name": "interfaceId", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2344, | ||
"referencedDeclaration": 2291, | ||
"src": "1517:11:7", | ||
@@ -1174,3 +1174,3 @@ "typeDescriptions": { | ||
"hexValue": "30786666666666666666", | ||
"id": 2349, | ||
"id": 2296, | ||
"isConstant": false, | ||
@@ -1199,3 +1199,3 @@ "isLValue": false, | ||
"hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", | ||
"id": 2351, | ||
"id": 2298, | ||
"isConstant": false, | ||
@@ -1227,10 +1227,10 @@ "isLValue": false, | ||
], | ||
"id": 2347, | ||
"id": 2294, | ||
"name": "require", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [ | ||
2611, | ||
2612 | ||
2558, | ||
2559 | ||
], | ||
"referencedDeclaration": 2612, | ||
"referencedDeclaration": 2559, | ||
"src": "1509:7:7", | ||
@@ -1242,3 +1242,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2352, | ||
"id": 2299, | ||
"isConstant": false, | ||
@@ -1257,3 +1257,3 @@ "isLValue": false, | ||
}, | ||
"id": 2353, | ||
"id": 2300, | ||
"nodeType": "ExpressionStatement", | ||
@@ -1265,3 +1265,3 @@ "src": "1509:66:7" | ||
"argumentTypes": null, | ||
"id": 2358, | ||
"id": 2305, | ||
"isConstant": false, | ||
@@ -1275,7 +1275,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2354, | ||
"id": 2301, | ||
"name": "_supportedInterfaces", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2322, | ||
"referencedDeclaration": 2269, | ||
"src": "1585:20:7", | ||
@@ -1287,10 +1287,10 @@ "typeDescriptions": { | ||
}, | ||
"id": 2356, | ||
"id": 2303, | ||
"indexExpression": { | ||
"argumentTypes": null, | ||
"id": 2355, | ||
"id": 2302, | ||
"name": "interfaceId", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2344, | ||
"referencedDeclaration": 2291, | ||
"src": "1606:11:7", | ||
@@ -1318,3 +1318,3 @@ "typeDescriptions": { | ||
"hexValue": "74727565", | ||
"id": 2357, | ||
"id": 2304, | ||
"isConstant": false, | ||
@@ -1340,3 +1340,3 @@ "isLValue": false, | ||
}, | ||
"id": 2359, | ||
"id": 2306, | ||
"nodeType": "ExpressionStatement", | ||
@@ -1348,3 +1348,3 @@ "src": "1585:40:7" | ||
"documentation": "@dev Registers the contract as an implementer of the interface defined by\n`interfaceId`. Support of the actual ERC165 interface is automatic and\nregistering its interface id is not required.\n * See `IERC165.supportsInterface`.\n * Requirements:\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).", | ||
"id": 2361, | ||
"id": 2308, | ||
"implemented": true, | ||
@@ -1356,3 +1356,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2345, | ||
"id": 2292, | ||
"nodeType": "ParameterList", | ||
@@ -1362,6 +1362,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2344, | ||
"id": 2291, | ||
"name": "interfaceId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2361, | ||
"scope": 2308, | ||
"src": "1470:18:7", | ||
@@ -1375,3 +1375,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2343, | ||
"id": 2290, | ||
"name": "bytes4", | ||
@@ -1392,3 +1392,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2346, | ||
"id": 2293, | ||
"nodeType": "ParameterList", | ||
@@ -1398,3 +1398,3 @@ "parameters": [], | ||
}, | ||
"scope": 2362, | ||
"scope": 2309, | ||
"src": "1442:190:7", | ||
@@ -1406,3 +1406,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2363, | ||
"scope": 2310, | ||
"src": "222:1412:7" | ||
@@ -1418,4 +1418,4 @@ } | ||
"networks": {}, | ||
"schemaVersion": "3.0.11", | ||
"updatedAt": "2019-08-28T15:50:55.589Z", | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-09-13T16:35:28.222Z", | ||
"devdoc": { | ||
@@ -1422,0 +1422,0 @@ "details": "Implementation of the `IERC165` interface. * Contracts may inherit from this and call `_registerInterface` to declare their support of an interface.", |
@@ -105,10 +105,10 @@ { | ||
"IERC1155TokenReceiver": [ | ||
2253 | ||
2200 | ||
] | ||
}, | ||
"id": 2254, | ||
"id": 2201, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2217, | ||
"id": 2164, | ||
"literals": [ | ||
@@ -126,6 +126,6 @@ "solidity", | ||
"file": "openzeppelin-solidity/contracts/introspection/IERC165.sol", | ||
"id": 2218, | ||
"id": 2165, | ||
"nodeType": "ImportDirective", | ||
"scope": 2254, | ||
"sourceUnit": 2373, | ||
"scope": 2201, | ||
"sourceUnit": 2320, | ||
"src": "25:67:5", | ||
@@ -141,13 +141,13 @@ "symbolAliases": [], | ||
"contractScope": null, | ||
"id": 2219, | ||
"id": 2166, | ||
"name": "IERC165", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2372, | ||
"referencedDeclaration": 2319, | ||
"src": "239:7:5", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC165_$2372", | ||
"typeIdentifier": "t_contract$_IERC165_$2319", | ||
"typeString": "contract IERC165" | ||
} | ||
}, | ||
"id": 2220, | ||
"id": 2167, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -158,3 +158,3 @@ "src": "239:7:5" | ||
"contractDependencies": [ | ||
2372 | ||
2319 | ||
], | ||
@@ -164,6 +164,6 @@ "contractKind": "contract", | ||
"fullyImplemented": false, | ||
"id": 2253, | ||
"id": 2200, | ||
"linearizedBaseContracts": [ | ||
2253, | ||
2372 | ||
2200, | ||
2319 | ||
], | ||
@@ -176,3 +176,3 @@ "name": "IERC1155TokenReceiver", | ||
"documentation": "@dev Handles the receipt of a single ERC1155 token type. This function is\ncalled at the end of a `safeTransferFrom` after the balance has been updated.\nTo accept the transfer, this must return\n`bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))`\n(i.e. 0xf23a6e61, or its own function selector).\n@param operator The address which initiated the transfer (i.e. msg.sender)\n@param from The address which previously owned the token\n@param id The ID of the token being transferred\n@param value The amount of tokens being transferred\n@param data Additional data with no specified format\n@return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed", | ||
"id": 2235, | ||
"id": 2182, | ||
"implemented": false, | ||
@@ -184,3 +184,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2231, | ||
"id": 2178, | ||
"nodeType": "ParameterList", | ||
@@ -190,6 +190,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2222, | ||
"id": 2169, | ||
"name": "operator", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1111:16:5", | ||
@@ -203,3 +203,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2221, | ||
"id": 2168, | ||
"name": "address", | ||
@@ -219,6 +219,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2224, | ||
"id": 2171, | ||
"name": "from", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1137:12:5", | ||
@@ -232,3 +232,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2223, | ||
"id": 2170, | ||
"name": "address", | ||
@@ -248,6 +248,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2226, | ||
"id": 2173, | ||
"name": "id", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1159:10:5", | ||
@@ -261,3 +261,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2225, | ||
"id": 2172, | ||
"name": "uint256", | ||
@@ -276,6 +276,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2228, | ||
"id": 2175, | ||
"name": "value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1179:13:5", | ||
@@ -289,3 +289,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2227, | ||
"id": 2174, | ||
"name": "uint256", | ||
@@ -304,6 +304,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2230, | ||
"id": 2177, | ||
"name": "data", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1202:19:5", | ||
@@ -317,3 +317,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2229, | ||
"id": 2176, | ||
"name": "bytes", | ||
@@ -334,3 +334,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2234, | ||
"id": 2181, | ||
"nodeType": "ParameterList", | ||
@@ -340,6 +340,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2233, | ||
"id": 2180, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1261:6:5", | ||
@@ -353,3 +353,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2232, | ||
"id": 2179, | ||
"name": "bytes4", | ||
@@ -369,3 +369,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 2253, | ||
"scope": 2200, | ||
"src": "1075:194:5", | ||
@@ -379,3 +379,3 @@ "stateMutability": "nonpayable", | ||
"documentation": "@dev Handles the receipt of a multiple ERC1155 token types. This function\nis called at the end of a `safeBatchTransferFrom` after the balances have\nbeen updated. To accept the transfer(s), this must return\n`bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))`\n(i.e. 0xbc197c81, or its own function selector).\n@param operator The address which initiated the batch transfer (i.e. msg.sender)\n@param from The address which previously owned the token\n@param ids An array containing ids of each token being transferred (order and length must match values array)\n@param values An array containing amounts of each token being transferred (order and length must match ids array)\n@param data Additional data with no specified format\n@return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed", | ||
"id": 2252, | ||
"id": 2199, | ||
"implemented": false, | ||
@@ -387,3 +387,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2248, | ||
"id": 2195, | ||
"nodeType": "ParameterList", | ||
@@ -393,6 +393,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2237, | ||
"id": 2184, | ||
"name": "operator", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2298:16:5", | ||
@@ -406,3 +406,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2236, | ||
"id": 2183, | ||
"name": "address", | ||
@@ -422,6 +422,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2239, | ||
"id": 2186, | ||
"name": "from", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2324:12:5", | ||
@@ -435,3 +435,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2238, | ||
"id": 2185, | ||
"name": "address", | ||
@@ -451,6 +451,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2242, | ||
"id": 2189, | ||
"name": "ids", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2346:22:5", | ||
@@ -465,3 +465,3 @@ "stateVariable": false, | ||
"baseType": { | ||
"id": 2240, | ||
"id": 2187, | ||
"name": "uint256", | ||
@@ -475,3 +475,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"id": 2241, | ||
"id": 2188, | ||
"length": null, | ||
@@ -490,6 +490,6 @@ "nodeType": "ArrayTypeName", | ||
"constant": false, | ||
"id": 2245, | ||
"id": 2192, | ||
"name": "values", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2378:25:5", | ||
@@ -504,3 +504,3 @@ "stateVariable": false, | ||
"baseType": { | ||
"id": 2243, | ||
"id": 2190, | ||
"name": "uint256", | ||
@@ -514,3 +514,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"id": 2244, | ||
"id": 2191, | ||
"length": null, | ||
@@ -529,6 +529,6 @@ "nodeType": "ArrayTypeName", | ||
"constant": false, | ||
"id": 2247, | ||
"id": 2194, | ||
"name": "data", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2413:19:5", | ||
@@ -542,3 +542,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2246, | ||
"id": 2193, | ||
"name": "bytes", | ||
@@ -559,3 +559,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2251, | ||
"id": 2198, | ||
"nodeType": "ParameterList", | ||
@@ -565,6 +565,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2250, | ||
"id": 2197, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2472:6:5", | ||
@@ -578,3 +578,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2249, | ||
"id": 2196, | ||
"name": "bytes4", | ||
@@ -594,3 +594,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 2253, | ||
"scope": 2200, | ||
"src": "2257:223:5", | ||
@@ -602,3 +602,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2254, | ||
"scope": 2201, | ||
"src": "205:2277:5" | ||
@@ -613,10 +613,10 @@ } | ||
"IERC1155TokenReceiver": [ | ||
2253 | ||
2200 | ||
] | ||
}, | ||
"id": 2254, | ||
"id": 2201, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2217, | ||
"id": 2164, | ||
"literals": [ | ||
@@ -634,6 +634,6 @@ "solidity", | ||
"file": "openzeppelin-solidity/contracts/introspection/IERC165.sol", | ||
"id": 2218, | ||
"id": 2165, | ||
"nodeType": "ImportDirective", | ||
"scope": 2254, | ||
"sourceUnit": 2373, | ||
"scope": 2201, | ||
"sourceUnit": 2320, | ||
"src": "25:67:5", | ||
@@ -649,13 +649,13 @@ "symbolAliases": [], | ||
"contractScope": null, | ||
"id": 2219, | ||
"id": 2166, | ||
"name": "IERC165", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2372, | ||
"referencedDeclaration": 2319, | ||
"src": "239:7:5", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IERC165_$2372", | ||
"typeIdentifier": "t_contract$_IERC165_$2319", | ||
"typeString": "contract IERC165" | ||
} | ||
}, | ||
"id": 2220, | ||
"id": 2167, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -666,3 +666,3 @@ "src": "239:7:5" | ||
"contractDependencies": [ | ||
2372 | ||
2319 | ||
], | ||
@@ -672,6 +672,6 @@ "contractKind": "contract", | ||
"fullyImplemented": false, | ||
"id": 2253, | ||
"id": 2200, | ||
"linearizedBaseContracts": [ | ||
2253, | ||
2372 | ||
2200, | ||
2319 | ||
], | ||
@@ -684,3 +684,3 @@ "name": "IERC1155TokenReceiver", | ||
"documentation": "@dev Handles the receipt of a single ERC1155 token type. This function is\ncalled at the end of a `safeTransferFrom` after the balance has been updated.\nTo accept the transfer, this must return\n`bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))`\n(i.e. 0xf23a6e61, or its own function selector).\n@param operator The address which initiated the transfer (i.e. msg.sender)\n@param from The address which previously owned the token\n@param id The ID of the token being transferred\n@param value The amount of tokens being transferred\n@param data Additional data with no specified format\n@return `bytes4(keccak256(\"onERC1155Received(address,address,uint256,uint256,bytes)\"))` if transfer is allowed", | ||
"id": 2235, | ||
"id": 2182, | ||
"implemented": false, | ||
@@ -692,3 +692,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2231, | ||
"id": 2178, | ||
"nodeType": "ParameterList", | ||
@@ -698,6 +698,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2222, | ||
"id": 2169, | ||
"name": "operator", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1111:16:5", | ||
@@ -711,3 +711,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2221, | ||
"id": 2168, | ||
"name": "address", | ||
@@ -727,6 +727,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2224, | ||
"id": 2171, | ||
"name": "from", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1137:12:5", | ||
@@ -740,3 +740,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2223, | ||
"id": 2170, | ||
"name": "address", | ||
@@ -756,6 +756,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2226, | ||
"id": 2173, | ||
"name": "id", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1159:10:5", | ||
@@ -769,3 +769,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2225, | ||
"id": 2172, | ||
"name": "uint256", | ||
@@ -784,6 +784,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2228, | ||
"id": 2175, | ||
"name": "value", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1179:13:5", | ||
@@ -797,3 +797,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2227, | ||
"id": 2174, | ||
"name": "uint256", | ||
@@ -812,6 +812,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2230, | ||
"id": 2177, | ||
"name": "data", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1202:19:5", | ||
@@ -825,3 +825,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2229, | ||
"id": 2176, | ||
"name": "bytes", | ||
@@ -842,3 +842,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2234, | ||
"id": 2181, | ||
"nodeType": "ParameterList", | ||
@@ -848,6 +848,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2233, | ||
"id": 2180, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2235, | ||
"scope": 2182, | ||
"src": "1261:6:5", | ||
@@ -861,3 +861,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2232, | ||
"id": 2179, | ||
"name": "bytes4", | ||
@@ -877,3 +877,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 2253, | ||
"scope": 2200, | ||
"src": "1075:194:5", | ||
@@ -887,3 +887,3 @@ "stateMutability": "nonpayable", | ||
"documentation": "@dev Handles the receipt of a multiple ERC1155 token types. This function\nis called at the end of a `safeBatchTransferFrom` after the balances have\nbeen updated. To accept the transfer(s), this must return\n`bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))`\n(i.e. 0xbc197c81, or its own function selector).\n@param operator The address which initiated the batch transfer (i.e. msg.sender)\n@param from The address which previously owned the token\n@param ids An array containing ids of each token being transferred (order and length must match values array)\n@param values An array containing amounts of each token being transferred (order and length must match ids array)\n@param data Additional data with no specified format\n@return `bytes4(keccak256(\"onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)\"))` if transfer is allowed", | ||
"id": 2252, | ||
"id": 2199, | ||
"implemented": false, | ||
@@ -895,3 +895,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2248, | ||
"id": 2195, | ||
"nodeType": "ParameterList", | ||
@@ -901,6 +901,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2237, | ||
"id": 2184, | ||
"name": "operator", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2298:16:5", | ||
@@ -914,3 +914,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2236, | ||
"id": 2183, | ||
"name": "address", | ||
@@ -930,6 +930,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2239, | ||
"id": 2186, | ||
"name": "from", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2324:12:5", | ||
@@ -943,3 +943,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2238, | ||
"id": 2185, | ||
"name": "address", | ||
@@ -959,6 +959,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2242, | ||
"id": 2189, | ||
"name": "ids", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2346:22:5", | ||
@@ -973,3 +973,3 @@ "stateVariable": false, | ||
"baseType": { | ||
"id": 2240, | ||
"id": 2187, | ||
"name": "uint256", | ||
@@ -983,3 +983,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"id": 2241, | ||
"id": 2188, | ||
"length": null, | ||
@@ -998,6 +998,6 @@ "nodeType": "ArrayTypeName", | ||
"constant": false, | ||
"id": 2245, | ||
"id": 2192, | ||
"name": "values", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2378:25:5", | ||
@@ -1012,3 +1012,3 @@ "stateVariable": false, | ||
"baseType": { | ||
"id": 2243, | ||
"id": 2190, | ||
"name": "uint256", | ||
@@ -1022,3 +1022,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"id": 2244, | ||
"id": 2191, | ||
"length": null, | ||
@@ -1037,6 +1037,6 @@ "nodeType": "ArrayTypeName", | ||
"constant": false, | ||
"id": 2247, | ||
"id": 2194, | ||
"name": "data", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2413:19:5", | ||
@@ -1050,3 +1050,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2246, | ||
"id": 2193, | ||
"name": "bytes", | ||
@@ -1067,3 +1067,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2251, | ||
"id": 2198, | ||
"nodeType": "ParameterList", | ||
@@ -1073,6 +1073,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2250, | ||
"id": 2197, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2252, | ||
"scope": 2199, | ||
"src": "2472:6:5", | ||
@@ -1086,3 +1086,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2249, | ||
"id": 2196, | ||
"name": "bytes4", | ||
@@ -1102,3 +1102,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 2253, | ||
"scope": 2200, | ||
"src": "2257:223:5", | ||
@@ -1110,3 +1110,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2254, | ||
"scope": 2201, | ||
"src": "205:2277:5" | ||
@@ -1122,4 +1122,4 @@ } | ||
"networks": {}, | ||
"schemaVersion": "3.0.11", | ||
"updatedAt": "2019-08-28T15:50:55.588Z", | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-09-13T16:35:28.221Z", | ||
"devdoc": { | ||
@@ -1126,0 +1126,0 @@ "details": "See https://eips.ethereum.org/EIPS/eip-1155", |
@@ -35,10 +35,10 @@ { | ||
"IERC165": [ | ||
2372 | ||
2319 | ||
] | ||
}, | ||
"id": 2373, | ||
"id": 2320, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2364, | ||
"id": 2311, | ||
"literals": [ | ||
@@ -59,5 +59,5 @@ "solidity", | ||
"fullyImplemented": false, | ||
"id": 2372, | ||
"id": 2319, | ||
"linearizedBaseContracts": [ | ||
2372 | ||
2319 | ||
], | ||
@@ -70,3 +70,3 @@ "name": "IERC165", | ||
"documentation": "@dev Returns true if this contract implements the interface defined by\n`interfaceId`. See the corresponding\n[EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)\nto learn more about how these ids are created.\n * This function call must use less than 30 000 gas.", | ||
"id": 2371, | ||
"id": 2318, | ||
"implemented": false, | ||
@@ -78,3 +78,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2367, | ||
"id": 2314, | ||
"nodeType": "ParameterList", | ||
@@ -84,6 +84,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2366, | ||
"id": 2313, | ||
"name": "interfaceId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2371, | ||
"scope": 2318, | ||
"src": "705:18:8", | ||
@@ -97,3 +97,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2365, | ||
"id": 2312, | ||
"name": "bytes4", | ||
@@ -114,3 +114,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2370, | ||
"id": 2317, | ||
"nodeType": "ParameterList", | ||
@@ -120,6 +120,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2369, | ||
"id": 2316, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2371, | ||
"scope": 2318, | ||
"src": "748:4:8", | ||
@@ -133,3 +133,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2368, | ||
"id": 2315, | ||
"name": "bool", | ||
@@ -149,3 +149,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 2372, | ||
"scope": 2319, | ||
"src": "678:76:8", | ||
@@ -157,3 +157,3 @@ "stateMutability": "view", | ||
], | ||
"scope": 2373, | ||
"scope": 2320, | ||
"src": "307:449:8" | ||
@@ -168,10 +168,10 @@ } | ||
"IERC165": [ | ||
2372 | ||
2319 | ||
] | ||
}, | ||
"id": 2373, | ||
"id": 2320, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2364, | ||
"id": 2311, | ||
"literals": [ | ||
@@ -192,5 +192,5 @@ "solidity", | ||
"fullyImplemented": false, | ||
"id": 2372, | ||
"id": 2319, | ||
"linearizedBaseContracts": [ | ||
2372 | ||
2319 | ||
], | ||
@@ -203,3 +203,3 @@ "name": "IERC165", | ||
"documentation": "@dev Returns true if this contract implements the interface defined by\n`interfaceId`. See the corresponding\n[EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)\nto learn more about how these ids are created.\n * This function call must use less than 30 000 gas.", | ||
"id": 2371, | ||
"id": 2318, | ||
"implemented": false, | ||
@@ -211,3 +211,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 2367, | ||
"id": 2314, | ||
"nodeType": "ParameterList", | ||
@@ -217,6 +217,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2366, | ||
"id": 2313, | ||
"name": "interfaceId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2371, | ||
"scope": 2318, | ||
"src": "705:18:8", | ||
@@ -230,3 +230,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2365, | ||
"id": 2312, | ||
"name": "bytes4", | ||
@@ -247,3 +247,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2370, | ||
"id": 2317, | ||
"nodeType": "ParameterList", | ||
@@ -253,6 +253,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2369, | ||
"id": 2316, | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2371, | ||
"scope": 2318, | ||
"src": "748:4:8", | ||
@@ -266,3 +266,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2368, | ||
"id": 2315, | ||
"name": "bool", | ||
@@ -282,3 +282,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 2372, | ||
"scope": 2319, | ||
"src": "678:76:8", | ||
@@ -290,3 +290,3 @@ "stateMutability": "view", | ||
], | ||
"scope": 2373, | ||
"scope": 2320, | ||
"src": "307:449:8" | ||
@@ -302,4 +302,4 @@ } | ||
"networks": {}, | ||
"schemaVersion": "3.0.11", | ||
"updatedAt": "2019-08-28T15:50:55.590Z", | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-09-13T16:35:28.222Z", | ||
"devdoc": { | ||
@@ -306,0 +306,0 @@ "details": "Interface of the ERC165 standard, as defined in the [EIP](https://eips.ethereum.org/EIPS/eip-165). * Implementers can declare support of contract interfaces, which can then be queried by others (`ERC165Checker`). * For an implementation, see `ERC165`.", |
@@ -78,10 +78,10 @@ { | ||
"Migrations": [ | ||
2310 | ||
2257 | ||
] | ||
}, | ||
"id": 2311, | ||
"id": 2258, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2255, | ||
"id": 2202, | ||
"literals": [ | ||
@@ -102,5 +102,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 2310, | ||
"id": 2257, | ||
"linearizedBaseContracts": [ | ||
2310 | ||
2257 | ||
], | ||
@@ -112,6 +112,6 @@ "name": "Migrations", | ||
"constant": false, | ||
"id": 2257, | ||
"id": 2204, | ||
"name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2310, | ||
"scope": 2257, | ||
"src": "52:20:6", | ||
@@ -125,3 +125,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2256, | ||
"id": 2203, | ||
"name": "address", | ||
@@ -141,6 +141,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2259, | ||
"id": 2206, | ||
"name": "lastCompletedMigration", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2310, | ||
"scope": 2257, | ||
"src": "78:34:6", | ||
@@ -154,3 +154,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2258, | ||
"id": 2205, | ||
"name": "uint", | ||
@@ -169,3 +169,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 2267, | ||
"id": 2214, | ||
"nodeType": "Block", | ||
@@ -181,3 +181,3 @@ "src": "141:43:6", | ||
}, | ||
"id": 2264, | ||
"id": 2211, | ||
"isConstant": false, | ||
@@ -191,7 +191,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2261, | ||
"id": 2208, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2608, | ||
"referencedDeclaration": 2555, | ||
"src": "155:3:6", | ||
@@ -203,3 +203,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2262, | ||
"id": 2209, | ||
"isConstant": false, | ||
@@ -222,7 +222,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2263, | ||
"id": 2210, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2257, | ||
"referencedDeclaration": 2204, | ||
"src": "169:5:6", | ||
@@ -241,7 +241,7 @@ "typeDescriptions": { | ||
"falseBody": null, | ||
"id": 2266, | ||
"id": 2213, | ||
"nodeType": "IfStatement", | ||
"src": "151:26:6", | ||
"trueBody": { | ||
"id": 2265, | ||
"id": 2212, | ||
"nodeType": "PlaceholderStatement", | ||
@@ -254,7 +254,7 @@ "src": "176:1:6" | ||
"documentation": null, | ||
"id": 2268, | ||
"id": 2215, | ||
"name": "restricted", | ||
"nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 2260, | ||
"id": 2207, | ||
"nodeType": "ParameterList", | ||
@@ -269,3 +269,3 @@ "parameters": [], | ||
"body": { | ||
"id": 2276, | ||
"id": 2223, | ||
"nodeType": "Block", | ||
@@ -277,3 +277,3 @@ "src": "211:35:6", | ||
"argumentTypes": null, | ||
"id": 2274, | ||
"id": 2221, | ||
"isConstant": false, | ||
@@ -285,7 +285,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2271, | ||
"id": 2218, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2257, | ||
"referencedDeclaration": 2204, | ||
"src": "221:5:6", | ||
@@ -303,7 +303,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2272, | ||
"id": 2219, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2608, | ||
"referencedDeclaration": 2555, | ||
"src": "229:3:6", | ||
@@ -315,3 +315,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2273, | ||
"id": 2220, | ||
"isConstant": false, | ||
@@ -336,3 +336,3 @@ "isLValue": false, | ||
}, | ||
"id": 2275, | ||
"id": 2222, | ||
"nodeType": "ExpressionStatement", | ||
@@ -344,3 +344,3 @@ "src": "221:18:6" | ||
"documentation": null, | ||
"id": 2277, | ||
"id": 2224, | ||
"implemented": true, | ||
@@ -352,3 +352,3 @@ "kind": "constructor", | ||
"parameters": { | ||
"id": 2269, | ||
"id": 2216, | ||
"nodeType": "ParameterList", | ||
@@ -359,3 +359,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 2270, | ||
"id": 2217, | ||
"nodeType": "ParameterList", | ||
@@ -365,3 +365,3 @@ "parameters": [], | ||
}, | ||
"scope": 2310, | ||
"scope": 2257, | ||
"src": "190:56:6", | ||
@@ -374,3 +374,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 2288, | ||
"id": 2235, | ||
"nodeType": "Block", | ||
@@ -382,3 +382,3 @@ "src": "308:51:6", | ||
"argumentTypes": null, | ||
"id": 2286, | ||
"id": 2233, | ||
"isConstant": false, | ||
@@ -390,7 +390,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2284, | ||
"id": 2231, | ||
"name": "lastCompletedMigration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2259, | ||
"referencedDeclaration": 2206, | ||
"src": "318:22:6", | ||
@@ -406,7 +406,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2285, | ||
"id": 2232, | ||
"name": "completed", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2279, | ||
"referencedDeclaration": 2226, | ||
"src": "343:9:6", | ||
@@ -424,3 +424,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2287, | ||
"id": 2234, | ||
"nodeType": "ExpressionStatement", | ||
@@ -432,3 +432,3 @@ "src": "318:34:6" | ||
"documentation": null, | ||
"id": 2289, | ||
"id": 2236, | ||
"implemented": true, | ||
@@ -439,10 +439,10 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 2282, | ||
"id": 2229, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 2281, | ||
"id": 2228, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2268, | ||
"referencedDeclaration": 2215, | ||
"src": "297:10:6", | ||
@@ -461,3 +461,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 2280, | ||
"id": 2227, | ||
"nodeType": "ParameterList", | ||
@@ -467,6 +467,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2279, | ||
"id": 2226, | ||
"name": "completed", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2289, | ||
"scope": 2236, | ||
"src": "274:14:6", | ||
@@ -480,3 +480,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2278, | ||
"id": 2225, | ||
"name": "uint", | ||
@@ -497,3 +497,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2283, | ||
"id": 2230, | ||
"nodeType": "ParameterList", | ||
@@ -503,3 +503,3 @@ "parameters": [], | ||
}, | ||
"scope": 2310, | ||
"scope": 2257, | ||
"src": "252:107:6", | ||
@@ -512,3 +512,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 2308, | ||
"id": 2255, | ||
"nodeType": "Block", | ||
@@ -519,3 +519,3 @@ "src": "420:116:6", | ||
"assignments": [ | ||
2297 | ||
2244 | ||
], | ||
@@ -525,6 +525,6 @@ "declarations": [ | ||
"constant": false, | ||
"id": 2297, | ||
"id": 2244, | ||
"name": "upgraded", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2308, | ||
"scope": 2255, | ||
"src": "430:19:6", | ||
@@ -534,3 +534,3 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$2310", | ||
"typeIdentifier": "t_contract$_Migrations_$2257", | ||
"typeString": "contract Migrations" | ||
@@ -540,9 +540,9 @@ }, | ||
"contractScope": null, | ||
"id": 2296, | ||
"id": 2243, | ||
"name": "Migrations", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2310, | ||
"referencedDeclaration": 2257, | ||
"src": "430:10:6", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$2310", | ||
"typeIdentifier": "t_contract$_Migrations_$2257", | ||
"typeString": "contract Migrations" | ||
@@ -555,3 +555,3 @@ } | ||
], | ||
"id": 2301, | ||
"id": 2248, | ||
"initialValue": { | ||
@@ -562,7 +562,7 @@ "argumentTypes": null, | ||
"argumentTypes": null, | ||
"id": 2299, | ||
"id": 2246, | ||
"name": "newAddress", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2291, | ||
"referencedDeclaration": 2238, | ||
"src": "463:10:6", | ||
@@ -582,14 +582,14 @@ "typeDescriptions": { | ||
], | ||
"id": 2298, | ||
"id": 2245, | ||
"name": "Migrations", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2310, | ||
"referencedDeclaration": 2257, | ||
"src": "452:10:6", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_type$_t_contract$_Migrations_$2310_$", | ||
"typeIdentifier": "t_type$_t_contract$_Migrations_$2257_$", | ||
"typeString": "type(contract Migrations)" | ||
} | ||
}, | ||
"id": 2300, | ||
"id": 2247, | ||
"isConstant": false, | ||
@@ -604,3 +604,3 @@ "isLValue": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$2310", | ||
"typeIdentifier": "t_contract$_Migrations_$2257", | ||
"typeString": "contract Migrations" | ||
@@ -618,7 +618,7 @@ } | ||
"argumentTypes": null, | ||
"id": 2305, | ||
"id": 2252, | ||
"name": "lastCompletedMigration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2259, | ||
"referencedDeclaration": 2206, | ||
"src": "506:22:6", | ||
@@ -640,14 +640,14 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2302, | ||
"id": 2249, | ||
"name": "upgraded", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2297, | ||
"referencedDeclaration": 2244, | ||
"src": "484:8:6", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$2310", | ||
"typeIdentifier": "t_contract$_Migrations_$2257", | ||
"typeString": "contract Migrations" | ||
} | ||
}, | ||
"id": 2304, | ||
"id": 2251, | ||
"isConstant": false, | ||
@@ -659,3 +659,3 @@ "isLValue": false, | ||
"nodeType": "MemberAccess", | ||
"referencedDeclaration": 2289, | ||
"referencedDeclaration": 2236, | ||
"src": "484:21:6", | ||
@@ -667,3 +667,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2306, | ||
"id": 2253, | ||
"isConstant": false, | ||
@@ -682,3 +682,3 @@ "isLValue": false, | ||
}, | ||
"id": 2307, | ||
"id": 2254, | ||
"nodeType": "ExpressionStatement", | ||
@@ -690,3 +690,3 @@ "src": "484:45:6" | ||
"documentation": null, | ||
"id": 2309, | ||
"id": 2256, | ||
"implemented": true, | ||
@@ -697,10 +697,10 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 2294, | ||
"id": 2241, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 2293, | ||
"id": 2240, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2268, | ||
"referencedDeclaration": 2215, | ||
"src": "409:10:6", | ||
@@ -719,3 +719,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 2292, | ||
"id": 2239, | ||
"nodeType": "ParameterList", | ||
@@ -725,6 +725,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2291, | ||
"id": 2238, | ||
"name": "newAddress", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2309, | ||
"scope": 2256, | ||
"src": "382:18:6", | ||
@@ -738,3 +738,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2290, | ||
"id": 2237, | ||
"name": "address", | ||
@@ -756,3 +756,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2295, | ||
"id": 2242, | ||
"nodeType": "ParameterList", | ||
@@ -762,3 +762,3 @@ "parameters": [], | ||
}, | ||
"scope": 2310, | ||
"scope": 2257, | ||
"src": "365:171:6", | ||
@@ -770,3 +770,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2311, | ||
"scope": 2258, | ||
"src": "26:512:6" | ||
@@ -781,10 +781,10 @@ } | ||
"Migrations": [ | ||
2310 | ||
2257 | ||
] | ||
}, | ||
"id": 2311, | ||
"id": 2258, | ||
"nodeType": "SourceUnit", | ||
"nodes": [ | ||
{ | ||
"id": 2255, | ||
"id": 2202, | ||
"literals": [ | ||
@@ -805,5 +805,5 @@ "solidity", | ||
"fullyImplemented": true, | ||
"id": 2310, | ||
"id": 2257, | ||
"linearizedBaseContracts": [ | ||
2310 | ||
2257 | ||
], | ||
@@ -815,6 +815,6 @@ "name": "Migrations", | ||
"constant": false, | ||
"id": 2257, | ||
"id": 2204, | ||
"name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2310, | ||
"scope": 2257, | ||
"src": "52:20:6", | ||
@@ -828,3 +828,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2256, | ||
"id": 2203, | ||
"name": "address", | ||
@@ -844,6 +844,6 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 2259, | ||
"id": 2206, | ||
"name": "lastCompletedMigration", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2310, | ||
"scope": 2257, | ||
"src": "78:34:6", | ||
@@ -857,3 +857,3 @@ "stateVariable": true, | ||
"typeName": { | ||
"id": 2258, | ||
"id": 2205, | ||
"name": "uint", | ||
@@ -872,3 +872,3 @@ "nodeType": "ElementaryTypeName", | ||
"body": { | ||
"id": 2267, | ||
"id": 2214, | ||
"nodeType": "Block", | ||
@@ -884,3 +884,3 @@ "src": "141:43:6", | ||
}, | ||
"id": 2264, | ||
"id": 2211, | ||
"isConstant": false, | ||
@@ -894,7 +894,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2261, | ||
"id": 2208, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2608, | ||
"referencedDeclaration": 2555, | ||
"src": "155:3:6", | ||
@@ -906,3 +906,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2262, | ||
"id": 2209, | ||
"isConstant": false, | ||
@@ -925,7 +925,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2263, | ||
"id": 2210, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2257, | ||
"referencedDeclaration": 2204, | ||
"src": "169:5:6", | ||
@@ -944,7 +944,7 @@ "typeDescriptions": { | ||
"falseBody": null, | ||
"id": 2266, | ||
"id": 2213, | ||
"nodeType": "IfStatement", | ||
"src": "151:26:6", | ||
"trueBody": { | ||
"id": 2265, | ||
"id": 2212, | ||
"nodeType": "PlaceholderStatement", | ||
@@ -957,7 +957,7 @@ "src": "176:1:6" | ||
"documentation": null, | ||
"id": 2268, | ||
"id": 2215, | ||
"name": "restricted", | ||
"nodeType": "ModifierDefinition", | ||
"parameters": { | ||
"id": 2260, | ||
"id": 2207, | ||
"nodeType": "ParameterList", | ||
@@ -972,3 +972,3 @@ "parameters": [], | ||
"body": { | ||
"id": 2276, | ||
"id": 2223, | ||
"nodeType": "Block", | ||
@@ -980,3 +980,3 @@ "src": "211:35:6", | ||
"argumentTypes": null, | ||
"id": 2274, | ||
"id": 2221, | ||
"isConstant": false, | ||
@@ -988,7 +988,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2271, | ||
"id": 2218, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2257, | ||
"referencedDeclaration": 2204, | ||
"src": "221:5:6", | ||
@@ -1006,7 +1006,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2272, | ||
"id": 2219, | ||
"name": "msg", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2608, | ||
"referencedDeclaration": 2555, | ||
"src": "229:3:6", | ||
@@ -1018,3 +1018,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2273, | ||
"id": 2220, | ||
"isConstant": false, | ||
@@ -1039,3 +1039,3 @@ "isLValue": false, | ||
}, | ||
"id": 2275, | ||
"id": 2222, | ||
"nodeType": "ExpressionStatement", | ||
@@ -1047,3 +1047,3 @@ "src": "221:18:6" | ||
"documentation": null, | ||
"id": 2277, | ||
"id": 2224, | ||
"implemented": true, | ||
@@ -1055,3 +1055,3 @@ "kind": "constructor", | ||
"parameters": { | ||
"id": 2269, | ||
"id": 2216, | ||
"nodeType": "ParameterList", | ||
@@ -1062,3 +1062,3 @@ "parameters": [], | ||
"returnParameters": { | ||
"id": 2270, | ||
"id": 2217, | ||
"nodeType": "ParameterList", | ||
@@ -1068,3 +1068,3 @@ "parameters": [], | ||
}, | ||
"scope": 2310, | ||
"scope": 2257, | ||
"src": "190:56:6", | ||
@@ -1077,3 +1077,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 2288, | ||
"id": 2235, | ||
"nodeType": "Block", | ||
@@ -1085,3 +1085,3 @@ "src": "308:51:6", | ||
"argumentTypes": null, | ||
"id": 2286, | ||
"id": 2233, | ||
"isConstant": false, | ||
@@ -1093,7 +1093,7 @@ "isLValue": false, | ||
"argumentTypes": null, | ||
"id": 2284, | ||
"id": 2231, | ||
"name": "lastCompletedMigration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2259, | ||
"referencedDeclaration": 2206, | ||
"src": "318:22:6", | ||
@@ -1109,7 +1109,7 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2285, | ||
"id": 2232, | ||
"name": "completed", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2279, | ||
"referencedDeclaration": 2226, | ||
"src": "343:9:6", | ||
@@ -1127,3 +1127,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2287, | ||
"id": 2234, | ||
"nodeType": "ExpressionStatement", | ||
@@ -1135,3 +1135,3 @@ "src": "318:34:6" | ||
"documentation": null, | ||
"id": 2289, | ||
"id": 2236, | ||
"implemented": true, | ||
@@ -1142,10 +1142,10 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 2282, | ||
"id": 2229, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 2281, | ||
"id": 2228, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2268, | ||
"referencedDeclaration": 2215, | ||
"src": "297:10:6", | ||
@@ -1164,3 +1164,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 2280, | ||
"id": 2227, | ||
"nodeType": "ParameterList", | ||
@@ -1170,6 +1170,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2279, | ||
"id": 2226, | ||
"name": "completed", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2289, | ||
"scope": 2236, | ||
"src": "274:14:6", | ||
@@ -1183,3 +1183,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2278, | ||
"id": 2225, | ||
"name": "uint", | ||
@@ -1200,3 +1200,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2283, | ||
"id": 2230, | ||
"nodeType": "ParameterList", | ||
@@ -1206,3 +1206,3 @@ "parameters": [], | ||
}, | ||
"scope": 2310, | ||
"scope": 2257, | ||
"src": "252:107:6", | ||
@@ -1215,3 +1215,3 @@ "stateMutability": "nonpayable", | ||
"body": { | ||
"id": 2308, | ||
"id": 2255, | ||
"nodeType": "Block", | ||
@@ -1222,3 +1222,3 @@ "src": "420:116:6", | ||
"assignments": [ | ||
2297 | ||
2244 | ||
], | ||
@@ -1228,6 +1228,6 @@ "declarations": [ | ||
"constant": false, | ||
"id": 2297, | ||
"id": 2244, | ||
"name": "upgraded", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2308, | ||
"scope": 2255, | ||
"src": "430:19:6", | ||
@@ -1237,3 +1237,3 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$2310", | ||
"typeIdentifier": "t_contract$_Migrations_$2257", | ||
"typeString": "contract Migrations" | ||
@@ -1243,9 +1243,9 @@ }, | ||
"contractScope": null, | ||
"id": 2296, | ||
"id": 2243, | ||
"name": "Migrations", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 2310, | ||
"referencedDeclaration": 2257, | ||
"src": "430:10:6", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$2310", | ||
"typeIdentifier": "t_contract$_Migrations_$2257", | ||
"typeString": "contract Migrations" | ||
@@ -1258,3 +1258,3 @@ } | ||
], | ||
"id": 2301, | ||
"id": 2248, | ||
"initialValue": { | ||
@@ -1265,7 +1265,7 @@ "argumentTypes": null, | ||
"argumentTypes": null, | ||
"id": 2299, | ||
"id": 2246, | ||
"name": "newAddress", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2291, | ||
"referencedDeclaration": 2238, | ||
"src": "463:10:6", | ||
@@ -1285,14 +1285,14 @@ "typeDescriptions": { | ||
], | ||
"id": 2298, | ||
"id": 2245, | ||
"name": "Migrations", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2310, | ||
"referencedDeclaration": 2257, | ||
"src": "452:10:6", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_type$_t_contract$_Migrations_$2310_$", | ||
"typeIdentifier": "t_type$_t_contract$_Migrations_$2257_$", | ||
"typeString": "type(contract Migrations)" | ||
} | ||
}, | ||
"id": 2300, | ||
"id": 2247, | ||
"isConstant": false, | ||
@@ -1307,3 +1307,3 @@ "isLValue": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$2310", | ||
"typeIdentifier": "t_contract$_Migrations_$2257", | ||
"typeString": "contract Migrations" | ||
@@ -1321,7 +1321,7 @@ } | ||
"argumentTypes": null, | ||
"id": 2305, | ||
"id": 2252, | ||
"name": "lastCompletedMigration", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2259, | ||
"referencedDeclaration": 2206, | ||
"src": "506:22:6", | ||
@@ -1343,14 +1343,14 @@ "typeDescriptions": { | ||
"argumentTypes": null, | ||
"id": 2302, | ||
"id": 2249, | ||
"name": "upgraded", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2297, | ||
"referencedDeclaration": 2244, | ||
"src": "484:8:6", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_Migrations_$2310", | ||
"typeIdentifier": "t_contract$_Migrations_$2257", | ||
"typeString": "contract Migrations" | ||
} | ||
}, | ||
"id": 2304, | ||
"id": 2251, | ||
"isConstant": false, | ||
@@ -1362,3 +1362,3 @@ "isLValue": false, | ||
"nodeType": "MemberAccess", | ||
"referencedDeclaration": 2289, | ||
"referencedDeclaration": 2236, | ||
"src": "484:21:6", | ||
@@ -1370,3 +1370,3 @@ "typeDescriptions": { | ||
}, | ||
"id": 2306, | ||
"id": 2253, | ||
"isConstant": false, | ||
@@ -1385,3 +1385,3 @@ "isLValue": false, | ||
}, | ||
"id": 2307, | ||
"id": 2254, | ||
"nodeType": "ExpressionStatement", | ||
@@ -1393,3 +1393,3 @@ "src": "484:45:6" | ||
"documentation": null, | ||
"id": 2309, | ||
"id": 2256, | ||
"implemented": true, | ||
@@ -1400,10 +1400,10 @@ "kind": "function", | ||
"arguments": null, | ||
"id": 2294, | ||
"id": 2241, | ||
"modifierName": { | ||
"argumentTypes": null, | ||
"id": 2293, | ||
"id": 2240, | ||
"name": "restricted", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 2268, | ||
"referencedDeclaration": 2215, | ||
"src": "409:10:6", | ||
@@ -1422,3 +1422,3 @@ "typeDescriptions": { | ||
"parameters": { | ||
"id": 2292, | ||
"id": 2239, | ||
"nodeType": "ParameterList", | ||
@@ -1428,6 +1428,6 @@ "parameters": [ | ||
"constant": false, | ||
"id": 2291, | ||
"id": 2238, | ||
"name": "newAddress", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 2309, | ||
"scope": 2256, | ||
"src": "382:18:6", | ||
@@ -1441,3 +1441,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 2290, | ||
"id": 2237, | ||
"name": "address", | ||
@@ -1459,3 +1459,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 2295, | ||
"id": 2242, | ||
"nodeType": "ParameterList", | ||
@@ -1465,3 +1465,3 @@ "parameters": [], | ||
}, | ||
"scope": 2310, | ||
"scope": 2257, | ||
"src": "365:171:6", | ||
@@ -1473,3 +1473,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 2311, | ||
"scope": 2258, | ||
"src": "26:512:6" | ||
@@ -1485,4 +1485,4 @@ } | ||
"networks": {}, | ||
"schemaVersion": "3.0.11", | ||
"updatedAt": "2019-08-28T15:50:55.589Z", | ||
"schemaVersion": "3.0.16", | ||
"updatedAt": "2019-09-13T16:35:28.221Z", | ||
"devdoc": { | ||
@@ -1489,0 +1489,0 @@ "methods": {} |
{ | ||
"name": "@gnosis.pm/conditional-tokens-contracts", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Collection of smart contracts for the Gnosis prediction market platform", | ||
@@ -31,3 +31,3 @@ "scripts": { | ||
"devDependencies": { | ||
"@codechecks/client": "^0.1.5", | ||
"@codechecks/client": "^0.1.9", | ||
"@gnosis.pm/safe-contracts": "github:gnosis/safe-contracts", | ||
@@ -37,17 +37,17 @@ "@gnosis.pm/truffle-nice-tools": "^1.1.3", | ||
"chai-as-promised": "^7.1.1", | ||
"eslint": "^6.1.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint": "^6.3.0", | ||
"eslint-config-prettier": "^6.3.0", | ||
"eslint-plugin-prettier": "^3.1.0", | ||
"eth-gas-reporter": "^0.2.9", | ||
"eth-sig-util": "^2.3.0", | ||
"eth-gas-reporter": "^0.2.11", | ||
"eth-sig-util": "^2.4.4", | ||
"ethlint": "^1.2.4", | ||
"husky": "^3.0.2", | ||
"lint-staged": "^9.2.1", | ||
"husky": "^3.0.5", | ||
"lint-staged": "^9.2.5", | ||
"lodash": "^4.17.15", | ||
"npm-prepublish": "^1.2.3", | ||
"openzeppelin-test-helpers": "^0.4.2", | ||
"openzeppelin-test-helpers": "^0.4.3", | ||
"prettier": "1.18.2", | ||
"run-with-testrpc": "^0.3.1", | ||
"truffle": "^5.0.30", | ||
"web3": "^2.0.0-alpha" | ||
"truffle": "^5.0.36", | ||
"web3": "^2.0.0-alpha.1" | ||
}, | ||
@@ -54,0 +54,0 @@ "repository": { |
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 not supported yet
Sorry, the diff of this file is not supported yet
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
16311165
103634