diff --git a/README.md b/README.md index 5deb329..a6dc4f7 100644 --- a/README.md +++ b/README.md @@ -48,16 +48,23 @@ Compiling contracts contracts/status/sticker-market/README.md doesn't have a compatible contract compiler. Maybe a plugin exists for it. contracts/status/sticker-market/README.md doesn't have a compatible contract compiler. Maybe a plugin exists for it. StickerMarket - ✓ should register packs (1301ms) - [3592112 gas] - ✓ should categorize packs (870ms) - [810808 gas] - ✓ should uncategorize packs (901ms) - [288465 gas] - ✓ should mint packs (1792ms) - [3505648 gas] - ✓ should mint packs with approveAndCall (1747ms) - [3221506 gas] - ✓ should register pack with approveAndCall (451ms) - [936548 gas] - ✓ should purge packs (464ms) - [361631 gas] - ✓ should not mint a pack with price 0 (238ms) - [466792 gas] - ✓ should migrate registry (273ms) - [550475 gas] + ✓ should register packs (1120ms) - [3592664 gas] + ✓ should categorize packs (894ms) - [810984 gas] + ✓ should uncategorize packs (971ms) - [288564 gas] + ✓ should mint packs (1855ms) - [3842190 gas] + ✓ should mint packs with approveAndCall (1920ms) - [3589096 gas] + ✓ should register pack with approveAndCall (438ms) - [904022 gas] + ✓ should purge packs (474ms) - [361631 gas] + ✓ should not mint a pack with price 0 (275ms) - [466774 gas] + ✓ should change ownership of pack by user (122ms) - [302190 gas] + ✓ should change ownership of pack by controller (120ms) - [301833 gas] + ✓ should change price of pack by user (156ms) - [320666 gas] + ✓ should change price of pack by controller (119ms) - [335373 gas] + ✓ should change pack mintability by user (122ms) - [315775 gas] + ✓ should change pack mintability by controller (126ms) - [315418 gas] + ✓ should change pack contenthash by controller (186ms) - [320989 gas] + ✓ should migrate registry (292ms) - [596407 gas] - 9 passing (24s) - [Total: 30804644 gas] + 16 passing (10s) - [Total: 31234047 gas] ``` \ No newline at end of file diff --git a/crytic-export/contracts-embark.json b/crytic-export/contracts-embark.json index fbf242b..fed4c58 100644 --- a/crytic-export/contracts-embark.json +++ b/crytic-export/contracts-embark.json @@ -1,17 +1,17 @@ { "asts":{ - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Address.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Address.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Controlled.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Controlled.sol", "exportedSymbols": { - "Address": [ - 9100 + "Controlled": [ + 37 ] }, - "id": 9101, + "id": 38, "nodeType": "SourceUnit", "nodes": [ { - "id": 9083, + "id": 1, "literals": [ "solidity", ">=", @@ -27,242 +27,437 @@ { "baseContracts": [], "contractDependencies": [], - "contractKind": "library", - "documentation": "Utility library of inline functions on addresses\r", + "contractKind": "contract", + "documentation": null, "fullyImplemented": true, - "id": 9100, + "id": 37, "linearizedBaseContracts": [ - 9100 + 37 ], - "name": "Address", + "name": "Controlled", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 9098, + "id": 12, "nodeType": "Block", - "src": "550:569:0", + "src": "202:77:0", "statements": [ - { - "assignments": [ - 9091 - ], - "declarations": [ - { - "constant": false, - "id": 9091, - "name": "size", - "nodeType": "VariableDeclaration", - "scope": 9098, - "src": "561:12:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9090, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "561:7:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 9092, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "561:12:0" - }, - { - "externalReferences": [ - { - "size": { - "declaration": 9091, - "isOffset": false, - "isSlot": false, - "src": "1056:4:0", - "valueSize": 1 - } - }, - { - "account": { - "declaration": 9085, - "isOffset": false, - "isSlot": false, - "src": "1076:7:0", - "valueSize": 1 - } - } - ], - "id": 9093, - "nodeType": "InlineAssembly", - "operations": "{\n size := extcodesize(account)\n}", - "src": "1045:57:0" - }, { "expression": { "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "id": 7, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 4, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "220:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 5, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "220:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 6, + "name": "controller", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 15, + "src": "234:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "220:24:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "hexValue": "556e617574686f72697a6564", + "id": 8, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "246:14:0", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", + "typeString": "literal_string \"Unauthorized\"" + }, + "value": "Unauthorized" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", + "typeString": "literal_string \"Unauthorized\"" + } + ], + "id": 3, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5711, + "src": "212:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } }, - "id": 9096, + "id": 9, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "212:49:0", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 10, + "nodeType": "ExpressionStatement", + "src": "212:49:0" + }, + { + "id": 11, + "nodeType": "PlaceholderStatement", + "src": "271:1:0" + } + ] + }, + "documentation": "@notice The address of the controller is the only address that can call\n a function with this modifier", + "id": 13, + "name": "onlyController", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 2, + "nodeType": "ParameterList", + "parameters": [], + "src": "202:0:0" + }, + "src": "178:101:0", + "visibility": "internal" + }, + { + "constant": false, + "id": 15, + "name": "controller", + "nodeType": "VariableDeclaration", + "scope": 37, + "src": "285:33:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "typeName": { + "id": 14, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "285:15:0", + "stateMutability": "payable", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "value": null, + "visibility": "public" + }, + { + "body": { + "id": 23, + "nodeType": "Block", + "src": "348:40:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 21, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "leftExpression": { + "leftHandSide": { "argumentTypes": null, - "id": 9094, - "name": "size", + "id": 18, + "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9091, - "src": "1103:4:0", + "referencedDeclaration": 15, + "src": "358:10:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" } }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { "argumentTypes": null, - "hexValue": "30", - "id": 9095, + "expression": { + "argumentTypes": null, + "id": 19, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "371:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 20, "isConstant": false, "isLValue": false, - "isPure": true, - "kind": "number", + "isPure": false, "lValueRequested": false, - "nodeType": "Literal", - "src": "1110:1:0", - "subdenomination": null, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "371:10:0", "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } }, - "src": "1103:8:0", + "src": "358:23:0", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" } }, - "functionReturnParameters": 9089, - "id": 9097, - "nodeType": "Return", - "src": "1096:15:0" + "id": 22, + "nodeType": "ExpressionStatement", + "src": "358:23:0" } ] }, - "documentation": "Returns whether the target address is a contract\r\n@dev This function will return false if invoked during the constructor of a contract,\r\nas the code is not actually created until after the constructor finishes.\r\n@param account address of the account to check\r\n@return whether the target address is a contract\r", - "id": 9099, + "documentation": null, + "id": 24, "implemented": true, - "kind": "function", + "kind": "constructor", "modifiers": [], - "name": "isContract", + "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 9086, + "id": 16, "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9085, - "name": "account", - "nodeType": "VariableDeclaration", - "scope": 9099, - "src": "504:15:0", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9084, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "504:7:0", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "503:17:0" + "parameters": [], + "src": "336:2:0" }, "returnParameters": { - "id": 9089, + "id": 17, + "nodeType": "ParameterList", + "parameters": [], + "src": "348:0:0" + }, + "scope": 37, + "src": "325:63:0", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 35, + "nodeType": "Block", + "src": "594:44:0", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 33, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 31, + "name": "controller", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 15, + "src": "604:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 32, + "name": "_newController", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "617:14:0", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "604:27:0", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "id": 34, + "nodeType": "ExpressionStatement", + "src": "604:27:0" + } + ] + }, + "documentation": "@notice Changes the controller of the contract\n @param _newController The new controller of the contract", + "id": 36, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": null, + "id": 29, + "modifierName": { + "argumentTypes": null, + "id": 28, + "name": "onlyController", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 13, + "src": "579:14:0", + "typeDescriptions": { + "typeIdentifier": "t_modifier$__$", + "typeString": "modifier ()" + } + }, + "nodeType": "ModifierInvocation", + "src": "579:14:0" + } + ], + "name": "changeController", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 27, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 9088, - "name": "", + "id": 26, + "name": "_newController", "nodeType": "VariableDeclaration", - "scope": 9099, - "src": "544:4:0", + "scope": 36, + "src": "540:30:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" }, "typeName": { - "id": 9087, - "name": "bool", + "id": 25, + "name": "address", "nodeType": "ElementaryTypeName", - "src": "544:4:0", + "src": "540:15:0", + "stateMutability": "payable", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" } }, "value": null, "visibility": "internal" } ], - "src": "543:6:0" + "src": "539:32:0" }, - "scope": 9100, - "src": "484:635:0", - "stateMutability": "view", + "returnParameters": { + "id": 30, + "nodeType": "ParameterList", + "parameters": [], + "src": "594:0:0" + }, + "scope": 37, + "src": "514:124:0", + "stateMutability": "nonpayable", "superFunction": null, - "visibility": "internal" + "visibility": "public" } ], - "scope": 9101, - "src": "98:1024:0" + "scope": 38, + "src": "33:607:0" } ], - "src": "0:1122:0" + "src": "0:641:0" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Owned.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Owned.sol", "exportedSymbols": { - "Controlled": [ - 6928 + "Owned": [ + 91 ] }, - "id": 6929, + "id": 92, "nodeType": "SourceUnit", "nodes": [ { - "id": 6892, + "id": 39, "literals": [ "solidity", ">=", @@ -279,20 +474,20 @@ "baseContracts": [], "contractDependencies": [], "contractKind": "contract", - "documentation": null, + "documentation": "@dev `Owned` is a base level contract that assigns an `owner` that can be\n later changed", "fullyImplemented": true, - "id": 6928, + "id": 91, "linearizedBaseContracts": [ - 6928 + 91 ], - "name": "Controlled", + "name": "Owned", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 6903, + "id": 50, "nodeType": "Block", - "src": "207:80:1", + "src": "266:72:1", "statements": [ { "expression": { @@ -304,7 +499,7 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 6898, + "id": 45, "isConstant": false, "isLValue": false, "isPure": false, @@ -313,18 +508,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 6895, + "id": 42, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "226:3:1", + "referencedDeclaration": 5707, + "src": "284:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 6896, + "id": 43, "isConstant": false, "isLValue": false, "isPure": false, @@ -332,7 +527,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "226:10:1", + "src": "284:10:1", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -342,18 +537,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 6897, - "name": "controller", + "id": 44, + "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "240:10:1", + "referencedDeclaration": 53, + "src": "298:5:1", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "226:24:1", + "src": "284:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -362,14 +557,14 @@ { "argumentTypes": null, "hexValue": "556e617574686f72697a6564", - "id": 6899, + "id": 46, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "252:14:1", + "src": "305:14:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", @@ -389,21 +584,21 @@ "typeString": "literal_string \"Unauthorized\"" } ], - "id": 6894, + "id": 41, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "218:7:1", + "referencedDeclaration": 5711, + "src": "276:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 6900, + "id": 47, "isConstant": false, "isLValue": false, "isPure": false, @@ -411,43 +606,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "218:49:1", + "src": "276:44:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 6901, + "id": 48, "nodeType": "ExpressionStatement", - "src": "218:49:1" + "src": "276:44:1" }, { - "id": 6902, + "id": 49, "nodeType": "PlaceholderStatement", - "src": "278:1:1" + "src": "330:1:1" } ] }, - "documentation": "a function with this modifier", - "id": 6904, - "name": "onlyController", + "documentation": "@dev `owner` is the only address that can call a function with this\n modifier", + "id": 51, + "name": "onlyOwner", "nodeType": "ModifierDefinition", "parameters": { - "id": 6893, + "id": 40, "nodeType": "ParameterList", "parameters": [], - "src": "207:0:1" + "src": "263:2:1" }, - "src": "183:104:1", + "src": "245:93:1", "visibility": "internal" }, { "constant": false, - "id": 6906, - "name": "controller", + "id": 53, + "name": "owner", "nodeType": "VariableDeclaration", - "scope": 6928, - "src": "295:33:1", + "scope": 91, + "src": "344:28:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -455,10 +650,10 @@ "typeString": "address payable" }, "typeName": { - "id": 6905, + "id": 52, "name": "address", "nodeType": "ElementaryTypeName", - "src": "295:15:1", + "src": "344:15:1", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -470,26 +665,26 @@ }, { "body": { - "id": 6914, + "id": 61, "nodeType": "Block", - "src": "360:42:1", + "src": "475:35:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 6912, + "id": 59, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 6909, - "name": "controller", + "id": 56, + "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "371:10:1", + "referencedDeclaration": 53, + "src": "485:5:1", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -501,18 +696,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 6910, + "id": 57, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "384:3:1", + "referencedDeclaration": 5707, + "src": "493:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 6911, + "id": 58, "isConstant": false, "isLValue": false, "isPure": false, @@ -520,71 +715,98 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "384:10:1", + "src": "493:10:1", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "371:23:1", + "src": "485:18:1", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 6913, + "id": 60, "nodeType": "ExpressionStatement", - "src": "371:23:1" + "src": "485:18:1" } ] }, - "documentation": null, - "id": 6915, + "documentation": "@notice The Constructor assigns the message sender to be `owner`", + "id": 62, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 6907, + "id": 54, "nodeType": "ParameterList", "parameters": [], - "src": "348:2:1" + "src": "463:2:1" }, "returnParameters": { - "id": 6908, + "id": 55, "nodeType": "ParameterList", "parameters": [], - "src": "360:0:1" + "src": "475:0:1" }, - "scope": 6928, - "src": "337:65:1", + "scope": 91, + "src": "452:58:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, + { + "constant": false, + "id": 64, + "name": "newOwner", + "nodeType": "VariableDeclaration", + "scope": 91, + "src": "516:31:1", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "typeName": { + "id": 63, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "516:15:1", + "stateMutability": "payable", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "value": null, + "visibility": "public" + }, { "body": { - "id": 6926, + "id": 75, "nodeType": "Block", - "src": "612:46:1", + "src": "846:37:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 6924, + "id": 73, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 6922, - "name": "controller", + "id": 71, + "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "623:10:1", + "referencedDeclaration": 64, + "src": "856:8:1", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -594,67 +816,67 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 6923, - "name": "_newController", + "id": 72, + "name": "_newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6917, - "src": "636:14:1", + "referencedDeclaration": 66, + "src": "867:9:1", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "623:27:1", + "src": "856:20:1", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 6925, + "id": 74, "nodeType": "ExpressionStatement", - "src": "623:27:1" + "src": "856:20:1" } ] }, - "documentation": "@param _newController The new controller of the contract", - "id": 6927, + "documentation": "@notice `owner` can step down and assign some other address to this role\n @param _newOwner The address of the new owner. 0x0 can be used to create\n an unowned neutral vault, however that cannot be undone", + "id": 76, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 6920, + "id": 69, "modifierName": { "argumentTypes": null, - "id": 6919, - "name": "onlyController", + "id": 68, + "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "597:14:1", + "referencedDeclaration": 51, + "src": "836:9:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "597:14:1" + "src": "836:9:1" } ], - "name": "changeController", + "name": "changeOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 6918, + "id": 67, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 6917, - "name": "_newController", + "id": 66, + "name": "_newOwner", "nodeType": "VariableDeclaration", - "scope": 6927, - "src": "558:30:1", + "scope": 76, + "src": "802:25:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -662,10 +884,10 @@ "typeString": "address payable" }, "typeName": { - "id": 6916, + "id": 65, "name": "address", "nodeType": "ElementaryTypeName", - "src": "558:15:1", + "src": "802:15:1", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -676,42 +898,192 @@ "visibility": "internal" } ], - "src": "557:32:1" + "src": "801:27:1" }, "returnParameters": { - "id": 6921, + "id": 70, "nodeType": "ParameterList", "parameters": [], - "src": "612:0:1" + "src": "846:0:1" }, - "scope": 6928, - "src": "532:126:1", + "scope": 91, + "src": "781:102:1", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 89, + "nodeType": "Block", + "src": "924:85:1", + "statements": [ + { + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "id": 82, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 79, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "938:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 80, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "938:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 81, + "name": "newOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 64, + "src": "952:8:1", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "938:22:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 88, + "nodeType": "IfStatement", + "src": "934:69:1", + "trueBody": { + "id": 87, + "nodeType": "Block", + "src": "962:41:1", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 85, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 83, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 53, + "src": "976:5:1", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 84, + "name": "newOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 64, + "src": "984:8:1", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "976:16:1", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "id": 86, + "nodeType": "ExpressionStatement", + "src": "976:16:1" + } + ] + } + } + ] + }, + "documentation": null, + "id": 90, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "acceptOwnership", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 77, + "nodeType": "ParameterList", + "parameters": [], + "src": "914:2:1" + }, + "returnParameters": { + "id": 78, + "nodeType": "ParameterList", + "parameters": [], + "src": "924:0:1" + }, + "scope": 91, + "src": "890:119:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 6929, - "src": "35:626:1" + "scope": 92, + "src": "130:881:1" } ], - "src": "0:663:1" + "src": "0:1011:1" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Introspective.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Introspective.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/math/safe-math.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/math/safe-math.sol", "exportedSymbols": { - "ERC165": [ - 9110 - ], - "Introspective": [ - 9159 + "SafeMath": [ + 213 ] }, - "id": 9160, + "id": 214, "nodeType": "SourceUnit", "nodes": [ { - "id": 9102, + "id": 93, "literals": [ "solidity", ">=", @@ -727,267 +1099,291 @@ { "baseContracts": [], "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9110, + "contractKind": "library", + "documentation": "@dev Math operations with safety checks that throw on error. This contract is based on the \nsource code at: \nhttps://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/math/SafeMath.sol.", + "fullyImplemented": true, + "id": 213, "linearizedBaseContracts": [ - 9110 + 213 ], - "name": "ERC165", + "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { - "body": null, - "documentation": "@notice Query if a contract implements an interface\r\n@param interfaceID The interface identifier, as specified in ERC-165\r\n@dev Interface identification is specified in ERC-165. This function\r\n uses less than 30,000 gas.\r\n@return `true` if the contract implements `interfaceID` and\r\n `interfaceID` is not 0xffffffff, `false` otherwise\r", - "id": 9109, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9105, - "nodeType": "ParameterList", - "parameters": [ + "body": { + "id": 123, + "nodeType": "Block", + "src": "575:342:2", + "statements": [ { - "constant": false, - "id": 9104, - "name": "interfaceID", - "nodeType": "VariableDeclaration", - "scope": 9109, - "src": "482:18:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 9103, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "482:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "481:20:2" - }, - "returnParameters": { - "id": 9108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9107, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9109, - "src": "525:4:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9106, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "525:4:2", + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 102, + "name": "_factor1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 95, + "src": "790:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 103, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "802:1:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "790:13:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "value": null, - "visibility": "internal" - } - ], - "src": "524:6:2" - }, - "scope": 9110, - "src": "455:76:2", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - } - ], - "scope": 9160, - "src": "35:499:2" - }, - { - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 9111, - "name": "ERC165", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9110, - "src": "675:6:2", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$9110", - "typeString": "contract ERC165" - } - }, - "id": 9112, - "nodeType": "InheritanceSpecifier", - "src": "675:6:2" - } - ], - "contractDependencies": [ - 9110 - ], - "contractKind": "contract", - "documentation": "@title ERC165\r\n@author Matt Condon (@shrugs)\r\n@dev Implements ERC165 using a lookup table.\r", - "fullyImplemented": true, - "id": 9159, - "linearizedBaseContracts": [ - 9159, - 9110 - ], - "name": "Introspective", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "id": 9115, - "name": "_INTERFACE_ID_ERC165", - "nodeType": "VariableDeclaration", - "scope": 9159, - "src": "689:57:2", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 9113, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "689:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783031666663396137", - "id": 9114, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "736:10:2", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_33540519_by_1", - "typeString": "int_const 33540519" - }, - "value": "0x01ffc9a7" - }, - "visibility": "private" - }, - { - "constant": false, - "id": 9119, - "name": "_supportedInterfaces", - "nodeType": "VariableDeclaration", - "scope": 9159, - "src": "945:52:2", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - }, - "typeName": { - "id": 9118, - "keyType": { - "id": 9116, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "953:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "945:23:2", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - }, - "valueType": { - "id": 9117, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "963:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "body": { - "id": 9126, - "nodeType": "Block", - "src": "1145:59:2", - "statements": [ + "falseBody": null, + "id": 108, + "nodeType": "IfStatement", + "src": "786:46:2", + "trueBody": { + "id": 107, + "nodeType": "Block", + "src": "809:23:2", + "statements": [ + { + "expression": { + "argumentTypes": null, + "hexValue": "30", + "id": 105, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "824:1:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "functionReturnParameters": 101, + "id": 106, + "nodeType": "Return", + "src": "817:8:2" + } + ] + } + }, + { + "expression": { + "argumentTypes": null, + "id": 113, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 109, + "name": "product", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 100, + "src": "838:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 112, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 110, + "name": "_factor1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 95, + "src": "848:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "argumentTypes": null, + "id": 111, + "name": "_factor2", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 97, + "src": "859:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "848:19:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "838:29:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 114, + "nodeType": "ExpressionStatement", + "src": "838:29:2" + }, { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 9123, - "name": "_INTERFACE_ID_ERC165", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9115, - "src": "1175:20:2", + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 120, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 118, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 116, + "name": "product", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 100, + "src": "881:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "argumentTypes": null, + "id": 117, + "name": "_factor1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 95, + "src": "891:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "881:18:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 119, + "name": "_factor2", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 97, + "src": "903:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "881:30:2", "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" + "typeIdentifier": "t_bool", + "typeString": "bool" } } ], "expression": { "argumentTypes": [ { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" + "typeIdentifier": "t_bool", + "typeString": "bool" } ], - "id": 9122, - "name": "_registerInterface", + "id": 115, + "name": "require", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9158, - "src": "1156:18:2", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "873:7:2", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" } }, - "id": 9124, + "id": 121, "isConstant": false, "isLValue": false, "isPure": false, @@ -995,181 +1391,128 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1156:40:2", + "src": "873:39:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 9125, + "id": 122, "nodeType": "ExpressionStatement", - "src": "1156:40:2" + "src": "873:39:2" } ] }, - "documentation": "@dev A contract implementing SupportsInterfaceWithLookup\r\nimplement ERC165 itself\r", - "id": 9127, + "documentation": "@dev Multiplies two numbers, reverts on overflow.\n@param _factor1 Factor number.\n@param _factor2 Factor number.\n@return The product of the two factors.", + "id": 124, "implemented": true, - "kind": "constructor", + "kind": "function", "modifiers": [], - "name": "", + "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 9120, + "id": 98, "nodeType": "ParameterList", - "parameters": [], - "src": "1133:2:2" + "parameters": [ + { + "constant": false, + "id": 95, + "name": "_factor1", + "nodeType": "VariableDeclaration", + "scope": 124, + "src": "478:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 94, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "478:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 97, + "name": "_factor2", + "nodeType": "VariableDeclaration", + "scope": 124, + "src": "500:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 96, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "500:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "472:48:2" }, "returnParameters": { - "id": 9121, + "id": 101, "nodeType": "ParameterList", - "parameters": [], - "src": "1145:0:2" + "parameters": [ + { + "constant": false, + "id": 100, + "name": "product", + "nodeType": "VariableDeclaration", + "scope": 124, + "src": "556:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 99, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "556:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "555:17:2" }, - "scope": 9159, - "src": "1121:83:2", - "stateMutability": "nonpayable", + "scope": 213, + "src": "460:457:2", + "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 9138, + "id": 145, "nodeType": "Block", - "src": "1376:59:2", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 9134, - "name": "_supportedInterfaces", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9119, - "src": "1394:20:2", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - } - }, - "id": 9136, - "indexExpression": { - "argumentTypes": null, - "id": 9135, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9129, - "src": "1415:11:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1394:33:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 9133, - "id": 9137, - "nodeType": "Return", - "src": "1387:40:2" - } - ] - }, - "documentation": "@dev implement supportsInterface(bytes4) using a lookup table\r", - "id": 9139, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9130, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9129, - "name": "interfaceId", - "nodeType": "VariableDeclaration", - "scope": 9139, - "src": "1327:18:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 9128, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1327:6:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1326:20:2" - }, - "returnParameters": { - "id": 9133, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9132, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9139, - "src": "1370:4:2", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9131, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1370:4:2", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1369:6:2" - }, - "scope": 9159, - "src": "1300:135:2", - "stateMutability": "view", - "superFunction": 9109, - "visibility": "external" - }, - { - "body": { - "id": 9157, - "nodeType": "Block", - "src": "1576:123:2", + "src": "1250:262:2", "statements": [ { "expression": { @@ -1178,70 +1521,52 @@ { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, - "id": 9147, + "id": 136, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 9145, - "name": "interfaceId", + "id": 134, + "name": "_divisor", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9141, - "src": "1595:11:2", + "referencedDeclaration": 128, + "src": "1337:8:2", "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "nodeType": "BinaryOperation", - "operator": "!=", + "operator": ">", "rightExpression": { "argumentTypes": null, - "hexValue": "30786666666666666666", - "id": 9146, + "hexValue": "30", + "id": 135, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1610:10:2", + "src": "1348:1:2", "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_rational_4294967295_by_1", - "typeString": "int_const 4294967295" + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" }, - "value": "0xffffffff" + "value": "0" }, - "src": "1595:25:2", + "src": "1337:12:2", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } - }, - { - "argumentTypes": null, - "hexValue": "42616420696e746572666163654964", - "id": 9148, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1622:17:2", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6163a4b4d98ada8792b1ecf7d7e11bd83977e1677710e42b5f78160e43feb131", - "typeString": "literal_string \"Bad interfaceId\"" - }, - "value": "Bad interfaceId" } ], "expression": { @@ -1249,27 +1574,23 @@ { "typeIdentifier": "t_bool", "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6163a4b4d98ada8792b1ecf7d7e11bd83977e1677710e42b5f78160e43feb131", - "typeString": "literal_string \"Bad interfaceId\"" } ], - "id": 9144, + "id": 133, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "1587:7:2", + "referencedDeclaration": 5710, + "src": "1329:7:2", "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" } }, - "id": 9149, + "id": 137, "isConstant": false, "isLValue": false, "isPure": false, @@ -1277,167 +1598,1065 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1587:53:2", + "src": "1329:21:2", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 9150, + "id": 138, "nodeType": "ExpressionStatement", - "src": "1587:53:2" + "src": "1329:21:2" }, { "expression": { "argumentTypes": null, - "id": 9155, + "id": 143, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 9151, - "name": "_supportedInterfaces", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9119, - "src": "1651:20:2", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - } - }, - "id": 9153, - "indexExpression": { - "argumentTypes": null, - "id": 9152, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9141, - "src": "1672:11:2", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1651:33:2", + "id": 139, + "name": "quotient", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 131, + "src": "1356:8:2", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, - "hexValue": "74727565", - "id": 9154, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 142, "isConstant": false, "isLValue": false, - "isPure": true, - "kind": "bool", + "isPure": false, "lValueRequested": false, - "nodeType": "Literal", - "src": "1687:4:2", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "leftExpression": { + "argumentTypes": null, + "id": 140, + "name": "_dividend", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 126, + "src": "1367:9:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } }, - "value": "true" + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "argumentTypes": null, + "id": 141, + "name": "_divisor", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "1379:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1367:20:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } }, - "src": "1651:40:2", + "src": "1356:31:2", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 9156, + "id": 144, "nodeType": "ExpressionStatement", - "src": "1651:40:2" + "src": "1356:31:2" } ] }, - "documentation": "@dev internal method for registering an interface\r", - "id": 9158, + "documentation": "@dev Integer division of two numbers, truncating the quotient, reverts on division by zero.\n@param _dividend Dividend number.\n@param _divisor Divisor number.\n@return The quotient.", + "id": 146, "implemented": true, "kind": "function", "modifiers": [], - "name": "_registerInterface", + "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 9142, + "id": 129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 9141, - "name": "interfaceId", + "id": 126, + "name": "_dividend", "nodeType": "VariableDeclaration", - "scope": 9158, - "src": "1547:18:2", + "scope": 146, + "src": "1151:17:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 9140, - "name": "bytes4", + "id": 125, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1547:6:2", + "src": "1151:7:2", "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 128, + "name": "_divisor", + "nodeType": "VariableDeclaration", + "scope": 146, + "src": "1174:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 127, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1174:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "1546:20:2" + "src": "1145:49:2" }, "returnParameters": { - "id": 9143, + "id": 132, "nodeType": "ParameterList", - "parameters": [], - "src": "1576:0:2" + "parameters": [ + { + "constant": false, + "id": 131, + "name": "quotient", + "nodeType": "VariableDeclaration", + "scope": 146, + "src": "1230:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 130, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1230:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1229:18:2" }, - "scope": 9159, - "src": "1519:180:2", - "stateMutability": "nonpayable", + "scope": 213, + "src": "1133:379:2", + "stateMutability": "pure", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 167, + "nodeType": "Block", + "src": "1853:84:2", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 158, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 156, + "name": "_subtrahend", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 150, + "src": "1867:11:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "argumentTypes": null, + "id": 157, + "name": "_minuend", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 148, + "src": "1882:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1867:23:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 155, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "1859:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 159, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1859:32:2", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 160, + "nodeType": "ExpressionStatement", + "src": "1859:32:2" + }, + { + "expression": { + "argumentTypes": null, + "id": 165, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 161, + "name": "difference", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 153, + "src": "1897:10:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 164, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 162, + "name": "_minuend", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 148, + "src": "1910:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "id": 163, + "name": "_subtrahend", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 150, + "src": "1921:11:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1910:22:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1897:35:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 166, + "nodeType": "ExpressionStatement", + "src": "1897:35:2" + } + ] + }, + "documentation": "@dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).\n@param _minuend Minuend number.\n@param _subtrahend Subtrahend number.\n@return Difference.", + "id": 168, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "sub", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 151, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 148, + "name": "_minuend", + "nodeType": "VariableDeclaration", + "scope": 168, + "src": "1750:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 147, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1750:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 150, + "name": "_subtrahend", + "nodeType": "VariableDeclaration", + "scope": 168, + "src": "1772:19:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 149, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1772:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1744:51:2" + }, + "returnParameters": { + "id": 154, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 153, + "name": "difference", + "nodeType": "VariableDeclaration", + "scope": 168, + "src": "1831:18:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 152, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1831:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1830:20:2" + }, + "scope": 213, + "src": "1732:205:2", + "stateMutability": "pure", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 189, + "nodeType": "Block", + "src": "2189:66:2", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 181, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 177, + "name": "sum", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 175, + "src": "2195:3:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 180, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 178, + "name": "_addend1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 170, + "src": "2201:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "argumentTypes": null, + "id": 179, + "name": "_addend2", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 172, + "src": "2212:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2201:19:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2195:25:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 182, + "nodeType": "ExpressionStatement", + "src": "2195:25:2" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 186, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 184, + "name": "sum", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 175, + "src": "2234:3:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "argumentTypes": null, + "id": 185, + "name": "_addend1", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 170, + "src": "2241:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2234:15:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 183, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "2226:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 187, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2226:24:2", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 188, + "nodeType": "ExpressionStatement", + "src": "2226:24:2" + } + ] + }, + "documentation": "@dev Adds two numbers, reverts on overflow.\n@param _addend1 Number.\n@param _addend2 Number.\n@return Sum.", + "id": 190, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "add", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 173, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 170, + "name": "_addend1", + "nodeType": "VariableDeclaration", + "scope": 190, + "src": "2096:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 169, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2096:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 172, + "name": "_addend2", + "nodeType": "VariableDeclaration", + "scope": 190, + "src": "2118:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 171, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2118:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2090:48:2" + }, + "returnParameters": { + "id": 176, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 175, + "name": "sum", + "nodeType": "VariableDeclaration", + "scope": 190, + "src": "2174:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 174, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2174:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2173:13:2" + }, + "scope": 213, + "src": "2078:177:2", + "stateMutability": "pure", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 211, + "nodeType": "Block", + "src": "2598:71:2", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 202, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 200, + "name": "_divisor", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 194, + "src": "2612:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 201, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2624:1:2", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2612:13:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 199, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "2604:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 203, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2604:22:2", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 204, + "nodeType": "ExpressionStatement", + "src": "2604:22:2" + }, + { + "expression": { + "argumentTypes": null, + "id": 209, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 205, + "name": "remainder", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 197, + "src": "2632:9:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 208, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 206, + "name": "_dividend", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 192, + "src": "2644:9:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "%", + "rightExpression": { + "argumentTypes": null, + "id": 207, + "name": "_divisor", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 194, + "src": "2656:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2644:20:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2632:32:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 210, + "nodeType": "ExpressionStatement", + "src": "2632:32:2" + } + ] + }, + "documentation": "@dev Divides two numbers and returns the remainder (unsigned integer modulo), reverts when\ndividing by zero.\n@param _dividend Number.\n@param _divisor Number.\n@return Remainder.", + "id": 212, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "mod", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 195, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 192, + "name": "_dividend", + "nodeType": "VariableDeclaration", + "scope": 212, + "src": "2497:17:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 191, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2497:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 194, + "name": "_divisor", + "nodeType": "VariableDeclaration", + "scope": 212, + "src": "2520:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 193, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2520:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2491:49:2" + }, + "returnParameters": { + "id": 198, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 197, + "name": "remainder", + "nodeType": "VariableDeclaration", + "scope": 212, + "src": "2576:17:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 196, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2576:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2575:19:2" + }, + "scope": 213, + "src": "2479:190:2", + "stateMutability": "pure", "superFunction": null, "visibility": "internal" } ], - "scope": 9160, - "src": "649:1053:2" + "scope": 214, + "src": "254:2418:2" } ], - "src": "0:1704:2" + "src": "0:2673:2" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Owned.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Owned.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/ownership/ownable.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/ownership/ownable.sol", "exportedSymbols": { - "Owned": [ - 5453 + "Ownable": [ + 277 ] }, - "id": 5454, + "id": 278, "nodeType": "SourceUnit", "nodes": [ { - "id": 5401, + "id": 215, "literals": [ "solidity", ">=", @@ -1454,20 +2673,299 @@ "baseContracts": [], "contractDependencies": [], "contractKind": "contract", - "documentation": "later changed", + "documentation": "@dev The contract has an owner address, and provides basic authorization control whitch\nsimplifies the implementation of user permissions. This contract is based on the source code at:\nhttps://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/ownership/Ownable.sol", "fullyImplemented": true, - "id": 5453, + "id": 277, "linearizedBaseContracts": [ - 5453 + 277 ], - "name": "Owned", + "name": "Ownable", "nodeType": "ContractDefinition", "nodes": [ + { + "constant": true, + "id": 218, + "name": "NOT_OWNER", + "nodeType": "VariableDeclaration", + "scope": 277, + "src": "396:43:3", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string" + }, + "typeName": { + "id": 216, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "396:6:3", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": { + "argumentTypes": null, + "hexValue": "303138303031", + "id": 217, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "431:8:3", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_bd0bb0ffcede826a2f9c8e6df6999546ede560374c0eac292714390c5fb3897d", + "typeString": "literal_string \"018001\"" + }, + "value": "018001" + }, + "visibility": "public" + }, + { + "constant": true, + "id": 221, + "name": "ZERO_ADDRESS", + "nodeType": "VariableDeclaration", + "scope": 277, + "src": "443:46:3", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string" + }, + "typeName": { + "id": 219, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "443:6:3", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "value": { + "argumentTypes": null, + "hexValue": "303138303032", + "id": 220, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "481:8:3", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a5b29f7035b13dcadb3cd5c407a8edcad826c048054710c3b5817e694ac8cf3f", + "typeString": "literal_string \"018002\"" + }, + "value": "018002" + }, + "visibility": "public" + }, + { + "constant": false, + "id": 223, + "name": "owner", + "nodeType": "VariableDeclaration", + "scope": 277, + "src": "539:20:3", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 222, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "539:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "public" + }, + { + "anonymous": false, + "documentation": "@dev An event which is triggered when the owner is changed.\n@param previousOwner The address of the previous owner.\n@param newOwner The address of the new owner.", + "id": 229, + "name": "OwnershipTransferred", + "nodeType": "EventDefinition", + "parameters": { + "id": 228, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 225, + "indexed": true, + "name": "previousOwner", + "nodeType": "VariableDeclaration", + "scope": 229, + "src": "785:29:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 224, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "785:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 227, + "indexed": true, + "name": "newOwner", + "nodeType": "VariableDeclaration", + "scope": 229, + "src": "820:24:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 226, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "820:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "779:69:3" + }, + "src": "753:96:3" + }, { "body": { - "id": 5412, + "id": 237, "nodeType": "Block", - "src": "274:75:3", + "src": "983:29:3", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 235, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 232, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 223, + "src": "989:5:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 233, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "997:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 234, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "997:10:3", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "989:18:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 236, + "nodeType": "ExpressionStatement", + "src": "989:18:3" + } + ] + }, + "documentation": "@dev The constructor sets the original `owner` of the contract to the sender account.", + "id": 238, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 230, + "nodeType": "ParameterList", + "parameters": [], + "src": "967:2:3" + }, + "returnParameters": { + "id": 231, + "nodeType": "ParameterList", + "parameters": [], + "src": "983:0:3" + }, + "scope": 277, + "src": "956:56:3", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 249, + "nodeType": "Block", + "src": "1115:57:3", "statements": [ { "expression": { @@ -1476,10 +2974,10 @@ { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" }, - "id": 5407, + "id": 244, "isConstant": false, "isLValue": false, "isPure": false, @@ -1488,18 +2986,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 5404, + "id": 241, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "293:3:3", + "referencedDeclaration": 5707, + "src": "1129:3:3", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 5405, + "id": 242, "isConstant": false, "isLValue": false, "isPure": false, @@ -1507,7 +3005,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "293:10:3", + "src": "1129:10:3", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -1517,18 +3015,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 5406, + "id": 243, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "307:5:3", + "referencedDeclaration": 223, + "src": "1143:5:3", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "src": "293:19:3", + "src": "1129:19:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1536,21 +3034,16 @@ }, { "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 5408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "314:14:3", - "subdenomination": null, + "id": 245, + "name": "NOT_OWNER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 218, + "src": "1150:9:3", "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } } ], "expression": { @@ -1560,25 +3053,25 @@ "typeString": "bool" }, { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" + "typeIdentifier": "t_string_memory", + "typeString": "string memory" } ], - "id": 5403, + "id": 240, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "285:7:3", + "referencedDeclaration": 5711, + "src": "1121:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 5409, + "id": 246, "isConstant": false, "isLValue": false, "isPure": false, @@ -1586,484 +3079,402 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "285:44:3", + "src": "1121:39:3", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 5410, + "id": 247, "nodeType": "ExpressionStatement", - "src": "285:44:3" + "src": "1121:39:3" }, { - "id": 5411, + "id": 248, "nodeType": "PlaceholderStatement", - "src": "340:1:3" + "src": "1166:1:3" } ] }, - "documentation": "modifier", - "id": 5413, + "documentation": "@dev Throws if called by any account other than the owner.", + "id": 250, "name": "onlyOwner", "nodeType": "ModifierDefinition", "parameters": { - "id": 5402, + "id": 239, "nodeType": "ParameterList", "parameters": [], - "src": "271:2:3" + "src": "1110:2:3" }, - "src": "253:96:3", + "src": "1092:80:3", "visibility": "internal" }, - { - "constant": false, - "id": 5415, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 5453, - "src": "357:28:3", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 5414, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "357:15:3", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "public" - }, { "body": { - "id": 5423, + "id": 275, "nodeType": "Block", - "src": "491:37:3", + "src": "1415:129:3", "statements": [ { "expression": { "argumentTypes": null, - "id": 5421, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 262, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 258, + "name": "_newOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 252, + "src": "1429:9:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 260, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1450:1:3", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 259, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1442:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 261, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1442:10:3", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "1429:23:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "argumentTypes": null, + "id": 263, + "name": "ZERO_ADDRESS", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 221, + "src": "1454:12:3", + "typeDescriptions": { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_string_memory", + "typeString": "string memory" + } + ], + "id": 257, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5711, + "src": "1421:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 264, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1421:46:3", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 265, + "nodeType": "ExpressionStatement", + "src": "1421:46:3" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 267, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 223, + "src": "1499:5:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 268, + "name": "_newOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 252, + "src": "1506:9:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 266, + "name": "OwnershipTransferred", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 229, + "src": "1478:20:3", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", + "typeString": "function (address,address)" + } + }, + "id": 269, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1478:38:3", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 270, + "nodeType": "EmitStatement", + "src": "1473:43:3" + }, + { + "expression": { + "argumentTypes": null, + "id": 273, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 5418, + "id": 271, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "502:5:3", + "referencedDeclaration": 223, + "src": "1522:5:3", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5419, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "510:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 5420, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "510:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "502:18:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 5422, - "nodeType": "ExpressionStatement", - "src": "502:18:3" - } - ] - }, - "documentation": "@notice The Constructor assigns the message sender to be `owner`", - "id": 5424, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5416, - "nodeType": "ParameterList", - "parameters": [], - "src": "479:2:3" - }, - "returnParameters": { - "id": 5417, - "nodeType": "ParameterList", - "parameters": [], - "src": "491:0:3" - }, - "scope": 5453, - "src": "468:60:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5426, - "name": "newOwner", - "nodeType": "VariableDeclaration", - "scope": 5453, - "src": "536:31:3", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 5425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "536:15:3", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 5437, - "nodeType": "Block", - "src": "871:39:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5433, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5426, - "src": "882:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5434, + "id": 272, "name": "_newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 5428, - "src": "893:9:3", + "referencedDeclaration": 252, + "src": "1530:9:3", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "src": "882:20:3", + "src": "1522:17:3", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 5436, + "id": 274, "nodeType": "ExpressionStatement", - "src": "882:20:3" + "src": "1522:17:3" } ] }, - "documentation": "an unowned neutral vault, however that cannot be undone", - "id": 5438, + "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": 276, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 5431, + "id": 255, "modifierName": { "argumentTypes": null, - "id": 5430, + "id": 254, "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 5413, - "src": "861:9:3", + "referencedDeclaration": 250, + "src": "1403:9:3", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "861:9:3" + "src": "1403:9:3" } ], - "name": "changeOwner", + "name": "transferOwnership", "nodeType": "FunctionDefinition", "parameters": { - "id": 5429, + "id": 253, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 5428, + "id": 252, "name": "_newOwner", "nodeType": "VariableDeclaration", - "scope": 5438, - "src": "827:25:3", + "scope": 276, + "src": "1366:17:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "id": 5427, + "id": 251, "name": "address", "nodeType": "ElementaryTypeName", - "src": "827:15:3", - "stateMutability": "payable", + "src": "1366:7:3", + "stateMutability": "nonpayable", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } }, "value": null, "visibility": "internal" } ], - "src": "826:27:3" + "src": "1360:27:3" }, "returnParameters": { - "id": 5432, + "id": 256, "nodeType": "ParameterList", "parameters": [], - "src": "871:0:3" + "src": "1415:0:3" }, - "scope": 5453, - "src": "806:104:3", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 5451, - "nodeType": "Block", - "src": "954:89:3", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 5444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5441, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "969:3:3", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 5442, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "969:10:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 5443, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5426, - "src": "983:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "969:22:3", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5450, - "nodeType": "IfStatement", - "src": "965:71:3", - "trueBody": { - "id": 5449, - "nodeType": "Block", - "src": "993:43:3", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5445, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "1008:5:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5446, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5426, - "src": "1016:8:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1008:16:3", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 5448, - "nodeType": "ExpressionStatement", - "src": "1008:16:3" - } - ] - } - } - ] - }, - "documentation": null, - "id": 5452, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "acceptOwnership", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5439, - "nodeType": "ParameterList", - "parameters": [], - "src": "944:2:3" - }, - "returnParameters": { - "id": 5440, - "nodeType": "ParameterList", - "parameters": [], - "src": "954:0:3" - }, - "scope": 5453, - "src": "920:123:3", + "scope": 277, + "src": "1334:210:3", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 5454, - "src": "134:912:3" + "scope": 278, + "src": "333:1214:3" } ], - "src": "0:1046:3" + "src": "0:1548:3" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/SafeMath.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/SafeMath.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721-enumerable.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721-enumerable.sol", "exportedSymbols": { - "SafeMath": [ - 9322 + "ERC721Enumerable": [ + 301 ] }, - "id": 9323, + "id": 302, "nodeType": "SourceUnit", "nodes": [ { - "id": 9161, + "id": 279, "literals": [ "solidity", ">=", @@ -2079,388 +3490,42 @@ { "baseContracts": [], "contractDependencies": [], - "contractKind": "library", - "documentation": "Math operations with safety checks\r", - "fullyImplemented": true, - "id": 9322, + "contractKind": "interface", + "documentation": "@dev Optional enumeration extension for ERC-721 non-fungible token standard.\nSee https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md.", + "fullyImplemented": false, + "id": 301, "linearizedBaseContracts": [ - 9322 + 301 ], - "name": "SafeMath", + "name": "ERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { - "body": { - "id": 9190, - "nodeType": "Block", - "src": "166:91:4", - "statements": [ - { - "assignments": [ - 9171 - ], - "declarations": [ - { - "constant": false, - "id": 9171, - "name": "c", - "nodeType": "VariableDeclaration", - "scope": 9190, - "src": "177:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9170, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "177:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 9175, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9174, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9172, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9163, - "src": "186:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "argumentTypes": null, - "id": 9173, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9165, - "src": "190:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "186:5:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "177:14:4" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 9185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9179, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9177, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9163, - "src": "209:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 9178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "214:1:4", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "209:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9182, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9180, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9171, - "src": "219:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 9181, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9163, - "src": "223:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "219:5:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 9183, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9165, - "src": "228:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "219:10:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "209:20:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 9176, - "name": "assert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9442, - "src": "202:6:4", - "typeDescriptions": { - "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 9186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "202:28:4", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9187, - "nodeType": "ExpressionStatement", - "src": "202:28:4" - }, - { - "expression": { - "argumentTypes": null, - "id": 9188, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9171, - "src": "248:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 9169, - "id": 9189, - "nodeType": "Return", - "src": "241:8:4" - } - ] - }, - "documentation": null, - "id": 9191, - "implemented": true, + "body": null, + "documentation": "@dev Returns a count of valid NFTs tracked by this contract, where each one of them has an\nassigned and queryable owner not equal to the zero address.\n@return Total supply of NFTs.", + "id": 284, + "implemented": false, "kind": "function", "modifiers": [], - "name": "mul", + "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 9166, + "id": 280, "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9163, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 9191, - "src": "121:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9162, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "121:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9165, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 9191, - "src": "129:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9164, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "129:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "120:16:4" + "parameters": [], + "src": "450:2:4" }, "returnParameters": { - "id": 9169, + "id": 283, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 9168, + "id": 282, "name": "", "nodeType": "VariableDeclaration", - "scope": 9191, - "src": "160:4:4", + "scope": 284, + "src": "488:7:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2468,1351 +3533,10 @@ "typeString": "uint256" }, "typeName": { - "id": 9167, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "160:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "159:6:4" - }, - "scope": 9322, - "src": "108:149:4", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 9208, - "nodeType": "Block", - "src": "323:218:4", - "statements": [ - { - "assignments": [ - 9201 - ], - "declarations": [ - { - "constant": false, - "id": 9201, - "name": "c", - "nodeType": "VariableDeclaration", - "scope": 9208, - "src": "413:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9200, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "413:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 9205, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9202, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9193, - "src": "422:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 9203, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9195, - "src": "426:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "422:5:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "413:14:4" - }, - { - "expression": { - "argumentTypes": null, - "id": 9206, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9201, - "src": "532:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 9199, - "id": 9207, - "nodeType": "Return", - "src": "525:8:4" - } - ] - }, - "documentation": null, - "id": 9209, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "div", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9196, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9193, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 9209, - "src": "278:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9192, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "278:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9195, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 9209, - "src": "286:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9194, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "286:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "277:16:4" - }, - "returnParameters": { - "id": 9199, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9198, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9209, - "src": "317:4:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9197, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "317:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "316:6:4" - }, - "scope": 9322, - "src": "265:276:4", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 9228, - "nodeType": "Block", - "src": "607:56:4", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9221, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9219, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9213, - "src": "625:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 9220, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9211, - "src": "630:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "625:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 9218, - "name": "assert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9442, - "src": "618:6:4", - "typeDescriptions": { - "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 9222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "618:14:4", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9223, - "nodeType": "ExpressionStatement", - "src": "618:14:4" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9224, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9211, - "src": "650:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 9225, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9213, - "src": "654:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "650:5:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 9217, - "id": 9227, - "nodeType": "Return", - "src": "643:12:4" - } - ] - }, - "documentation": null, - "id": 9229, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sub", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9214, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9211, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 9229, - "src": "562:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9210, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "562:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9213, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 9229, - "src": "570:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9212, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "570:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "561:16:4" - }, - "returnParameters": { - "id": 9217, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9216, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9229, - "src": "601:4:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9215, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "601:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "600:6:4" - }, - "scope": 9322, - "src": "549:114:4", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 9252, - "nodeType": "Block", - "src": "729:77:4", - "statements": [ - { - "assignments": [ - 9239 - ], - "declarations": [ - { - "constant": false, - "id": 9239, - "name": "c", - "nodeType": "VariableDeclaration", - "scope": 9252, - "src": "740:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9238, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "740:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 9243, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9240, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9231, - "src": "749:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 9241, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9233, - "src": "753:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "749:5:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "740:14:4" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9247, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9245, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9239, - "src": "772:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 9246, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9231, - "src": "777:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "772:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 9244, - "name": "assert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9442, - "src": "765:6:4", - "typeDescriptions": { - "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 9248, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "765:14:4", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9249, - "nodeType": "ExpressionStatement", - "src": "765:14:4" - }, - { - "expression": { - "argumentTypes": null, - "id": 9250, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9239, - "src": "797:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 9237, - "id": 9251, - "nodeType": "Return", - "src": "790:8:4" - } - ] - }, - "documentation": null, - "id": 9253, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9234, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9231, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 9253, - "src": "684:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9230, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "684:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9233, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 9253, - "src": "692:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9232, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "692:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "683:16:4" - }, - "returnParameters": { - "id": 9237, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9236, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9253, - "src": "723:4:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9235, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "723:4:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "722:6:4" - }, - "scope": 9322, - "src": "671:135:4", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 9269, - "nodeType": "Block", - "src": "880:40:4", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 9264, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9262, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9255, - "src": "898:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 9263, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9257, - "src": "903:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "898:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 9266, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9257, - "src": "911:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "id": 9267, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "898:14:4", - "trueExpression": { - "argumentTypes": null, - "id": 9265, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9255, - "src": "907:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "functionReturnParameters": 9261, - "id": 9268, - "nodeType": "Return", - "src": "891:21:4" - } - ] - }, - "documentation": null, - "id": 9270, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "max64", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9258, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9255, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 9270, - "src": "829:8:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 9254, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "829:6:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9257, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 9270, - "src": "839:8:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 9256, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "839:6:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "828:20:4" - }, - "returnParameters": { - "id": 9261, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9260, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9270, - "src": "872:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 9259, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "872:6:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "871:8:4" - }, - "scope": 9322, - "src": "814:106:4", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 9286, - "nodeType": "Block", - "src": "994:39:4", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 9281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9279, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9272, - "src": "1012:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 9280, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9274, - "src": "1016:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "1012:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 9283, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9274, - "src": "1024:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "id": 9284, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1012:13:4", - "trueExpression": { - "argumentTypes": null, - "id": 9282, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9272, - "src": "1020:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "functionReturnParameters": 9278, - "id": 9285, - "nodeType": "Return", - "src": "1005:20:4" - } - ] - }, - "documentation": null, - "id": 9287, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "min64", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9275, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9272, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 9287, - "src": "943:8:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 9271, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "943:6:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9274, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 9287, - "src": "953:8:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 9273, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "953:6:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "942:20:4" - }, - "returnParameters": { - "id": 9278, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9277, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9287, - "src": "986:6:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 9276, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "986:6:4", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "985:8:4" - }, - "scope": 9322, - "src": "928:105:4", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 9303, - "nodeType": "Block", - "src": "1111:40:4", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9296, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9289, - "src": "1129:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 9297, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9291, - "src": "1134:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1129:6:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 9300, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9291, - "src": "1142:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9301, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1129:14:4", - "trueExpression": { - "argumentTypes": null, - "id": 9299, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9289, - "src": "1138:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 9295, - "id": 9302, - "nodeType": "Return", - "src": "1122:21:4" - } - ] - }, - "documentation": null, - "id": 9304, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "max256", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9292, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9289, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 9304, - "src": "1057:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9288, + "id": 281, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1057:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9291, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 9304, - "src": "1068:9:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9290, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1068:7:4", + "src": "488:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3822,164 +3546,34 @@ "visibility": "internal" } ], - "src": "1056:22:4" + "src": "487:9:4" }, - "returnParameters": { - "id": 9295, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9294, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9304, - "src": "1102:7:4", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9293, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1102:7:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1101:9:4" - }, - "scope": 9322, - "src": "1041:110:4", - "stateMutability": "pure", + "scope": 301, + "src": "430:67:4", + "stateMutability": "view", "superFunction": null, - "visibility": "internal" + "visibility": "external" }, { - "body": { - "id": 9320, - "nodeType": "Block", - "src": "1229:39:4", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9313, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9306, - "src": "1247:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 9314, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9308, - "src": "1251:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1247:5:4", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 9317, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9308, - "src": "1259:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1247:13:4", - "trueExpression": { - "argumentTypes": null, - "id": 9316, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9306, - "src": "1255:1:4", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 9312, - "id": 9319, - "nodeType": "Return", - "src": "1240:20:4" - } - ] - }, - "documentation": null, - "id": 9321, - "implemented": true, + "body": null, + "documentation": "@dev Returns the token identifier for the `_index`th NFT. Sort order is not specified.\n@param _index A counter less than `totalSupply()`.\n@return Token id.", + "id": 291, + "implemented": false, "kind": "function", "modifiers": [], - "name": "min256", + "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 9309, + "id": 287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 9306, - "name": "a", + "id": 286, + "name": "_index", "nodeType": "VariableDeclaration", - "scope": 9321, - "src": "1175:9:4", + "scope": 291, + "src": "711:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3987,10 +3581,10 @@ "typeString": "uint256" }, "typeName": { - "id": 9305, + "id": 285, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1175:7:4", + "src": "711:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3998,14 +3592,96 @@ }, "value": null, "visibility": "internal" + } + ], + "src": "705:24:4" + }, + "returnParameters": { + "id": 290, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 289, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 291, + "src": "765:7:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 288, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "765:7:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "764:9:4" + }, + "scope": 301, + "src": "684:90:4", + "stateMutability": "view", + "superFunction": null, + "visibility": "external" + }, + { + "body": null, + "documentation": "@dev Returns the token identifier for the `_index`th NFT assigned to `_owner`. Sort order is\nnot specified. It throws if `_index` >= `balanceOf(_owner)` or if `_owner` is the zero address,\nrepresenting invalid NFTs.\n@param _owner An address where we are interested in NFTs owned by them.\n@param _index A counter less than `balanceOf(_owner)`.\n@return Token id.", + "id": 300, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "tokenOfOwnerByIndex", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 296, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 293, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 300, + "src": "1215:14:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 292, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1215:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" }, { "constant": false, - "id": 9308, - "name": "b", + "id": 295, + "name": "_index", "nodeType": "VariableDeclaration", - "scope": 9321, - "src": "1186:9:4", + "scope": 300, + "src": "1235:14:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4013,10 +3689,10 @@ "typeString": "uint256" }, "typeName": { - "id": 9307, + "id": 294, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1186:7:4", + "src": "1235:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4026,19 +3702,19 @@ "visibility": "internal" } ], - "src": "1174:22:4" + "src": "1209:44:4" }, "returnParameters": { - "id": 9312, + "id": 299, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 9311, + "id": 298, "name": "", "nodeType": "VariableDeclaration", - "scope": 9321, - "src": "1220:7:4", + "scope": 300, + "src": "1289:7:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4046,10 +3722,10 @@ "typeString": "uint256" }, "typeName": { - "id": 9310, + "id": 297, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1220:7:4", + "src": "1289:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4059,33 +3735,33 @@ "visibility": "internal" } ], - "src": "1219:9:4" + "src": "1288:9:4" }, - "scope": 9322, - "src": "1159:109:4", - "stateMutability": "pure", + "scope": 301, + "src": "1181:117:4", + "stateMutability": "view", "superFunction": null, - "visibility": "internal" + "visibility": "external" } ], - "scope": 9323, - "src": "84:1187:4" + "scope": 302, + "src": "190:1111:4" } ], - "src": "0:1273:4" + "src": "0:1302:4" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/SNTController.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/SNTController.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721-token-receiver.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721-token-receiver.sol", "exportedSymbols": { - "SNTController": [ - 6872 + "ERC721TokenReceiver": [ + 317 ] }, - "id": 6873, + "id": 318, "nodeType": "SourceUnit", "nodes": [ { - "id": 6701, + "id": 303, "literals": [ "solidity", ">=", @@ -4099,150 +3775,38 @@ "src": "0:31:5" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/TokenController.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/TokenController.sol", - "id": 6702, - "nodeType": "ImportDirective", - "scope": 6873, - "sourceUnit": 6700, - "src": "35:100:5", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Owned.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Owned.sol", - "id": 6703, - "nodeType": "ImportDirective", - "scope": 6873, - "sourceUnit": 5454, - "src": "137:91:5", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "id": 6704, - "nodeType": "ImportDirective", - "scope": 6873, - "sourceUnit": 5523, - "src": "230:95:5", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/MiniMeToken.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/MiniMeToken.sol", - "id": 6705, - "nodeType": "ImportDirective", - "scope": 6873, - "sourceUnit": 6668, - "src": "327:96:5", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6706, - "name": "TokenController", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6699, - "src": "610:15:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_TokenController_$6699", - "typeString": "contract TokenController" - } - }, - "id": 6707, - "nodeType": "InheritanceSpecifier", - "src": "610:15:5" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6708, - "name": "Owned", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5453, - "src": "627:5:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Owned_$5453", - "typeString": "contract Owned" - } - }, - "id": 6709, - "nodeType": "InheritanceSpecifier", - "src": "627:5:5" - } - ], - "contractDependencies": [ - 5453, - 6699 - ], - "contractKind": "contract", - "documentation": "@title SNTController\r\n@author Ricardo Guilherme Schmidt (Status Research & Development GmbH)\r\n@notice enables economic abstraction for SNT\r", - "fullyImplemented": true, - "id": 6872, + "baseContracts": [], + "contractDependencies": [], + "contractKind": "interface", + "documentation": "@dev ERC-721 interface for accepting safe transfers. \nSee https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md.", + "fullyImplemented": false, + "id": 317, "linearizedBaseContracts": [ - 6872, - 5453, - 6699 + 317 ], - "name": "SNTController", + "name": "ERC721TokenReceiver", "nodeType": "ContractDefinition", "nodes": [ { - "constant": false, - "id": 6711, - "name": "snt", - "nodeType": "VariableDeclaration", - "scope": 6872, - "src": "642:22:5", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - }, - "typeName": { - "contractScope": null, - "id": 6710, - "name": "MiniMeToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "642:11:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "value": null, - "visibility": "public" - }, - { - "anonymous": false, - "documentation": null, - "id": 6719, - "name": "ClaimedTokens", - "nodeType": "EventDefinition", + "body": null, + "documentation": "@dev Handle the receipt of a NFT. The ERC721 smart contract calls this function on the\nrecipient after a `transfer`. This function MAY throw to revert and reject the transfer. Return\nof other than the magic value MUST result in the transaction being reverted.\nReturns `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))` unless throwing.\n@notice The contract address is always the message sender. A wallet/broker/auction application\nMUST implement the wallet interface if it will accept safe transfers.\n@param _operator The address which called `safeTransferFrom` function.\n@param _from The address which previously owned the token.\n@param _tokenId The NFT identifier which is being transferred.\n@param _data Additional data with no specified format.\n@return Returns `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`.", + "id": 316, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "onERC721Received", + "nodeType": "FunctionDefinition", "parameters": { - "id": 6718, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 6713, - "indexed": true, - "name": "_token", + "id": 305, + "name": "_operator", "nodeType": "VariableDeclaration", - "scope": 6719, - "src": "693:22:5", + "scope": 316, + "src": "1157:17:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4250,10 +3814,10 @@ "typeString": "address" }, "typeName": { - "id": 6712, + "id": 304, "name": "address", "nodeType": "ElementaryTypeName", - "src": "693:7:5", + "src": "1157:7:5", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4265,12 +3829,11 @@ }, { "constant": false, - "id": 6715, - "indexed": true, - "name": "_controller", + "id": 307, + "name": "_from", "nodeType": "VariableDeclaration", - "scope": 6719, - "src": "717:27:5", + "scope": 316, + "src": "1180:13:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4278,10 +3841,10 @@ "typeString": "address" }, "typeName": { - "id": 6714, + "id": 306, "name": "address", "nodeType": "ElementaryTypeName", - "src": "717:7:5", + "src": "1180:7:5", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4293,12 +3856,11 @@ }, { "constant": false, - "id": 6717, - "indexed": false, - "name": "_amount", + "id": 309, + "name": "_tokenId", "nodeType": "VariableDeclaration", - "scope": 6719, - "src": "746:15:5", + "scope": 316, + "src": "1199:16:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4306,10 +3868,10 @@ "typeString": "uint256" }, "typeName": { - "id": 6716, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "746:7:5", + "src": "1199:7:5", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4317,1954 +3879,94 @@ }, "value": null, "visibility": "internal" - } - ], - "src": "692:70:5" - }, - "src": "673:90:5" - }, - { - "anonymous": false, - "documentation": null, - "id": 6723, - "name": "ControllerChanged", - "nodeType": "EventDefinition", - "parameters": { - "id": 6722, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6721, - "indexed": true, - "name": "_newController", - "nodeType": "VariableDeclaration", - "scope": 6723, - "src": "793:30:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6720, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "793:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "792:32:5" - }, - "src": "769:56:5" - }, - { - "body": { - "id": 6745, - "nodeType": "Block", - "src": "1012:104:5", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 6734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6730, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6725, - "src": "1026:6:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1044:1:5", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 6731, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1036:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6733, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1036:10:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1026:20:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6740, - "nodeType": "IfStatement", - "src": "1023:65:5", - "trueBody": { - "id": 6739, - "nodeType": "Block", - "src": "1047:41:5", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 6737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 6735, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "1062:5:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6736, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6725, - "src": "1070:6:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1062:14:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 6738, - "nodeType": "ExpressionStatement", - "src": "1062:14:5" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 6743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 6741, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6711, - "src": "1098:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6742, - "name": "_snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6727, - "src": "1104:4:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "src": "1098:10:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 6744, - "nodeType": "ExpressionStatement", - "src": "1098:10:5" - } - ] - }, - "documentation": "@notice Constructor\r\n@param _owner Authority address\r\n@param _snt SNT token\r", - "id": 6746, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6728, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6725, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 6746, - "src": "961:22:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 6724, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "961:15:5", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "internal" }, { "constant": false, - "id": 6727, - "name": "_snt", + "id": 311, + "name": "_data", "nodeType": "VariableDeclaration", - "scope": 6746, - "src": "985:16:5", + "scope": 316, + "src": "1221:20:5", "stateVariable": false, - "storageLocation": "default", + "storageLocation": "calldata", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" }, "typeName": { - "contractScope": null, - "id": 6726, - "name": "MiniMeToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "985:11:5", + "id": 310, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1221:5:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" } }, "value": null, "visibility": "internal" } ], - "src": "960:42:5" + "src": "1151:94:5" }, "returnParameters": { - "id": 6729, + "id": 315, "nodeType": "ParameterList", - "parameters": [], - "src": "1012:0:5" + "parameters": [ + { + "constant": false, + "id": 314, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 316, + "src": "1271:6:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 313, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "1271:6:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1270:8:5" }, - "scope": 6872, - "src": "949:167:5", + "scope": 317, + "src": "1126:153:5", "stateMutability": "nonpayable", "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 6763, - "nodeType": "Block", - "src": "1442:104:5", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6756, - "name": "_newController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6748, - "src": "1474:14:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "expression": { - "argumentTypes": null, - "id": 6753, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6711, - "src": "1453:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 6755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "changeController", - "nodeType": "MemberAccess", - "referencedDeclaration": 6927, - "src": "1453:20:5", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_payable_$returns$__$", - "typeString": "function (address payable) external" - } - }, - "id": 6757, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1453:36:5", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6758, - "nodeType": "ExpressionStatement", - "src": "1453:36:5" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6760, - "name": "_newController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6748, - "src": "1523:14:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 6759, - "name": "ControllerChanged", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6723, - "src": "1505:17:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 6761, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1505:33:5", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6762, - "nodeType": "EmitStatement", - "src": "1500:38:5" - } - ] - }, - "documentation": "@notice The owner of this contract can change the controller of the SNT token\r\n Please, be sure that the owner is a trusted agent or 0x0 address.\r\n @param _newController The address of the new controller\r", - "id": 6764, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 6751, - "modifierName": { - "argumentTypes": null, - "id": 6750, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5413, - "src": "1432:9:5", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1432:9:5" - } - ], - "name": "changeController", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6749, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6748, - "name": "_newController", - "nodeType": "VariableDeclaration", - "scope": 6764, - "src": "1392:31:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 6747, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1392:16:5", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1391:33:5" - }, - "returnParameters": { - "id": 6752, - "nodeType": "ParameterList", - "parameters": [], - "src": "1442:0:5" - }, - "scope": 6872, - "src": "1366:180:5", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 6832, - "nodeType": "Block", - "src": "1879:440:5", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6777, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 6771, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6711, - "src": "1894:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 6772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "controller", - "nodeType": "MemberAccess", - "referencedDeclaration": 6906, - "src": "1894:14:5", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_payable_$", - "typeString": "function () view external returns (address payable)" - } - }, - "id": 6773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1894:16:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6775, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9489, - "src": "1922:4:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SNTController_$6872", - "typeString": "contract SNTController" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_SNTController_$6872", - "typeString": "contract SNTController" - } - ], - "id": 6774, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1914:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1914:13:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1894:33:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6785, - "nodeType": "IfStatement", - "src": "1890:89:5", - "trueBody": { - "id": 6784, - "nodeType": "Block", - "src": "1929:50:5", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6781, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6766, - "src": "1960:6:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 6778, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6711, - "src": "1944:3:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 6780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "claimTokens", - "nodeType": "MemberAccess", - "referencedDeclaration": 6593, - "src": "1944:15:5", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 6782, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1944:23:5", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6783, - "nodeType": "ExpressionStatement", - "src": "1944:23:5" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 6790, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6786, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6766, - "src": "1993:6:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6788, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2011:1:5", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 6787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2003:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6789, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2003:10:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1993:20:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6803, - "nodeType": "IfStatement", - "src": "1989:120:5", - "trueBody": { - "id": 6802, - "nodeType": "Block", - "src": "2015:94:5", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6796, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9489, - "src": "2062:4:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SNTController_$6872", - "typeString": "contract SNTController" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_SNTController_$6872", - "typeString": "contract SNTController" - } - ], - "id": 6795, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2054:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2054:13:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 6798, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2054:21:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6792, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "2038:5:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 6791, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2030:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2030:14:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 6794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transfer", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2030:23:5", - "typeDescriptions": { - "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256)" - } - }, - "id": 6799, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2030:46:5", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6800, - "nodeType": "ExpressionStatement", - "src": "2030:46:5" - }, - { - "expression": null, - "functionReturnParameters": 6770, - "id": 6801, - "nodeType": "Return", - "src": "2091:7:5" - } - ] - } - }, - { - "assignments": [ - 6805 - ], - "declarations": [ - { - "constant": false, - "id": 6805, - "name": "token", - "nodeType": "VariableDeclaration", - "scope": 6832, - "src": "2121:16:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - }, - "typeName": { - "contractScope": null, - "id": 6804, - "name": "ERC20Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "2121:10:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6809, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6807, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6766, - "src": "2151:6:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6806, - "name": "ERC20Token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5522, - "src": "2140:10:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC20Token_$5522_$", - "typeString": "type(contract ERC20Token)" - } - }, - "id": 6808, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2140:18:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2121:37:5" - }, - { - "assignments": [ - 6811 - ], - "declarations": [ - { - "constant": false, - "id": 6811, - "name": "balance", - "nodeType": "VariableDeclaration", - "scope": 6832, - "src": "2169:15:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6810, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2169:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6818, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6815, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9489, - "src": "2211:4:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SNTController_$6872", - "typeString": "contract SNTController" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_SNTController_$6872", - "typeString": "contract SNTController" - } - ], - "id": 6814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2203:7:5", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2203:13:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 6812, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6805, - "src": "2187:5:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 6813, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balanceOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 5491, - "src": "2187:15:5", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view external returns (uint256)" - } - }, - "id": 6817, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2187:30:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2169:48:5" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6822, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "2243:5:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6823, - "name": "balance", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6811, - "src": "2250:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 6819, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6805, - "src": "2228:5:5", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 6821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transfer", - "nodeType": "MemberAccess", - "referencedDeclaration": 5464, - "src": "2228:14:5", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) external returns (bool)" - } - }, - "id": 6824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2228:30:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6825, - "nodeType": "ExpressionStatement", - "src": "2228:30:5" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6827, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6766, - "src": "2288:6:5", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6828, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "2296:5:5", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6829, - "name": "balance", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6811, - "src": "2303:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6826, - "name": "ClaimedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6719, - "src": "2274:13:5", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 6830, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2274:37:5", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6831, - "nodeType": "EmitStatement", - "src": "2269:42:5" - } - ] - }, - "documentation": "@notice This method can be used by the controller to extract mistakenly\r\n sent tokens to this contract.\r\n@param _token The address of the token contract that you want to recover\r\n set to 0 in case you want to extract ether.\r", - "id": 6833, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 6769, - "modifierName": { - "argumentTypes": null, - "id": 6768, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5413, - "src": "1869:9:5", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1869:9:5" - } - ], - "name": "claimTokens", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6767, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6766, - "name": "_token", - "nodeType": "VariableDeclaration", - "scope": 6833, - "src": "1846:14:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6765, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1846:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1845:16:5" - }, - "returnParameters": { - "id": 6770, - "nodeType": "ParameterList", - "parameters": [], - "src": "1879:0:5" - }, - "scope": 6872, - "src": "1825:494:5", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 6842, - "nodeType": "Block", - "src": "2573:149:5", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 6840, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2709:5:5", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 6839, - "id": 6841, - "nodeType": "Return", - "src": "2702:12:5" - } - ] - }, - "documentation": "@notice payment by address coming from controlled token\r\n@dev In between the offering and the network. Default settings for allowing token transfers.\r", - "id": 6843, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "proxyPayment", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6836, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6835, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6843, - "src": "2532:7:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6834, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2532:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2531:9:5" - }, - "returnParameters": { - "id": 6839, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6838, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6843, - "src": "2567:4:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6837, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2567:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2566:6:5" - }, - "scope": 6872, - "src": "2510:212:5", - "stateMutability": "payable", - "superFunction": 6676, - "visibility": "external" - }, - { - "body": { - "id": 6856, - "nodeType": "Block", - "src": "2930:148:5", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 6854, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3066:4:5", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 6853, - "id": 6855, - "nodeType": "Return", - "src": "3059:11:5" - } - ] - }, - "documentation": "@notice register and authorizes transfer from token\r\n@dev called by snt when a transfer is made\r", - "id": 6857, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "onTransfer", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6850, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6845, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6857, - "src": "2879:7:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6844, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2879:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6847, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6857, - "src": "2888:7:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6846, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2888:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6849, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6857, - "src": "2897:7:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6848, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2897:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2878:27:5" - }, - "returnParameters": { - "id": 6853, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6852, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6857, - "src": "2924:4:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6851, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2924:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2923:6:5" - }, - "scope": 6872, - "src": "2859:219:5", - "stateMutability": "nonpayable", - "superFunction": 6687, - "visibility": "external" - }, - { - "body": { - "id": 6870, - "nodeType": "Block", - "src": "3285:148:5", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 6868, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3421:4:5", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 6867, - "id": 6869, - "nodeType": "Return", - "src": "3414:11:5" - } - ] - }, - "documentation": "@notice register and authorizes approve from token\r\n@dev called by snt when an approval is made\r", - "id": 6871, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "onApprove", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6864, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6859, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6871, - "src": "3234:7:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6858, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3234:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6861, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6871, - "src": "3243:7:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6860, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3243:7:5", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6863, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6871, - "src": "3252:7:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6862, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3252:7:5", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3233:27:5" - }, - "returnParameters": { - "id": 6867, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6866, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6871, - "src": "3279:4:5", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6865, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3279:4:5", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3278:6:5" - }, - "scope": 6872, - "src": "3215:218:5", - "stateMutability": "nonpayable", - "superFunction": 6698, "visibility": "external" } ], - "scope": 6873, - "src": "584:2852:5" + "scope": 318, + "src": "167:1119:5" } ], - "src": "0:3436:5" + "src": "0:1287:5" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/StatusNetwork.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/StatusNetwork.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721.sol", "exportedSymbols": { - "StatusNetwork": [ - 6890 + "ERC721": [ + 417 ] }, - "id": 6891, + "id": 418, "nodeType": "SourceUnit", "nodes": [ { - "id": 6874, + "id": 319, "literals": [ "solidity", ">=", @@ -6278,142 +3980,51 @@ "src": "0:31:6" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/SNTController.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/SNTController.sol", - "id": 6875, - "nodeType": "ImportDirective", - "scope": 6891, - "sourceUnit": 6873, - "src": "35:99:6", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6876, - "name": "SNTController", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6872, - "src": "218:13:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SNTController_$6872", - "typeString": "contract SNTController" - } - }, - "id": 6877, - "nodeType": "InheritanceSpecifier", - "src": "218:13:6" - } - ], - "contractDependencies": [ - 5453, - 6699, - 6872 - ], - "contractKind": "contract", - "documentation": "@dev Status Network is implemented here\r", - "fullyImplemented": true, - "id": 6890, + "baseContracts": [], + "contractDependencies": [], + "contractKind": "interface", + "documentation": "@dev ERC-721 non-fungible token standard. \nSee https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md.", + "fullyImplemented": false, + "id": 417, "linearizedBaseContracts": [ - 6890, - 6872, - 5453, - 6699 + 417 ], - "name": "StatusNetwork", + "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "body": { - "id": 6888, - "nodeType": "Block", - "src": "494:3:6", - "statements": [] - }, - "documentation": "@notice Constructor\r\n@param _owner Authority address\r\n@param _snt SNT token\r", - "id": 6889, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 6884, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6879, - "src": "475:6:6", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6885, - "name": "_snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6881, - "src": "483:4:6", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - } - ], - "id": 6886, - "modifierName": { - "argumentTypes": null, - "id": 6883, - "name": "SNTController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6872, - "src": "461:13:6", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SNTController_$6872_$", - "typeString": "type(contract SNTController)" - } - }, - "nodeType": "ModifierInvocation", - "src": "461:27:6" - } - ], - "name": "", - "nodeType": "FunctionDefinition", + "anonymous": false, + "documentation": "@dev Emits when ownership of any NFT changes by any mechanism. This event emits when NFTs are\ncreated (`from` == 0) and destroyed (`to` == 0). Exception: during contract creation, any\nnumber of NFTs may be created and assigned without emitting Transfer. At the time of any\ntransfer, the approved address for that NFT (if any) is reset to none.", + "id": 327, + "name": "Transfer", + "nodeType": "EventDefinition", "parameters": { - "id": 6882, + "id": 326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 6879, - "name": "_owner", + "id": 321, + "indexed": true, + "name": "from", "nodeType": "VariableDeclaration", - "scope": 6889, - "src": "379:22:6", + "scope": 327, + "src": "574:20:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "id": 6878, + "id": 320, "name": "address", "nodeType": "ElementaryTypeName", - "src": "379:15:6", - "stateMutability": "payable", + "src": "574:7:6", + "stateMutability": "nonpayable", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } }, "value": null, @@ -6421,66 +4032,1146 @@ }, { "constant": false, - "id": 6881, - "name": "_snt", + "id": 323, + "indexed": true, + "name": "to", "nodeType": "VariableDeclaration", - "scope": 6889, - "src": "412:16:6", + "scope": 327, + "src": "600:18:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "contractScope": null, - "id": 6880, - "name": "MiniMeToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "412:11:6", + "id": 322, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "600:7:6", + "stateMutability": "nonpayable", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 325, + "indexed": true, + "name": "value", + "nodeType": "VariableDeclaration", + "scope": 327, + "src": "624:21:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 324, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "624:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "368:67:6" + "src": "568:81:6" + }, + "src": "554:96:6" + }, + { + "anonymous": false, + "documentation": "@dev This emits when the approved address for an NFT is changed or reaffirmed. The zero\naddress indicates there is no approved address. When a Transfer event emits, this also\nindicates that the approved address for that NFT (if any) is reset to none.", + "id": 335, + "name": "Approval", + "nodeType": "EventDefinition", + "parameters": { + "id": 334, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 329, + "indexed": true, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 335, + "src": "952:22:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 328, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "952:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 331, + "indexed": true, + "name": "_approved", + "nodeType": "VariableDeclaration", + "scope": 335, + "src": "980:25:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 330, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "980:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 333, + "indexed": true, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 335, + "src": "1011:24:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 332, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1011:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "946:93:6" + }, + "src": "932:108:6" + }, + { + "anonymous": false, + "documentation": "@dev This emits when an operator is enabled or disabled for an owner. The operator can manage\nall NFTs of the owner.", + "id": 343, + "name": "ApprovalForAll", + "nodeType": "EventDefinition", + "parameters": { + "id": 342, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 337, + "indexed": true, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 343, + "src": "1209:22:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 336, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1209:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 339, + "indexed": true, + "name": "_operator", + "nodeType": "VariableDeclaration", + "scope": 343, + "src": "1237:25:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 338, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1237:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 341, + "indexed": false, + "name": "_approved", + "nodeType": "VariableDeclaration", + "scope": 343, + "src": "1268:14:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 340, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1268:4:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1203:83:6" + }, + "src": "1183:104:6" + }, + { + "body": null, + "documentation": "@dev Transfers the ownership of an NFT from one address to another address.\n@notice Throws unless `msg.sender` is the current owner, an authorized operator, or the\napproved address for this NFT. Throws if `_from` is not the current owner. Throws if `_to` is\nthe zero address. Throws if `_tokenId` is not a valid NFT. When transfer is complete, this\nfunction checks if `_to` is a smart contract (code size > 0). If so, it calls\n`onERC721Received` on `_to` and throws if the return value is not \n`bytes4(keccak256(\"onERC721Received(address,uint256,bytes)\"))`.\n@param _from The current owner of the NFT.\n@param _to The new owner.\n@param _tokenId The NFT to transfer.\n@param _data Additional data with no specified format, sent in call to `_to`.", + "id": 354, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "safeTransferFrom", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 352, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 345, + "name": "_from", + "nodeType": "VariableDeclaration", + "scope": 354, + "src": "2131:13:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 344, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2131:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 347, + "name": "_to", + "nodeType": "VariableDeclaration", + "scope": 354, + "src": "2150:11:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 346, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2150:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 349, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 354, + "src": "2167:16:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 348, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2167:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 351, + "name": "_data", + "nodeType": "VariableDeclaration", + "scope": 354, + "src": "2189:20:6", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 350, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "2189:5:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2125:88:6" }, "returnParameters": { - "id": 6887, + "id": 353, "nodeType": "ParameterList", "parameters": [], - "src": "494:0:6" + "src": "2226:0:6" }, - "scope": 6890, - "src": "357:140:6", + "scope": 417, + "src": "2100:127:6", "stateMutability": "nonpayable", "superFunction": null, - "visibility": "public" + "visibility": "external" + }, + { + "body": null, + "documentation": "@dev Transfers the ownership of an NFT from one address to another address.\n@notice This works identically to the other function with an extra data parameter, except this\nfunction just sets data to \"\"\n@param _from The current owner of the NFT.\n@param _to The new owner.\n@param _tokenId The NFT to transfer.", + "id": 363, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "safeTransferFrom", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 361, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 356, + "name": "_from", + "nodeType": "VariableDeclaration", + "scope": 363, + "src": "2611:13:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 355, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2611:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 358, + "name": "_to", + "nodeType": "VariableDeclaration", + "scope": 363, + "src": "2630:11:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 357, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2630:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 360, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 363, + "src": "2647:16:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 359, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2647:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2605:62:6" + }, + "returnParameters": { + "id": 362, + "nodeType": "ParameterList", + "parameters": [], + "src": "2680:0:6" + }, + "scope": 417, + "src": "2580:101:6", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "external" + }, + { + "body": null, + "documentation": "@dev Throws unless `msg.sender` is the current owner, an authorized operator, or the approved\naddress for this NFT. Throws if `_from` is not the current owner. Throws if `_to` is the zero\naddress. Throws if `_tokenId` is not a valid NFT.\n@notice The caller is responsible to confirm that `_to` is capable of receiving NFTs or else\nthey mayb be permanently lost.\n@param _from The current owner of the NFT.\n@param _to The new owner.\n@param _tokenId The NFT to transfer.", + "id": 372, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "transferFrom", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 370, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 365, + "name": "_from", + "nodeType": "VariableDeclaration", + "scope": 372, + "src": "3232:13:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 364, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3232:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 367, + "name": "_to", + "nodeType": "VariableDeclaration", + "scope": 372, + "src": "3251:11:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 366, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3251:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 369, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 372, + "src": "3268:16:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 368, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3268:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3226:62:6" + }, + "returnParameters": { + "id": 371, + "nodeType": "ParameterList", + "parameters": [], + "src": "3301:0:6" + }, + "scope": 417, + "src": "3205:97:6", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "external" + }, + { + "body": null, + "documentation": "@dev Set or reaffirm the approved address for an NFT.\n@notice The zero address indicates there is no approved address. Throws unless `msg.sender` is\nthe current NFT owner, or an authorized operator of the current owner.\n@param _approved The new approved NFT controller.\n@param _tokenId The NFT to approve.", + "id": 379, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "approve", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 377, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 374, + "name": "_approved", + "nodeType": "VariableDeclaration", + "scope": 379, + "src": "3671:17:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 373, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3671:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 376, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 379, + "src": "3694:16:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 375, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3694:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3665:49:6" + }, + "returnParameters": { + "id": 378, + "nodeType": "ParameterList", + "parameters": [], + "src": "3727:0:6" + }, + "scope": 417, + "src": "3649:79:6", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "external" + }, + { + "body": null, + "documentation": "@dev Enables or disables approval for a third party (\"operator\") to manage all of\n`msg.sender`'s assets. It also emits the ApprovalForAll event.\n@notice The contract MUST allow multiple operators per owner.\n@param _operator Address to add to the set of authorized operators.\n@param _approved True if the operators is approved, false to revoke approval.", + "id": 386, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setApprovalForAll", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 384, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 381, + "name": "_operator", + "nodeType": "VariableDeclaration", + "scope": 386, + "src": "4154:17:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 380, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4154:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 383, + "name": "_approved", + "nodeType": "VariableDeclaration", + "scope": 386, + "src": "4177:14:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 382, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4177:4:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4148:47:6" + }, + "returnParameters": { + "id": 385, + "nodeType": "ParameterList", + "parameters": [], + "src": "4208:0:6" + }, + "scope": 417, + "src": "4122:87:6", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "external" + }, + { + "body": null, + "documentation": "@dev Returns the number of NFTs owned by `_owner`. NFTs assigned to the zero address are\nconsidered invalid, and this function throws for queries about the zero address.\n@param _owner Address for whom to query the balance.\n@return Balance of _owner.", + "id": 393, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "balanceOf", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 389, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 388, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 393, + "src": "4519:14:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 387, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4519:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4513:24:6" + }, + "returnParameters": { + "id": 392, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 391, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 393, + "src": "4573:7:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 390, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4573:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4572:9:6" + }, + "scope": 417, + "src": "4495:87:6", + "stateMutability": "view", + "superFunction": null, + "visibility": "external" + }, + { + "body": null, + "documentation": "@dev Returns the address of the owner of the NFT. NFTs assigned to zero address are considered\ninvalid, and queries about them do throw.\n@param _tokenId The identifier for an NFT.\n@return Address of _tokenId owner.", + "id": 400, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "ownerOf", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 396, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 395, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 400, + "src": "4855:16:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 394, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4855:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4849:26:6" + }, + "returnParameters": { + "id": 399, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 398, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 400, + "src": "4911:7:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 397, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4911:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4910:9:6" + }, + "scope": 417, + "src": "4833:87:6", + "stateMutability": "view", + "superFunction": null, + "visibility": "external" + }, + { + "body": null, + "documentation": "@dev Get the approved address for a single NFT.\n@notice Throws if `_tokenId` is not a valid NFT.\n@param _tokenId The NFT to find the approved address for.\n@return Address that _tokenId is approved for. ", + "id": 407, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getApproved", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 403, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 402, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 407, + "src": "5189:16:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 401, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5189:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "5183:26:6" + }, + "returnParameters": { + "id": 406, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 405, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 407, + "src": "5245:7:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 404, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5245:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "5244:9:6" + }, + "scope": 417, + "src": "5163:91:6", + "stateMutability": "view", + "superFunction": null, + "visibility": "external" + }, + { + "body": null, + "documentation": "@dev Returns true if `_operator` is an approved operator for `_owner`, false otherwise.\n@param _owner The address that owns the NFTs.\n@param _operator The address that acts on behalf of the owner.\n@return True if approved for all, false otherwise.", + "id": 416, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "isApprovedForAll", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 412, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 409, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 416, + "src": "5569:14:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 408, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5569:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 411, + "name": "_operator", + "nodeType": "VariableDeclaration", + "scope": 416, + "src": "5589:17:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 410, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5589:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "5563:47:6" + }, + "returnParameters": { + "id": 415, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 414, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 416, + "src": "5646:4:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 413, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5646:4:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "5645:6:6" + }, + "scope": 417, + "src": "5538:114:6", + "stateMutability": "view", + "superFunction": null, + "visibility": "external" } ], - "scope": 6891, - "src": "192:310:6" + "scope": 418, + "src": "156:5499:6" } ], - "src": "0:502:6" + "src": "0:5656:6" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/sticker-market/StickerMarket.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/sticker-market/StickerMarket.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/nf-token-enumerable.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/nf-token-enumerable.sol", "exportedSymbols": { - "StickerMarket": [ - 9081 + "NFTokenEnumerable": [ + 712 ] }, - "id": 9082, + "id": 713, "nodeType": "SourceUnit", "nodes": [ { - "id": 7611, + "id": 419, "literals": [ "solidity", ">=", @@ -6494,46 +5185,24 @@ "src": "0:31:7" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/NonfungibleToken.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/NonfungibleToken.sol", - "id": 7612, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/nf-token.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/nf-token.sol", + "id": 420, "nodeType": "ImportDirective", - "scope": 9082, - "sourceUnit": 7610, - "src": "35:101:7", + "scope": 713, + "sourceUnit": 1343, + "src": "33:93:7", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "id": 7613, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721-enumerable.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721-enumerable.sol", + "id": 421, "nodeType": "ImportDirective", - "scope": 9082, - "sourceUnit": 5523, - "src": "138:95:7", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", - "id": 7614, - "nodeType": "ImportDirective", - "scope": 9082, - "sourceUnit": 6943, - "src": "235:107:7", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol", - "id": 7615, - "nodeType": "ImportDirective", - "scope": 9082, - "sourceUnit": 6929, - "src": "344:96:7", + "scope": 713, + "sourceUnit": 302, + "src": "127:102:7", "symbolAliases": [], "unitAlias": "" }, @@ -6543,1016 +5212,104 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 7616, - "name": "Controlled", + "id": 422, + "name": "NFToken", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6928, - "src": "692:10:7", + "referencedDeclaration": 1342, + "src": "356:7:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_Controlled_$6928", - "typeString": "contract Controlled" + "typeIdentifier": "t_contract$_NFToken_$1342", + "typeString": "contract NFToken" } }, - "id": 7617, + "id": 423, "nodeType": "InheritanceSpecifier", - "src": "692:10:7" + "src": "356:7:7" }, { "arguments": null, "baseName": { "contractScope": null, - "id": 7618, - "name": "NonfungibleToken", + "id": 424, + "name": "ERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 7609, - "src": "704:16:7", + "referencedDeclaration": 301, + "src": "367:16:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_NonfungibleToken_$7609", - "typeString": "contract NonfungibleToken" + "typeIdentifier": "t_contract$_ERC721Enumerable_$301", + "typeString": "contract ERC721Enumerable" } }, - "id": 7619, + "id": 425, "nodeType": "InheritanceSpecifier", - "src": "704:16:7" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 7620, - "name": "ApproveAndCallFallBack", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6942, - "src": "722:22:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ApproveAndCallFallBack_$6942", - "typeString": "contract ApproveAndCallFallBack" - } - }, - "id": 7621, - "nodeType": "InheritanceSpecifier", - "src": "722:22:7" + "src": "367:16:7" } ], "contractDependencies": [ - 6928, - 6942, - 7609, - 9110, - 9159, - 9422 + 301, + 417, + 1342, + 1373, + 1405 ], "contractKind": "contract", - "documentation": "@author Ricardo Guilherme Schmidt (Status Research & Development GmbH) \r\nStickerMarket allows any address register \"StickerPack\" which can be sold to any address in form of \"StickerPack\", an ERC721 token.\r", + "documentation": "@dev Optional enumeration implementation for ERC-721 non-fungible token standard.", "fullyImplemented": true, - "id": 9081, + "id": 712, "linearizedBaseContracts": [ - 9081, - 6942, - 7609, - 9422, - 9159, - 9110, - 6928 + 712, + 301, + 1342, + 1405, + 1373, + 417 ], - "name": "StickerMarket", + "name": "NFTokenEnumerable", "nodeType": "ContractDefinition", "nodes": [ - { - "anonymous": false, - "documentation": null, - "id": 7629, - "name": "Register", - "nodeType": "EventDefinition", - "parameters": { - "id": 7628, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7623, - "indexed": true, - "name": "packId", - "nodeType": "VariableDeclaration", - "scope": 7629, - "src": "767:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7622, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "767:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7625, - "indexed": false, - "name": "dataPrice", - "nodeType": "VariableDeclaration", - "scope": 7629, - "src": "791:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7624, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "791:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7627, - "indexed": false, - "name": "_contenthash", - "nodeType": "VariableDeclaration", - "scope": 7629, - "src": "810:18:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7626, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "810:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "766:63:7" - }, - "src": "752:78:7" - }, - { - "anonymous": false, - "documentation": null, - "id": 7635, - "name": "Categorized", - "nodeType": "EventDefinition", - "parameters": { - "id": 7634, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7631, - "indexed": true, - "name": "category", - "nodeType": "VariableDeclaration", - "scope": 7635, - "src": "854:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7630, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "854:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7633, - "indexed": true, - "name": "packId", - "nodeType": "VariableDeclaration", - "scope": 7635, - "src": "879:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7632, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "879:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "853:49:7" - }, - "src": "836:67:7" - }, - { - "anonymous": false, - "documentation": null, - "id": 7641, - "name": "Uncategorized", - "nodeType": "EventDefinition", - "parameters": { - "id": 7640, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7637, - "indexed": true, - "name": "category", - "nodeType": "VariableDeclaration", - "scope": 7641, - "src": "929:23:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7636, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "929:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7639, - "indexed": true, - "name": "packId", - "nodeType": "VariableDeclaration", - "scope": 7641, - "src": "954:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7638, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "954:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "928:49:7" - }, - "src": "909:69:7" - }, - { - "anonymous": false, - "documentation": null, - "id": 7645, - "name": "Unregister", - "nodeType": "EventDefinition", - "parameters": { - "id": 7644, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7643, - "indexed": true, - "name": "packId", - "nodeType": "VariableDeclaration", - "scope": 7645, - "src": "1001:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7642, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1001:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1000:24:7" - }, - "src": "984:41:7" - }, - { - "anonymous": false, - "documentation": null, - "id": 7653, - "name": "ClaimedTokens", - "nodeType": "EventDefinition", - "parameters": { - "id": 7652, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7647, - "indexed": true, - "name": "_token", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "1051:22:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7646, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1051:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7649, - "indexed": true, - "name": "_controller", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "1075:27:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7648, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1075:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7651, - "indexed": false, - "name": "_amount", - "nodeType": "VariableDeclaration", - "scope": 7653, - "src": "1104:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7650, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1104:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1050:70:7" - }, - "src": "1031:90:7" - }, - { - "anonymous": false, - "documentation": null, - "id": 7657, - "name": "MarketState", - "nodeType": "EventDefinition", - "parameters": { - "id": 7656, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7655, - "indexed": false, - "name": "state", - "nodeType": "VariableDeclaration", - "scope": 7657, - "src": "1145:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - }, - "typeName": { - "contractScope": null, - "id": 7654, - "name": "State", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 7671, - "src": "1145:5:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1144:13:7" - }, - "src": "1127:31:7" - }, - { - "anonymous": false, - "documentation": null, - "id": 7661, - "name": "RegisterFee", - "nodeType": "EventDefinition", - "parameters": { - "id": 7660, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7659, - "indexed": false, - "name": "value", - "nodeType": "VariableDeclaration", - "scope": 7661, - "src": "1182:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7658, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1182:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1181:15:7" - }, - "src": "1164:33:7" - }, - { - "anonymous": false, - "documentation": null, - "id": 7665, - "name": "BurnRate", - "nodeType": "EventDefinition", - "parameters": { - "id": 7664, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7663, - "indexed": false, - "name": "value", - "nodeType": "VariableDeclaration", - "scope": 7665, - "src": "1218:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7662, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1218:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1217:15:7" - }, - "src": "1203:30:7" - }, - { - "canonicalName": "StickerMarket.State", - "id": 7671, - "members": [ - { - "id": 7666, - "name": "Invalid", - "nodeType": "EnumValue", - "src": "1254:7:7" - }, - { - "id": 7667, - "name": "Open", - "nodeType": "EnumValue", - "src": "1263:4:7" - }, - { - "id": 7668, - "name": "BuyOnly", - "nodeType": "EnumValue", - "src": "1269:7:7" - }, - { - "id": 7669, - "name": "Controlled", - "nodeType": "EnumValue", - "src": "1278:10:7" - }, - { - "id": 7670, - "name": "Closed", - "nodeType": "EnumValue", - "src": "1290:6:7" - } - ], - "name": "State", - "nodeType": "EnumDefinition", - "src": "1241:57:7" - }, - { - "canonicalName": "StickerMarket.Pack", - "id": 7687, - "members": [ - { - "constant": false, - "id": 7674, - "name": "category", - "nodeType": "VariableDeclaration", - "scope": 7687, - "src": "1329:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 7672, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1329:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 7673, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1329:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7676, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 7687, - "src": "1357:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7675, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1357:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7678, - "name": "mintable", - "nodeType": "VariableDeclaration", - "scope": 7687, - "src": "1404:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7677, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1404:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7680, - "name": "timestamp", - "nodeType": "VariableDeclaration", - "scope": 7687, - "src": "1429:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7679, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1429:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7682, - "name": "price", - "nodeType": "VariableDeclaration", - "scope": 7687, - "src": "1457:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7681, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1457:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7684, - "name": "donate", - "nodeType": "VariableDeclaration", - "scope": 7687, - "src": "1492:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7683, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1492:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7686, - "name": "contenthash", - "nodeType": "VariableDeclaration", - "scope": 7687, - "src": "1528:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7685, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "1528:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Pack", - "nodeType": "StructDefinition", - "scope": 9081, - "src": "1306:247:7", - "visibility": "public" - }, { "constant": false, - "id": 7691, - "name": "state", + "id": 428, + "name": "tokens", "nodeType": "VariableDeclaration", - "scope": 9081, - "src": "1561:31:7", + "scope": 712, + "src": "433:25:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[]" }, "typeName": { - "contractScope": null, - "id": 7688, - "name": "State", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 7671, - "src": "1561:5:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "value": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7689, - "name": "State", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7671, - "src": "1582:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$7671_$", - "typeString": "type(enum StickerMarket.State)" - } - }, - "id": 7690, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "Open", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1582:10:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "visibility": "public" - }, - { - "constant": false, - "id": 7693, - "name": "registerFee", - "nodeType": "VariableDeclaration", - "scope": 9081, - "src": "1599:19:7", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7692, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1599:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7695, - "name": "burnRate", - "nodeType": "VariableDeclaration", - "scope": 9081, - "src": "1625:16:7", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7694, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1625:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7697, - "name": "snt", - "nodeType": "VariableDeclaration", - "scope": 9081, - "src": "1708:21:7", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - }, - "typeName": { - "contractScope": null, - "id": 7696, - "name": "ERC20Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "1708:10:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 7701, - "name": "packs", - "nodeType": "VariableDeclaration", - "scope": 9081, - "src": "1752:37:7", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack)" - }, - "typeName": { - "id": 7700, - "keyType": { - "id": 7698, + "baseType": { + "id": 426, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1760:7:7", + "src": "433:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "nodeType": "Mapping", - "src": "1752:24:7", + "id": 427, + "length": null, + "nodeType": "ArrayTypeName", + "src": "433:9:7", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack)" - }, - "valueType": { - "contractScope": null, - "id": 7699, - "name": "Pack", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 7687, - "src": "1771:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage_ptr", - "typeString": "struct StickerMarket.Pack" - } + "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", + "typeString": "uint256[]" } }, "value": null, - "visibility": "public" + "visibility": "internal" }, { "constant": false, - "id": 7705, - "name": "tokenPackId", + "id": 432, + "name": "idToIndex", "nodeType": "VariableDeclaration", - "scope": 9081, - "src": "1796:46:7", + "scope": 712, + "src": "544:46:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -7560,28 +5317,28 @@ "typeString": "mapping(uint256 => uint256)" }, "typeName": { - "id": 7704, + "id": 431, "keyType": { - "id": 7702, + "id": 429, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1804:7:7", + "src": "552:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "1796:27:7", + "src": "544:27:7", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" }, "valueType": { - "id": 7703, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1815:7:7", + "src": "563:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7589,106 +5346,54 @@ } }, "value": null, - "visibility": "public" + "visibility": "internal" }, { "constant": false, - "id": 7707, - "name": "packCount", + "id": 437, + "name": "ownerToIds", "nodeType": "VariableDeclaration", - "scope": 9081, - "src": "1858:24:7", + "scope": 712, + "src": "662:49:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", + "typeString": "mapping(address => uint256[])" }, "typeName": { - "id": 7706, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1858:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 7709, - "name": "tokenCount", - "nodeType": "VariableDeclaration", - "scope": 9081, - "src": "1906:25:7", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7708, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1906:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 7714, - "name": "availablePacks", - "nodeType": "VariableDeclaration", - "scope": 9081, - "src": "1978:51:7", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(bytes4 => uint256[])" - }, - "typeName": { - "id": 7713, + "id": 436, "keyType": { - "id": 7710, - "name": "bytes4", + "id": 433, + "name": "address", "nodeType": "ElementaryTypeName", - "src": "1986:6:7", + "src": "670:7:7", "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" + "typeIdentifier": "t_address", + "typeString": "address" } }, "nodeType": "Mapping", - "src": "1978:28:7", + "src": "662:29:7", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(bytes4 => uint256[])" + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", + "typeString": "mapping(address => uint256[])" }, "valueType": { "baseType": { - "id": 7711, + "id": 434, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1996:7:7", + "src": "681:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 7712, + "id": 435, "length": null, "nodeType": "ArrayTypeName", - "src": "1996:9:7", + "src": "681:9:7", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -7696,6628 +5401,236 @@ } }, "value": null, - "visibility": "private" + "visibility": "internal" }, { "constant": false, - "id": 7720, - "name": "availablePacksIndex", + "id": 441, + "name": "idToOwnerIndex", "nodeType": "VariableDeclaration", - "scope": 9081, - "src": "2063:74:7", + "scope": 712, + "src": "797:51:7", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_uint256_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" + "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", + "typeString": "mapping(uint256 => uint256)" }, "typeName": { - "id": 7719, + "id": 440, "keyType": { - "id": 7715, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2071:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "2063:46:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_uint256_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" - }, - "valueType": { - "id": 7718, - "keyType": { - "id": 7716, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2089:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "2081:27:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - }, - "valueType": { - "id": 7717, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2100:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 7726, - "name": "packCategoryIndex", - "nodeType": "VariableDeclaration", - "scope": 9081, - "src": "2183:72:7", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", - "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" - }, - "typeName": { - "id": 7725, - "keyType": { - "id": 7721, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2191:7:7", + "src": "805:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "2183:46:7", + "src": "797:27:7", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", - "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" + "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", + "typeString": "mapping(uint256 => uint256)" }, "valueType": { - "id": 7724, - "keyType": { - "id": 7722, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2210:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "2202:26:7", + "id": 439, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "816:7:7", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - }, - "valueType": { - "id": 7723, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2220:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } + "typeIdentifier": "t_uint256", + "typeString": "uint256" } } }, "value": null, - "visibility": "private" - }, - { - "body": { - "id": 7748, - "nodeType": "Block", - "src": "2358:137:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7743, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - }, - "id": 7732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7729, - "name": "state", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7691, - "src": "2377:5:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7730, - "name": "State", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7671, - "src": "2386:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$7671_$", - "typeString": "type(enum StickerMarket.State)" - } - }, - "id": 7731, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "Open", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2386:10:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "src": "2377:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7741, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 7736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7733, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2401:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2401:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 7735, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "2415:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2401:24:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - }, - "id": 7740, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7737, - "name": "state", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7691, - "src": "2429:5:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7738, - "name": "State", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7671, - "src": "2438:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$7671_$", - "typeString": "type(enum StickerMarket.State)" - } - }, - "id": 7739, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "Controlled", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2438:16:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "src": "2429:25:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2401:53:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 7742, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2400:55:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2377:78:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4d61726b65742044697361626c6564", - "id": 7744, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2457:17:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e3c17a455add62b4c563a3a0cb95156eee233fb4f57a0b885805026f8312fed7", - "typeString": "literal_string \"Market Disabled\"" - }, - "value": "Market Disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e3c17a455add62b4c563a3a0cb95156eee233fb4f57a0b885805026f8312fed7", - "typeString": "literal_string \"Market Disabled\"" - } - ], - "id": 7728, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "2369:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7745, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2369:106:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7746, - "nodeType": "ExpressionStatement", - "src": "2369:106:7" - }, - { - "id": 7747, - "nodeType": "PlaceholderStatement", - "src": "2486:1:7" - } - ] - }, - "documentation": "@dev can only be called when market is open\r", - "id": 7749, - "name": "marketManagement", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 7727, - "nodeType": "ParameterList", - "parameters": [], - "src": "2358:0:7" - }, - "src": "2332:163:7", "visibility": "internal" }, { "body": { - "id": 7776, + "id": 450, "nodeType": "Block", - "src": "2593:163:7", + "src": "924:69:7", "statements": [ { "expression": { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7771, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - }, - "id": 7755, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7752, - "name": "state", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7691, - "src": "2612:5:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7753, - "name": "State", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7671, - "src": "2621:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$7671_$", - "typeString": "type(enum StickerMarket.State)" - } - }, - "id": 7754, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "Open", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2621:10:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "src": "2612:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - }, - "id": 7759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7756, - "name": "state", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7691, - "src": "2635:5:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7757, - "name": "State", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7671, - "src": "2644:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$7671_$", - "typeString": "type(enum StickerMarket.State)" - } - }, - "id": 7758, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "BuyOnly", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2644:13:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "src": "2635:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2612:45:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 7764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7761, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2662:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2662:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 7763, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "2676:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2662:24:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - }, - "id": 7768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7765, - "name": "state", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7691, - "src": "2690:5:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7766, - "name": "State", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7671, - "src": "2699:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$7671_$", - "typeString": "type(enum StickerMarket.State)" - } - }, - "id": 7767, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "Controlled", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2699:16:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "src": "2690:25:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2662:53:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 7770, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "2661:55:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2612:104:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4d61726b65742044697361626c6564", - "id": 7772, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2718:17:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e3c17a455add62b4c563a3a0cb95156eee233fb4f57a0b885805026f8312fed7", - "typeString": "literal_string \"Market Disabled\"" - }, - "value": "Market Disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e3c17a455add62b4c563a3a0cb95156eee233fb4f57a0b885805026f8312fed7", - "typeString": "literal_string \"Market Disabled\"" - } - ], - "id": 7751, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "2604:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7773, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2604:132:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7774, - "nodeType": "ExpressionStatement", - "src": "2604:132:7" - }, - { - "id": 7775, - "nodeType": "PlaceholderStatement", - "src": "2747:1:7" - } - ] - }, - "documentation": "@dev can only be called when market is open\r", - "id": 7777, - "name": "marketSell", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 7750, - "nodeType": "ParameterList", - "parameters": [], - "src": "2593:0:7" - }, - "src": "2573:183:7", - "visibility": "internal" - }, - { - "body": { - "id": 7797, - "nodeType": "Block", - "src": "2800:102:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 7785, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7782, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2819:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7783, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2819:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 7784, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "2833:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2819:24:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7792, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7786, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "2847:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 7788, - "indexExpression": { - "argumentTypes": null, - "id": 7787, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7779, - "src": "2853:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2847:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 7789, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 7676, - "src": "2847:20:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7790, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2871:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7791, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2871:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "2847:34:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2819:62:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7781, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9456, - "src": "2811:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 7794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2811:71:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7795, - "nodeType": "ExpressionStatement", - "src": "2811:71:7" - }, - { - "id": 7796, - "nodeType": "PlaceholderStatement", - "src": "2893:1:7" - } - ] - }, - "documentation": null, - "id": 7798, - "name": "packOwner", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 7780, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7779, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 7798, - "src": "2783:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7778, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2783:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2782:17:7" - }, - "src": "2764:138:7", - "visibility": "internal" - }, - { - "body": { - "id": 7807, - "nodeType": "Block", - "src": "3025:30:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7805, + "id": 448, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 7803, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7697, - "src": "3037:3:7", + "baseExpression": { + "argumentTypes": null, + "id": 444, + "name": "supportedInterfaces", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1382, + "src": "930:19:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", + "typeString": "mapping(bytes4 => bool)" + } + }, + "id": 446, + "indexExpression": { + "argumentTypes": null, + "hexValue": "30783738306539643633", + "id": 445, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "950:10:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_2014223715_by_1", + "typeString": "int_const 2014223715" + }, + "value": "0x780e9d63" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "930:31:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 7804, - "name": "_snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7800, - "src": "3043:4:7", + "hexValue": "74727565", + "id": 447, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "964:4:7", + "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" }, - "src": "3037:10:7", + "src": "930:38:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" + "typeIdentifier": "t_bool", + "typeString": "bool" } }, - "id": 7806, + "id": 449, "nodeType": "ExpressionStatement", - "src": "3037:10:7" + "src": "930:38:7" } ] }, - "documentation": "@param _snt SNT token\r", - "id": 7808, + "documentation": "@dev Contract constructor.", + "id": 451, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 7801, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7800, - "name": "_snt", - "nodeType": "VariableDeclaration", - "scope": 7808, - "src": "2980:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - }, - "typeName": { - "contractScope": null, - "id": 7799, - "name": "ERC20Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "2980:10:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2969:33:7" - }, - "returnParameters": { - "id": 7802, + "id": 442, "nodeType": "ParameterList", "parameters": [], - "src": "3025:0:7" + "src": "908:2:7" }, - "scope": 9081, - "src": "2958:97:7", + "returnParameters": { + "id": 443, + "nodeType": "ParameterList", + "parameters": [], + "src": "924:0:7" + }, + "scope": 712, + "src": "897:96:7", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 7824, + "id": 459, "nodeType": "Block", - "src": "3692:64:7", + "src": "1167:31:7", "statements": [ { "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7818, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "3714:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7819, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3714:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7820, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7810, - "src": "3726:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 7821, - "name": "_destination", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7812, - "src": "3735:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 7817, - "name": "buy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8798, - "src": "3710:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_uint256_$", - "typeString": "function (address,uint256,address) returns (uint256)" - } - }, - "id": 7822, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3710:38:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7816, - "id": 7823, - "nodeType": "Return", - "src": "3703:45:7" - } - ] - }, - "documentation": "@dev Mints NFT StickerPack in `msg.sender` account, and Transfers SNT using user allowance\r\nemit NonfungibleToken.Transfer(`address(0)`, `msg.sender`, `tokenId`)\r\n@notice buy a pack from market pack owner, including a StickerPack's token in msg.sender account with same metadata of `_packId` \r\n@param _packId id of market pack \r\n@param _destination owner of token being brought\r\n@return tokenId generated StickerPack token \r", - "id": 7825, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "buyToken", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7813, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7810, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 7825, - "src": "3577:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7809, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3577:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7812, - "name": "_destination", - "nodeType": "VariableDeclaration", - "scope": 7825, - "src": "3603:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7811, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3603:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3566:64:7" - }, - "returnParameters": { - "id": 7816, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7815, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7825, - "src": "3670:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7814, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3670:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3669:17:7" - }, - "scope": 9081, - "src": "3549:207:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 7853, - "nodeType": "Block", - "src": "4561:98:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7851, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 7841, - "name": "packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7839, - "src": "4572:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7843, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "4590:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4590:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7845, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7832, - "src": "4602:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_calldata_ptr", - "typeString": "bytes4[] calldata" - } - }, - { - "argumentTypes": null, - "id": 7846, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7834, - "src": "4613:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7847, - "name": "_price", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7827, - "src": "4621:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 7848, - "name": "_donate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7829, - "src": "4629:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 7849, - "name": "_contenthash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7836, - "src": "4638:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_array$_t_bytes4_$dyn_calldata_ptr", - "typeString": "bytes4[] calldata" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 7842, - "name": "register", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8586, - 8655 - ], - "referencedDeclaration": 8586, - "src": "4581:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes4[] memory,address,uint256,uint256,bytes memory) returns (uint256)" - } - }, - "id": 7850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4581:70:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "4572:79:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7852, - "nodeType": "ExpressionStatement", - "src": "4572:79:7" - } - ] - }, - "documentation": "@dev emits StickerMarket.Register(`packId`, `_urlHash`, `_price`, `_contenthash`)\r\n@notice Registers to sell a sticker pack \r\n@param _price cost in wei to users minting with _urlHash metadata\r\n@param _donate optional amount of `_price` that is donated to StickerMarket at every buy\r\n@param _category listing category\r\n@param _owner address of the beneficiary of buys\r\n@param _contenthash EIP1577 pack contenthash for listings\r\n@return packId Market position of Sticker Pack data.\r", - "id": 7854, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "registerPack", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7837, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7827, - "name": "_price", - "nodeType": "VariableDeclaration", - "scope": 7854, - "src": "4352:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7826, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4352:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7829, - "name": "_donate", - "nodeType": "VariableDeclaration", - "scope": 7854, - "src": "4377:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7828, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4377:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7832, - "name": "_category", - "nodeType": "VariableDeclaration", - "scope": 7854, - "src": "4403:27:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_calldata_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 7830, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "4403:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 7831, - "length": null, - "nodeType": "ArrayTypeName", - "src": "4403:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7834, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 7854, - "src": "4442:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7833, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4442:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7836, - "name": "_contenthash", - "nodeType": "VariableDeclaration", - "scope": 7854, - "src": "4467:27:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7835, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "4467:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4341:160:7" - }, - "returnParameters": { - "id": 7840, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7839, - "name": "packId", - "nodeType": "VariableDeclaration", - "scope": 7854, - "src": "4540:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7838, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4540:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4539:16:7" - }, - "scope": 9081, - "src": "4320:339:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 7873, - "nodeType": "Block", - "src": "5006:45:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7871, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7866, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "5017:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 7868, - "indexExpression": { - "argumentTypes": null, - "id": 7867, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "5023:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5017:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 7869, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 7676, - "src": "5017:20:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7870, - "name": "_to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7858, - "src": "5040:3:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "5017:26:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7872, - "nodeType": "ExpressionStatement", - "src": "5017:26:7" - } - ] - }, - "documentation": "@notice changes beneficiary of `_packId`, can only be called when market is open\r\n@param _packId which market position is being transfered\r\n@param _to new beneficiary\r", - "id": 7874, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 7861, - "modifierName": { - "argumentTypes": null, - "id": 7860, - "name": "marketManagement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "4955:16:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "4955:16:7" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 7863, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7856, - "src": "4992:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7864, - "modifierName": { - "argumentTypes": null, - "id": 7862, - "name": "packOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7798, - "src": "4982:9:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_uint256_$", - "typeString": "modifier (uint256)" - } - }, - "nodeType": "ModifierInvocation", - "src": "4982:18:7" - } - ], - "name": "setPackOwner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7859, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7856, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 7874, - "src": "4896:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7855, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4896:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7858, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 7874, - "src": "4913:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7857, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4913:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4895:30:7" - }, - "returnParameters": { - "id": 7865, - "nodeType": "ParameterList", - "parameters": [], - "src": "5006:0:7" - }, - "scope": 9081, - "src": "4874:177:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 7909, - "nodeType": "Block", - "src": "5409:179:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7891, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7889, - "name": "_donate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7880, - "src": "5428:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3130303030", - "id": 7890, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5439:5:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10000_by_1", - "typeString": "int_const 10000" - }, - "value": "10000" - }, - "src": "5428:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "42616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025", - "id": 7892, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5446:51:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39b850c1417a175a108276062b1eaa1e5a7ee0a69781dbd9f4a6552a666b086c", - "typeString": "literal_string \"Bad argument, _donate cannot be more then 100.00%\"" - }, - "value": "Bad argument, _donate cannot be more then 100.00%" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_39b850c1417a175a108276062b1eaa1e5a7ee0a69781dbd9f4a6552a666b086c", - "typeString": "literal_string \"Bad argument, _donate cannot be more then 100.00%\"" - } - ], - "id": 7888, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "5420:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5420:78:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7894, - "nodeType": "ExpressionStatement", - "src": "5420:78:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 7900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7895, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "5509:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 7897, - "indexExpression": { - "argumentTypes": null, - "id": 7896, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7876, - "src": "5515:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5509:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 7898, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 7682, - "src": "5509:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7899, - "name": "_price", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7878, - "src": "5532:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5509:29:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7901, - "nodeType": "ExpressionStatement", - "src": "5509:29:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 7907, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7902, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "5549:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 7904, - "indexExpression": { - "argumentTypes": null, - "id": 7903, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7876, - "src": "5555:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5549:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 7905, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "donate", - "nodeType": "MemberAccess", - "referencedDeclaration": 7684, - "src": "5549:21:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7906, - "name": "_donate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7880, - "src": "5573:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5549:31:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7908, - "nodeType": "ExpressionStatement", - "src": "5549:31:7" - } - ] - }, - "documentation": "@notice changes price of `_packId`, can only be called when market is open\r\n@param _packId which market position is being transfered\r\n@param _price new value\r", - "id": 7910, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 7883, - "modifierName": { - "argumentTypes": null, - "id": 7882, - "name": "marketManagement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "5358:16:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "5358:16:7" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 7885, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7876, - "src": "5395:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7886, - "modifierName": { - "argumentTypes": null, - "id": 7884, - "name": "packOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7798, - "src": "5385:9:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_uint256_$", - "typeString": "modifier (uint256)" - } - }, - "nodeType": "ModifierInvocation", - "src": "5385:18:7" - } - ], - "name": "setPackPrice", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7881, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7876, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 7910, - "src": "5279:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7875, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5279:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7878, - "name": "_price", - "nodeType": "VariableDeclaration", - "scope": 7910, - "src": "5296:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7877, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5296:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7880, - "name": "_donate", - "nodeType": "VariableDeclaration", - "scope": 7910, - "src": "5312:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7879, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5312:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5278:50:7" - }, - "returnParameters": { - "id": 7887, - "nodeType": "ParameterList", - "parameters": [], - "src": "5409:0:7" - }, - "scope": 9081, - "src": "5257:331:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 7927, - "nodeType": "Block", - "src": "5944:55:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7923, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7912, - "src": "5972:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 7924, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7914, - "src": "5981:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 7922, - "name": "addAvailablePack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8875, - "src": "5955:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", - "typeString": "function (uint256,bytes4)" - } - }, - "id": 7925, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5955:36:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7926, - "nodeType": "ExpressionStatement", - "src": "5955:36:7" - } - ] - }, - "documentation": "@notice changes caregory of `_packId`, can only be called when market is open\r\n@param _packId which market position is being transfered\r\n@param _category new category\r", - "id": 7928, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 7917, - "modifierName": { - "argumentTypes": null, - "id": 7916, - "name": "marketManagement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "5893:16:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "5893:16:7" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 7919, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7912, - "src": "5930:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7920, - "modifierName": { - "argumentTypes": null, - "id": 7918, - "name": "packOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7798, - "src": "5920:9:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_uint256_$", - "typeString": "modifier (uint256)" - } - }, - "nodeType": "ModifierInvocation", - "src": "5920:18:7" - } - ], - "name": "addPackCategory", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7915, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7912, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 7928, - "src": "5830:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7911, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5830:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7914, - "name": "_category", - "nodeType": "VariableDeclaration", - "scope": 7928, - "src": "5847:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7913, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "5847:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5829:35:7" - }, - "returnParameters": { - "id": 7921, - "nodeType": "ParameterList", - "parameters": [], - "src": "5944:0:7" - }, - "scope": 9081, - "src": "5805:194:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 7945, - "nodeType": "Block", - "src": "6364:58:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7941, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7930, - "src": "6395:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 7942, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7932, - "src": "6404:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 7940, - "name": "removeAvailablePack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9027, - "src": "6375:19:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", - "typeString": "function (uint256,bytes4)" - } - }, - "id": 7943, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6375:39:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7944, - "nodeType": "ExpressionStatement", - "src": "6375:39:7" - } - ] - }, - "documentation": "@notice changes caregory of `_packId`, can only be called when market is open\r\n@param _packId which market position is being transfered\r\n@param _category category to unlist\r", - "id": 7946, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 7935, - "modifierName": { - "argumentTypes": null, - "id": 7934, - "name": "marketManagement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "6313:16:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "6313:16:7" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 7937, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7930, - "src": "6350:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7938, - "modifierName": { - "argumentTypes": null, - "id": 7936, - "name": "packOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7798, - "src": "6340:9:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_uint256_$", - "typeString": "modifier (uint256)" - } - }, - "nodeType": "ModifierInvocation", - "src": "6340:18:7" - } - ], - "name": "removePackCategory", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7933, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7930, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 7946, - "src": "6250:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7929, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6250:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7932, - "name": "_category", - "nodeType": "VariableDeclaration", - "scope": 7946, - "src": "6267:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7931, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "6267:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6249:35:7" - }, - "returnParameters": { - "id": 7939, - "nodeType": "ParameterList", - "parameters": [], - "src": "6364:0:7" - }, - "scope": 9081, - "src": "6222:200:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 7965, - "nodeType": "Block", - "src": "6641:54:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7958, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "6652:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 7960, - "indexExpression": { - "argumentTypes": null, - "id": 7959, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7948, - "src": "6658:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6652:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 7961, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "mintable", - "nodeType": "MemberAccess", - "referencedDeclaration": 7678, - "src": "6652:23:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7962, - "name": "_mintable", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7950, - "src": "6678:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "6652:35:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7964, - "nodeType": "ExpressionStatement", - "src": "6652:35:7" - } - ] - }, - "documentation": "@notice \r\n@param _packId position edit\r", - "id": 7966, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 7953, - "modifierName": { - "argumentTypes": null, - "id": 7952, - "name": "marketManagement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "6590:16:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "6590:16:7" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 7955, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7948, - "src": "6627:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7956, - "modifierName": { - "argumentTypes": null, - "id": 7954, - "name": "packOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7798, - "src": "6617:9:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_uint256_$", - "typeString": "modifier (uint256)" - } - }, - "nodeType": "ModifierInvocation", - "src": "6617:18:7" - } - ], - "name": "setPackState", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7951, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7948, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 7966, - "src": "6528:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7947, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6528:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7950, - "name": "_mintable", - "nodeType": "VariableDeclaration", - "scope": 7966, - "src": "6545:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7949, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6545:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6527:33:7" - }, - "returnParameters": { - "id": 7957, - "nodeType": "ParameterList", - "parameters": [], - "src": "6641:0:7" - }, - "scope": 9081, - "src": "6506:189:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8102, - "nodeType": "Block", - "src": "7113:970:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7982, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7978, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7972, - "src": "7132:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7980, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7697, - "src": "7150:3:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - ], - "id": 7979, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7142:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 7981, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7142:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "7132:22:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "42616420746f6b656e", - "id": 7983, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7156:11:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", - "typeString": "literal_string \"Bad token\"" - }, - "value": "Bad token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", - "typeString": "literal_string \"Bad token\"" - } - ], - "id": 7977, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "7124:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7984, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7124:44:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7985, - "nodeType": "ExpressionStatement", - "src": "7124:44:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7987, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7972, - "src": "7187:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7989, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "7205:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7205:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 7988, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7197:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 7991, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7197:19:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "7187:29:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4261642063616c6c", - "id": 7993, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7218:10:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_11e86317ecef0ef1d4dc4ecf70d8a0b385ff39eae3fc5821024576536c47ad15", - "typeString": "literal_string \"Bad call\"" - }, - "value": "Bad call" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_11e86317ecef0ef1d4dc4ecf70d8a0b385ff39eae3fc5821024576536c47ad15", - "typeString": "literal_string \"Bad call\"" - } - ], - "id": 7986, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "7179:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7994, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7179:50:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7995, - "nodeType": "ExpressionStatement", - "src": "7179:50:7" - }, - { - "assignments": [ - 7997 - ], - "declarations": [ - { - "constant": false, - "id": 7997, - "name": "sig", - "nodeType": "VariableDeclaration", - "scope": 8102, - "src": "7240:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7996, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "7240:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8001, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7999, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7974, - "src": "7266:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 7998, - "name": "abiDecodeSig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9052, - "src": "7253:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (bytes memory) pure returns (bytes4)" - } - }, - "id": 8000, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7253:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7240:32:7" - }, - { - "assignments": [ - 8003 - ], - "declarations": [ - { - "constant": false, - "id": 8003, - "name": "cdata", - "nodeType": "VariableDeclaration", - "scope": 8102, - "src": "7283:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8002, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7283:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8012, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8005, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7974, - "src": "7310:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - { - "argumentTypes": null, - "hexValue": "34", - "id": 8006, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7316:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8007, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7974, - "src": "7318:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "id": 8008, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7318:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "34", - "id": 8009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7331:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - "value": "4" - }, - "src": "7318:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - }, - { - "typeIdentifier": "t_rational_4_by_1", - "typeString": "int_const 4" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8004, - "name": "slice", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9080, - "src": "7304:5:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$", - "typeString": "function (bytes memory,uint256,uint256) pure returns (bytes memory)" - } - }, - "id": 8011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7304:29:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7283:50:7" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 8019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8013, - "name": "sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7997, - "src": "7347:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "627579546f6b656e2875696e743235362c6164647265737329", - "id": 8016, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7371:27:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_9134709ead558f970d5d64e4453410deb0602fc5980e3682017ae827b19af8a0", - "typeString": "literal_string \"buyToken(uint256,address)\"" - }, - "value": "buyToken(uint256,address)" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_9134709ead558f970d5d64e4453410deb0602fc5980e3682017ae827b19af8a0", - "typeString": "literal_string \"buyToken(uint256,address)\"" - } - ], - "id": 8015, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9447, - "src": "7361:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8017, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7361:38:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8014, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7354:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": "bytes4" - }, - "id": 8018, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7354:46:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "7347:53:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 8053, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8047, - "name": "sig", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7997, - "src": "7609:3:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c627974657329", - "id": 8050, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7633:54:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_12d02502d26a169bd0d0988364d0e9ee5f5a71b26464fe5fcb5cdd27f910d720", - "typeString": "literal_string \"registerPack(uint256,uint256,bytes4[],address,bytes)\"" - }, - "value": "registerPack(uint256,uint256,bytes4[],address,bytes)" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_12d02502d26a169bd0d0988364d0e9ee5f5a71b26464fe5fcb5cdd27f910d720", - "typeString": "literal_string \"registerPack(uint256,uint256,bytes4[],address,bytes)\"" - } - ], - "id": 8049, - "name": "keccak256", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9447, - "src": "7623:9:7", - "typeDescriptions": { - "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", - "typeString": "function (bytes memory) pure returns (bytes32)" - } - }, - "id": 8051, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7623:65:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - ], - "id": 8048, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7616:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": "bytes4" - }, - "id": 8052, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7616:73:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "7609:80:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 8099, - "nodeType": "Block", - "src": "8031:45:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "4261642063616c6c", - "id": 8096, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8053:10:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_11e86317ecef0ef1d4dc4ecf70d8a0b385ff39eae3fc5821024576536c47ad15", - "typeString": "literal_string \"Bad call\"" - }, - "value": "Bad call" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_stringliteral_11e86317ecef0ef1d4dc4ecf70d8a0b385ff39eae3fc5821024576536c47ad15", - "typeString": "literal_string \"Bad call\"" - } - ], - "id": 8095, - "name": "revert", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9458, - 9459 - ], - "referencedDeclaration": 9459, - "src": "8046:6:7", - "typeDescriptions": { - "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", - "typeString": "function (string memory) pure" - } - }, - "id": 8097, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8046:18:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8098, - "nodeType": "ExpressionStatement", - "src": "8046:18:7" - } - ] - }, - "id": 8100, - "nodeType": "IfStatement", - "src": "7606:470:7", - "trueBody": { - "id": 8094, - "nodeType": "Block", - "src": "7691:334:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8058, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8055, - "name": "cdata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8003, - "src": "7714:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 8056, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7714:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "313536", - "id": 8057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7730:3:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_156_by_1", - "typeString": "int_const 156" - }, - "value": "156" - }, - "src": "7714:19:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4261642064617461206c656e677468", - "id": 8059, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7735:17:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bc489818cbebbc3d6eb74f6890940e7f6a9971f27be02bbf6f2b8c186e9ca19a", - "typeString": "literal_string \"Bad data length\"" - }, - "value": "Bad data length" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_bc489818cbebbc3d6eb74f6890940e7f6a9971f27be02bbf6f2b8c186e9ca19a", - "typeString": "literal_string \"Bad data length\"" - } - ], - "id": 8054, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "7706:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8060, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7706:47:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8061, - "nodeType": "ExpressionStatement", - "src": "7706:47:7" - }, - { - "assignments": [ - 8063, - 8065, - 8068, - 8070, - 8072 - ], - "declarations": [ - { - "constant": false, - "id": 8063, - "name": "_price", - "nodeType": "VariableDeclaration", - "scope": 8094, - "src": "7769:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8062, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7769:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8065, - "name": "_donate", - "nodeType": "VariableDeclaration", - "scope": 8094, - "src": "7785:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8064, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7785:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8068, - "name": "_category", - "nodeType": "VariableDeclaration", - "scope": 8094, - "src": "7802:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 8066, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "7802:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8067, - "length": null, - "nodeType": "ArrayTypeName", - "src": "7802:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8070, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 8094, - "src": "7829:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8069, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7829:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8072, - "name": "_contenthash", - "nodeType": "VariableDeclaration", - "scope": 8094, - "src": "7845:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8071, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7845:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8084, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8075, - "name": "cdata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8003, - "src": "7885:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "id": 8076, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7893:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": "uint256" - }, - { - "argumentTypes": null, - "id": 8077, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7901:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": "uint256" - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8078, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7909:6:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes4_$", - "typeString": "type(bytes4)" - }, - "typeName": "bytes4" - }, - "id": 8079, - "indexExpression": null, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "7909:8:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_array$_t_bytes4_$dyn_memory_ptr_$", - "typeString": "type(bytes4[] memory)" - } - }, - { - "argumentTypes": null, - "id": 8080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7918:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - { - "argumentTypes": null, - "id": 8081, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7926:5:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", - "typeString": "type(bytes storage pointer)" - }, - "typeName": "bytes" - } - ], - "id": 8082, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7892:40:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_type$_t_uint256_$_$_t_type$_t_uint256_$_$_t_type$_t_array$_t_bytes4_$dyn_memory_ptr_$_$_t_type$_t_address_$_$_t_type$_t_bytes_storage_ptr_$_$", - "typeString": "tuple(type(uint256),type(uint256),type(bytes4[] memory),type(address),type(bytes storage pointer))" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_tuple$_t_type$_t_uint256_$_$_t_type$_t_uint256_$_$_t_type$_t_array$_t_bytes4_$dyn_memory_ptr_$_$_t_type$_t_address_$_$_t_type$_t_bytes_storage_ptr_$_$", - "typeString": "tuple(type(uint256),type(uint256),type(bytes4[] memory),type(address),type(bytes storage pointer))" - } - ], - "expression": { - "argumentTypes": null, - "id": 8073, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9440, - "src": "7874:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8074, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "decode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7874:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 8083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7874:59:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$_t_array$_t_bytes4_$dyn_memory_$_t_address_payable_$_t_bytes_memory_$", - "typeString": "tuple(uint256,uint256,bytes4[] memory,address payable,bytes memory)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7768:165:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8086, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7968, - "src": "7957:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8087, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8068, - "src": "7964:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - { - "argumentTypes": null, - "id": 8088, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8070, - "src": "7975:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8089, - "name": "_price", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8063, - "src": "7983:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8090, - "name": "_donate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8065, - "src": "7991:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8091, - "name": "_contenthash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8072, - "src": "8000:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8085, - "name": "register", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8586, - 8655 - ], - "referencedDeclaration": 8586, - "src": "7948:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (address,bytes4[] memory,address,uint256,uint256,bytes memory) returns (uint256)" - } - }, - "id": 8092, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7948:65:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8093, - "nodeType": "ExpressionStatement", - "src": "7948:65:7" - } - ] - } - }, - "id": 8101, - "nodeType": "IfStatement", - "src": "7344:732:7", - "trueBody": { - "id": 8046, - "nodeType": "Block", - "src": "7401:199:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8021, - "name": "cdata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8003, - "src": "7424:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 8022, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7424:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3634", - "id": 8023, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7440:2:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_64_by_1", - "typeString": "int_const 64" - }, - "value": "64" - }, - "src": "7424:18:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4261642064617461206c656e677468", - "id": 8025, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7444:17:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_bc489818cbebbc3d6eb74f6890940e7f6a9971f27be02bbf6f2b8c186e9ca19a", - "typeString": "literal_string \"Bad data length\"" - }, - "value": "Bad data length" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_bc489818cbebbc3d6eb74f6890940e7f6a9971f27be02bbf6f2b8c186e9ca19a", - "typeString": "literal_string \"Bad data length\"" - } - ], - "id": 8020, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "7416:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8026, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7416:46:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8027, - "nodeType": "ExpressionStatement", - "src": "7416:46:7" - }, - { - "assignments": [ - 8029, - 8031 - ], - "declarations": [ - { - "constant": false, - "id": 8029, - "name": "packId", - "nodeType": "VariableDeclaration", - "scope": 8046, - "src": "7478:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8028, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7478:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8031, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 8046, - "src": "7494:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8030, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7494:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8039, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8034, - "name": "cdata", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8003, - "src": "7522:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "id": 8035, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7530:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint256_$", - "typeString": "type(uint256)" - }, - "typeName": "uint256" - }, - { - "argumentTypes": null, - "id": 8036, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7539:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - } - ], - "id": 8037, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7529:18:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_type$_t_uint256_$_$_t_type$_t_address_$_$", - "typeString": "tuple(type(uint256),type(address))" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - }, - { - "typeIdentifier": "t_tuple$_t_type$_t_uint256_$_$_t_type$_t_address_$_$", - "typeString": "tuple(type(uint256),type(address))" - } - ], - "expression": { - "argumentTypes": null, - "id": 8032, - "name": "abi", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9440, - "src": "7511:3:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_abi", - "typeString": "abi" - } - }, - "id": 8033, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "memberName": "decode", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7511:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", - "typeString": "function () pure" - } - }, - "id": 8038, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7511:37:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", - "typeString": "tuple(uint256,address payable)" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7477:71:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8041, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7968, - "src": "7567:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8042, - "name": "packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8029, - "src": "7574:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8043, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8031, - "src": "7582:5:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8040, - "name": "buy", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8798, - "src": "7563:3:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_uint256_$", - "typeString": "function (address,uint256,address) returns (uint256)" - } - }, - "id": 8044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7563:25:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8045, - "nodeType": "ExpressionStatement", - "src": "7563:25:7" - } - ] - } - } - ] - }, - "documentation": "@notice MiniMeToken ApproveAndCallFallBack forwarder for registerPack and buyToken\r\n@param _from account calling \"approve and buy\" \r\n@param _token must be exactly SNT contract\r\n@param _data abi encoded call \r", - "id": 8103, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "receiveApproval", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7975, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7968, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 8103, - "src": "6993:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7967, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6993:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7970, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 8103, - "src": "7017:7:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7969, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7017:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7972, - "name": "_token", - "nodeType": "VariableDeclaration", - "scope": 8103, - "src": "7035:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7971, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7035:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7974, - "name": "_data", - "nodeType": "VariableDeclaration", - "scope": 8103, - "src": "7060:20:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7973, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "7060:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6982:105:7" - }, - "returnParameters": { - "id": 7976, - "nodeType": "ParameterList", - "parameters": [], - "src": "7113:0:7" - }, - "scope": 9081, - "src": "6958:1125:7", - "stateMutability": "nonpayable", - "superFunction": 6941, - "visibility": "external" - }, - { - "body": { - "id": 8119, - "nodeType": "Block", - "src": "8422:60:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8117, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8112, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "8433:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8114, - "indexExpression": { - "argumentTypes": null, - "id": 8113, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8105, - "src": "8439:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8433:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 8115, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "contenthash", - "nodeType": "MemberAccess", - "referencedDeclaration": 7686, - "src": "8433:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 8116, - "name": "_contenthash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8107, - "src": "8462:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - }, - "src": "8433:41:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage", - "typeString": "bytes storage ref" - } - }, - "id": 8118, - "nodeType": "ExpressionStatement", - "src": "8433:41:7" - } - ] - }, - "documentation": "@notice changes contenthash of `_packId`, can only be called by controller\r\n@param _packId which market position is being altered\r\n@param _contenthash new contenthash\r", - "id": 8120, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 8110, - "modifierName": { - "argumentTypes": null, - "id": 8109, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "8401:14:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "8401:14:7" - } - ], - "name": "setPackContenthash", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8105, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 8120, - "src": "8326:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8104, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8326:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8107, - "name": "_contenthash", - "nodeType": "VariableDeclaration", - "scope": 8120, - "src": "8343:27:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8106, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8343:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8325:46:7" - }, - "returnParameters": { - "id": 8111, - "nodeType": "ParameterList", - "parameters": [], - "src": "8422:0:7" - }, - "scope": 9081, - "src": "8298:184:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8216, - "nodeType": "Block", - "src": "8803:644:7", - "statements": [ - { - "assignments": [ - 8132 - ], - "declarations": [ - { - "constant": false, - "id": 8132, - "name": "_category", - "nodeType": "VariableDeclaration", - "scope": 8216, - "src": "8814:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 8130, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "8814:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8131, - "length": null, - "nodeType": "ArrayTypeName", - "src": "8814:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8137, - "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8133, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "8842:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8135, - "indexExpression": { - "argumentTypes": null, - "id": 8134, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8122, - "src": "8848:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8842:14:7", + "id": 456, + "name": "tokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 428, + "src": "1180:6:7", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, - "id": 8136, + "id": 457, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 7674, - "src": "8842:23:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8814:51:7" - }, - { - "assignments": [ - 8139 - ], - "declarations": [ - { - "constant": false, - "id": 8139, - "name": "limit", - "nodeType": "VariableDeclaration", - "scope": 8216, - "src": "8876:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8138, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "8876:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8140, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "8876:10:7" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8143, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8141, - "name": "_limit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8124, - "src": "8900:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8142, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8910:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "8900:11:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 8162, - "nodeType": "Block", - "src": "8970:104:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8154, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8151, - "name": "_limit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8124, - "src": "8993:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8152, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8132, - "src": "9003:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - "id": 8153, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9003:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8993:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164206c696d6974", - "id": 8155, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9021:11:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_e9e0788e15b319eaf489ee21c80200377a11ed9c6324f83e5d13b7b4b0fe61fa", - "typeString": "literal_string \"Bad limit\"" - }, - "value": "Bad limit" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_e9e0788e15b319eaf489ee21c80200377a11ed9c6324f83e5d13b7b4b0fe61fa", - "typeString": "literal_string \"Bad limit\"" - } - ], - "id": 8150, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "8985:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8156, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8985:48:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8157, - "nodeType": "ExpressionStatement", - "src": "8985:48:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 8160, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8158, - "name": "limit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8139, - "src": "9048:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 8159, - "name": "_limit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8124, - "src": "9056:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9048:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8161, - "nodeType": "ExpressionStatement", - "src": "9048:14:7" - } - ] - }, - "id": 8163, - "nodeType": "IfStatement", - "src": "8897:177:7", - "trueBody": { - "id": 8149, - "nodeType": "Block", - "src": "8913:51:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8147, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8144, - "name": "limit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8139, - "src": "8928:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8145, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8132, - "src": "8936:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - "id": 8146, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8936:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8928:24:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8148, - "nodeType": "ExpressionStatement", - "src": "8928:24:7" - } - ] - } - }, - { - "assignments": [ - 8165 - ], - "declarations": [ - { - "constant": false, - "id": 8165, - "name": "len", - "nodeType": "VariableDeclaration", - "scope": 8216, - "src": "9094:11:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8164, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9094:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8168, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8166, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8132, - "src": "9108:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - "id": 8167, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "9108:16:7", + "src": "1180:13:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "nodeType": "VariableDeclarationStatement", - "src": "9094:30:7" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8169, - "name": "len", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8165, - "src": "9138:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8170, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9144:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9138:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8176, - "nodeType": "IfStatement", - "src": "9135:43:7", - "trueBody": { - "id": 8175, - "nodeType": "Block", - "src": "9146:32:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "9161:5:7", - "subExpression": { - "argumentTypes": null, - "id": 8172, - "name": "len", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8165, - "src": "9161:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8174, - "nodeType": "ExpressionStatement", - "src": "9161:5:7" - } - ] - } - }, - { - "body": { - "id": 8196, - "nodeType": "Block", - "src": "9219:73:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8188, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8122, - "src": "9254:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8189, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8132, - "src": "9263:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - "id": 8193, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8190, - "name": "len", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8165, - "src": "9273:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 8191, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8178, - "src": "9277:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9273:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9263:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 8187, - "name": "removeAvailablePack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9027, - "src": "9234:19:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", - "typeString": "function (uint256,bytes4)" - } - }, - "id": 8194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9234:46:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8195, - "nodeType": "ExpressionStatement", - "src": "9234:46:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8181, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8178, - "src": "9204:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 8182, - "name": "limit", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8139, - "src": "9208:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9204:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8197, - "initializationExpression": { - "assignments": [ - 8178 - ], - "declarations": [ - { - "constant": false, - "id": 8178, - "name": "i", - "nodeType": "VariableDeclaration", - "scope": 8197, - "src": "9192:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8177, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "9192:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8180, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 8179, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9201:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "9192:10:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 8185, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "9215:3:7", - "subExpression": { - "argumentTypes": null, - "id": 8184, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8178, - "src": "9215:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8186, - "nodeType": "ExpressionStatement", - "src": "9215:3:7" - }, - "nodeType": "ForStatement", - "src": "9188:104:7" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8204, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8198, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "9307:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8200, - "indexExpression": { - "argumentTypes": null, - "id": 8199, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8122, - "src": "9313:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9307:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 8201, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 7674, - "src": "9307:23:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 8202, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9307:30:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8203, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9341:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9307:35:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8215, - "nodeType": "IfStatement", - "src": "9304:126:7", - "trueBody": { - "id": 8214, - "nodeType": "Block", - "src": "9343:87:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8208, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "9358:21:7", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8205, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "9365:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8207, - "indexExpression": { - "argumentTypes": null, - "id": 8206, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8122, - "src": "9371:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9365:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8209, - "nodeType": "ExpressionStatement", - "src": "9358:21:7" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8211, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8122, - "src": "9410:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8210, - "name": "Unregister", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7645, - "src": "9399:10:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256)" - } - }, - "id": 8212, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9399:19:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8213, - "nodeType": "EmitStatement", - "src": "9394:24:7" - } - ] - } + "functionReturnParameters": 455, + "id": 458, + "nodeType": "Return", + "src": "1173:20:7" } ] }, - "documentation": "@notice removes all market data about a marketed pack, can only be called by listing owner or market controller, and when market is open\r\n@param _packId position to be deleted\r", - "id": 8217, + "documentation": "@dev Returns the count of all existing NFTokens.\n@return Total supply of NFTs.", + "id": 460, "implemented": true, "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 8127, - "modifierName": { - "argumentTypes": null, - "id": 8126, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "8782:14:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "8782:14:7" - } - ], - "name": "purgePack", + "modifiers": [], + "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 8125, + "id": 452, + "nodeType": "ParameterList", + "parameters": [], + "src": "1118:2:7" + }, + "returnParameters": { + "id": 455, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 8122, - "name": "_packId", + "id": 454, + "name": "", "nodeType": "VariableDeclaration", - "scope": 8217, - "src": "8722:15:7", + "scope": 460, + "src": "1156:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14325,36 +5638,10 @@ "typeString": "uint256" }, "typeName": { - "id": 8121, + "id": 453, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8722:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8124, - "name": "_limit", - "nodeType": "VariableDeclaration", - "scope": 8217, - "src": "8739:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8123, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8739:7:7", + "src": "1156:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14364,434 +5651,20 @@ "visibility": "internal" } ], - "src": "8721:33:7" + "src": "1155:9:7" }, - "returnParameters": { - "id": 8128, - "nodeType": "ParameterList", - "parameters": [], - "src": "8803:0:7" - }, - "scope": 9081, - "src": "8703:744:7", - "stateMutability": "nonpayable", - "superFunction": null, + "scope": 712, + "src": "1098:100:7", + "stateMutability": "view", + "superFunction": 284, "visibility": "external" }, { "body": { - "id": 8232, + "id": 478, "nodeType": "Block", - "src": "9655:68:7", + "src": "1424:69:7", "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8224, - "name": "state", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7691, - "src": "9666:5:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 8225, - "name": "_state", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8219, - "src": "9674:6:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "src": "9666:14:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "id": 8227, - "nodeType": "ExpressionStatement", - "src": "9666:14:7" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8229, - "name": "_state", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8219, - "src": "9708:6:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - ], - "id": 8228, - "name": "MarketState", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7657, - "src": "9696:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_State_$7671_$returns$__$", - "typeString": "function (enum StickerMarket.State)" - } - }, - "id": 8230, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9696:19:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8231, - "nodeType": "EmitStatement", - "src": "9691:24:7" - } - ] - }, - "documentation": "@notice changes market state, only controller can call.\r\n@param _state new state\r", - "id": 8233, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 8222, - "modifierName": { - "argumentTypes": null, - "id": 8221, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "9634:14:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "9634:14:7" - } - ], - "name": "setMarketState", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8220, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8219, - "name": "_state", - "nodeType": "VariableDeclaration", - "scope": 8233, - "src": "9593:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - }, - "typeName": { - "contractScope": null, - "id": 8218, - "name": "State", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 7671, - "src": "9593:5:7", - "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$7671", - "typeString": "enum StickerMarket.State" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9592:14:7" - }, - "returnParameters": { - "id": 8223, - "nodeType": "ParameterList", - "parameters": [], - "src": "9655:0:7" - }, - "scope": 9081, - "src": "9569:154:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8248, - "nodeType": "Block", - "src": "9940:74:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8240, - "name": "registerFee", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7693, - "src": "9951:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 8241, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8235, - "src": "9965:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9951:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8243, - "nodeType": "ExpressionStatement", - "src": "9951:20:7" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8245, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8235, - "src": "9999:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8244, - "name": "RegisterFee", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7661, - "src": "9987:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256)" - } - }, - "id": 8246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9987:19:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8247, - "nodeType": "EmitStatement", - "src": "9982:24:7" - } - ] - }, - "documentation": "@notice changes register fee, only controller can call.\r\n@param _value new register fee\r", - "id": 8249, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 8238, - "modifierName": { - "argumentTypes": null, - "id": 8237, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "9919:14:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "9919:14:7" - } - ], - "name": "setRegisterFee", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8236, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8235, - "name": "_value", - "nodeType": "VariableDeclaration", - "scope": 8249, - "src": "9876:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8234, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9876:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9875:16:7" - }, - "returnParameters": { - "id": 8239, - "nodeType": "ParameterList", - "parameters": [], - "src": "9940:0:7" - }, - "scope": 9081, - "src": "9852:162:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8271, - "nodeType": "Block", - "src": "10222:134:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8256, - "name": "burnRate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7695, - "src": "10233:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 8257, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8251, - "src": "10244:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "10233:17:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8259, - "nodeType": "ExpressionStatement", - "src": "10233:17:7" - }, { "expression": { "argumentTypes": null, @@ -14802,67 +5675,60 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 8263, + "id": 471, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 8261, - "name": "_value", + "id": 468, + "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8251, - "src": "10269:6:7", + "referencedDeclaration": 462, + "src": "1438:6:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "BinaryOperation", - "operator": "<=", + "operator": "<", "rightExpression": { "argumentTypes": null, - "hexValue": "3130303030", - "id": 8262, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10279:5:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10000_by_1", - "typeString": "int_const 10000" + "expression": { + "argumentTypes": null, + "id": 469, + "name": "tokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 428, + "src": "1447:6:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } }, - "value": "10000" + "id": 470, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1447:13:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } }, - "src": "10269:15:7", + "src": "1438:22:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } - }, - { - "argumentTypes": null, - "hexValue": "63616e6e6f74206265206d6f7265207468656e203130302e303025", - "id": 8264, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10286:29:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b5e17047a6001f4b7865928b596b514a6e42ece919129231b06fe85b3de9d8a1", - "typeString": "literal_string \"cannot be more then 100.00%\"" - }, - "value": "cannot be more then 100.00%" } ], "expression": { @@ -14870,27 +5736,23 @@ { "typeIdentifier": "t_bool", "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b5e17047a6001f4b7865928b596b514a6e42ece919129231b06fe85b3de9d8a1", - "typeString": "literal_string \"cannot be more then 100.00%\"" } ], - "id": 8260, + "id": 467, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "10261:7:7", + "referencedDeclaration": 5710, + "src": "1430:7:7", "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" } }, - "id": 8265, + "id": 472, "isConstant": false, "isLValue": false, "isPure": false, @@ -14898,1511 +5760,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10261:55:7", + "src": "1430:31:7", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 8266, + "id": 473, "nodeType": "ExpressionStatement", - "src": "10261:55:7" + "src": "1430:31:7" }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8268, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8251, - "src": "10341:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8267, - "name": "BurnRate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7665, - "src": "10332:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256)" - } - }, - "id": 8269, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10332:16:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8270, - "nodeType": "EmitStatement", - "src": "10327:21:7" - } - ] - }, - "documentation": "@notice changes burn rate, only controller can call.\r\n@param _value new burn rate\r", - "id": 8272, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 8254, - "modifierName": { - "argumentTypes": null, - "id": 8253, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "10201:14:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "10201:14:7" - } - ], - "name": "setBurnRate", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8252, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8251, - "name": "_value", - "nodeType": "VariableDeclaration", - "scope": 8272, - "src": "10158:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8250, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10158:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10157:16:7" - }, - "returnParameters": { - "id": 8255, - "nodeType": "ParameterList", - "parameters": [], - "src": "10222:0:7" - }, - "scope": 9081, - "src": "10137:219:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8300, - "nodeType": "Block", - "src": "11105:86:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8298, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8290, - "name": "packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8288, - "src": "11116:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8292, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8279, - "src": "11134:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_calldata_ptr", - "typeString": "bytes4[] calldata" - } - }, - { - "argumentTypes": null, - "id": 8293, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8281, - "src": "11145:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8294, - "name": "_price", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8274, - "src": "11153:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8295, - "name": "_donate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8276, - "src": "11161:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8296, - "name": "_contenthash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8283, - "src": "11170:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes4_$dyn_calldata_ptr", - "typeString": "bytes4[] calldata" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - ], - "id": 8291, - "name": "register", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8586, - 8655 - ], - "referencedDeclaration": 8655, - "src": "11125:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes4[] memory,address,uint256,uint256,bytes memory) returns (uint256)" - } - }, - "id": 8297, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11125:58:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11116:67:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8299, - "nodeType": "ExpressionStatement", - "src": "11116:67:7" - } - ] - }, - "documentation": "@notice controller can generate packs at will\r\n@param _price cost in wei to users minting with _urlHash metadata\r\n@param _donate optional amount of `_price` that is donated to StickerMarket at every buy\r\n@param _category listing category\r\n@param _owner address of the beneficiary of buys\r\n@param _contenthash EIP1577 pack contenthash for listings\r\n@return packId Market position of Sticker Pack data.\r", - "id": 8301, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 8286, - "modifierName": { - "argumentTypes": null, - "id": 8285, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "11052:14:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "11052:14:7" - } - ], - "name": "generatePack", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8284, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8274, - "name": "_price", - "nodeType": "VariableDeclaration", - "scope": 8301, - "src": "10872:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8273, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10872:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8276, - "name": "_donate", - "nodeType": "VariableDeclaration", - "scope": 8301, - "src": "10897:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8275, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10897:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8279, - "name": "_category", - "nodeType": "VariableDeclaration", - "scope": 8301, - "src": "10923:27:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_calldata_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 8277, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "10923:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8278, - "length": null, - "nodeType": "ArrayTypeName", - "src": "10923:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8281, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 8301, - "src": "10962:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8280, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10962:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8283, - "name": "_contenthash", - "nodeType": "VariableDeclaration", - "scope": 8301, - "src": "10987:27:7", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8282, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "10987:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10861:160:7" - }, - "returnParameters": { - "id": 8289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8288, - "name": "packId", - "nodeType": "VariableDeclaration", - "scope": 8301, - "src": "11084:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8287, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11084:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11083:16:7" - }, - "scope": 9081, - "src": "10840:351:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8317, - "nodeType": "Block", - "src": "11540:58:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8313, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8303, - "src": "11574:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8314, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8305, - "src": "11582:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8312, - "name": "mintStickerPack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8824, - "src": "11558:15:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (address,uint256) returns (uint256)" - } - }, - "id": 8315, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11558:32:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 8311, - "id": 8316, - "nodeType": "Return", - "src": "11551:39:7" - } - ] - }, - "documentation": "@notice controller can generate tokens at will\r\n@param _owner account being included new token\r\n@param _packId pack being minted\r\n@return tokenId created\r", - "id": 8318, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 8308, - "modifierName": { - "argumentTypes": null, - "id": 8307, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "11484:14:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "11484:14:7" - } - ], - "name": "generateToken", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8306, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8303, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 8318, - "src": "11423:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8302, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11423:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8305, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 8318, - "src": "11439:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8304, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11439:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11422:33:7" - }, - "returnParameters": { - "id": 8311, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8310, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 8318, - "src": "11518:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8309, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11518:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11517:17:7" - }, - "scope": 9081, - "src": "11400:198:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8371, - "nodeType": "Block", - "src": "11963:354:7", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8325, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8320, - "src": "11978:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8327, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11996:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 8326, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11988:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 8328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11988:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "11978:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8342, - "nodeType": "IfStatement", - "src": "11974:125:7", - "trueBody": { - "id": 8341, - "nodeType": "Block", - "src": "12000:99:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8335, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9499, - "src": "12052:4:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", - "typeString": "contract StickerMarket" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StickerMarket_$9081", - "typeString": "contract StickerMarket" - } - ], - "id": 8334, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12044:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 8336, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12044:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 8337, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12044:21:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8331, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "12023:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 8330, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12015:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 8332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12015:19:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 8333, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transfer", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12015:28:7", - "typeDescriptions": { - "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256)" - } - }, - "id": 8338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12015:51:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8339, - "nodeType": "ExpressionStatement", - "src": "12015:51:7" - }, - { - "expression": null, - "functionReturnParameters": 8324, - "id": 8340, - "nodeType": "Return", - "src": "12081:7:7" - } - ] - } - }, - { - "assignments": [ - 8344 - ], - "declarations": [ - { - "constant": false, - "id": 8344, - "name": "token", - "nodeType": "VariableDeclaration", - "scope": 8371, - "src": "12109:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - }, - "typeName": { - "contractScope": null, - "id": 8343, - "name": "ERC20Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "12109:10:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8348, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8346, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8320, - "src": "12139:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8345, - "name": "ERC20Token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5522, - "src": "12128:10:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC20Token_$5522_$", - "typeString": "type(contract ERC20Token)" - } - }, - "id": 8347, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12128:18:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12109:37:7" - }, - { - "assignments": [ - 8350 - ], - "declarations": [ - { - "constant": false, - "id": 8350, - "name": "balance", - "nodeType": "VariableDeclaration", - "scope": 8371, - "src": "12157:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8349, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12157:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8357, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8354, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9499, - "src": "12199:4:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", - "typeString": "contract StickerMarket" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StickerMarket_$9081", - "typeString": "contract StickerMarket" - } - ], - "id": 8353, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12191:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 8355, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12191:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 8351, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8344, - "src": "12175:5:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 8352, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balanceOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 5491, - "src": "12175:15:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view external returns (uint256)" - } - }, - "id": 8356, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12175:30:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12157:48:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8361, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "12231:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 8362, - "name": "balance", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8350, - "src": "12243:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 8358, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8344, - "src": "12216:5:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 8360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transfer", - "nodeType": "MemberAccess", - "referencedDeclaration": 5464, - "src": "12216:14:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) external returns (bool)" - } - }, - "id": 8363, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12216:35:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 8364, - "nodeType": "ExpressionStatement", - "src": "12216:35:7" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8366, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8320, - "src": "12281:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8367, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "12289:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 8368, - "name": "balance", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8350, - "src": "12301:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8365, - "name": "ClaimedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7653, - "src": "12267:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 8369, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12267:42:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8370, - "nodeType": "EmitStatement", - "src": "12262:47:7" - } - ] - }, - "documentation": "@notice This method can be used by the controller to extract mistakenly\r\n sent tokens to this contract.\r\n@param _token The address of the token contract that you want to recover\r\n set to 0 in case you want to extract ether.\r", - "id": 8372, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 8323, - "modifierName": { - "argumentTypes": null, - "id": 8322, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "11942:14:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "11942:14:7" - } - ], - "name": "claimTokens", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8321, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8320, - "name": "_token", - "nodeType": "VariableDeclaration", - "scope": 8372, - "src": "11898:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8319, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11898:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11897:16:7" - }, - "returnParameters": { - "id": 8324, - "nodeType": "ParameterList", - "parameters": [], - "src": "11963:0:7" - }, - "scope": 9081, - "src": "11877:440:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8384, - "nodeType": "Block", - "src": "12599:51:7", - "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 8380, - "name": "availablePacks", + "id": 474, + "name": "tokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 7714, - "src": "12617:14:7", + "referencedDeclaration": 428, + "src": "1474:6:7", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(bytes4 => uint256[] storage ref)" + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" } }, - "id": 8382, + "id": 476, "indexExpression": { "argumentTypes": null, - "id": 8381, - "name": "_category", + "id": 475, + "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8374, - "src": "12632:9:7", + "referencedDeclaration": 462, + "src": "1481:6:7", "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "isConstant": false, @@ -16410,256 +5805,37 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12617:25:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "functionReturnParameters": 8379, - "id": 8383, - "nodeType": "Return", - "src": "12610:32:7" - } - ] - }, - "documentation": "@notice read available market ids in a category (might be slow)\r\n@return array of market id registered\r", - "id": 8385, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getAvailablePacks", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8375, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8374, - "name": "_category", - "nodeType": "VariableDeclaration", - "scope": 8385, - "src": "12492:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8373, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "12492:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12491:18:7" - }, - "returnParameters": { - "id": 8379, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8378, - "name": "availableIds", - "nodeType": "VariableDeclaration", - "scope": 8385, - "src": "12563:29:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 8376, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12563:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8377, - "length": null, - "nodeType": "ArrayTypeName", - "src": "12563:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12562:31:7" - }, - "scope": 9081, - "src": "12465:185:7", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8399, - "nodeType": "Block", - "src": "12864:58:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8397, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8392, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8390, - "src": "12875:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8393, - "name": "availablePacks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7714, - "src": "12882:14:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(bytes4 => uint256[] storage ref)" - } - }, - "id": 8395, - "indexExpression": { - "argumentTypes": null, - "id": 8394, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8387, - "src": "12897:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12882:25:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 8396, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12882:32:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12875:39:7", + "src": "1474:14:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 8398, - "nodeType": "ExpressionStatement", - "src": "12875:39:7" + "functionReturnParameters": 466, + "id": 477, + "nodeType": "Return", + "src": "1467:21:7" } ] }, - "documentation": "@notice count total packs in a category\r\n@return lenght\r", - "id": 8400, + "documentation": "@dev Returns NFT ID by its index.\n@param _index A counter less than `totalSupply()`.\n@return Token id.", + "id": 479, "implemented": true, "kind": "function", "modifiers": [], - "name": "getCategoryLength", + "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 8388, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 8387, - "name": "_category", + "id": 462, + "name": "_index", "nodeType": "VariableDeclaration", - "scope": 8400, - "src": "12774:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8386, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "12774:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12773:18:7" - }, - "returnParameters": { - "id": 8391, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8390, - "name": "size", - "nodeType": "VariableDeclaration", - "scope": 8400, - "src": "12845:12:7", + "scope": 479, + "src": "1359:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16667,10 +5843,10 @@ "typeString": "uint256" }, "typeName": { - "id": 8389, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12845:7:7", + "src": "1359:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16680,97 +5856,215 @@ "visibility": "internal" } ], - "src": "12844:14:7" + "src": "1353:24:7" }, - "scope": 9081, - "src": "12747:175:7", + "returnParameters": { + "id": 466, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 465, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 479, + "src": "1413:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 464, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1413:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1412:9:7" + }, + "scope": 712, + "src": "1332:161:7", "stateMutability": "view", - "superFunction": null, + "superFunction": 291, "visibility": "external" }, { "body": { - "id": 8417, + "id": 503, "nodeType": "Block", - "src": "13152:61:7", + "src": "1841:93:7", "statements": [ { "expression": { "argumentTypes": null, - "id": 8415, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 494, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 489, + "name": "_index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 483, + "src": "1855:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 490, + "name": "ownerToIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 437, + "src": "1864:10:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", + "typeString": "mapping(address => uint256[] storage ref)" + } + }, + "id": 492, + "indexExpression": { + "argumentTypes": null, + "id": 491, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 481, + "src": "1875:6:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1864:18:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 493, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "1864:25:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1855:34:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 488, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "1847:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 495, "isConstant": false, "isLValue": false, "isPure": false, + "kind": "functionCall", "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8409, - "name": "packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8407, - "src": "13163:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { + "names": [], + "nodeType": "FunctionCall", + "src": "1847:43:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 496, + "nodeType": "ExpressionStatement", + "src": "1847:43:7" + }, + { + "expression": { + "argumentTypes": null, + "baseExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8410, - "name": "availablePacks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7714, - "src": "13172:14:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(bytes4 => uint256[] storage ref)" - } - }, - "id": 8412, - "indexExpression": { - "argumentTypes": null, - "id": 8411, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8402, - "src": "13187:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13172:25:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 8414, - "indexExpression": { - "argumentTypes": null, - "id": 8413, - "name": "_index", + "id": 497, + "name": "ownerToIds", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8404, - "src": "13198:6:7", + "referencedDeclaration": 437, + "src": "1903:10:7", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", + "typeString": "mapping(address => uint256[] storage ref)" + } + }, + "id": 499, + "indexExpression": { + "argumentTypes": null, + "id": 498, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 481, + "src": "1914:6:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" } }, "isConstant": false, @@ -16778,275 +6072,62 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13172:33:7", + "src": "1903:18:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 501, + "indexExpression": { + "argumentTypes": null, + "id": 500, + "name": "_index", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 483, + "src": "1922:6:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13163:42:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8416, - "nodeType": "ExpressionStatement", - "src": "13163:42:7" - } - ] - }, - "documentation": "@notice read packId of a category index\r\n@return packId\r", - "id": 8418, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getCategoryPack", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8405, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8402, - "name": "_category", - "nodeType": "VariableDeclaration", - "scope": 8418, - "src": "13044:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8401, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "13044:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8404, - "name": "_index", - "nodeType": "VariableDeclaration", - "scope": 8418, - "src": "13062:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8403, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13062:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "13043:34:7" - }, - "returnParameters": { - "id": 8408, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8407, - "name": "packId", - "nodeType": "VariableDeclaration", - "scope": 8418, - "src": "13131:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8406, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13131:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "13130:16:7" - }, - "scope": 9081, - "src": "13019:194:7", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8434, - "nodeType": "Block", - "src": "13423:56:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 8432, "isConstant": false, - "isLValue": false, + "isLValue": true, "isPure": false, "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8427, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "13441:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8429, - "indexExpression": { - "argumentTypes": null, - "id": 8428, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8420, - "src": "13447:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13441:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 8430, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 7676, - "src": "13441:20:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 8431, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8422, - "src": "13465:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "13441:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 8426, - "id": 8433, - "nodeType": "Return", - "src": "13434:37:7" - } - ] - }, - "documentation": "@notice returns pack ownership for migrated contract\r", - "id": 8435, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isPackOwner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8423, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8420, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 8435, - "src": "13325:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8419, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13325:7:7", + "nodeType": "IndexAccess", + "src": "1903:26:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "value": null, - "visibility": "internal" - }, + "functionReturnParameters": 487, + "id": 502, + "nodeType": "Return", + "src": "1896:33:7" + } + ] + }, + "documentation": "@dev returns the n-th NFT ID from a list of owner's tokens.\n@param _owner Token owner's address.\n@param _index Index number representing n-th token in owner's list of tokens.\n@return Token id.", + "id": 504, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "tokenOfOwnerByIndex", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 484, + "nodeType": "ParameterList", + "parameters": [ { "constant": false, - "id": 8422, + "id": 481, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 8435, - "src": "13342:14:7", + "scope": 504, + "src": "1756:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17054,10 +6135,10 @@ "typeString": "address" }, "typeName": { - "id": 8421, + "id": 480, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13342:7:7", + "src": "1756:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -17066,987 +6147,106 @@ }, "value": null, "visibility": "internal" + }, + { + "constant": false, + "id": 483, + "name": "_index", + "nodeType": "VariableDeclaration", + "scope": 504, + "src": "1776:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 482, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1776:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" } ], - "src": "13324:33:7" + "src": "1750:44:7" }, "returnParameters": { - "id": 8426, + "id": 487, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 8425, + "id": 486, "name": "", "nodeType": "VariableDeclaration", - "scope": 8435, - "src": "13411:4:7", + "scope": 504, + "src": "1830:7:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 8424, - "name": "bool", + "id": 485, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13411:4:7", + "src": "1830:7:7", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "13410:6:7" + "src": "1829:9:7" }, - "scope": 9081, - "src": "13304:175:7", + "scope": 712, + "src": "1722:212:7", "stateMutability": "view", - "superFunction": null, + "superFunction": 300, "visibility": "external" }, { "body": { - "id": 8473, + "id": 533, "nodeType": "Block", - "src": "13860:247:7", + "src": "2388:119:7", "statements": [ - { - "assignments": [ - 8454 - ], - "declarations": [ - { - "constant": false, - "id": 8454, - "name": "pack", - "nodeType": "VariableDeclaration", - "scope": 8473, - "src": "13871:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack" - }, - "typeName": { - "contractScope": null, - "id": 8453, - "name": "Pack", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 7687, - "src": "13871:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage_ptr", - "typeString": "struct StickerMarket.Pack" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8458, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8455, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "13890:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8457, - "indexExpression": { - "argumentTypes": null, - "id": 8456, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8437, - "src": "13896:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13890:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "13871:33:7" - }, { "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8459, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8454, - "src": "13937:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8460, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 7674, - "src": "13937:13:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory", - "typeString": "bytes4[] memory" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8461, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8454, - "src": "13965:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8462, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 7676, - "src": "13965:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8463, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8454, - "src": "13990:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8464, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "mintable", - "nodeType": "MemberAccess", - "referencedDeclaration": 7678, - "src": "13990:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8465, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8454, - "src": "14018:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8466, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 7680, - "src": "14018:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8467, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8454, - "src": "14047:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8468, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 7682, - "src": "14047:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8469, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8454, - "src": "14072:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8470, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contenthash", - "nodeType": "MemberAccess", - "referencedDeclaration": 7686, - "src": "14072:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - } - ], - "id": 8471, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "13922:177:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_array$_t_bytes4_$dyn_memory_$_t_address_$_t_bool_$_t_uint256_$_t_uint256_$_t_bytes_memory_$", - "typeString": "tuple(bytes4[] memory,address,bool,uint256,uint256,bytes memory)" - } - }, - "functionReturnParameters": 8452, - "id": 8472, - "nodeType": "Return", - "src": "13915:184:7" - } - ] - }, - "documentation": "@notice returns all data from pack in market\r", - "id": 8474, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getPackData", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8438, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8437, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 8474, - "src": "13579:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8436, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13579:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "13578:17:7" - }, - "returnParameters": { - "id": 8452, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8441, - "name": "category", - "nodeType": "VariableDeclaration", - "scope": 8474, - "src": "13663:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 8439, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "13663:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8440, - "length": null, - "nodeType": "ArrayTypeName", - "src": "13663:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8443, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 8474, - "src": "13702:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8442, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13702:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8445, - "name": "mintable", - "nodeType": "VariableDeclaration", - "scope": 8474, - "src": "13730:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8444, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "13730:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8447, - "name": "timestamp", - "nodeType": "VariableDeclaration", - "scope": 8474, - "src": "13758:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8446, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13758:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8449, - "name": "price", - "nodeType": "VariableDeclaration", - "scope": 8474, - "src": "13790:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8448, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "13790:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8451, - "name": "contenthash", - "nodeType": "VariableDeclaration", - "scope": 8474, - "src": "13818:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8450, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "13818:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "13648:205:7" - }, - "scope": 9081, - "src": "13558:549:7", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8503, - "nodeType": "Block", - "src": "14416:185:7", - "statements": [ - { - "assignments": [ - 8488 - ], - "declarations": [ - { - "constant": false, - "id": 8488, - "name": "pack", - "nodeType": "VariableDeclaration", - "scope": 8503, - "src": "14427:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack" - }, - "typeName": { - "contractScope": null, - "id": 8487, - "name": "Pack", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 7687, - "src": "14427:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage_ptr", - "typeString": "struct StickerMarket.Pack" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8492, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8489, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "14446:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8491, - "indexExpression": { - "argumentTypes": null, - "id": 8490, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8476, - "src": "14452:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "14446:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14427:33:7" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8493, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8488, - "src": "14493:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8494, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 7676, - "src": "14493:10:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8495, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8488, - "src": "14518:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "mintable", - "nodeType": "MemberAccess", - "referencedDeclaration": 7678, - "src": "14518:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8497, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8488, - "src": "14546:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8498, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 7682, - "src": "14546:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8499, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8488, - "src": "14571:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8500, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "donate", - "nodeType": "MemberAccess", - "referencedDeclaration": 7684, - "src": "14571:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 8501, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "14478:115:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_address_$_t_bool_$_t_uint256_$_t_uint256_$", - "typeString": "tuple(address,bool,uint256,uint256)" - } - }, - "functionReturnParameters": 8486, - "id": 8502, - "nodeType": "Return", - "src": "14471:122:7" - } - ] - }, - "documentation": "@notice returns payment data for migrated contract\r", - "id": 8504, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getPaymentData", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8477, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8476, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 8504, - "src": "14216:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8475, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14216:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14215:17:7" - }, - "returnParameters": { - "id": 8486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8479, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 8504, - "src": "14300:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8478, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "14300:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8481, - "name": "mintable", - "nodeType": "VariableDeclaration", - "scope": 8504, - "src": "14328:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 8480, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "14328:4:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8483, - "name": "price", - "nodeType": "VariableDeclaration", - "scope": 8504, - "src": "14356:13:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8482, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14356:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8485, - "name": "donate", - "nodeType": "VariableDeclaration", - "scope": 8504, - "src": "14384:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8484, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14384:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14285:124:7" - }, - "scope": 9081, - "src": "14192:409:7", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8530, - "nodeType": "Block", - "src": "14891:177:7", - "statements": [ - { - "assignments": [ - 8517 - ], - "declarations": [ - { - "constant": false, - "id": 8517, - "name": "pack", - "nodeType": "VariableDeclaration", - "scope": 8530, - "src": "14902:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack" - }, - "typeName": { - "contractScope": null, - "id": 8516, - "name": "Pack", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 7687, - "src": "14902:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage_ptr", - "typeString": "struct StickerMarket.Pack" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8521, - "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 8519, + "id": 514, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 506, + "src": "2406:3:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 515, "name": "_tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8506, - "src": "14934:8:7", + "referencedDeclaration": 508, + "src": "2411:8:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18055,663 +6255,43 @@ ], "expression": { "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, { "typeIdentifier": "t_uint256", "typeString": "uint256" } ], - "id": 8518, - "name": "getTokenPack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9043, - "src": "14921:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_Pack_$7687_memory_ptr_$", - "typeString": "function (uint256) view returns (struct StickerMarket.Pack memory)" - } - }, - "id": 8520, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14921:22:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "14902:41:7" - }, - { - "expression": { - "argumentTypes": null, - "components": [ - { + "expression": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8522, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8517, - "src": "14976:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8523, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 7674, - "src": "14976:13:7", + "id": 511, + "name": "super", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5744, + "src": "2394:5:7", "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory", - "typeString": "bytes4[] memory" + "typeIdentifier": "t_super$_NFTokenEnumerable_$712", + "typeString": "contract super NFTokenEnumerable" } }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8524, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8517, - "src": "15004:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8525, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": 7680, - "src": "15004:14:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8526, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8517, - "src": "15033:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8527, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "contenthash", - "nodeType": "MemberAccess", - "referencedDeclaration": 7686, - "src": "15033:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory", - "typeString": "bytes memory" - } - } - ], - "id": 8528, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "14961:99:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$_t_array$_t_bytes4_$dyn_memory_$_t_uint256_$_t_bytes_memory_$", - "typeString": "tuple(bytes4[] memory,uint256,bytes memory)" - } - }, - "functionReturnParameters": 8515, - "id": 8529, - "nodeType": "Return", - "src": "14954:106:7" - } - ] - }, - "documentation": "@notice returns relevant token data\r", - "id": 8531, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getTokenData", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8507, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8506, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 8531, - "src": "14693:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8505, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14693:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14692:18:7" - }, - "returnParameters": { - "id": 8515, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8510, - "name": "category", - "nodeType": "VariableDeclaration", - "scope": 8531, - "src": "14778:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 8508, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "14778:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8509, - "length": null, - "nodeType": "ArrayTypeName", - "src": "14778:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8512, - "name": "timestamp", - "nodeType": "VariableDeclaration", - "scope": 8531, - "src": "14817:17:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8511, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "14817:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8514, - "name": "contenthash", - "nodeType": "VariableDeclaration", - "scope": 8531, - "src": "14849:24:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8513, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "14849:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14763:121:7" - }, - "scope": 9081, - "src": "14671:397:7", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 8585, - "nodeType": "Block", - "src": "15419:314:7", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8553, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8551, - "name": "registerFee", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7693, - "src": "15433:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8552, + "id": 513, "isConstant": false, "isLValue": false, - "isPure": true, - "kind": "number", + "isPure": false, "lValueRequested": false, - "nodeType": "Literal", - "src": "15447:1:7", - "subdenomination": null, + "memberName": "_mint", + "nodeType": "MemberAccess", + "referencedDeclaration": 1144, + "src": "2394:11:7", "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "15433:15:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8567, - "nodeType": "IfStatement", - "src": "15430:123:7", - "trueBody": { - "id": 8566, - "nodeType": "Block", - "src": "15449:104:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8557, - "name": "_caller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8533, - "src": "15489:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8559, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9499, - "src": "15506:4:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", - "typeString": "contract StickerMarket" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StickerMarket_$9081", - "typeString": "contract StickerMarket" - } - ], - "id": 8558, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "15498:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 8560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15498:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8561, - "name": "registerFee", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7693, - "src": "15513:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 8555, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7697, - "src": "15472:3:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 8556, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transferFrom", - "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "15472:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) external returns (bool)" - } - }, - "id": 8562, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15472:53:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164207061796d656e74", - "id": 8563, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15527:13:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2f706041c82808b9d33018cf7aa052a4df71fcbd86a2e2b0fb54f9a089aa7894", - "typeString": "literal_string \"Bad payment\"" - }, - "value": "Bad payment" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_2f706041c82808b9d33018cf7aa052a4df71fcbd86a2e2b0fb54f9a089aa7894", - "typeString": "literal_string \"Bad payment\"" - } - ], - "id": 8554, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "15464:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8564, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15464:77:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8565, - "nodeType": "ExpressionStatement", - "src": "15464:77:7" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8571, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8569, - "name": "_donate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8542, - "src": "15571:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3130303030", - "id": 8570, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15582:5:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10000_by_1", - "typeString": "int_const 10000" - }, - "value": "10000" - }, - "src": "15571:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "42616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025", - "id": 8572, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "15589:51:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_39b850c1417a175a108276062b1eaa1e5a7ee0a69781dbd9f4a6552a666b086c", - "typeString": "literal_string \"Bad argument, _donate cannot be more then 100.00%\"" - }, - "value": "Bad argument, _donate cannot be more then 100.00%" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_39b850c1417a175a108276062b1eaa1e5a7ee0a69781dbd9f4a6552a666b086c", - "typeString": "literal_string \"Bad argument, _donate cannot be more then 100.00%\"" - } - ], - "id": 8568, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "15563:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" } }, - "id": 8573, + "id": 516, "isConstant": false, "isLValue": false, "isPure": false, @@ -18719,484 +6299,121 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15563:78:7", + "src": "2394:26:7", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 8574, + "id": 517, "nodeType": "ExpressionStatement", - "src": "15563:78:7" + "src": "2394:26:7" }, { - "expression": { - "argumentTypes": null, - "id": 8583, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8575, - "name": "packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8549, - "src": "15652:6:7", + "assignments": [ + 519 + ], + "declarations": [ + { + "constant": false, + "id": 519, + "name": "length", + "nodeType": "VariableDeclaration", + "scope": 533, + "src": "2426:14:7", + "stateVariable": false, + "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8577, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8536, - "src": "15670:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - { - "argumentTypes": null, - "id": 8578, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8538, - "src": "15681:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8579, - "name": "_price", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8540, - "src": "15689:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8580, - "name": "_donate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8542, - "src": "15697:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8581, - "name": "_contenthash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8544, - "src": "15706:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8576, - "name": "register", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 8586, - 8655 - ], - "referencedDeclaration": 8655, - "src": "15661:8:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_uint256_$", - "typeString": "function (bytes4[] memory,address,uint256,uint256,bytes memory) returns (uint256)" - } }, - "id": 8582, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15661:58:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "15652:67:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8584, - "nodeType": "ExpressionStatement", - "src": "15652:67:7" - } - ] - }, - "documentation": "@dev register new pack to owner\r", - "id": 8586, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 8547, - "modifierName": { - "argumentTypes": null, - "id": 8546, - "name": "marketManagement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "15363:16:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "15363:16:7" - } - ], - "name": "register", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8545, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8533, - "name": "_caller", - "nodeType": "VariableDeclaration", - "scope": 8586, - "src": "15163:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8532, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15163:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8536, - "name": "_category", - "nodeType": "VariableDeclaration", - "scope": 8586, - "src": "15189:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 8534, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "15189:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8535, - "length": null, - "nodeType": "ArrayTypeName", - "src": "15189:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8538, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 8586, - "src": "15225:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8537, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "15225:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8540, - "name": "_price", - "nodeType": "VariableDeclaration", - "scope": 8586, - "src": "15250:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8539, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15250:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8542, - "name": "_donate", - "nodeType": "VariableDeclaration", - "scope": 8586, - "src": "15275:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8541, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15275:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8544, - "name": "_contenthash", - "nodeType": "VariableDeclaration", - "scope": 8586, - "src": "15301:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8543, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15301:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "15152:181:7" - }, - "returnParameters": { - "id": 8550, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8549, - "name": "packId", - "nodeType": "VariableDeclaration", - "scope": 8586, - "src": "15397:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8548, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15397:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "15396:16:7" - }, - "scope": 9081, - "src": "15135:598:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 8654, - "nodeType": "Block", - "src": "16055:319:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8604, - "name": "packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8602, - "src": "16066:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 8606, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "16075:11:7", - "subExpression": { - "argumentTypes": null, - "id": 8605, - "name": "packCount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7707, - "src": "16075:9:7", + "typeName": { + "id": 518, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2426:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, + "value": null, + "visibility": "internal" + } + ], + "id": 524, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 522, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 508, + "src": "2455:8:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "argumentTypes": null, + "id": 520, + "name": "tokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 428, + "src": "2443:6:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 521, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "push", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "2443:11:7", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) returns (uint256)" } }, - "src": "16066:20:7", + "id": 523, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2443:21:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 8608, - "nodeType": "ExpressionStatement", - "src": "16066:20:7" + "nodeType": "VariableDeclarationStatement", + "src": "2426:38:7" }, { "expression": { "argumentTypes": null, - "id": 8626, + "id": 531, "isConstant": false, "isLValue": false, "isPure": false, @@ -19205,26 +6422,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 8609, - "name": "packs", + "id": 525, + "name": "idToIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "16097:5:7", + "referencedDeclaration": 432, + "src": "2470:9:7", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" + "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", + "typeString": "mapping(uint256 => uint256)" } }, - "id": 8611, + "id": 527, "indexExpression": { "argumentTypes": null, - "id": 8610, - "name": "packId", + "id": 526, + "name": "_tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8602, - "src": "16103:6:7", + "referencedDeclaration": 508, + "src": "2480:8:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19235,681 +6452,94 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16097:13:7", + "src": "2470:19:7", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 8616, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16131:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 8615, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "16118:12:7", - "typeDescriptions": { - "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes4_$dyn_memory_$", - "typeString": "function (uint256) pure returns (bytes4[] memory)" - }, - "typeName": { - "baseType": { - "id": 8613, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "16122:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8614, - "length": null, - "nodeType": "ArrayTypeName", - "src": "16122:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - } - }, - "id": 8617, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16118:15:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory", - "typeString": "bytes4[] memory" - } - }, - { - "argumentTypes": null, - "id": 8618, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8591, - "src": "16135:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "hexValue": "74727565", - "id": 8619, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16143:4:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8620, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "16149:5:7", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 8621, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "timestamp", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "16149:15:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8622, - "name": "_price", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "16166:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8623, - "name": "_donate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8595, - "src": "16174:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 8624, - "name": "_contenthash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8597, - "src": "16183:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory", - "typeString": "bytes4[] memory" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8612, - "name": "Pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7687, - "src": "16113:4:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Pack_$7687_storage_ptr_$", - "typeString": "type(struct StickerMarket.Pack storage pointer)" - } + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, - "id": 8625, + "id": 530, "isConstant": false, "isLValue": false, "isPure": false, - "kind": "structConstructorCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16113:83:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "src": "16097:99:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 8627, - "nodeType": "ExpressionStatement", - "src": "16097:99:7" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { + "leftExpression": { "argumentTypes": null, - "id": 8629, - "name": "packId", + "id": 528, + "name": "length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8602, - "src": "16221:6:7", + "referencedDeclaration": 519, + "src": "2492:6:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - { + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { "argumentTypes": null, - "id": 8630, - "name": "_price", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8593, - "src": "16229:6:7", + "hexValue": "31", + "id": 529, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2501:1:7", + "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" }, - { - "argumentTypes": null, - "id": 8631, - "name": "_contenthash", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8597, - "src": "16237:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "id": 8628, - "name": "Register", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7629, - "src": "16212:8:7", + "src": "2492:10:7", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (uint256,uint256,bytes memory)" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 8632, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16212:38:7", + "src": "2470:32:7", "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8633, - "nodeType": "EmitStatement", - "src": "16207:43:7" - }, - { - "body": { - "id": 8652, - "nodeType": "Block", - "src": "16302:65:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8646, - "name": "packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8602, - "src": "16334:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8647, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8589, - "src": "16342:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - "id": 8649, - "indexExpression": { - "argumentTypes": null, - "id": 8648, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8635, - "src": "16352:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "16342:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 8645, - "name": "addAvailablePack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8875, - "src": "16317:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", - "typeString": "function (uint256,bytes4)" - } - }, - "id": 8650, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16317:38:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8651, - "nodeType": "ExpressionStatement", - "src": "16317:38:7" - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" - }, - "id": 8641, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8638, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8635, - "src": "16276:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8639, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8589, - "src": "16280:9:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[] memory" - } - }, - "id": 8640, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "16280:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16276:20:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" } }, - "id": 8653, - "initializationExpression": { - "assignments": [ - 8635 - ], - "declarations": [ - { - "constant": false, - "id": 8635, - "name": "i", - "nodeType": "VariableDeclaration", - "scope": 8653, - "src": "16265:6:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8634, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16265:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8637, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 8636, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16274:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "16265:10:7" - }, - "loopExpression": { - "expression": { - "argumentTypes": null, - "id": 8643, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "16298:3:7", - "subExpression": { - "argumentTypes": null, - "id": 8642, - "name": "i", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8635, - "src": "16298:1:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8644, - "nodeType": "ExpressionStatement", - "src": "16298:3:7" - }, - "nodeType": "ForStatement", - "src": "16261:106:7" + "id": 532, + "nodeType": "ExpressionStatement", + "src": "2470:32:7" } ] }, - "documentation": "@dev register new pack to owner\r", - "id": 8655, + "documentation": "@dev Mints a new NFT.\n@notice This is an internal function which should be called from user-implemented external\nmint function. Its purpose is to show and properly initialize data structures when using this\nimplementation.\n@param _to The address that will own the minted NFT.\n@param _tokenId of the NFT to be minted by the msg.sender.", + "id": 534, "implemented": true, "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 8600, - "modifierName": { - "argumentTypes": null, - "id": 8599, - "name": "marketManagement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7749, - "src": "15999:16:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "15999:16:7" - } - ], - "name": "register", + "modifiers": [], + "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 8598, + "id": 509, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 8589, - "name": "_category", + "id": 506, + "name": "_to", "nodeType": "VariableDeclaration", - "scope": 8655, - "src": "15826:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", - "typeString": "bytes4[]" - }, - "typeName": { - "baseType": { - "id": 8587, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "15826:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 8588, - "length": null, - "nodeType": "ArrayTypeName", - "src": "15826:8:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", - "typeString": "bytes4[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8591, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 8655, - "src": "15862:14:7", + "scope": 534, + "src": "2335:11:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19917,10 +6547,10 @@ "typeString": "address" }, "typeName": { - "id": 8590, + "id": 505, "name": "address", "nodeType": "ElementaryTypeName", - "src": "15862:7:7", + "src": "2335:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -19932,11 +6562,11 @@ }, { "constant": false, - "id": 8593, - "name": "_price", + "id": 508, + "name": "_tokenId", "nodeType": "VariableDeclaration", - "scope": 8655, - "src": "15887:14:7", + "scope": 534, + "src": "2352:16:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19944,10 +6574,10 @@ "typeString": "uint256" }, "typeName": { - "id": 8592, + "id": 507, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15887:7:7", + "src": "2352:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19955,166 +6585,155 @@ }, "value": null, "visibility": "internal" - }, - { - "constant": false, - "id": 8595, - "name": "_donate", - "nodeType": "VariableDeclaration", - "scope": 8655, - "src": "15912:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8594, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "15912:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8597, - "name": "_contenthash", - "nodeType": "VariableDeclaration", - "scope": 8655, - "src": "15938:25:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 8596, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "15938:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" } ], - "src": "15815:155:7" + "src": "2329:43:7" }, "returnParameters": { - "id": 8603, + "id": 510, "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8602, - "name": "packId", - "nodeType": "VariableDeclaration", - "scope": 8655, - "src": "16033:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8601, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16033:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "16032:16:7" + "parameters": [], + "src": "2388:0:7" }, - "scope": 9081, - "src": "15798:576:7", + "scope": 712, + "src": "2315:192:7", "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "private" + "superFunction": 1144, + "visibility": "internal" }, { "body": { - "id": 8797, + "id": 587, "nodeType": "Block", - "src": "16668:908:7", + "src": "2956:399:7", "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 542, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 536, + "src": "2974:8:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "argumentTypes": null, + "id": 539, + "name": "super", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5744, + "src": "2962:5:7", + "typeDescriptions": { + "typeIdentifier": "t_super$_NFTokenEnumerable_$712", + "typeString": "contract super NFTokenEnumerable" + } + }, + "id": 541, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "_burn", + "nodeType": "MemberAccess", + "referencedDeclaration": 1176, + "src": "2962:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$returns$__$", + "typeString": "function (uint256)" + } + }, + "id": 543, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2962:21:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 544, + "nodeType": "ExpressionStatement", + "src": "2962:21:7" + }, { "assignments": [ - 8669 + 546 ], "declarations": [ { "constant": false, - "id": 8669, - "name": "_pack", + "id": 546, + "name": "tokenIndex", "nodeType": "VariableDeclaration", - "scope": 8797, - "src": "16679:17:7", + "scope": 587, + "src": "2990:18:7", "stateVariable": false, - "storageLocation": "memory", + "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "contractScope": null, - "id": 8668, - "name": "Pack", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 7687, - "src": "16679:4:7", + "id": 545, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2990:7:7", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage_ptr", - "typeString": "struct StickerMarket.Pack" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "id": 8673, + "id": 550, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 8670, - "name": "packs", + "id": 547, + "name": "idToIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "16699:5:7", + "referencedDeclaration": 432, + "src": "3011:9:7", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" + "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", + "typeString": "mapping(uint256 => uint256)" } }, - "id": 8672, + "id": 549, "indexExpression": { "argumentTypes": null, - "id": 8671, - "name": "_packId", + "id": 548, + "name": "_tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8659, - "src": "16705:7:7", + "referencedDeclaration": 536, + "src": "3021:8:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20125,15 +6744,527 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16699:14:7", + "src": "3011:19:7", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16679:34:7" + "src": "2990:40:7" }, + { + "assignments": [ + 552 + ], + "declarations": [ + { + "constant": false, + "id": 552, + "name": "lastTokenIndex", + "nodeType": "VariableDeclaration", + "scope": 587, + "src": "3036:22:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 551, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3036:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 557, + "initialValue": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 556, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 553, + "name": "tokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 428, + "src": "3061:6:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 554, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3061:13:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 555, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3077:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3061:17:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3036:42:7" + }, + { + "assignments": [ + 559 + ], + "declarations": [ + { + "constant": false, + "id": 559, + "name": "lastToken", + "nodeType": "VariableDeclaration", + "scope": 587, + "src": "3084:17:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 558, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3084:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 563, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 560, + "name": "tokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 428, + "src": "3104:6:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 562, + "indexExpression": { + "argumentTypes": null, + "id": 561, + "name": "lastTokenIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 552, + "src": "3111:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3104:22:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3084:42:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 568, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 564, + "name": "tokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 428, + "src": "3133:6:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 566, + "indexExpression": { + "argumentTypes": null, + "id": 565, + "name": "tokenIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 546, + "src": "3140:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3133:18:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 567, + "name": "lastToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 559, + "src": "3154:9:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3133:30:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 569, + "nodeType": "ExpressionStatement", + "src": "3133:30:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 573, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "3170:15:7", + "subExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 570, + "name": "tokens", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 428, + "src": "3170:6:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 572, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3170:13:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 574, + "nodeType": "ExpressionStatement", + "src": "3170:15:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 579, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 575, + "name": "idToIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 432, + "src": "3288:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", + "typeString": "mapping(uint256 => uint256)" + } + }, + "id": 577, + "indexExpression": { + "argumentTypes": null, + "id": 576, + "name": "lastToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 559, + "src": "3298:9:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3288:20:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 578, + "name": "tokenIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 546, + "src": "3311:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3288:33:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 580, + "nodeType": "ExpressionStatement", + "src": "3288:33:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 585, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 581, + "name": "idToIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 432, + "src": "3327:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", + "typeString": "mapping(uint256 => uint256)" + } + }, + "id": 583, + "indexExpression": { + "argumentTypes": null, + "id": 582, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 536, + "src": "3337:8:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3327:19:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "30", + "id": 584, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3349:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "3327:23:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 586, + "nodeType": "ExpressionStatement", + "src": "3327:23:7" + } + ] + }, + "documentation": "@dev Burns a NFT.\n@notice This is an internal function which should be called from user-implemented external\nburn function. Its purpose is to show and properly initialize data structures when using this\nimplementation. Also, note that this burn implementation allows the minter to re-mint a burned\nNFT.\n@param _tokenId ID of the NFT to be burned.", + "id": 588, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_burn", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 537, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 536, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 588, + "src": "2920:16:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 535, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2920:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2914:26:7" + }, + "returnParameters": { + "id": 538, + "nodeType": "ParameterList", + "parameters": [], + "src": "2956:0:7" + }, + "scope": 712, + "src": "2900:455:7", + "stateMutability": "nonpayable", + "superFunction": 1176, + "visibility": "internal" + }, + { + "body": { + "id": 656, + "nodeType": "Block", + "src": "3710:463:7", + "statements": [ { "expression": { "argumentTypes": null, @@ -20144,56 +7275,947 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 8680, + "id": 600, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "expression": { + "baseExpression": { "argumentTypes": null, - "id": 8675, - "name": "_pack", + "id": 596, + "name": "idToOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 8669, - "src": "16732:5:7", + "referencedDeclaration": 736, + "src": "3724:9:7", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 598, + "indexExpression": { + "argumentTypes": null, + "id": 597, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 592, + "src": "3734:8:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "id": 8676, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 7676, - "src": "16732:11:7", + "nodeType": "IndexAccess", + "src": "3724:19:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "BinaryOperation", - "operator": "!=", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 599, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 590, + "src": "3747:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "3724:28:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 595, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "3716:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 601, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3716:37:7", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 602, + "nodeType": "ExpressionStatement", + "src": "3716:37:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 606, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "3759:26:7", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 603, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "3766:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 605, + "indexExpression": { + "argumentTypes": null, + "id": 604, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 592, + "src": "3776:8:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3766:19:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 607, + "nodeType": "ExpressionStatement", + "src": "3759:26:7" + }, + { + "assignments": [ + 609 + ], + "declarations": [ + { + "constant": false, + "id": 609, + "name": "tokenToRemoveIndex", + "nodeType": "VariableDeclaration", + "scope": 656, + "src": "3792:26:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 608, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3792:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 613, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 610, + "name": "idToOwnerIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 441, + "src": "3821:14:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", + "typeString": "mapping(uint256 => uint256)" + } + }, + "id": 612, + "indexExpression": { + "argumentTypes": null, + "id": 611, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 592, + "src": "3836:8:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3821:24:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3792:53:7" + }, + { + "assignments": [ + 615 + ], + "declarations": [ + { + "constant": false, + "id": 615, + "name": "lastTokenIndex", + "nodeType": "VariableDeclaration", + "scope": 656, + "src": "3851:22:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 614, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3851:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 622, + "initialValue": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 621, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 616, + "name": "ownerToIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 437, + "src": "3876:10:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", + "typeString": "mapping(address => uint256[] storage ref)" + } + }, + "id": 618, + "indexExpression": { + "argumentTypes": null, + "id": 617, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 590, + "src": "3887:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3876:17:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 619, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3876:24:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 620, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3903:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "3876:28:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3851:53:7" + }, + { + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 625, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 623, + "name": "lastTokenIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 615, + "src": "3915:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "id": 624, + "name": "tokenToRemoveIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 609, + "src": "3933:18:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3915:36:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 649, + "nodeType": "IfStatement", + "src": "3911:225:7", + "trueBody": { + "id": 648, + "nodeType": "Block", + "src": "3957:179:7", + "statements": [ + { + "assignments": [ + 627 + ], + "declarations": [ + { + "constant": false, + "id": 627, + "name": "lastToken", + "nodeType": "VariableDeclaration", + "scope": 648, + "src": "3965:17:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 626, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3965:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 633, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 628, + "name": "ownerToIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 437, + "src": "3985:10:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", + "typeString": "mapping(address => uint256[] storage ref)" + } + }, + "id": 630, + "indexExpression": { + "argumentTypes": null, + "id": 629, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 590, + "src": "3996:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3985:17:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 632, + "indexExpression": { + "argumentTypes": null, + "id": 631, + "name": "lastTokenIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 615, + "src": "4003:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3985:33:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3965:53:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 640, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 634, + "name": "ownerToIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 437, + "src": "4026:10:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", + "typeString": "mapping(address => uint256[] storage ref)" + } + }, + "id": 637, + "indexExpression": { + "argumentTypes": null, + "id": 635, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 590, + "src": "4037:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4026:17:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 638, + "indexExpression": { + "argumentTypes": null, + "id": 636, + "name": "tokenToRemoveIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 609, + "src": "4044:18:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4026:37:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 639, + "name": "lastToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 627, + "src": "4066:9:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "4026:49:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 641, + "nodeType": "ExpressionStatement", + "src": "4026:49:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 646, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 642, + "name": "idToOwnerIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 441, + "src": "4083:14:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", + "typeString": "mapping(uint256 => uint256)" + } + }, + "id": 644, + "indexExpression": { + "argumentTypes": null, + "id": 643, + "name": "lastToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 627, + "src": "4098:9:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4083:25:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 645, + "name": "tokenToRemoveIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 609, + "src": "4111:18:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "4083:46:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 647, + "nodeType": "ExpressionStatement", + "src": "4083:46:7" + } + ] + } + }, + { + "expression": { + "argumentTypes": null, + "id": 654, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": false, + "src": "4142:26:7", + "subExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 650, + "name": "ownerToIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 437, + "src": "4142:10:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", + "typeString": "mapping(address => uint256[] storage ref)" + } + }, + "id": 652, + "indexExpression": { + "argumentTypes": null, + "id": 651, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 590, + "src": "4153:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4142:17:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 653, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "4142:24:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 655, + "nodeType": "ExpressionStatement", + "src": "4142:26:7" + } + ] + }, + "documentation": "@dev Removes a NFT from an address.\n@notice Use and override this function with caution. Wrong usage can have serious consequences.\n@param _from Address from wich we want to remove the NFT.\n@param _tokenId Which NFT we want to remove.", + "id": 657, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_removeNFToken", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 593, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 590, + "name": "_from", + "nodeType": "VariableDeclaration", + "scope": 657, + "src": "3655:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 589, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3655:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 592, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 657, + "src": "3674:16:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 591, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3674:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3649:45:7" + }, + "returnParameters": { + "id": 594, + "nodeType": "ParameterList", + "parameters": [], + "src": "3710:0:7" + }, + "scope": 712, + "src": "3626:547:7", + "stateMutability": "nonpayable", + "superFunction": 1207, + "visibility": "internal" + }, + { + "body": { + "id": 697, + "nodeType": "Block", + "src": "4516:181:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 671, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 665, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "4530:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 667, + "indexExpression": { + "argumentTypes": null, + "id": 666, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 661, + "src": "4540:8:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4530:19:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", "rightExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", - "id": 8678, + "id": 669, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16755:1:7", + "src": "4561:1:7", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -20209,20 +8231,20 @@ "typeString": "int_const 0" } ], - "id": 8677, + "id": 668, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "16747:7:7", + "src": "4553:7:7", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 8679, + "id": 670, "isConstant": false, "isLValue": false, "isPure": true, @@ -20230,35 +8252,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16747:10:7", + "src": "4553:10:7", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "16732:25:7", + "src": "4530:33:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } - }, - { - "argumentTypes": null, - "hexValue": "426164207061636b", - "id": 8681, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16759:10:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3e58bfd29a4a4451ac5b3b2575ffc19d4e60379d241da7d37eaadf6c75fbb203", - "typeString": "literal_string \"Bad pack\"" - }, - "value": "Bad pack" } ], "expression": { @@ -20266,5437 +8270,23 @@ { "typeIdentifier": "t_bool", "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3e58bfd29a4a4451ac5b3b2575ffc19d4e60379d241da7d37eaadf6c75fbb203", - "typeString": "literal_string \"Bad pack\"" } ], - "id": 8674, + "id": 664, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "16724:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8682, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16724:46:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8683, - "nodeType": "ExpressionStatement", - "src": "16724:46:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8685, - "name": "_pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8669, - "src": "16789:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8686, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "mintable", - "nodeType": "MemberAccess", - "referencedDeclaration": 7678, - "src": "16789:14:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "44697361626c6564", - "id": 8687, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16805:10:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_cc706b0562d4d0480fd55e80d6bbe5abb3f248e31fb8d00e56119227634d3ed3", - "typeString": "literal_string \"Disabled\"" - }, - "value": "Disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_cc706b0562d4d0480fd55e80d6bbe5abb3f248e31fb8d00e56119227634d3ed3", - "typeString": "literal_string \"Disabled\"" - } - ], - "id": 8684, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "16781:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8688, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16781:35:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8689, - "nodeType": "ExpressionStatement", - "src": "16781:35:7" - }, - { - "assignments": [ - 8691 - ], - "declarations": [ - { - "constant": false, - "id": 8691, - "name": "amount", - "nodeType": "VariableDeclaration", - "scope": 8797, - "src": "16827:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8690, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16827:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8694, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8692, - "name": "_pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8669, - "src": "16844:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8693, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "price", - "nodeType": "MemberAccess", - "referencedDeclaration": 7682, - "src": "16844:11:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16827:28:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8698, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8696, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8691, - "src": "16874:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8697, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16883:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "16874:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 8699, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16886:14:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - } - ], - "id": 8695, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "16866:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8700, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16866:35:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8701, - "nodeType": "ExpressionStatement", - "src": "16866:35:7" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8708, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8704, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8702, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8691, - "src": "16915:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8703, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16924:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "16915:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8707, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8705, - "name": "burnRate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7695, - "src": "16929:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8706, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16940:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "16929:12:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "16915:26:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8739, - "nodeType": "IfStatement", - "src": "16912:241:7", - "trueBody": { - "id": 8738, - "nodeType": "Block", - "src": "16943:210:7", - "statements": [ - { - "assignments": [ - 8710 - ], - "declarations": [ - { - "constant": false, - "id": 8710, - "name": "burned", - "nodeType": "VariableDeclaration", - "scope": 8738, - "src": "16958:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8709, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16958:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8717, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8716, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8713, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8711, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8691, - "src": "16976:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "argumentTypes": null, - "id": 8712, - "name": "burnRate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7695, - "src": "16985:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "16976:17:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 8714, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "16975:19:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3130303030", - "id": 8715, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16997:5:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10000_by_1", - "typeString": "int_const 10000" - }, - "value": "10000" - }, - "src": "16975:27:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16958:44:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 8720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8718, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8691, - "src": "17017:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "id": 8719, - "name": "burned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8710, - "src": "17027:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17017:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8721, - "nodeType": "ExpressionStatement", - "src": "17017:16:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8725, - "name": "_caller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8657, - "src": "17073:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8728, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7697, - "src": "17101:3:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - ], - "id": 8727, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "17093:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 8729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17093:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 8726, - "name": "Controlled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6928, - "src": "17082:10:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Controlled_$6928_$", - "typeString": "type(contract Controlled)" - } - }, - "id": 8730, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17082:24:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Controlled_$6928", - "typeString": "contract Controlled" - } - }, - "id": 8731, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "controller", - "nodeType": "MemberAccess", - "referencedDeclaration": 6906, - "src": "17082:35:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_payable_$", - "typeString": "function () view external returns (address payable)" - } - }, - "id": 8732, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17082:37:7", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 8733, - "name": "burned", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8710, - "src": "17121:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 8723, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7697, - "src": "17056:3:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 8724, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transferFrom", - "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "17056:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) external returns (bool)" - } - }, - "id": 8734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17056:72:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164206275726e", - "id": 8735, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17130:10:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0c050d504fa558928633bc22c6c49b73039c150b7c9071ad81c275d9b4040644", - "typeString": "literal_string \"Bad burn\"" - }, - "value": "Bad burn" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0c050d504fa558928633bc22c6c49b73039c150b7c9071ad81c275d9b4040644", - "typeString": "literal_string \"Bad burn\"" - } - ], - "id": 8722, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "17048:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8736, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17048:93:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8737, - "nodeType": "ExpressionStatement", - "src": "17048:93:7" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 8747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8742, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8740, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8691, - "src": "17166:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8741, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17175:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "17166:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8743, - "name": "_pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8669, - "src": "17180:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8744, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "donate", - "nodeType": "MemberAccess", - "referencedDeclaration": 7684, - "src": "17180:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8745, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17195:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "17180:16:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "17166:30:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8775, - "nodeType": "IfStatement", - "src": "17163:227:7", - "trueBody": { - "id": 8774, - "nodeType": "Block", - "src": "17198:192:7", - "statements": [ - { - "assignments": [ - 8749 - ], - "declarations": [ - { - "constant": false, - "id": 8749, - "name": "donate", - "nodeType": "VariableDeclaration", - "scope": 8774, - "src": "17213:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8748, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17213:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8757, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8756, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8750, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8691, - "src": "17231:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8751, - "name": "_pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8669, - "src": "17240:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8752, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "donate", - "nodeType": "MemberAccess", - "referencedDeclaration": 7684, - "src": "17240:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17231:21:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 8754, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "17230:23:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "hexValue": "3130303030", - "id": 8755, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17256:5:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_10000_by_1", - "typeString": "int_const 10000" - }, - "value": "10000" - }, - "src": "17230:31:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17213:48:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 8760, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8758, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8691, - "src": "17276:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "id": 8759, - "name": "donate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8749, - "src": "17286:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17276:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8761, - "nodeType": "ExpressionStatement", - "src": "17276:16:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8765, - "name": "_caller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8657, - "src": "17332:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8767, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9499, - "src": "17349:4:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", - "typeString": "contract StickerMarket" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StickerMarket_$9081", - "typeString": "contract StickerMarket" - } - ], - "id": 8766, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "17341:7:7", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 8768, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17341:13:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8769, - "name": "donate", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8749, - "src": "17356:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 8763, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7697, - "src": "17315:3:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 8764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transferFrom", - "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "17315:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) external returns (bool)" - } - }, - "id": 8770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17315:48:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "42616420646f6e617465", - "id": 8771, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17365:12:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_d56da49bc135b8907aa2d9f54a7670ff78a057ec1d75a7dcae7e4d20757d7b03", - "typeString": "literal_string \"Bad donate\"" - }, - "value": "Bad donate" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_d56da49bc135b8907aa2d9f54a7670ff78a057ec1d75a7dcae7e4d20757d7b03", - "typeString": "literal_string \"Bad donate\"" - } - ], - "id": 8762, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "17307:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8772, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17307:71:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8773, - "nodeType": "ExpressionStatement", - "src": "17307:71:7" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8776, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8691, - "src": "17404:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8777, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17413:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "17404:10:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8791, - "nodeType": "IfStatement", - "src": "17401:112:7", - "trueBody": { - "id": 8790, - "nodeType": "Block", - "src": "17416:97:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8782, - "name": "_caller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8657, - "src": "17456:7:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 8783, - "name": "_pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8669, - "src": "17465:5:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 8784, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "owner", - "nodeType": "MemberAccess", - "referencedDeclaration": 7676, - "src": "17465:11:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8785, - "name": "amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8691, - "src": "17478:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 8780, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7697, - "src": "17439:3:7", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 8781, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transferFrom", - "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "17439:16:7", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) external returns (bool)" - } - }, - "id": 8786, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17439:46:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164207061796d656e74", - "id": 8787, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17487:13:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2f706041c82808b9d33018cf7aa052a4df71fcbd86a2e2b0fb54f9a089aa7894", - "typeString": "literal_string \"Bad payment\"" - }, - "value": "Bad payment" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_2f706041c82808b9d33018cf7aa052a4df71fcbd86a2e2b0fb54f9a089aa7894", - "typeString": "literal_string \"Bad payment\"" - } - ], - "id": 8779, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "17431:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17431:70:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8789, - "nodeType": "ExpressionStatement", - "src": "17431:70:7" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8793, - "name": "_destination", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8661, - "src": "17546:12:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8794, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8659, - "src": "17560:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8792, - "name": "mintStickerPack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8824, - "src": "17530:15:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (address,uint256) returns (uint256)" - } - }, - "id": 8795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17530:38:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 8667, - "id": 8796, - "nodeType": "Return", - "src": "17523:45:7" - } - ] - }, - "documentation": "@dev transfer SNT from buyer to pack owner and mint sticker pack token \r", - "id": 8798, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 8664, - "modifierName": { - "argumentTypes": null, - "id": 8663, - "name": "marketSell", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7777, - "src": "16617:10:7", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "16617:10:7" - } - ], - "name": "buy", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8662, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8657, - "name": "_caller", - "nodeType": "VariableDeclaration", - "scope": 8798, - "src": "16508:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8656, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16508:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8659, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 8798, - "src": "16534:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8658, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16534:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8661, - "name": "_destination", - "nodeType": "VariableDeclaration", - "scope": 8798, - "src": "16560:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8660, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16560:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "16497:90:7" - }, - "returnParameters": { - "id": 8667, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8666, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 8798, - "src": "16646:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8665, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "16646:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "16645:17:7" - }, - "scope": 9081, - "src": "16485:1091:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 8823, - "nodeType": "Block", - "src": "17777:114:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 8810, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 8807, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8805, - "src": "17788:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 8809, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "17798:12:7", - "subExpression": { - "argumentTypes": null, - "id": 8808, - "name": "tokenCount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7709, - "src": "17798:10:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17788:22:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8811, - "nodeType": "ExpressionStatement", - "src": "17788:22:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 8816, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8812, - "name": "tokenPackId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7705, - "src": "17821:11:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 8814, - "indexExpression": { - "argumentTypes": null, - "id": 8813, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8805, - "src": "17833:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "17821:20:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 8815, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8802, - "src": "17844:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17821:30:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8817, - "nodeType": "ExpressionStatement", - "src": "17821:30:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8819, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8800, - "src": "17867:6:7", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 8820, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8805, - "src": "17875:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8818, - "name": "mint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7394, - "src": "17862:4:7", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 8821, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17862:21:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8822, - "nodeType": "ExpressionStatement", - "src": "17862:21:7" - } - ] - }, - "documentation": "@dev creates new NFT\r", - "id": 8824, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mintStickerPack", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8803, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8800, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 8824, - "src": "17670:14:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 8799, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17670:7:7", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8802, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 8824, - "src": "17695:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8801, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17695:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "17659:58:7" - }, - "returnParameters": { - "id": 8806, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8805, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 8824, - "src": "17755:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8804, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17755:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "17754:17:7" - }, - "scope": 9081, - "src": "17635:256:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 8874, - "nodeType": "Block", - "src": "18035:327:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8838, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8832, - "name": "packCategoryIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7726, - "src": "18054:17:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", - "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" - } - }, - "id": 8834, - "indexExpression": { - "argumentTypes": null, - "id": 8833, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8826, - "src": "18072:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18054:26:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 8836, - "indexExpression": { - "argumentTypes": null, - "id": 8835, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8828, - "src": "18081:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18054:37:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18095:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "18054:42:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4475706c69636174652063617465676f72697a6174696f6e", - "id": 8839, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18098:26:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c83d2973cc591dde449b8c5a090823f74e998d0c93fa8477e15d43645c3535d6", - "typeString": "literal_string \"Duplicate categorization\"" - }, - "value": "Duplicate categorization" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c83d2973cc591dde449b8c5a090823f74e998d0c93fa8477e15d43645c3535d6", - "typeString": "literal_string \"Duplicate categorization\"" - } - ], - "id": 8831, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "18046:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8840, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18046:79:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8841, - "nodeType": "ExpressionStatement", - "src": "18046:79:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 8853, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8842, - "name": "availablePacksIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7720, - "src": "18136:19:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_uint256_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" - } - }, - "id": 8845, - "indexExpression": { - "argumentTypes": null, - "id": 8843, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8828, - "src": "18156:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18136:30:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 8846, - "indexExpression": { - "argumentTypes": null, - "id": 8844, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8826, - "src": "18167:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "18136:39:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8851, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8826, - "src": "18209:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8847, - "name": "availablePacks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7714, - "src": "18178:14:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(bytes4 => uint256[] storage ref)" - } - }, - "id": 8849, - "indexExpression": { - "argumentTypes": null, - "id": 8848, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8828, - "src": "18193:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18178:25:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 8850, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "18178:30:7", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) returns (uint256)" - } - }, - "id": 8852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18178:39:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18136:81:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8854, - "nodeType": "ExpressionStatement", - "src": "18136:81:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 8867, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8855, - "name": "packCategoryIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7726, - "src": "18228:17:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", - "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" - } - }, - "id": 8858, - "indexExpression": { - "argumentTypes": null, - "id": 8856, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8826, - "src": "18246:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18228:26:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 8859, - "indexExpression": { - "argumentTypes": null, - "id": 8857, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8828, - "src": "18255:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "18228:37:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8865, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8828, - "src": "18297:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8860, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "18268:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8862, - "indexExpression": { - "argumentTypes": null, - "id": 8861, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8826, - "src": "18274:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18268:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 8863, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 7674, - "src": "18268:23:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 8864, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "18268:28:7", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes4_$returns$_t_uint256_$", - "typeString": "function (bytes4) returns (uint256)" - } - }, - "id": 8866, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18268:39:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18228:79:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8868, - "nodeType": "ExpressionStatement", - "src": "18228:79:7" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 8870, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8828, - "src": "18335:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "argumentTypes": null, - "id": 8871, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8826, - "src": "18346:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 8869, - "name": "Categorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7635, - "src": "18323:11:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes4_$_t_uint256_$returns$__$", - "typeString": "function (bytes4,uint256)" - } - }, - "id": 8872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18323:31:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8873, - "nodeType": "EmitStatement", - "src": "18318:36:7" - } - ] - }, - "documentation": "@dev adds id from \"available list\" \r", - "id": 8875, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "addAvailablePack", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8829, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8826, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 8875, - "src": "17992:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8825, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "17992:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8828, - "name": "_category", - "nodeType": "VariableDeclaration", - "scope": 8875, - "src": "18009:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8827, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "18009:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "17991:35:7" - }, - "returnParameters": { - "id": 8830, - "nodeType": "ParameterList", - "parameters": [], - "src": "18035:0:7" - }, - "scope": 9081, - "src": "17966:396:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "private" - }, - { - "body": { - "id": 9026, - "nodeType": "Block", - "src": "18511:1080:7", - "statements": [ - { - "assignments": [ - 8883 - ], - "declarations": [ - { - "constant": false, - "id": 8883, - "name": "pos", - "nodeType": "VariableDeclaration", - "scope": 9026, - "src": "18522:8:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8882, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18522:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8889, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8884, - "name": "availablePacksIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7720, - "src": "18533:19:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_uint256_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" - } - }, - "id": 8886, - "indexExpression": { - "argumentTypes": null, - "id": 8885, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "18553:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18533:30:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 8888, - "indexExpression": { - "argumentTypes": null, - "id": 8887, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "18564:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18533:39:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "18522:50:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8893, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8891, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8883, - "src": "18591:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8892, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18597:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "18591:7:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4e6f742063617465676f72697a6564205b315d", - "id": 8894, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18600:21:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_52e471c96dcc4fb75018b7745234a45676b2c7ed7adb1172568d14fb284eb937", - "typeString": "literal_string \"Not categorized [1]\"" - }, - "value": "Not categorized [1]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_52e471c96dcc4fb75018b7745234a45676b2c7ed7adb1172568d14fb284eb937", - "typeString": "literal_string \"Not categorized [1]\"" - } - ], - "id": 8890, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "18583:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18583:39:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8896, - "nodeType": "ExpressionStatement", - "src": "18583:39:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 8902, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "18633:46:7", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8897, - "name": "availablePacksIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7720, - "src": "18640:19:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_uint256_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" - } - }, - "id": 8899, - "indexExpression": { - "argumentTypes": null, - "id": 8898, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "18660:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18640:30:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 8901, - "indexExpression": { - "argumentTypes": null, - "id": 8900, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "18671:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "18640:39:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8903, - "nodeType": "ExpressionStatement", - "src": "18633:46:7" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8904, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8883, - "src": "18693:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8905, - "name": "availablePacks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7714, - "src": "18700:14:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(bytes4 => uint256[] storage ref)" - } - }, - "id": 8907, - "indexExpression": { - "argumentTypes": null, - "id": 8906, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "18715:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18700:25:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 8908, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "18700:32:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18693:39:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 8942, - "nodeType": "IfStatement", - "src": "18690:292:7", - "trueBody": { - "id": 8941, - "nodeType": "Block", - "src": "18733:249:7", - "statements": [ - { - "assignments": [ - 8911 - ], - "declarations": [ - { - "constant": false, - "id": 8911, - "name": "movedElement", - "nodeType": "VariableDeclaration", - "scope": 8941, - "src": "18748:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8910, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18748:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8922, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8912, - "name": "availablePacks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7714, - "src": "18771:14:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(bytes4 => uint256[] storage ref)" - } - }, - "id": 8914, - "indexExpression": { - "argumentTypes": null, - "id": 8913, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "18786:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18771:25:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 8921, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8920, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8915, - "name": "availablePacks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7714, - "src": "18797:14:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(bytes4 => uint256[] storage ref)" - } - }, - "id": 8917, - "indexExpression": { - "argumentTypes": null, - "id": 8916, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "18812:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18797:25:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 8918, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "18797:32:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 8919, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18830:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "18797:34:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18771:61:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "18748:84:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 8931, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8923, - "name": "availablePacks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7714, - "src": "18858:14:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(bytes4 => uint256[] storage ref)" - } - }, - "id": 8928, - "indexExpression": { - "argumentTypes": null, - "id": 8924, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "18873:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18858:25:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 8929, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8927, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8925, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8883, - "src": "18884:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 8926, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18888:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "18884:5:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "18858:32:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 8930, - "name": "movedElement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8911, - "src": "18893:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18858:47:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8932, - "nodeType": "ExpressionStatement", - "src": "18858:47:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 8939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8933, - "name": "availablePacksIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7720, - "src": "18920:19:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_uint256_$_t_uint256_$_$", - "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" - } - }, - "id": 8936, - "indexExpression": { - "argumentTypes": null, - "id": 8934, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "18940:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18920:30:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 8937, - "indexExpression": { - "argumentTypes": null, - "id": 8935, - "name": "movedElement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8911, - "src": "18951:12:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "18920:44:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 8938, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8883, - "src": "18967:3:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18920:50:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8940, - "nodeType": "ExpressionStatement", - "src": "18920:50:7" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 8947, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "18992:34:7", - "subExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8943, - "name": "availablePacks", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7714, - "src": "18992:14:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(bytes4 => uint256[] storage ref)" - } - }, - "id": 8945, - "indexExpression": { - "argumentTypes": null, - "id": 8944, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "19007:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18992:25:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 8946, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "18992:32:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 8948, - "nodeType": "ExpressionStatement", - "src": "18992:34:7" - }, - { - "assignments": [ - 8950 - ], - "declarations": [ - { - "constant": false, - "id": 8950, - "name": "pos2", - "nodeType": "VariableDeclaration", - "scope": 9026, - "src": "19039:9:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8949, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19039:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8956, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8951, - "name": "packCategoryIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7726, - "src": "19051:17:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", - "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" - } - }, - "id": 8953, - "indexExpression": { - "argumentTypes": null, - "id": 8952, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "19069:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19051:26:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 8955, - "indexExpression": { - "argumentTypes": null, - "id": 8954, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "19078:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19051:37:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19039:49:7" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8960, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8958, - "name": "pos2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8950, - "src": "19107:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 8959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19114:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "19107:8:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4e6f742063617465676f72697a6564205b325d", - "id": 8961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19117:21:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dda8097b5e15d0631087cb303e1a590cdc98e2f966c409b3879fd9125fda9919", - "typeString": "literal_string \"Not categorized [2]\"" - }, - "value": "Not categorized [2]" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_dda8097b5e15d0631087cb303e1a590cdc98e2f966c409b3879fd9125fda9919", - "typeString": "literal_string \"Not categorized [2]\"" - } - ], - "id": 8957, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "19099:7:7", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 8962, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19099:40:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8963, - "nodeType": "ExpressionStatement", - "src": "19099:40:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 8969, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "19150:44:7", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8964, - "name": "packCategoryIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7726, - "src": "19157:17:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", - "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" - } - }, - "id": 8966, - "indexExpression": { - "argumentTypes": null, - "id": 8965, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "19175:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19157:26:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 8968, - "indexExpression": { - "argumentTypes": null, - "id": 8967, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "19184:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "19157:37:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 8970, - "nodeType": "ExpressionStatement", - "src": "19150:44:7" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8977, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8971, - "name": "pos2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8950, - "src": "19208:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8972, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "19216:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8974, - "indexExpression": { - "argumentTypes": null, - "id": 8973, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "19222:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19216:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 8975, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 7674, - "src": "19216:23:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 8976, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "19216:30:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "19208:38:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 9013, - "nodeType": "IfStatement", - "src": "19205:285:7", - "trueBody": { - "id": 9012, - "nodeType": "Block", - "src": "19247:243:7", - "statements": [ - { - "assignments": [ - 8979 - ], - "declarations": [ - { - "constant": false, - "id": 8979, - "name": "movedElement2", - "nodeType": "VariableDeclaration", - "scope": 9012, - "src": "19262:20:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8978, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "19262:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 8992, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8980, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "19285:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8982, - "indexExpression": { - "argumentTypes": null, - "id": 8981, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "19291:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19285:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 8983, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 7674, - "src": "19285:23:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 8991, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8990, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8984, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "19309:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8986, - "indexExpression": { - "argumentTypes": null, - "id": 8985, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "19315:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19309:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 8987, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 7674, - "src": "19309:23:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 8988, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "19309:30:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 8989, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19340:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "19309:32:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19285:57:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "19262:80:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 9002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 8993, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "19368:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 8995, - "indexExpression": { - "argumentTypes": null, - "id": 8994, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "19374:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19368:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 8996, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 7674, - "src": "19368:23:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 9000, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 8999, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 8997, - "name": "pos2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8950, - "src": "19392:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 8998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19397:1:7", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "19392:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "19368:31:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 9001, - "name": "movedElement2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8979, - "src": "19402:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "19368:47:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "id": 9003, - "nodeType": "ExpressionStatement", - "src": "19368:47:7" - }, - { - "expression": { - "argumentTypes": null, - "id": 9010, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 9004, - "name": "packCategoryIndex", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7726, - "src": "19430:17:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", - "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" - } - }, - "id": 9007, - "indexExpression": { - "argumentTypes": null, - "id": 9005, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "19448:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19430:26:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", - "typeString": "mapping(bytes4 => uint256)" - } - }, - "id": 9008, - "indexExpression": { - "argumentTypes": null, - "id": 9006, - "name": "movedElement2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8979, - "src": "19457:13:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "19430:41:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 9009, - "name": "pos2", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8950, - "src": "19474:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "19430:48:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9011, - "nodeType": "ExpressionStatement", - "src": "19430:48:7" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 9019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "19500:32:7", - "subExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 9014, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "19500:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 9016, - "indexExpression": { - "argumentTypes": null, - "id": 9015, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "19506:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19500:14:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "id": 9017, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "category", - "nodeType": "MemberAccess", - "referencedDeclaration": 7674, - "src": "19500:23:7", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", - "typeString": "bytes4[] storage ref" - } - }, - "id": 9018, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "19500:30:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 9020, - "nodeType": "ExpressionStatement", - "src": "19500:32:7" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 9022, - "name": "_category", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8879, - "src": "19562:9:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - { - "argumentTypes": null, - "id": 9023, - "name": "_packId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 8877, - "src": "19573:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 9021, - "name": "Uncategorized", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7641, - "src": "19548:13:7", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_bytes4_$_t_uint256_$returns$__$", - "typeString": "function (bytes4,uint256)" - } - }, - "id": 9024, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "19548:33:7", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 9025, - "nodeType": "EmitStatement", - "src": "19543:38:7" - } - ] - }, - "documentation": "@dev remove id from \"available list\" \r", - "id": 9027, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "removeAvailablePack", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 8880, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 8877, - "name": "_packId", - "nodeType": "VariableDeclaration", - "scope": 9027, - "src": "18468:15:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8876, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "18468:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 8879, - "name": "_category", - "nodeType": "VariableDeclaration", - "scope": 9027, - "src": "18485:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 8878, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "18485:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "18467:35:7" - }, - "returnParameters": { - "id": 8881, - "nodeType": "ParameterList", - "parameters": [], - "src": "18511:0:7" - }, - "scope": 9081, - "src": "18439:1152:7", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "private" - }, - { - "body": { - "id": 9042, - "nodeType": "Block", - "src": "19730:54:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 9040, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 9034, - "name": "pack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9032, - "src": "19741:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 9035, - "name": "packs", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7701, - "src": "19748:5:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$7687_storage_$", - "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" - } - }, - "id": 9039, - "indexExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 9036, - "name": "tokenPackId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7705, - "src": "19754:11:7", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 9038, - "indexExpression": { - "argumentTypes": null, - "id": 9037, - "name": "_tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9029, - "src": "19766:8:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19754:21:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19748:28:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage", - "typeString": "struct StickerMarket.Pack storage ref" - } - }, - "src": "19741:35:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack memory" - } - }, - "id": 9041, - "nodeType": "ExpressionStatement", - "src": "19741:35:7" - } - ] - }, - "documentation": "@dev reads token pack data\r", - "id": 9043, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getTokenPack", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9030, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9029, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 9043, - "src": "19674:16:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9028, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "19674:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "19673:18:7" - }, - "returnParameters": { - "id": 9033, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9032, - "name": "pack", - "nodeType": "VariableDeclaration", - "scope": 9043, - "src": "19713:16:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_memory_ptr", - "typeString": "struct StickerMarket.Pack" - }, - "typeName": { - "contractScope": null, - "id": 9031, - "name": "Pack", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 7687, - "src": "19713:4:7", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$7687_storage_ptr", - "typeString": "struct StickerMarket.Pack" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "19712:18:7" - }, - "scope": 9081, - "src": "19652:132:7", - "stateMutability": "view", - "superFunction": null, - "visibility": "private" - }, - { - "body": { - "id": 9051, - "nodeType": "Block", - "src": "19868:91:7", - "statements": [ - { - "externalReferences": [ - { - "sig": { - "declaration": 9048, - "isOffset": false, - "isSlot": false, - "src": "19903:3:7", - "valueSize": 1 - } - }, - { - "_data": { - "declaration": 9045, - "isOffset": false, - "isSlot": false, - "src": "19920:5:7", - "valueSize": 1 - } - } - ], - "id": 9050, - "nodeType": "InlineAssembly", - "operations": "{\n sig := mload(add(_data, add(0x20, 0)))\n}", - "src": "19879:80:7" - } - ] - }, - "documentation": null, - "id": 9052, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "abiDecodeSig", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9046, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9045, - "name": "_data", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "19816:18:7", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9044, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "19816:5:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "19815:20:7" - }, - "returnParameters": { - "id": 9049, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9048, - "name": "sig", - "nodeType": "VariableDeclaration", - "scope": 9052, - "src": "19857:10:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 9047, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "19857:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "19856:12:7" - }, - "scope": 9081, - "src": "19794:165:7", - "stateMutability": "pure", - "superFunction": null, - "visibility": "private" - }, - { - "body": { - "id": 9079, - "nodeType": "Block", - "src": "20066:2433:7", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 9064, - "name": "_bytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9054, - "src": "20085:6:7", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - }, - "id": 9065, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "20085:13:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 9068, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 9066, - "name": "_start", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9056, - "src": "20103:6:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 9067, - "name": "_length", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9058, - "src": "20112:7:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20103:16:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 9069, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "20102:18:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20085:35:7", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 9063, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9456, - "src": "20077:7:7", + "referencedDeclaration": 5710, + "src": "4522:7:7", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 9071, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -25704,213 +8294,362 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20077:44:7", + "src": "4522:42:7", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 9072, + "id": 673, "nodeType": "ExpressionStatement", - "src": "20077:44:7" + "src": "4522:42:7" + }, + { + "expression": { + "argumentTypes": null, + "id": 678, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 674, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "4570:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 676, + "indexExpression": { + "argumentTypes": null, + "id": 675, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 661, + "src": "4580:8:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4570:19:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 677, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 659, + "src": "4592:3:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "4570:25:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 679, + "nodeType": "ExpressionStatement", + "src": "4570:25:7" }, { "assignments": [ - 9074 + 681 ], "declarations": [ { "constant": false, - "id": 9074, - "name": "tempBytes", + "id": 681, + "name": "length", "nodeType": "VariableDeclaration", - "scope": 9079, - "src": "20134:22:7", + "scope": 697, + "src": "4602:14:7", "stateVariable": false, - "storageLocation": "memory", + "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 9073, - "name": "bytes", + "id": 680, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20134:5:7", + "src": "4602:7:7", "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "id": 9075, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "20134:22:7" - }, - { - "externalReferences": [ - { - "_length": { - "declaration": 9058, - "isOffset": false, - "isSlot": false, - "src": "20207:7:7", - "valueSize": 1 + "id": 688, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 686, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 661, + "src": "4640:8:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 682, + "name": "ownerToIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 437, + "src": "4619:10:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", + "typeString": "mapping(address => uint256[] storage ref)" + } + }, + "id": 684, + "indexExpression": { + "argumentTypes": null, + "id": 683, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 659, + "src": "4630:3:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4619:15:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 685, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "push", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "4619:20:7", + "typeDescriptions": { + "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) returns (uint256)" } }, - { - "tempBytes": { - "declaration": 9074, - "isOffset": false, - "isSlot": false, - "src": "20395:9:7", - "valueSize": 1 - } - }, - { - "_length": { - "declaration": 9058, - "isOffset": false, - "isSlot": false, - "src": "21074:7:7", - "valueSize": 1 - } - }, - { - "_length": { - "declaration": 9058, - "isOffset": false, - "isSlot": false, - "src": "21520:7:7", - "valueSize": 1 - } - }, - { - "tempBytes": { - "declaration": 9074, - "isOffset": false, - "isSlot": false, - "src": "21431:9:7", - "valueSize": 1 - } - }, - { - "_bytes": { - "declaration": 9054, - "isOffset": false, - "isSlot": false, - "src": "21726:6:7", - "valueSize": 1 - } - }, - { - "_start": { - "declaration": 9056, - "isOffset": false, - "isSlot": false, - "src": "21777:6:7", - "valueSize": 1 - } - }, - { - "tempBytes": { - "declaration": 9074, - "isOffset": false, - "isSlot": false, - "src": "22359:9:7", - "valueSize": 1 - } - }, - { - "tempBytes": { - "declaration": 9074, - "isOffset": false, - "isSlot": false, - "src": "22009:9:7", - "valueSize": 1 - } - }, - { - "_length": { - "declaration": 9058, - "isOffset": false, - "isSlot": false, - "src": "22020:7:7", - "valueSize": 1 - } - }, - { - "tempBytes": { - "declaration": 9074, - "isOffset": false, - "isSlot": false, - "src": "22420:9:7", - "valueSize": 1 - } + "id": 687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4619:30:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } - ], - "id": 9076, - "nodeType": "InlineAssembly", - "operations": "{\n switch iszero(_length)\n case 0 {\n tempBytes := mload(0x40)\n let lengthmod := and(_length, 31)\n let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\n let end := add(mc, _length)\n for {\n let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\n }\n lt(mc, end)\n {\n mc := add(mc, 0x20)\n cc := add(cc, 0x20)\n }\n {\n mstore(mc, mload(cc))\n }\n mstore(tempBytes, _length)\n mstore(0x40, and(add(mc, 31), not(31)))\n }\n default {\n tempBytes := mload(0x40)\n mstore(0x40, add(tempBytes, 0x20))\n }\n}", - "src": "20169:2312:7" + }, + "nodeType": "VariableDeclarationStatement", + "src": "4602:47:7" }, { "expression": { "argumentTypes": null, - "id": 9077, - "name": "tempBytes", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9074, - "src": "22482:9:7", + "id": 695, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 689, + "name": "idToOwnerIndex", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 441, + "src": "4655:14:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", + "typeString": "mapping(uint256 => uint256)" + } + }, + "id": 691, + "indexExpression": { + "argumentTypes": null, + "id": 690, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 661, + "src": "4670:8:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4655:24:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 694, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 692, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 681, + "src": "4682:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 693, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4691:1:7", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "4682:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "4655:37:7", "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, - "functionReturnParameters": 9062, - "id": 9078, - "nodeType": "Return", - "src": "22475:16:7" + "id": 696, + "nodeType": "ExpressionStatement", + "src": "4655:37:7" } ] }, - "documentation": null, - "id": 9080, + "documentation": "@dev Assignes a new NFT to an address.\n@notice Use and override this function with caution. Wrong usage can have serious consequences.\n@param _to Address to wich we want to add the NFT.\n@param _tokenId Which NFT we want to add.", + "id": 698, "implemented": true, "kind": "function", "modifiers": [], - "name": "slice", + "name": "_addNFToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 9059, + "id": 662, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 9054, - "name": "_bytes", + "id": 659, + "name": "_to", "nodeType": "VariableDeclaration", - "scope": 9080, - "src": "19982:19:7", + "scope": 698, + "src": "4463:11:7", "stateVariable": false, - "storageLocation": "memory", + "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "id": 9053, - "name": "bytes", + "id": 658, + "name": "address", "nodeType": "ElementaryTypeName", - "src": "19982:5:7", + "src": "4463:7:7", + "stateMutability": "nonpayable", "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" + "typeIdentifier": "t_address", + "typeString": "address" } }, "value": null, @@ -25918,11 +8657,11 @@ }, { "constant": false, - "id": 9056, - "name": "_start", + "id": 661, + "name": "_tokenId", "nodeType": "VariableDeclaration", - "scope": 9080, - "src": "20003:11:7", + "scope": 698, + "src": "4480:16:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25930,36 +8669,10 @@ "typeString": "uint256" }, "typeName": { - "id": 9055, - "name": "uint", + "id": 660, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20003:4:7", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9058, - "name": "_length", - "nodeType": "VariableDeclaration", - "scope": 9080, - "src": "20016:12:7", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9057, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20016:4:7", + "src": "4480:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25969,66 +8682,189 @@ "visibility": "internal" } ], - "src": "19981:48:7" + "src": "4457:43:7" }, "returnParameters": { - "id": 9062, + "id": 663, + "nodeType": "ParameterList", + "parameters": [], + "src": "4516:0:7" + }, + "scope": 712, + "src": "4437:260:7", + "stateMutability": "nonpayable", + "superFunction": 1242, + "visibility": "internal" + }, + { + "body": { + "id": 710, + "nodeType": "Block", + "src": "5081:43:7", + "statements": [ + { + "expression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 705, + "name": "ownerToIds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 437, + "src": "5094:10:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", + "typeString": "mapping(address => uint256[] storage ref)" + } + }, + "id": 707, + "indexExpression": { + "argumentTypes": null, + "id": 706, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 700, + "src": "5105:6:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "5094:18:7", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage", + "typeString": "uint256[] storage ref" + } + }, + "id": 708, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "5094:25:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 704, + "id": 709, + "nodeType": "Return", + "src": "5087:32:7" + } + ] + }, + "documentation": "�dev Helper function that gets NFT count of owner. This is needed for overriding in enumerable\nextension to remove double storage(gas optimization) of owner nft count.\n@param _owner Address for whom to query the count.\n@return Number of _owner NFTs.", + "id": 711, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_getOwnerNFTCount", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 701, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 9061, - "name": "", + "id": 700, + "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 9080, - "src": "20052:12:7", + "scope": 711, + "src": "5016:14:7", "stateVariable": false, - "storageLocation": "memory", + "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "id": 9060, - "name": "bytes", + "id": 699, + "name": "address", "nodeType": "ElementaryTypeName", - "src": "20052:5:7", + "src": "5016:7:7", + "stateMutability": "nonpayable", "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" + "typeIdentifier": "t_address", + "typeString": "address" } }, "value": null, "visibility": "internal" } ], - "src": "20051:14:7" + "src": "5010:24:7" }, - "scope": 9081, - "src": "19967:2532:7", - "stateMutability": "pure", - "superFunction": null, - "visibility": "private" + "returnParameters": { + "id": 704, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 703, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 711, + "src": "5070:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 702, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5070:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "5069:9:7" + }, + "scope": 712, + "src": "4984:140:7", + "stateMutability": "view", + "superFunction": 1254, + "visibility": "internal" } ], - "scope": 9082, - "src": "666:21840:7" + "scope": 713, + "src": "324:4802:7" } ], - "src": "0:22506:7" + "src": "0:5127:7" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/nf-token.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/nf-token.sol", "exportedSymbols": { - "ApproveAndCallFallBack": [ - 6942 + "NFToken": [ + 1342 ] }, - "id": 6943, + "id": 1343, "nodeType": "SourceUnit", "nodes": [ { - "id": 6930, + "id": 714, "literals": [ "solidity", ">=", @@ -26042,38 +8878,434 @@ "src": "0:31:8" }, { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 6942, - "linearizedBaseContracts": [ - 6942 + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721.sol", + "id": 715, + "nodeType": "ImportDirective", + "scope": 1343, + "sourceUnit": 418, + "src": "33:91:8", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721-token-receiver.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721-token-receiver.sol", + "id": 716, + "nodeType": "ImportDirective", + "scope": 1343, + "sourceUnit": 318, + "src": "125:106:8", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/math/safe-math.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/math/safe-math.sol", + "id": 717, + "nodeType": "ImportDirective", + "scope": 1343, + "sourceUnit": 214, + "src": "232:92:8", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/supports-interface.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/supports-interface.sol", + "id": 718, + "nodeType": "ImportDirective", + "scope": 1343, + "sourceUnit": 1406, + "src": "325:102:8", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/address-utils.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/address-utils.sol", + "id": 719, + "nodeType": "ImportDirective", + "scope": 1343, + "sourceUnit": 1364, + "src": "428:97:8", + "symbolAliases": [], + "unitAlias": "" + }, + { + "baseContracts": [ + { + "arguments": null, + "baseName": { + "contractScope": null, + "id": 720, + "name": "ERC721", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 417, + "src": "620:6:8", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ERC721_$417", + "typeString": "contract ERC721" + } + }, + "id": 721, + "nodeType": "InheritanceSpecifier", + "src": "620:6:8" + }, + { + "arguments": null, + "baseName": { + "contractScope": null, + "id": 722, + "name": "SupportsInterface", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 1405, + "src": "630:17:8", + "typeDescriptions": { + "typeIdentifier": "t_contract$_SupportsInterface_$1405", + "typeString": "contract SupportsInterface" + } + }, + "id": 723, + "nodeType": "InheritanceSpecifier", + "src": "630:17:8" + } ], - "name": "ApproveAndCallFallBack", + "contractDependencies": [ + 417, + 1373, + 1405 + ], + "contractKind": "contract", + "documentation": "@dev Implementation of ERC-721 non-fungible token standard.", + "fullyImplemented": true, + "id": 1342, + "linearizedBaseContracts": [ + 1342, + 1405, + 1373, + 417 + ], + "name": "NFToken", "nodeType": "ContractDefinition", "nodes": [ { - "body": null, - "documentation": null, - "id": 6941, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "receiveApproval", - "nodeType": "FunctionDefinition", + "id": 726, + "libraryName": { + "contractScope": null, + "id": 724, + "name": "SafeMath", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 213, + "src": "658:8:8", + "typeDescriptions": { + "typeIdentifier": "t_contract$_SafeMath_$213", + "typeString": "library SafeMath" + } + }, + "nodeType": "UsingForDirective", + "src": "652:27:8", + "typeName": { + "id": 725, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "671:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + }, + { + "id": 729, + "libraryName": { + "contractScope": null, + "id": 727, + "name": "AddressUtils", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 1363, + "src": "688:12:8", + "typeDescriptions": { + "typeIdentifier": "t_contract$_AddressUtils_$1363", + "typeString": "library AddressUtils" + } + }, + "nodeType": "UsingForDirective", + "src": "682:31:8", + "typeName": { + "id": 728, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "705:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + }, + { + "constant": true, + "id": 732, + "name": "MAGIC_ON_ERC721_RECEIVED", + "nodeType": "VariableDeclaration", + "scope": 1342, + "src": "878:62:8", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 730, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "878:6:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "value": { + "argumentTypes": null, + "hexValue": "30783135306237613032", + "id": 731, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "930:10:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_353073666_by_1", + "typeString": "int_const 353073666" + }, + "value": "0x150b7a02" + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 736, + "name": "idToOwner", + "nodeType": "VariableDeclaration", + "scope": 1342, + "src": "1018:47:8", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + }, + "typeName": { + "id": 735, + "keyType": { + "id": 733, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1027:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Mapping", + "src": "1018:28:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + }, + "valueType": { + "id": 734, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1038:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 740, + "name": "idToApproval", + "nodeType": "VariableDeclaration", + "scope": 1342, + "src": "1133:50:8", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + }, + "typeName": { + "id": 739, + "keyType": { + "id": 737, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1142:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Mapping", + "src": "1133:28:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + }, + "valueType": { + "id": 738, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1153:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 744, + "name": "ownerToNFTokenCount", + "nodeType": "VariableDeclaration", + "scope": 1342, + "src": "1262:56:8", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + }, + "typeName": { + "id": 743, + "keyType": { + "id": 741, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1271:7:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "1262:28:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + }, + "valueType": { + "id": 742, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1282:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + }, + "value": null, + "visibility": "private" + }, + { + "constant": false, + "id": 750, + "name": "ownerToOperators", + "nodeType": "VariableDeclaration", + "scope": 1342, + "src": "1406:72:8", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", + "typeString": "mapping(address => mapping(address => bool))" + }, + "typeName": { + "id": 749, + "keyType": { + "id": 745, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1415:7:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "1406:46:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", + "typeString": "mapping(address => mapping(address => bool))" + }, + "valueType": { + "id": 748, + "keyType": { + "id": 746, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1435:7:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "1426:25:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "valueType": { + "id": 747, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1446:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + } + }, + "value": null, + "visibility": "internal" + }, + { + "anonymous": false, + "documentation": "@dev Emits when ownership of any NFT changes by any mechanism. This event emits when NFTs are\ncreated (`from` == 0) and destroyed (`to` == 0). Exception: during contract creation, any\nnumber of NFTs may be created and assigned without emitting Transfer. At the time of any\ntransfer, the approved address for that NFT (if any) is reset to none.\n@param from Sender of NFT (if address is zero address it indicates token creation).\n@param to Receiver of NFT (if address is zero address it indicates token destruction).\n@param value The NFT that got transfered.", + "id": 758, + "name": "Transfer", + "nodeType": "EventDefinition", "parameters": { - "id": 6939, + "id": 757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 6932, + "id": 752, + "indexed": true, "name": "from", "nodeType": "VariableDeclaration", - "scope": 6941, - "src": "100:12:8", + "scope": 758, + "src": "2107:20:8", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26081,10 +9313,10 @@ "typeString": "address" }, "typeName": { - "id": 6931, + "id": 751, "name": "address", "nodeType": "ElementaryTypeName", - "src": "100:7:8", + "src": "2107:7:8", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26096,11 +9328,40 @@ }, { "constant": false, - "id": 6934, - "name": "_amount", + "id": 754, + "indexed": true, + "name": "to", "nodeType": "VariableDeclaration", - "scope": 6941, - "src": "114:15:8", + "scope": 758, + "src": "2133:18:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 753, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2133:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 756, + "indexed": true, + "name": "value", + "nodeType": "VariableDeclaration", + "scope": 758, + "src": "2157:21:8", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26108,10 +9369,1524 @@ "typeString": "uint256" }, "typeName": { - "id": 6933, + "id": 755, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "114:7:8", + "src": "2157:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2101:81:8" + }, + "src": "2087:96:8" + }, + { + "anonymous": false, + "documentation": "@dev This emits when the approved address for an NFT is changed or reaffirmed. The zero\naddress indicates there is no approved address. When a Transfer event emits, this also\nindicates that the approved address for that NFT (if any) is reset to none.\n@param _owner Owner of NFT.\n@param _approved Address that we are approving.\n@param _tokenId NFT which we are approving.", + "id": 766, + "name": "Approval", + "nodeType": "EventDefinition", + "parameters": { + "id": 765, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 760, + "indexed": true, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 766, + "src": "2620:22:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 759, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2620:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 762, + "indexed": true, + "name": "_approved", + "nodeType": "VariableDeclaration", + "scope": 766, + "src": "2648:25:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 761, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2648:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 764, + "indexed": true, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 766, + "src": "2679:24:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 763, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2679:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2614:93:8" + }, + "src": "2600:108:8" + }, + { + "anonymous": false, + "documentation": "@dev This emits when an operator is enabled or disabled for an owner. The operator can manage\nall NFTs of the owner.\n@param _owner Owner of NFT.\n@param _operator Address to which we are setting operator rights.\n@param _approved Status of operator rights(true if operator rights are given and false if\nrevoked).", + "id": 774, + "name": "ApprovalForAll", + "nodeType": "EventDefinition", + "parameters": { + "id": 773, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 768, + "indexed": true, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 774, + "src": "3091:22:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 767, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3091:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 770, + "indexed": true, + "name": "_operator", + "nodeType": "VariableDeclaration", + "scope": 774, + "src": "3119:25:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 769, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3119:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 772, + "indexed": false, + "name": "_approved", + "nodeType": "VariableDeclaration", + "scope": 774, + "src": "3150:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 771, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3150:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3085:83:8" + }, + "src": "3065:104:8" + }, + { + "body": { + "id": 799, + "nodeType": "Block", + "src": "3365:141:8", + "statements": [ + { + "assignments": [ + 779 + ], + "declarations": [ + { + "constant": false, + "id": 779, + "name": "tokenOwner", + "nodeType": "VariableDeclaration", + "scope": 799, + "src": "3371:18:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 778, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3371:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 783, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 780, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "3392:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 782, + "indexExpression": { + "argumentTypes": null, + "id": 781, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 776, + "src": "3402:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3392:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3371:40:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 795, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 788, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 785, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 779, + "src": "3425:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 786, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "3439:3:8", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 787, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3439:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "3425:24:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 789, + "name": "ownerToOperators", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 750, + "src": "3453:16:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", + "typeString": "mapping(address => mapping(address => bool))" + } + }, + "id": 791, + "indexExpression": { + "argumentTypes": null, + "id": 790, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 779, + "src": "3470:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3453:28:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 794, + "indexExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 792, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "3482:3:8", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 793, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3482:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3453:40:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "3425:68:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 784, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "3417:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 796, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3417:77:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 797, + "nodeType": "ExpressionStatement", + "src": "3417:77:8" + }, + { + "id": 798, + "nodeType": "PlaceholderStatement", + "src": "3500:1:8" + } + ] + }, + "documentation": "@dev Guarantees that the msg.sender is an owner or operator of the given NFT.\n@param _tokenId ID of the NFT to validate.", + "id": 800, + "name": "canOperate", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 777, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 776, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 800, + "src": "3341:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 775, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3341:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3335:26:8" + }, + "src": "3316:190:8", + "visibility": "internal" + }, + { + "body": { + "id": 832, + "nodeType": "Block", + "src": "3689:205:8", + "statements": [ + { + "assignments": [ + 805 + ], + "declarations": [ + { + "constant": false, + "id": 805, + "name": "tokenOwner", + "nodeType": "VariableDeclaration", + "scope": 832, + "src": "3695:18:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 804, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3695:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 809, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 806, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "3716:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 808, + "indexExpression": { + "argumentTypes": null, + "id": 807, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 802, + "src": "3726:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3716:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3695:40:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 828, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 821, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 814, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 811, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 805, + "src": "3756:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 812, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "3770:3:8", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 813, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3770:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "3756:24:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 820, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 815, + "name": "idToApproval", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 740, + "src": "3790:12:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 817, + "indexExpression": { + "argumentTypes": null, + "id": 816, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 802, + "src": "3803:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3790:22:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 818, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "3816:3:8", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 819, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3816:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "3790:36:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "3756:70:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 822, + "name": "ownerToOperators", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 750, + "src": "3836:16:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", + "typeString": "mapping(address => mapping(address => bool))" + } + }, + "id": 824, + "indexExpression": { + "argumentTypes": null, + "id": 823, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 805, + "src": "3853:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3836:28:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 827, + "indexExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 825, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "3865:3:8", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 826, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "3865:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3836:40:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "3756:120:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 810, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "3741:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 829, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3741:141:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 830, + "nodeType": "ExpressionStatement", + "src": "3741:141:8" + }, + { + "id": 831, + "nodeType": "PlaceholderStatement", + "src": "3888:1:8" + } + ] + }, + "documentation": "@dev Guarantees that the msg.sender is allowed to transfer NFT.\n@param _tokenId ID of the NFT to transfer.", + "id": 833, + "name": "canTransfer", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 803, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 802, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 833, + "src": "3665:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 801, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3665:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3659:26:8" + }, + "src": "3639:255:8", + "visibility": "internal" + }, + { + "body": { + "id": 848, + "nodeType": "Block", + "src": "4061:60:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 844, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 838, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "4075:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 840, + "indexExpression": { + "argumentTypes": null, + "id": 839, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 835, + "src": "4085:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4075:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 842, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4106:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 841, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4098:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 843, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4098:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "4075:33:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 837, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "4067:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 845, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4067:42:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 846, + "nodeType": "ExpressionStatement", + "src": "4067:42:8" + }, + { + "id": 847, + "nodeType": "PlaceholderStatement", + "src": "4115:1:8" + } + ] + }, + "documentation": "@dev Guarantees that _tokenId is a valid Token.\n@param _tokenId ID of the NFT to validate.", + "id": 849, + "name": "validNFToken", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 836, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 835, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 849, + "src": "4038:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 834, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4038:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "4032:26:8" + }, + "src": "4011:110:8", + "visibility": "internal" + }, + { + "body": { + "id": 858, + "nodeType": "Block", + "src": "4196:59:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 856, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 852, + "name": "supportedInterfaces", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1382, + "src": "4202:19:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", + "typeString": "mapping(bytes4 => bool)" + } + }, + "id": 854, + "indexExpression": { + "argumentTypes": null, + "hexValue": "30783830616335386364", + "id": 853, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4222:10:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_2158778573_by_1", + "typeString": "int_const 2158778573" + }, + "value": "0x80ac58cd" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4202:31:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 855, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4236:4:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "4202:38:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 857, + "nodeType": "ExpressionStatement", + "src": "4202:38:8" + } + ] + }, + "documentation": "@dev Contract constructor.", + "id": 859, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 850, + "nodeType": "ParameterList", + "parameters": [], + "src": "4180:2:8" + }, + "returnParameters": { + "id": 851, + "nodeType": "ParameterList", + "parameters": [], + "src": "4196:0:8" + }, + "scope": 1342, + "src": "4169:86:8", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 877, + "nodeType": "Block", + "src": "5244:57:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 871, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 861, + "src": "5268:5:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 872, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 863, + "src": "5275:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 873, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 865, + "src": "5280:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 874, + "name": "_data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 867, + "src": "5290:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes calldata" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes calldata" + } + ], + "id": 870, + "name": "_safeTransferFrom", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1321, + "src": "5250:17:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,address,uint256,bytes memory)" + } + }, + "id": 875, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5250:46:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 876, + "nodeType": "ExpressionStatement", + "src": "5250:46:8" + } + ] + }, + "documentation": "@dev Transfers the ownership of an NFT from one address to another address. This function can\nbe changed to payable.\n@notice Throws unless `msg.sender` is the current owner, an authorized operator, or the\napproved address for this NFT. Throws if `_from` is not the current owner. Throws if `_to` is\nthe zero address. Throws if `_tokenId` is not a valid NFT. When transfer is complete, this\nfunction checks if `_to` is a smart contract (code size > 0). If so, it calls \n`onERC721Received` on `_to` and throws if the return value is not \n`bytes4(keccak256(\"onERC721Received(address,uint256,bytes)\"))`.\n@param _from The current owner of the NFT.\n@param _to The new owner.\n@param _tokenId The NFT to transfer.\n@param _data Additional data with no specified format, sent in call to `_to`.", + "id": 878, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "safeTransferFrom", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 868, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 861, + "name": "_from", + "nodeType": "VariableDeclaration", + "scope": 878, + "src": "5146:13:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 860, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5146:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 863, + "name": "_to", + "nodeType": "VariableDeclaration", + "scope": 878, + "src": "5165:11:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 862, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5165:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 865, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 878, + "src": "5182:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 864, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5182:7:8", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26122,11 +10897,181 @@ }, { "constant": false, - "id": 6936, - "name": "_token", + "id": 867, + "name": "_data", "nodeType": "VariableDeclaration", - "scope": 6941, - "src": "131:14:8", + "scope": 878, + "src": "5204:20:8", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 866, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "5204:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "5140:88:8" + }, + "returnParameters": { + "id": 869, + "nodeType": "ParameterList", + "parameters": [], + "src": "5244:0:8" + }, + "scope": 1342, + "src": "5115:186:8", + "stateMutability": "nonpayable", + "superFunction": 354, + "visibility": "external" + }, + { + "body": { + "id": 894, + "nodeType": "Block", + "src": "5803:54:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 888, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 880, + "src": "5827:5:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 889, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 882, + "src": "5834:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 890, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 884, + "src": "5839:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "hexValue": "", + "id": 891, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5849:2:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + }, + "value": "" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", + "typeString": "literal_string \"\"" + } + ], + "id": 887, + "name": "_safeTransferFrom", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1321, + "src": "5809:17:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", + "typeString": "function (address,address,uint256,bytes memory)" + } + }, + "id": 892, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5809:43:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 893, + "nodeType": "ExpressionStatement", + "src": "5809:43:8" + } + ] + }, + "documentation": "@dev Transfers the ownership of an NFT from one address to another address. This function can\nbe changed to payable.\n@notice This works identically to the other function with an extra data parameter, except this\nfunction just sets data to \"\"\n@param _from The current owner of the NFT.\n@param _to The new owner.\n@param _tokenId The NFT to transfer.", + "id": 895, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "safeTransferFrom", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 885, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 880, + "name": "_from", + "nodeType": "VariableDeclaration", + "scope": 895, + "src": "5731:13:8", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26134,10 +11079,10 @@ "typeString": "address" }, "typeName": { - "id": 6935, + "id": 879, "name": "address", "nodeType": "ElementaryTypeName", - "src": "131:7:8", + "src": "5731:7:8", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26149,22 +11094,5715 @@ }, { "constant": false, - "id": 6938, + "id": 882, + "name": "_to", + "nodeType": "VariableDeclaration", + "scope": 895, + "src": "5750:11:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 881, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5750:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 884, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 895, + "src": "5767:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 883, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5767:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "5725:62:8" + }, + "returnParameters": { + "id": 886, + "nodeType": "ParameterList", + "parameters": [], + "src": "5803:0:8" + }, + "scope": 1342, + "src": "5700:157:8", + "stateMutability": "nonpayable", + "superFunction": 363, + "visibility": "external" + }, + { + "body": { + "id": 935, + "nodeType": "Block", + "src": "6575:148:8", + "statements": [ + { + "assignments": [ + 911 + ], + "declarations": [ + { + "constant": false, + "id": 911, + "name": "tokenOwner", + "nodeType": "VariableDeclaration", + "scope": 935, + "src": "6581:18:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 910, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6581:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 915, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 912, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "6602:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 914, + "indexExpression": { + "argumentTypes": null, + "id": 913, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 901, + "src": "6612:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6602:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6581:40:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 919, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 917, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 911, + "src": "6635:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 918, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 897, + "src": "6649:5:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "6635:19:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 916, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "6627:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 920, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6627:28:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 921, + "nodeType": "ExpressionStatement", + "src": "6627:28:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 927, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 923, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 899, + "src": "6669:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 925, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6684:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 924, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6676:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 926, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6676:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "6669:17:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 922, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "6661:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 928, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6661:26:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 929, + "nodeType": "ExpressionStatement", + "src": "6661:26:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 931, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 899, + "src": "6704:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 932, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 901, + "src": "6709:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 930, + "name": "_transfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1105, + "src": "6694:9:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 933, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6694:24:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 934, + "nodeType": "ExpressionStatement", + "src": "6694:24:8" + } + ] + }, + "documentation": "@dev Throws unless `msg.sender` is the current owner, an authorized operator, or the approved\naddress for this NFT. Throws if `_from` is not the current owner. Throws if `_to` is the zero\naddress. Throws if `_tokenId` is not a valid NFT. This function can be changed to payable.\n@notice The caller is responsible to confirm that `_to` is capable of receiving NFTs or else\nthey maybe be permanently lost.\n@param _from The current owner of the NFT.\n@param _to The new owner.\n@param _tokenId The NFT to transfer.", + "id": 936, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "argumentTypes": null, + "id": 904, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 901, + "src": "6536:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 905, + "modifierName": { + "argumentTypes": null, + "id": 903, + "name": "canTransfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 833, + "src": "6524:11:8", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_uint256_$", + "typeString": "modifier (uint256)" + } + }, + "nodeType": "ModifierInvocation", + "src": "6524:21:8" + }, + { + "arguments": [ + { + "argumentTypes": null, + "id": 907, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 901, + "src": "6563:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 908, + "modifierName": { + "argumentTypes": null, + "id": 906, + "name": "validNFToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 849, + "src": "6550:12:8", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_uint256_$", + "typeString": "modifier (uint256)" + } + }, + "nodeType": "ModifierInvocation", + "src": "6550:22:8" + } + ], + "name": "transferFrom", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 902, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 897, + "name": "_from", + "nodeType": "VariableDeclaration", + "scope": 936, + "src": "6450:13:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 896, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6450:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 899, + "name": "_to", + "nodeType": "VariableDeclaration", + "scope": 936, + "src": "6469:11:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 898, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6469:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 901, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 936, + "src": "6486:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 900, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "6486:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "6444:62:8" + }, + "returnParameters": { + "id": 909, + "nodeType": "ParameterList", + "parameters": [], + "src": "6575:0:8" + }, + "scope": 1342, + "src": "6423:300:8", + "stateMutability": "nonpayable", + "superFunction": 372, + "visibility": "external" + }, + { + "body": { + "id": 973, + "nodeType": "Block", + "src": "7268:182:8", + "statements": [ + { + "assignments": [ + 950 + ], + "declarations": [ + { + "constant": false, + "id": 950, + "name": "tokenOwner", + "nodeType": "VariableDeclaration", + "scope": 973, + "src": "7274:18:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 949, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7274:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 954, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 951, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "7295:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 953, + "indexExpression": { + "argumentTypes": null, + "id": 952, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 940, + "src": "7305:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7295:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7274:40:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 958, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 956, + "name": "_approved", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 938, + "src": "7328:9:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "id": 957, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 950, + "src": "7341:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "7328:23:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 955, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "7320:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 959, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7320:32:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 960, + "nodeType": "ExpressionStatement", + "src": "7320:32:8" + }, + { + "expression": { + "argumentTypes": null, + "id": 965, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 961, + "name": "idToApproval", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 740, + "src": "7359:12:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 963, + "indexExpression": { + "argumentTypes": null, + "id": 962, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 940, + "src": "7372:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7359:22:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 964, + "name": "_approved", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 938, + "src": "7384:9:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "7359:34:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 966, + "nodeType": "ExpressionStatement", + "src": "7359:34:8" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 968, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 950, + "src": "7413:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 969, + "name": "_approved", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 938, + "src": "7425:9:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 970, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 940, + "src": "7436:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 967, + "name": "Approval", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 766 + ], + "referencedDeclaration": 766, + "src": "7404:8:8", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 971, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7404:41:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 972, + "nodeType": "EmitStatement", + "src": "7399:46:8" + } + ] + }, + "documentation": "@dev Set or reaffirm the approved address for an NFT. This function can be changed to payable.\n@notice The zero address indicates there is no approved address. Throws unless `msg.sender` is\nthe current NFT owner, or an authorized operator of the current owner.\n@param _approved Address to be approved for the given NFT ID.\n@param _tokenId ID of the token to be approved.", + "id": 974, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "argumentTypes": null, + "id": 943, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 940, + "src": "7229:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 944, + "modifierName": { + "argumentTypes": null, + "id": 942, + "name": "canOperate", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 800, + "src": "7218:10:8", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_uint256_$", + "typeString": "modifier (uint256)" + } + }, + "nodeType": "ModifierInvocation", + "src": "7218:20:8" + }, + { + "arguments": [ + { + "argumentTypes": null, + "id": 946, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 940, + "src": "7256:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 947, + "modifierName": { + "argumentTypes": null, + "id": 945, + "name": "validNFToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 849, + "src": "7243:12:8", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_uint256_$", + "typeString": "modifier (uint256)" + } + }, + "nodeType": "ModifierInvocation", + "src": "7243:22:8" + } + ], + "name": "approve", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 941, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 938, + "name": "_approved", + "nodeType": "VariableDeclaration", + "scope": 974, + "src": "7157:17:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 937, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7157:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 940, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 974, + "src": "7180:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 939, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "7180:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "7151:49:8" + }, + "returnParameters": { + "id": 948, + "nodeType": "ParameterList", + "parameters": [], + "src": "7268:0:8" + }, + "scope": 1342, + "src": "7135:315:8", + "stateMutability": "nonpayable", + "superFunction": 379, + "visibility": "external" + }, + { + "body": { + "id": 997, + "nodeType": "Block", + "src": "7941:121:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 988, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 981, + "name": "ownerToOperators", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 750, + "src": "7947:16:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", + "typeString": "mapping(address => mapping(address => bool))" + } + }, + "id": 985, + "indexExpression": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 982, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "7964:3:8", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 983, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "7964:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7947:28:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 986, + "indexExpression": { + "argumentTypes": null, + "id": 984, + "name": "_operator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 976, + "src": "7976:9:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7947:39:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 987, + "name": "_approved", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 978, + "src": "7989:9:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "7947:51:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 989, + "nodeType": "ExpressionStatement", + "src": "7947:51:8" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 991, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "8024:3:8", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "8024:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + { + "argumentTypes": null, + "id": 993, + "name": "_operator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 976, + "src": "8036:9:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 994, + "name": "_approved", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 978, + "src": "8047:9:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 990, + "name": "ApprovalForAll", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 774 + ], + "referencedDeclaration": 774, + "src": "8009:14:8", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", + "typeString": "function (address,address,bool)" + } + }, + "id": 995, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8009:48:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 996, + "nodeType": "EmitStatement", + "src": "8004:53:8" + } + ] + }, + "documentation": "@dev Enables or disables approval for a third party (\"operator\") to manage all of\n`msg.sender`'s assets. It also emits the ApprovalForAll event.\n@notice This works even if sender doesn't own any tokens at the time.\n@param _operator Address to add to the set of authorized operators.\n@param _approved True if the operators is approved, false to revoke approval.", + "id": 998, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setApprovalForAll", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 979, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 976, + "name": "_operator", + "nodeType": "VariableDeclaration", + "scope": 998, + "src": "7884:17:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 975, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7884:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 978, + "name": "_approved", + "nodeType": "VariableDeclaration", + "scope": 998, + "src": "7907:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 977, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "7907:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "7878:47:8" + }, + "returnParameters": { + "id": 980, + "nodeType": "ParameterList", + "parameters": [], + "src": "7941:0:8" + }, + "scope": 1342, + "src": "7852:210:8", + "stateMutability": "nonpayable", + "superFunction": 386, + "visibility": "external" + }, + { + "body": { + "id": 1017, + "nodeType": "Block", + "src": "8437:78:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1010, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1006, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1000, + "src": "8451:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 1008, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8469:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 1007, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8461:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 1009, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8461:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "8451:20:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 1005, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "8443:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 1011, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8443:29:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1012, + "nodeType": "ExpressionStatement", + "src": "8443:29:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1014, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1000, + "src": "8503:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1013, + "name": "_getOwnerNFTCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1254, + "src": "8485:17:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$", + "typeString": "function (address) view returns (uint256)" + } + }, + "id": 1015, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8485:25:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1004, + "id": 1016, + "nodeType": "Return", + "src": "8478:32:8" + } + ] + }, + "documentation": "@dev Returns the number of NFTs owned by `_owner`. NFTs assigned to the zero address are\nconsidered invalid, and this function throws for queries about the zero address.\n@param _owner Address for whom to query the balance.\n@return Balance of _owner.", + "id": 1018, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "balanceOf", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1001, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1000, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 1018, + "src": "8372:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 999, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8372:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "8366:24:8" + }, + "returnParameters": { + "id": 1004, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1003, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1018, + "src": "8426:7:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1002, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "8426:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "8425:9:8" + }, + "scope": 1342, + "src": "8348:167:8", + "stateMutability": "view", + "superFunction": 393, + "visibility": "external" + }, + { + "body": { + "id": 1039, + "nodeType": "Block", + "src": "8862:74:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1029, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1025, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1023, + "src": "8868:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1026, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "8877:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1028, + "indexExpression": { + "argumentTypes": null, + "id": 1027, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1020, + "src": "8887:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "8877:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "8868:28:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 1030, + "nodeType": "ExpressionStatement", + "src": "8868:28:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1036, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1032, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1023, + "src": "8910:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 1034, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8928:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 1033, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8920:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 1035, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8920:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "8910:20:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 1031, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "8902:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 1037, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8902:29:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1038, + "nodeType": "ExpressionStatement", + "src": "8902:29:8" + } + ] + }, + "documentation": "@dev Returns the address of the owner of the NFT. NFTs assigned to zero address are considered\ninvalid, and queries about them do throw.\n@param _tokenId The identifier for an NFT.\n@return Address of _tokenId owner.", + "id": 1040, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "ownerOf", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1021, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1020, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 1040, + "src": "8788:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1019, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "8788:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "8782:26:8" + }, + "returnParameters": { + "id": 1024, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1023, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 1040, + "src": "8844:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1022, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8844:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "8843:16:8" + }, + "scope": 1342, + "src": "8766:170:8", + "stateMutability": "view", + "superFunction": 400, + "visibility": "external" + }, + { + "body": { + "id": 1054, + "nodeType": "Block", + "src": "9293:40:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1050, + "name": "idToApproval", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 740, + "src": "9306:12:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1052, + "indexExpression": { + "argumentTypes": null, + "id": 1051, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1042, + "src": "9319:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "9306:22:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 1049, + "id": 1053, + "nodeType": "Return", + "src": "9299:29:8" + } + ] + }, + "documentation": "@dev Get the approved address for a single NFT.\n@notice Throws if `_tokenId` is not a valid NFT.\n@param _tokenId ID of the NFT to query the approval of.\n@return Address that _tokenId is approved for. ", + "id": 1055, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "argumentTypes": null, + "id": 1045, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1042, + "src": "9259:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1046, + "modifierName": { + "argumentTypes": null, + "id": 1044, + "name": "validNFToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 849, + "src": "9246:12:8", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_uint256_$", + "typeString": "modifier (uint256)" + } + }, + "nodeType": "ModifierInvocation", + "src": "9246:22:8" + } + ], + "name": "getApproved", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1043, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1042, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 1055, + "src": "9199:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1041, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "9199:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "9193:26:8" + }, + "returnParameters": { + "id": 1049, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1048, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1055, + "src": "9282:7:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1047, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9282:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "9281:9:8" + }, + "scope": 1342, + "src": "9173:160:8", + "stateMutability": "view", + "superFunction": 407, + "visibility": "external" + }, + { + "body": { + "id": 1070, + "nodeType": "Block", + "src": "9710:53:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1064, + "name": "ownerToOperators", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 750, + "src": "9723:16:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", + "typeString": "mapping(address => mapping(address => bool))" + } + }, + "id": 1066, + "indexExpression": { + "argumentTypes": null, + "id": 1065, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1057, + "src": "9740:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "9723:24:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1068, + "indexExpression": { + "argumentTypes": null, + "id": 1067, + "name": "_operator", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1059, + "src": "9748:9:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "9723:35:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1063, + "id": 1069, + "nodeType": "Return", + "src": "9716:42:8" + } + ] + }, + "documentation": "@dev Checks if `_operator` is an approved operator for `_owner`.\n@param _owner The address that owns the NFTs.\n@param _operator The address that acts on behalf of the owner.\n@return True if approved for all, false otherwise.", + "id": 1071, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "isApprovedForAll", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1060, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1057, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 1071, + "src": "9625:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1056, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9625:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1059, + "name": "_operator", + "nodeType": "VariableDeclaration", + "scope": 1071, + "src": "9645:17:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1058, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9645:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "9619:47:8" + }, + "returnParameters": { + "id": 1063, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1062, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1071, + "src": "9702:4:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1061, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "9702:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "9701:6:8" + }, + "scope": 1342, + "src": "9594:169:8", + "stateMutability": "view", + "superFunction": 416, + "visibility": "external" + }, + { + "body": { + "id": 1104, + "nodeType": "Block", + "src": "10023:185:8", + "statements": [ + { + "assignments": [ + 1079 + ], + "declarations": [ + { + "constant": false, + "id": 1079, + "name": "from", + "nodeType": "VariableDeclaration", + "scope": 1104, + "src": "10029:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1078, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10029:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1083, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1080, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "10044:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1082, + "indexExpression": { + "argumentTypes": null, + "id": 1081, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1075, + "src": "10054:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "10044:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10029:34:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1085, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1075, + "src": "10084:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1084, + "name": "_clearApproval", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1341, + "src": "10069:14:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$returns$__$", + "typeString": "function (uint256)" + } + }, + "id": 1086, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10069:24:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1087, + "nodeType": "ExpressionStatement", + "src": "10069:24:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1089, + "name": "from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1079, + "src": "10115:4:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1090, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1075, + "src": "10121:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1088, + "name": "_removeNFToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1207, + "src": "10100:14:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1091, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10100:30:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1092, + "nodeType": "ExpressionStatement", + "src": "10100:30:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1094, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1073, + "src": "10148:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1095, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1075, + "src": "10153:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1093, + "name": "_addNFToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1242, + "src": "10136:11:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1096, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10136:26:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1097, + "nodeType": "ExpressionStatement", + "src": "10136:26:8" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1099, + "name": "from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1079, + "src": "10183:4:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1100, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1073, + "src": "10189:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1101, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1075, + "src": "10194:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1098, + "name": "Transfer", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 758 + ], + "referencedDeclaration": 758, + "src": "10174:8:8", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10174:29:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1103, + "nodeType": "EmitStatement", + "src": "10169:34:8" + } + ] + }, + "documentation": "@dev Actually preforms the transfer.\n@notice Does NO checks.\n@param _to Address of a new owner.\n@param _tokenId The NFT that is being transferred.", + "id": 1105, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_transfer", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1076, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1073, + "name": "_to", + "nodeType": "VariableDeclaration", + "scope": 1105, + "src": "9970:11:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1072, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9970:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1075, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 1105, + "src": "9987:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1074, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "9987:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "9964:43:8" + }, + "returnParameters": { + "id": 1077, + "nodeType": "ParameterList", + "parameters": [], + "src": "10023:0:8" + }, + "scope": 1342, + "src": "9946:262:8", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1143, + "nodeType": "Block", + "src": "10665:165:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1117, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1113, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1107, + "src": "10679:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 1115, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10694:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 1114, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10686:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 1116, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10686:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "10679:17:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 1112, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "10671:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 1118, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10671:26:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1119, + "nodeType": "ExpressionStatement", + "src": "10671:26:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1127, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1121, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "10711:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1123, + "indexExpression": { + "argumentTypes": null, + "id": 1122, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1109, + "src": "10721:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "10711:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 1125, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10742:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 1124, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10734:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 1126, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10734:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "10711:33:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 1120, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "10703:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 1128, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10703:42:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1129, + "nodeType": "ExpressionStatement", + "src": "10703:42:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1131, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1107, + "src": "10764:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1132, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1109, + "src": "10769:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1130, + "name": "_addNFToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1242, + "src": "10752:11:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1133, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10752:26:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1134, + "nodeType": "ExpressionStatement", + "src": "10752:26:8" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 1137, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10807:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 1136, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10799:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 1138, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10799:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + { + "argumentTypes": null, + "id": 1139, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1107, + "src": "10811:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1140, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1109, + "src": "10816:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1135, + "name": "Transfer", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 758 + ], + "referencedDeclaration": 758, + "src": "10790:8:8", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10790:35:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1142, + "nodeType": "EmitStatement", + "src": "10785:40:8" + } + ] + }, + "documentation": "@dev Mints a new NFT.\n@notice This is an internal function which should be called from user-implemented external\nmint function. Its purpose is to show and properly initialize data structures when using this\nimplementation.\n@param _to The address that will own the minted NFT.\n@param _tokenId of the NFT to be minted by the msg.sender.", + "id": 1144, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_mint", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1110, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1107, + "name": "_to", + "nodeType": "VariableDeclaration", + "scope": 1144, + "src": "10612:11:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1106, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10612:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1109, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 1144, + "src": "10629:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1108, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "10629:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "10606:43:8" + }, + "returnParameters": { + "id": 1111, + "nodeType": "ParameterList", + "parameters": [], + "src": "10665:0:8" + }, + "scope": 1342, + "src": "10592:238:8", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1175, + "nodeType": "Block", + "src": "11306:176:8", + "statements": [ + { + "assignments": [ + 1153 + ], + "declarations": [ + { + "constant": false, + "id": 1153, + "name": "tokenOwner", + "nodeType": "VariableDeclaration", + "scope": 1175, + "src": "11312:18:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1152, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "11312:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1157, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1154, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "11333:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1156, + "indexExpression": { + "argumentTypes": null, + "id": 1155, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1146, + "src": "11343:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "11333:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11312:40:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1159, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1146, + "src": "11373:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1158, + "name": "_clearApproval", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1341, + "src": "11358:14:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$returns$__$", + "typeString": "function (uint256)" + } + }, + "id": 1160, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "11358:24:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1161, + "nodeType": "ExpressionStatement", + "src": "11358:24:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1163, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1153, + "src": "11403:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1164, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1146, + "src": "11415:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1162, + "name": "_removeNFToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1207, + "src": "11388:14:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1165, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "11388:36:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1166, + "nodeType": "ExpressionStatement", + "src": "11388:36:8" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1168, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1153, + "src": "11444:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 1170, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11464:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 1169, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "11456:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 1171, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "11456:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + { + "argumentTypes": null, + "id": 1172, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1146, + "src": "11468:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1167, + "name": "Transfer", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 758 + ], + "referencedDeclaration": 758, + "src": "11435:8:8", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1173, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "11435:42:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1174, + "nodeType": "EmitStatement", + "src": "11430:47:8" + } + ] + }, + "documentation": "@dev Burns a NFT.\n@notice This is an internal function which should be called from user-implemented external burn\nfunction. Its purpose is to show and properly initialize data structures when using this\nimplementation. Also, note that this burn implementation allows the minter to re-mint a burned\nNFT.\n@param _tokenId ID of the NFT to be burned.", + "id": 1176, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "argumentTypes": null, + "id": 1149, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1146, + "src": "11294:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1150, + "modifierName": { + "argumentTypes": null, + "id": 1148, + "name": "validNFToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 849, + "src": "11281:12:8", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_uint256_$", + "typeString": "modifier (uint256)" + } + }, + "nodeType": "ModifierInvocation", + "src": "11281:22:8" + } + ], + "name": "_burn", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1147, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1146, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 1176, + "src": "11243:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1145, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "11243:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "11237:26:8" + }, + "returnParameters": { + "id": 1151, + "nodeType": "ParameterList", + "parameters": [], + "src": "11306:0:8" + }, + "scope": 1342, + "src": "11223:259:8", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1206, + "nodeType": "Block", + "src": "11832:145:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1188, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1184, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "11846:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1186, + "indexExpression": { + "argumentTypes": null, + "id": 1185, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1180, + "src": "11856:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "11846:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 1187, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "11869:5:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "11846:28:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 1183, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "11838:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 1189, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "11838:37:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1190, + "nodeType": "ExpressionStatement", + "src": "11838:37:8" + }, + { + "expression": { + "argumentTypes": null, + "id": 1199, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1191, + "name": "ownerToNFTokenCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 744, + "src": "11881:19:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1193, + "indexExpression": { + "argumentTypes": null, + "id": 1192, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "11901:5:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "11881:26:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1198, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1194, + "name": "ownerToNFTokenCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 744, + "src": "11910:19:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1196, + "indexExpression": { + "argumentTypes": null, + "id": 1195, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "11930:5:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "11910:26:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "argumentTypes": null, + "hexValue": "31", + "id": 1197, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11939:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "11910:30:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "11881:59:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1200, + "nodeType": "ExpressionStatement", + "src": "11881:59:8" + }, + { + "expression": { + "argumentTypes": null, + "id": 1204, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "11946:26:8", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1201, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "11953:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1203, + "indexExpression": { + "argumentTypes": null, + "id": 1202, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1180, + "src": "11963:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "11953:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1205, + "nodeType": "ExpressionStatement", + "src": "11946:26:8" + } + ] + }, + "documentation": "@dev Removes a NFT from owner.\n@notice Use and override this function with caution. Wrong usage can have serious consequences.\n@param _from Address from wich we want to remove the NFT.\n@param _tokenId Which NFT we want to remove.", + "id": 1207, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_removeNFToken", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1181, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1178, + "name": "_from", + "nodeType": "VariableDeclaration", + "scope": 1207, + "src": "11777:13:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1177, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "11777:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1180, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 1207, + "src": "11796:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1179, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "11796:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "11771:45:8" + }, + "returnParameters": { + "id": 1182, + "nodeType": "ParameterList", + "parameters": [], + "src": "11832:0:8" + }, + "scope": 1342, + "src": "11748:229:8", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1241, + "nodeType": "Block", + "src": "12315:149:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1221, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1215, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "12329:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1217, + "indexExpression": { + "argumentTypes": null, + "id": 1216, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1211, + "src": "12339:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "12329:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 1219, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12360:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 1218, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "12352:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 1220, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "12352:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "12329:33:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 1214, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "12321:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 1222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "12321:42:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1223, + "nodeType": "ExpressionStatement", + "src": "12321:42:8" + }, + { + "expression": { + "argumentTypes": null, + "id": 1228, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1224, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "12370:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1226, + "indexExpression": { + "argumentTypes": null, + "id": 1225, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1211, + "src": "12380:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "12370:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 1227, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1209, + "src": "12392:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "12370:25:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 1229, + "nodeType": "ExpressionStatement", + "src": "12370:25:8" + }, + { + "expression": { + "argumentTypes": null, + "id": 1239, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1230, + "name": "ownerToNFTokenCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 744, + "src": "12401:19:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1232, + "indexExpression": { + "argumentTypes": null, + "id": 1231, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1209, + "src": "12421:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "12401:24:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "31", + "id": 1237, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "12457:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + } + ], + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1233, + "name": "ownerToNFTokenCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 744, + "src": "12428:19:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1235, + "indexExpression": { + "argumentTypes": null, + "id": 1234, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1209, + "src": "12448:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "12428:24:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1236, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "add", + "nodeType": "MemberAccess", + "referencedDeclaration": 190, + "src": "12428:28:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$bound_to$_t_uint256_$", + "typeString": "function (uint256,uint256) pure returns (uint256)" + } + }, + "id": 1238, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "12428:31:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "12401:58:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1240, + "nodeType": "ExpressionStatement", + "src": "12401:58:8" + } + ] + }, + "documentation": "@dev Assignes a new NFT to owner.\n@notice Use and override this function with caution. Wrong usage can have serious consequences.\n@param _to Address to wich we want to add the NFT.\n@param _tokenId Which NFT we want to add.", + "id": 1242, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_addNFToken", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1212, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1209, + "name": "_to", + "nodeType": "VariableDeclaration", + "scope": 1242, + "src": "12262:11:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1208, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "12262:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1211, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 1242, + "src": "12279:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1210, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "12279:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "12256:43:8" + }, + "returnParameters": { + "id": 1213, + "nodeType": "ParameterList", + "parameters": [], + "src": "12315:0:8" + }, + "scope": 1342, + "src": "12236:228:8", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1253, + "nodeType": "Block", + "src": "12849:45:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1249, + "name": "ownerToNFTokenCount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 744, + "src": "12862:19:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1251, + "indexExpression": { + "argumentTypes": null, + "id": 1250, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1244, + "src": "12882:6:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "12862:27:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1248, + "id": 1252, + "nodeType": "Return", + "src": "12855:34:8" + } + ] + }, + "documentation": "�dev Helper function that gets NFT count of owner. This is needed for overriding in enumerable\nextension to remove double storage (gas optimization) of owner nft count.\n@param _owner Address for whom to query the count.\n@return Number of _owner NFTs.", + "id": 1254, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_getOwnerNFTCount", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1245, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1244, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 1254, + "src": "12784:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1243, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "12784:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "12778:24:8" + }, + "returnParameters": { + "id": 1248, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1247, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1254, + "src": "12838:7:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1246, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "12838:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "12837:9:8" + }, + "scope": 1342, + "src": "12752:142:8", + "stateMutability": "view", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1320, + "nodeType": "Block", + "src": "13343:340:8", + "statements": [ + { + "assignments": [ + 1272 + ], + "declarations": [ + { + "constant": false, + "id": 1272, + "name": "tokenOwner", + "nodeType": "VariableDeclaration", + "scope": 1320, + "src": "13349:18:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1271, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "13349:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1276, + "initialValue": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1273, + "name": "idToOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 736, + "src": "13370:9:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1275, + "indexExpression": { + "argumentTypes": null, + "id": 1274, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1260, + "src": "13380:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "13370:19:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "13349:40:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1280, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1278, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1272, + "src": "13403:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 1279, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1256, + "src": "13417:5:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "13403:19:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 1277, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "13395:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 1281, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "13395:28:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1282, + "nodeType": "ExpressionStatement", + "src": "13395:28:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1288, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1284, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1258, + "src": "13437:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 1286, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13452:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 1285, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "13444:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 1287, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "13444:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "13437:17:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 1283, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "13429:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 1289, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "13429:26:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1290, + "nodeType": "ExpressionStatement", + "src": "13429:26:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1292, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1258, + "src": "13472:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1293, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1260, + "src": "13477:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1291, + "name": "_transfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1105, + "src": "13462:9:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1294, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "13462:24:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1295, + "nodeType": "ExpressionStatement", + "src": "13462:24:8" + }, + { + "condition": { + "argumentTypes": null, + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "argumentTypes": null, + "id": 1296, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1258, + "src": "13497:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 1297, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "isContract", + "nodeType": "MemberAccess", + "referencedDeclaration": 1362, + "src": "13497:14:8", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", + "typeString": "function (address) view returns (bool)" + } + }, + "id": 1298, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "13497:16:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1319, + "nodeType": "IfStatement", + "src": "13493:186:8", + "trueBody": { + "id": 1318, + "nodeType": "Block", + "src": "13520:159:8", + "statements": [ + { + "assignments": [ + 1300 + ], + "declarations": [ + { + "constant": false, + "id": 1300, + "name": "retval", + "nodeType": "VariableDeclaration", + "scope": 1318, + "src": "13528:13:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1299, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "13528:6:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1311, + "initialValue": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1305, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5707, + "src": "13586:3:8", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1306, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "13586:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + { + "argumentTypes": null, + "id": 1307, + "name": "_from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1256, + "src": "13598:5:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "id": 1308, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1260, + "src": "13605:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "argumentTypes": null, + "id": 1309, + "name": "_data", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1262, + "src": "13615:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 1302, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1258, + "src": "13564:3:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1301, + "name": "ERC721TokenReceiver", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 317, + "src": "13544:19:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_ERC721TokenReceiver_$317_$", + "typeString": "type(contract ERC721TokenReceiver)" + } + }, + "id": 1303, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "13544:24:8", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ERC721TokenReceiver_$317", + "typeString": "contract ERC721TokenReceiver" + } + }, + "id": 1304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "onERC721Received", + "nodeType": "MemberAccess", + "referencedDeclaration": 316, + "src": "13544:41:8", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", + "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" + } + }, + "id": 1310, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "13544:77:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "13528:93:8" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 1315, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1313, + "name": "retval", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1300, + "src": "13637:6:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "argumentTypes": null, + "id": 1314, + "name": "MAGIC_ON_ERC721_RECEIVED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 732, + "src": "13647:24:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "13637:34:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 1312, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 5710, + 5711 + ], + "referencedDeclaration": 5710, + "src": "13629:7:8", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 1316, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "13629:43:8", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1317, + "nodeType": "ExpressionStatement", + "src": "13629:43:8" + } + ] + } + } + ] + }, + "documentation": "@dev Actually perform the safeTransferFrom.\n@param _from The current owner of the NFT.\n@param _to The new owner.\n@param _tokenId The NFT to transfer.\n@param _data Additional data with no specified format, sent in call to `_to`.", + "id": 1321, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "argumentTypes": null, + "id": 1265, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1260, + "src": "13304:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1266, + "modifierName": { + "argumentTypes": null, + "id": 1264, + "name": "canTransfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 833, + "src": "13292:11:8", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_uint256_$", + "typeString": "modifier (uint256)" + } + }, + "nodeType": "ModifierInvocation", + "src": "13292:21:8" + }, + { + "arguments": [ + { + "argumentTypes": null, + "id": 1268, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1260, + "src": "13331:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1269, + "modifierName": { + "argumentTypes": null, + "id": 1267, + "name": "validNFToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 849, + "src": "13318:12:8", + "typeDescriptions": { + "typeIdentifier": "t_modifier$_t_uint256_$", + "typeString": "modifier (uint256)" + } + }, + "nodeType": "ModifierInvocation", + "src": "13318:22:8" + } + ], + "name": "_safeTransferFrom", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1263, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1256, + "name": "_from", + "nodeType": "VariableDeclaration", + "scope": 1321, + "src": "13195:13:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1255, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "13195:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1258, + "name": "_to", + "nodeType": "VariableDeclaration", + "scope": 1321, + "src": "13214:11:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1257, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "13214:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1260, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 1321, + "src": "13231:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1259, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "13231:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1262, "name": "_data", "nodeType": "VariableDeclaration", - "scope": 6941, - "src": "147:20:8", + "scope": 1321, + "src": "13253:18:8", "stateVariable": false, - "storageLocation": "calldata", + "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", + "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes" }, "typeName": { - "id": 6937, + "id": 1261, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "147:5:8", + "src": "13253:5:8", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -26174,39 +16812,288 @@ "visibility": "internal" } ], - "src": "99:69:8" + "src": "13189:86:8" }, "returnParameters": { - "id": 6940, + "id": 1270, "nodeType": "ParameterList", "parameters": [], - "src": "177:0:8" + "src": "13343:0:8" }, - "scope": 6942, - "src": "75:103:8", + "scope": 1342, + "src": "13163:520:8", "stateMutability": "nonpayable", "superFunction": null, - "visibility": "external" + "visibility": "private" + }, + { + "body": { + "id": 1340, + "nodeType": "Block", + "src": "13875:100:8", + "statements": [ + { + "condition": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1332, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1326, + "name": "idToApproval", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 740, + "src": "13885:12:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1328, + "indexExpression": { + "argumentTypes": null, + "id": 1327, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1323, + "src": "13898:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "13885:22:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 1330, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "13919:1:8", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 1329, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "13911:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 1331, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "13911:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "13885:36:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": null, + "id": 1339, + "nodeType": "IfStatement", + "src": "13881:90:8", + "trueBody": { + "id": 1338, + "nodeType": "Block", + "src": "13927:44:8", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1336, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "13935:29:8", + "subExpression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1333, + "name": "idToApproval", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 740, + "src": "13942:12:8", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", + "typeString": "mapping(uint256 => address)" + } + }, + "id": 1335, + "indexExpression": { + "argumentTypes": null, + "id": 1334, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1323, + "src": "13955:8:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "13942:22:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1337, + "nodeType": "ExpressionStatement", + "src": "13935:29:8" + } + ] + } + } + ] + }, + "documentation": "@dev Clears the current approval of a given NFT ID.\n@param _tokenId ID of the NFT to be transferred.", + "id": 1341, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_clearApproval", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1324, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1323, + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 1341, + "src": "13840:16:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1322, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "13840:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "13834:26:8" + }, + "returnParameters": { + "id": 1325, + "nodeType": "ParameterList", + "parameters": [], + "src": "13875:0:8" + }, + "scope": 1342, + "src": "13811:164:8", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "private" } ], - "scope": 6943, - "src": "35:146:8" + "scope": 1343, + "src": "598:13380:8" } ], - "src": "0:183:8" + "src": "0:13979:8" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/address-utils.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/address-utils.sol", "exportedSymbols": { - "ERC20Token": [ - 5522 + "AddressUtils": [ + 1363 ] }, - "id": 5523, + "id": 1364, "nodeType": "SourceUnit", "nodes": [ { - "id": 5455, + "id": 1344, "literals": [ "solidity", ">=", @@ -26222,36 +17109,188 @@ { "baseContracts": [], "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 5522, + "contractKind": "library", + "documentation": "@dev Utility library of inline functions on addresses.", + "fullyImplemented": true, + "id": 1363, "linearizedBaseContracts": [ - 5522 + 1363 ], - "name": "ERC20Token", + "name": "AddressUtils", "nodeType": "ContractDefinition", "nodes": [ { - "body": null, - "documentation": "@notice send `_value` token to `_to` from `msg.sender`\r\n@param _to The address of the recipient\r\n@param _value The amount of token to be transferred\r\n@return Whether the transfer was successful or not\r", - "id": 5464, - "implemented": false, + "body": { + "id": 1361, + "nodeType": "Block", + "src": "388:497:9", + "statements": [ + { + "assignments": [ + 1352 + ], + "declarations": [ + { + "constant": false, + "id": 1352, + "name": "size", + "nodeType": "VariableDeclaration", + "scope": 1361, + "src": "394:12:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1351, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "394:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 1353, + "initialValue": null, + "nodeType": "VariableDeclarationStatement", + "src": "394:12:9" + }, + { + "externalReferences": [ + { + "size": { + "declaration": 1352, + "isOffset": false, + "isSlot": false, + "src": "800:4:9", + "valueSize": 1 + } + }, + { + "_addr": { + "declaration": 1346, + "isOffset": false, + "isSlot": false, + "src": "820:5:9", + "valueSize": 1 + } + } + ], + "id": 1354, + "nodeType": "InlineAssembly", + "operations": "{\n size := extcodesize(_addr)\n}", + "src": "789:80:9" + }, + { + "expression": { + "argumentTypes": null, + "id": 1359, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 1355, + "name": "addressCheck", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1349, + "src": "857:12:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1358, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "argumentTypes": null, + "id": 1356, + "name": "size", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1352, + "src": "872:4:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "argumentTypes": null, + "hexValue": "30", + "id": 1357, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "879:1:9", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "872:8:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "857:23:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1360, + "nodeType": "ExpressionStatement", + "src": "857:23:9" + } + ] + }, + "documentation": "@dev Returns whether the target address is a contract.\n@param _addr Address to check.\n@return True if _addr is a contract, false if not.", + "id": 1362, + "implemented": true, "kind": "function", "modifiers": [], - "name": "transfer", + "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 5460, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 5457, - "name": "_to", + "id": 1346, + "name": "_addr", "nodeType": "VariableDeclaration", - "scope": 5464, - "src": "437:11:9", + "scope": 1362, + "src": "314:13:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26259,10 +17298,10 @@ "typeString": "address" }, "typeName": { - "id": 5456, + "id": 1345, "name": "address", "nodeType": "ElementaryTypeName", - "src": "437:7:9", + "src": "314:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26271,47 +17310,21 @@ }, "value": null, "visibility": "internal" - }, - { - "constant": false, - "id": 5459, - "name": "_value", - "nodeType": "VariableDeclaration", - "scope": 5464, - "src": "450:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5458, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "450:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" } ], - "src": "436:29:9" + "src": "308:23:9" }, "returnParameters": { - "id": 5463, + "id": 1350, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 5462, - "name": "success", + "id": 1349, + "name": "addressCheck", "nodeType": "VariableDeclaration", - "scope": 5464, - "src": "484:12:9", + "scope": 1362, + "src": "367:17:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26319,10 +17332,10 @@ "typeString": "bool" }, "typeName": { - "id": 5461, + "id": 1348, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "484:4:9", + "src": "367:4:9", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26332,717 +17345,33 @@ "visibility": "internal" } ], - "src": "483:14:9" + "src": "366:19:9" }, - "scope": 5522, - "src": "419:79:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice `msg.sender` approves `_spender` to spend `_value` tokens\r\n@param _spender The address of the account able to transfer the tokens\r\n@param _value The amount of tokens to be approved for transfer\r\n@return Whether the approval was successful or not\r", - "id": 5473, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5469, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5466, - "name": "_spender", - "nodeType": "VariableDeclaration", - "scope": 5473, - "src": "824:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5465, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "824:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5468, - "name": "_value", - "nodeType": "VariableDeclaration", - "scope": 5473, - "src": "842:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5467, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "842:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "823:34:9" - }, - "returnParameters": { - "id": 5472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5471, - "name": "success", - "nodeType": "VariableDeclaration", - "scope": 5473, - "src": "876:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5470, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "876:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "875:14:9" - }, - "scope": 5522, - "src": "807:83:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`\r\n@param _from The address of the sender\r\n@param _to The address of the recipient\r\n@param _value The amount of token to be transferred\r\n@return Whether the transfer was successful or not\r", - "id": 5484, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5480, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5475, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 5484, - "src": "1253:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5474, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1253:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5477, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 5484, - "src": "1268:11:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5476, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1268:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5479, - "name": "_value", - "nodeType": "VariableDeclaration", - "scope": 5484, - "src": "1281:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5478, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1281:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1252:44:9" - }, - "returnParameters": { - "id": 5483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5482, - "name": "success", - "nodeType": "VariableDeclaration", - "scope": 5484, - "src": "1315:12:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5481, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1315:4:9", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1314:14:9" - }, - "scope": 5522, - "src": "1231:98:9", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@param _owner The address from which the balance will be retrieved\r\n@return The balance\r", - "id": 5491, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5487, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5486, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 5491, - "src": "1477:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5485, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1477:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1476:16:9" - }, - "returnParameters": { - "id": 5490, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5489, - "name": "balance", - "nodeType": "VariableDeclaration", - "scope": 5491, - "src": "1516:15:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5488, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1516:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1515:17:9" - }, - "scope": 5522, - "src": "1458:75:9", + "scope": 1363, + "src": "289:596:9", "stateMutability": "view", "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@param _owner The address of the account owning tokens\r\n@param _spender The address of the account able to transfer the tokens\r\n@return Amount of remaining tokens allowed to spent\r", - "id": 5500, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "allowance", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5496, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5493, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 5500, - "src": "1780:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5492, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1780:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5495, - "name": "_spender", - "nodeType": "VariableDeclaration", - "scope": 5500, - "src": "1796:16:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5494, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1796:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1779:34:9" - }, - "returnParameters": { - "id": 5499, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5498, - "name": "remaining", - "nodeType": "VariableDeclaration", - "scope": 5500, - "src": "1837:17:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5497, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1837:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1836:19:9" - }, - "scope": 5522, - "src": "1761:95:9", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice return total supply of tokens\r", - "id": 5505, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5501, - "nodeType": "ParameterList", - "parameters": [], - "src": "1948:2:9" - }, - "returnParameters": { - "id": 5504, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5503, - "name": "supply", - "nodeType": "VariableDeclaration", - "scope": 5505, - "src": "1974:14:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5502, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1974:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1973:16:9" - }, - "scope": 5522, - "src": "1928:62:9", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "anonymous": false, - "documentation": null, - "id": 5513, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 5512, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5507, - "indexed": true, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 5513, - "src": "2013:20:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5506, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2013:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5509, - "indexed": true, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 5513, - "src": "2035:18:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5508, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2035:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5511, - "indexed": false, - "name": "value", - "nodeType": "VariableDeclaration", - "scope": 5513, - "src": "2055:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5510, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2055:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2012:57:9" - }, - "src": "1998:72:9" - }, - { - "anonymous": false, - "documentation": null, - "id": 5521, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 5520, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5515, - "indexed": true, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 5521, - "src": "2091:21:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5514, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2091:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5517, - "indexed": true, - "name": "spender", - "nodeType": "VariableDeclaration", - "scope": 5521, - "src": "2114:23:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5516, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2114:7:9", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5519, - "indexed": false, - "name": "value", - "nodeType": "VariableDeclaration", - "scope": 5521, - "src": "2139:13:9", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5518, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2139:7:9", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2090:63:9" - }, - "src": "2076:78:9" + "visibility": "internal" } ], - "scope": 5523, - "src": "141:2016:9" + "scope": 1364, + "src": "99:789:9" } ], - "src": "0:2157:9" + "src": "0:889:9" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/erc165.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/erc165.sol", "exportedSymbols": { - "ERC721": [ - 9422 + "ERC165": [ + 1373 ] }, - "id": 9423, + "id": 1374, "nodeType": "SourceUnit", "nodes": [ { - "id": 9324, + "id": 1365, "literals": [ "solidity", ">=", @@ -27059,285 +17388,68 @@ "baseContracts": [], "contractDependencies": [], "contractKind": "interface", - "documentation": "@title ERC-721 Non-Fungible Token Standard\r\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md\r\n Note: the ERC-165 identifier for this interface is 0x80ac58cd\r", + "documentation": "@dev A standard for detecting smart contract interfaces. \nSee: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md.", "fullyImplemented": false, - "id": 9422, + "id": 1373, "linearizedBaseContracts": [ - 9422 + 1373 ], - "name": "ERC721", + "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { - "anonymous": false, - "documentation": "@dev This emits when ownership of any NFT changes by any mechanism.\r\n This event emits when NFTs are created (`from` == 0) and destroyed\r\n (`to` == 0). Exception: during contract creation, any number of NFTs\r\n may be created and assigned without emitting Transfer. At the time of\r\n any transfer, the approved address for that NFT (if any) is reset to none.\r", - "id": 9332, - "name": "Transfer", - "nodeType": "EventDefinition", + "body": null, + "documentation": "@dev Checks if the smart contract includes a specific interface.\n@notice This function uses less than 30,000 gas.\n@param _interfaceID The interface identifier, as specified in ERC-165.\n@return True if _interfaceID is supported, false otherwise.", + "id": 1372, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nodeType": "FunctionDefinition", "parameters": { - "id": 9331, + "id": 1368, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 9326, - "indexed": true, - "name": "from", + "id": 1367, + "name": "_interfaceID", "nodeType": "VariableDeclaration", - "scope": 9332, - "src": "699:20:10", + "scope": 1372, + "src": "503:19:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" }, "typeName": { - "id": 9325, - "name": "address", + "id": 1366, + "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "699:7:10", - "stateMutability": "nonpayable", + "src": "503:6:10", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9328, - "indexed": true, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 9332, - "src": "721:18:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9327, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "721:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9330, - "indexed": true, - "name": "value", - "nodeType": "VariableDeclaration", - "scope": 9332, - "src": "741:21:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9329, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "741:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" } }, "value": null, "visibility": "internal" } ], - "src": "698:65:10" + "src": "497:29:10" }, - "src": "684:80:10" - }, - { - "anonymous": false, - "documentation": "@dev This emits when the approved address for an NFT is changed or\r\n reaffirmed. The zero address indicates there is no approved address.\r\n When a Transfer event emits, this also indicates that the approved\r\n address for that NFT (if any) is reset to none.\r", - "id": 9340, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 9339, + "returnParameters": { + "id": 1371, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 9334, - "indexed": true, - "name": "owner", + "id": 1370, + "name": "", "nodeType": "VariableDeclaration", - "scope": 9340, - "src": "1095:21:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9333, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1095:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9336, - "indexed": true, - "name": "approved", - "nodeType": "VariableDeclaration", - "scope": 9340, - "src": "1118:24:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9335, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1118:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9338, - "indexed": true, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 9340, - "src": "1144:23:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9337, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1144:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1094:74:10" - }, - "src": "1080:89:10" - }, - { - "anonymous": false, - "documentation": "@dev This emits when an operator is enabled or disabled for an owner.\r\n The operator can manage all NFTs of the owner.\r", - "id": 9348, - "name": "ApprovalForAll", - "nodeType": "EventDefinition", - "parameters": { - "id": 9347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9342, - "indexed": true, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 9348, - "src": "1350:21:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9341, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1350:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9344, - "indexed": true, - "name": "operator", - "nodeType": "VariableDeclaration", - "scope": 9348, - "src": "1373:24:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9343, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1373:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9346, - "indexed": false, - "name": "approved", - "nodeType": "VariableDeclaration", - "scope": 9348, - "src": "1399:13:10", + "scope": 1372, + "src": "562:4:10", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27345,10 +17457,10 @@ "typeString": "bool" }, "typeName": { - "id": 9345, + "id": 1369, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1399:4:10", + "src": "562:4:10", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -27358,896 +17470,33 @@ "visibility": "internal" } ], - "src": "1349:64:10" + "src": "561:6:10" }, - "src": "1329:85:10" - }, - { - "body": null, - "documentation": "@notice Count all NFTs assigned to an owner\r\n@dev NFTs assigned to the zero address are considered invalid, and this\r\n function throws for queries about the zero address.\r\n@param _owner An address for whom to query the balance\r\n@return The number of NFTs owned by `_owner`, possibly zero\r", - "id": 9355, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9351, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9350, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 9355, - "src": "1783:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9349, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1783:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1782:16:10" - }, - "returnParameters": { - "id": 9354, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9353, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9355, - "src": "1822:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9352, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1822:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1821:9:10" - }, - "scope": 9422, - "src": "1764:67:10", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Find the owner of an NFT\r\n@dev NFTs assigned to zero address are considered invalid, and queries\r\n about them do throw.\r\n@param _tokenId The identifier for an NFT\r\n@return The address of the owner of the NFT\r", - "id": 9362, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ownerOf", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9358, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9357, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 9362, - "src": "2126:16:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9356, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2126:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2125:18:10" - }, - "returnParameters": { - "id": 9361, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9360, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9362, - "src": "2167:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9359, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2167:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2166:9:10" - }, - "scope": 9422, - "src": "2109:67:10", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Transfers the ownership of an NFT from one address to another address\r\n@dev Throws unless `msg.sender` is the current owner, an authorized\r\n operator, or the approved address for this NFT. Throws if `_from` is\r\n not the current owner. Throws if `_to` is the zero address. Throws if\r\n `_tokenId` is not a valid NFT. When transfer is complete, this function\r\n checks if `_to` is a smart contract (code size > 0). If so, it calls\r\n `onERC721Received` on `_to` and throws if the return value is not\r\n `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`.\r\n@param _from The current owner of the NFT\r\n@param _to The new owner\r\n@param _tokenId The NFT to transfer\r\n@param _data Additional data with no specified format, sent in call to `_to`\r", - "id": 9373, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9371, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9364, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 9373, - "src": "3074:13:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9363, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3074:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9366, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 9373, - "src": "3089:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9365, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3089:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9368, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 9373, - "src": "3102:16:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9367, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3102:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9370, - "name": "_data", - "nodeType": "VariableDeclaration", - "scope": 9373, - "src": "3120:20:10", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9369, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3120:5:10", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3073:68:10" - }, - "returnParameters": { - "id": 9372, - "nodeType": "ParameterList", - "parameters": [], - "src": "3150:0:10" - }, - "scope": 9422, - "src": "3048:103:10", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Transfers the ownership of an NFT from one address to another address\r\n@dev This works identically to the other function with an extra data parameter,\r\n except this function just sets data to \"\"\r\n@param _from The current owner of the NFT\r\n@param _to The new owner\r\n@param _tokenId The NFT to transfer\r", - "id": 9382, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9380, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9375, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 9382, - "src": "3555:13:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9374, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3555:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9377, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 9382, - "src": "3570:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9376, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3570:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9379, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 9382, - "src": "3583:16:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9378, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3583:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3554:46:10" - }, - "returnParameters": { - "id": 9381, - "nodeType": "ParameterList", - "parameters": [], - "src": "3609:0:10" - }, - "scope": 9422, - "src": "3529:81:10", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Transfer ownership of an NFT -- THE CALLER IS RESPONSIBLE\r\n TO CONFIRM THAT `_to` IS CAPABLE OF RECEIVING NFTS OR ELSE\r\n THEY MAY BE PERMANENTLY LOST\r\n@dev Throws unless `msg.sender` is the current owner, an authorized\r\n operator, or the approved address for this NFT. Throws if `_from` is\r\n not the current owner. Throws if `_to` is the zero address. Throws if\r\n `_tokenId` is not a valid NFT.\r\n@param _from The current owner of the NFT\r\n@param _to The new owner\r\n@param _tokenId The NFT to transfer\r", - "id": 9391, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9389, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9384, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 9391, - "src": "4238:13:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9383, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4238:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9386, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 9391, - "src": "4253:11:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9385, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4253:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9388, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 9391, - "src": "4266:16:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9387, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4266:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4237:46:10" - }, - "returnParameters": { - "id": 9390, - "nodeType": "ParameterList", - "parameters": [], - "src": "4292:0:10" - }, - "scope": 9422, - "src": "4216:77:10", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Set or reaffirm the approved address for an NFT\r\n@dev The zero address indicates there is no approved address.\r\n@dev Throws unless `msg.sender` is the current NFT owner, or an authorized\r\n operator of the current owner.\r\n@param _approved The new approved NFT controller\r\n@param _tokenId The NFT to approve\r", - "id": 9398, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9396, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9393, - "name": "_approved", - "nodeType": "VariableDeclaration", - "scope": 9398, - "src": "4693:17:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9392, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4693:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9395, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 9398, - "src": "4712:16:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9394, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4712:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4692:37:10" - }, - "returnParameters": { - "id": 9397, - "nodeType": "ParameterList", - "parameters": [], - "src": "4738:0:10" - }, - "scope": 9422, - "src": "4676:63:10", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Enable or disable approval for a third party (\"operator\") to manage\r\n all of `msg.sender`'s assets.\r\n@dev Emits the ApprovalForAll event. The contract MUST allow\r\n multiple operators per owner.\r\n@param _operator Address to add to the set of authorized operators.\r\n@param _approved True if the operator is approved, false to revoke approval\r", - "id": 9405, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9400, - "name": "_operator", - "nodeType": "VariableDeclaration", - "scope": 9405, - "src": "5183:17:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9399, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5183:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9402, - "name": "_approved", - "nodeType": "VariableDeclaration", - "scope": 9405, - "src": "5202:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9401, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5202:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5182:35:10" - }, - "returnParameters": { - "id": 9404, - "nodeType": "ParameterList", - "parameters": [], - "src": "5226:0:10" - }, - "scope": 9422, - "src": "5156:71:10", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Get the approved address for a single NFT\r\n@dev Throws if `_tokenId` is not a valid NFT\r\n@param _tokenId The NFT to find the approved address for\r\n@return The approved address for this NFT, or the zero address if there is none\r", - "id": 9412, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getApproved", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9408, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9407, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 9412, - "src": "5538:16:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9406, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5538:7:10", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5537:18:10" - }, - "returnParameters": { - "id": 9411, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9410, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9412, - "src": "5579:7:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9409, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5579:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5578:9:10" - }, - "scope": 9422, - "src": "5517:71:10", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Query if an address is an authorized operator for another address\r\n@param _owner The address that owns the NFTs\r\n@param _operator The address that acts on behalf of the owner\r\n@return True if `_operator` is an approved operator for `_owner`, false otherwise\r", - "id": 9421, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 9417, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9414, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 9421, - "src": "5935:14:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9413, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5935:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9416, - "name": "_operator", - "nodeType": "VariableDeclaration", - "scope": 9421, - "src": "5951:17:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9415, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5951:7:10", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5934:35:10" - }, - "returnParameters": { - "id": 9420, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9419, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 9421, - "src": "5993:4:10", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 9418, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5993:4:10", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5992:6:10" - }, - "scope": 9422, - "src": "5909:90:10", + "scope": 1373, + "src": "471:97:10", "stateMutability": "view", "superFunction": null, "visibility": "external" } ], - "scope": 9423, - "src": "233:5769:10" + "scope": 1374, + "src": "172:403:10" } ], - "src": "0:6004:10" + "src": "0:576:10" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721Receiver.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721Receiver.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/supports-interface.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/supports-interface.sol", "exportedSymbols": { - "ERC721Receiver": [ - 9438 + "SupportsInterface": [ + 1405 ] }, - "id": 9439, + "id": 1406, "nodeType": "SourceUnit", "nodes": [ { - "id": 9424, + "id": 1375, "literals": [ "solidity", ">=", @@ -28258,154 +17507,287 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "2:31:11" + "src": "0:31:11" }, { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 9438, - "linearizedBaseContracts": [ - 9438 + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/erc165.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/erc165.sol", + "id": 1376, + "nodeType": "ImportDirective", + "scope": 1406, + "sourceUnit": 1374, + "src": "33:90:11", + "symbolAliases": [], + "unitAlias": "" + }, + { + "baseContracts": [ + { + "arguments": null, + "baseName": { + "contractScope": null, + "id": 1377, + "name": "ERC165", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 1373, + "src": "238:6:11", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ERC165_$1373", + "typeString": "contract ERC165" + } + }, + "id": 1378, + "nodeType": "InheritanceSpecifier", + "src": "238:6:11" + } ], - "name": "ERC721Receiver", + "contractDependencies": [ + 1373 + ], + "contractKind": "contract", + "documentation": "@dev Implementation of standard for detect smart contract interfaces.", + "fullyImplemented": true, + "id": 1405, + "linearizedBaseContracts": [ + 1405, + 1373 + ], + "name": "SupportsInterface", "nodeType": "ContractDefinition", "nodes": [ { - "body": null, - "documentation": "@notice Handle the receipt of an NFT\r\n@dev The ERC721 smart contract calls this function on the\r\nrecipient after a `transfer`. This function MAY throw to revert and reject the transfer. Return\r\nof other than the magic value MUST result in the transaction being reverted.\r\n@notice The contract address is always the message sender.\r\n@param _operator The address which called `safeTransferFrom` function\r\n@param _from The address which previously owned the token\r\n@param _tokenId The NFT identifier which is being transferred\r\n@param _data Additional data with no specified format\r\n@return `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\nunless throwing\r", - "id": 9437, - "implemented": false, - "kind": "function", + "constant": false, + "id": 1382, + "name": "supportedInterfaces", + "nodeType": "VariableDeclaration", + "scope": 1405, + "src": "363:52:11", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", + "typeString": "mapping(bytes4 => bool)" + }, + "typeName": { + "id": 1381, + "keyType": { + "id": 1379, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "371:6:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "Mapping", + "src": "363:23:11", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", + "typeString": "mapping(bytes4 => bool)" + }, + "valueType": { + "id": 1380, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "381:4:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "value": null, + "visibility": "internal" + }, + { + "body": { + "id": 1391, + "nodeType": "Block", + "src": "491:59:11", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 1389, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1385, + "name": "supportedInterfaces", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1382, + "src": "497:19:11", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", + "typeString": "mapping(bytes4 => bool)" + } + }, + "id": 1387, + "indexExpression": { + "argumentTypes": null, + "hexValue": "30783031666663396137", + "id": 1386, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "517:10:11", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_33540519_by_1", + "typeString": "int_const 33540519" + }, + "value": "0x01ffc9a7" + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "497:31:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 1388, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "531:4:11", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "497:38:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1390, + "nodeType": "ExpressionStatement", + "src": "497:38:11" + } + ] + }, + "documentation": "@dev Contract constructor.", + "id": 1392, + "implemented": true, + "kind": "constructor", "modifiers": [], - "name": "onERC721Received", + "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 9433, + "id": 1383, "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 9426, - "name": "_operator", - "nodeType": "VariableDeclaration", - "scope": 9437, - "src": "867:17:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9425, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "867:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9428, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 9437, - "src": "886:13:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 9427, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "886:7:11", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9430, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 9437, - "src": "901:16:11", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 9429, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "901:7:11", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 9432, - "name": "_data", - "nodeType": "VariableDeclaration", - "scope": 9437, - "src": "919:20:11", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 9431, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "919:5:11", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "866:74:11" + "parameters": [], + "src": "475:2:11" }, "returnParameters": { - "id": 9436, + "id": 1384, + "nodeType": "ParameterList", + "parameters": [], + "src": "491:0:11" + }, + "scope": 1405, + "src": "464:86:11", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "public" + }, + { + "body": { + "id": 1403, + "nodeType": "Block", + "src": "852:51:11", + "statements": [ + { + "expression": { + "argumentTypes": null, + "baseExpression": { + "argumentTypes": null, + "id": 1399, + "name": "supportedInterfaces", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1382, + "src": "865:19:11", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", + "typeString": "mapping(bytes4 => bool)" + } + }, + "id": 1401, + "indexExpression": { + "argumentTypes": null, + "id": 1400, + "name": "_interfaceID", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1394, + "src": "885:12:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "865:33:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1398, + "id": 1402, + "nodeType": "Return", + "src": "858:40:11" + } + ] + }, + "documentation": "@dev Function to check which interfaces are suported by this contract.\n@param _interfaceID Id of the interface.\n@return True if _interfaceID is supported, false otherwise.", + "id": 1404, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1395, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 9435, - "name": "", + "id": 1394, + "name": "_interfaceID", "nodeType": "VariableDeclaration", - "scope": 9437, - "src": "958:6:11", + "scope": 1404, + "src": "785:19:11", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28413,10 +17795,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 9434, + "id": 1393, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "958:6:11", + "src": "785:6:11", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -28426,36 +17808,66 @@ "visibility": "internal" } ], - "src": "957:8:11" + "src": "779:29:11" }, - "scope": 9438, - "src": "841:125:11", - "stateMutability": "nonpayable", - "superFunction": null, + "returnParameters": { + "id": 1398, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1397, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1404, + "src": "844:4:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1396, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "844:4:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "843:6:11" + }, + "scope": 1405, + "src": "753:150:11", + "stateMutability": "view", + "superFunction": 1372, "visibility": "external" } ], - "scope": 9439, - "src": "37:932:11" + "scope": 1406, + "src": "206:700:11" } ], - "src": "2:967:11" + "src": "0:907:11" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/MiniMeToken.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/MiniMeToken.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/SNTController.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/SNTController.sol", "exportedSymbols": { - "MiniMeToken": [ - 6624 - ], - "MiniMeTokenFactory": [ - 6667 + "SNTController": [ + 1578 ] }, - "id": 6668, + "id": 1579, "nodeType": "SourceUnit", "nodes": [ { - "id": 5524, + "id": 1407, "literals": [ "solidity", ">=", @@ -28469,35 +17881,46 @@ "src": "0:31:12" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol", - "id": 5525, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/TokenController.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/TokenController.sol", + "id": 1408, "nodeType": "ImportDirective", - "scope": 6668, - "sourceUnit": 6929, - "src": "1161:96:12", + "scope": 1579, + "sourceUnit": 5693, + "src": "33:95:12", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/TokenController.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/TokenController.sol", - "id": 5526, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Owned.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Owned.sol", + "id": 1409, "nodeType": "ImportDirective", - "scope": 6668, - "sourceUnit": 6700, - "src": "1259:100:12", + "scope": 1579, + "sourceUnit": 92, + "src": "129:86:12", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", - "id": 5527, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Token.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Token.sol", + "id": 1410, "nodeType": "ImportDirective", - "scope": 6668, - "sourceUnit": 6943, - "src": "1361:107:12", + "scope": 1579, + "sourceUnit": 4516, + "src": "216:90:12", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/MiniMeToken.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/MiniMeToken.sol", + "id": 1411, + "nodeType": "ImportDirective", + "scope": 1579, + "sourceUnit": 5661, + "src": "307:91:12", "symbolAliases": [], "unitAlias": "" }, @@ -28507,241 +17930,77 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 5528, - "name": "Controlled", + "id": 1412, + "name": "TokenController", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6928, - "src": "1727:10:12", + "referencedDeclaration": 5692, + "src": "579:15:12", "typeDescriptions": { - "typeIdentifier": "t_contract$_Controlled_$6928", - "typeString": "contract Controlled" + "typeIdentifier": "t_contract$_TokenController_$5692", + "typeString": "contract TokenController" } }, - "id": 5529, + "id": 1413, "nodeType": "InheritanceSpecifier", - "src": "1727:10:12" + "src": "579:15:12" + }, + { + "arguments": null, + "baseName": { + "contractScope": null, + "id": 1414, + "name": "Owned", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 91, + "src": "596:5:12", + "typeDescriptions": { + "typeIdentifier": "t_contract$_Owned_$91", + "typeString": "contract Owned" + } + }, + "id": 1415, + "nodeType": "InheritanceSpecifier", + "src": "596:5:12" } ], "contractDependencies": [ - 6928 + 91, + 5692 ], "contractKind": "contract", - "documentation": "@dev The actual token contract, the default controller is the msg.sender\r\n that deploys the contract, so usually this token will be deployed by a\r\n token controller contract, which Giveth will call a \"Campaign\"\r", + "documentation": "@title SNTController\n@author Ricardo Guilherme Schmidt (Status Research & Development GmbH)\n@notice enables economic abstraction for SNT", "fullyImplemented": true, - "id": 6624, + "id": 1578, "linearizedBaseContracts": [ - 6624, - 6928 + 1578, + 91, + 5692 ], - "name": "MiniMeToken", + "name": "SNTController", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 5531, - "name": "name", + "id": 1417, + "name": "snt", "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "1747:18:12", + "scope": 1578, + "src": "609:22:12", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 5530, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1747:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 5533, - "name": "decimals", - "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "1828:21:12", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 5532, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "1828:5:12", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 5535, - "name": "symbol", - "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "1910:20:12", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 5534, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1910:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 5538, - "name": "version", - "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "1976:33:12", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string" - }, - "typeName": { - "id": 5536, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "1976:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "4d4d545f302e31", - "id": 5537, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2000:9:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_40fc38fa6d6143d33df7a9e2b8cbab7741b8990dbd52142e39a51c72d1e7c977", - "typeString": "literal_string \"MMT_0.1\"" - }, - "value": "MMT_0.1" - }, - "visibility": "public" - }, - { - "canonicalName": "MiniMeToken.Checkpoint", - "id": 5543, - "members": [ - { - "constant": false, - "id": 5540, - "name": "fromBlock", - "nodeType": "VariableDeclaration", - "scope": 5543, - "src": "2351:17:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - }, - "typeName": { - "id": 5539, - "name": "uint128", - "nodeType": "ElementaryTypeName", - "src": "2351:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5542, - "name": "value", - "nodeType": "VariableDeclaration", - "scope": 5543, - "src": "2452:13:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - }, - "typeName": { - "id": 5541, - "name": "uint128", - "nodeType": "ElementaryTypeName", - "src": "2452:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "value": null, - "visibility": "internal" - } - ], - "name": "Checkpoint", - "nodeType": "StructDefinition", - "scope": 6624, - "src": "2242:231:12", - "visibility": "public" - }, - { - "constant": false, - "id": 5545, - "name": "parentToken", - "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "2619:30:12", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" }, "typeName": { "contractScope": null, - "id": 5544, + "id": 1416, "name": "MiniMeToken", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "2619:11:12", + "referencedDeclaration": 5617, + "src": "609:11:12", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, @@ -28749,828 +18008,23 @@ "visibility": "public" }, { - "constant": false, - "id": 5547, - "name": "parentSnapShotBlock", - "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "2810:31:12", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5546, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2810:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 5549, - "name": "creationBlock", - "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "2927:25:12", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5548, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "2927:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 5554, - "name": "balances", - "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "3162:42:12", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_$", - "typeString": "mapping(address => struct MiniMeToken.Checkpoint[])" - }, - "typeName": { - "id": 5553, - "keyType": { - "id": 5550, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3171:7:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "3162:33:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_$", - "typeString": "mapping(address => struct MiniMeToken.Checkpoint[])" - }, - "valueType": { - "baseType": { - "contractScope": null, - "id": 5551, - "name": "Checkpoint", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5543, - "src": "3182:10:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint" - } - }, - "id": 5552, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3182:12:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint[]" - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5560, - "name": "allowed", - "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "3287:57:12", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - }, - "typeName": { - "id": 5559, - "keyType": { - "id": 5555, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3296:7:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "3287:49:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - }, - "valueType": { - "id": 5558, - "keyType": { - "id": 5556, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3316:7:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "3307:28:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - }, - "valueType": { - "id": 5557, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3327:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5563, - "name": "totalSupplyHistory", - "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "3414:31:12", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint[]" - }, - "typeName": { - "baseType": { - "contractScope": null, - "id": 5561, - "name": "Checkpoint", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5543, - "src": "3414:10:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint" - } - }, - "id": 5562, - "length": null, - "nodeType": "ArrayTypeName", - "src": "3414:12:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5565, - "name": "transfersEnabled", - "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "3520:28:12", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5564, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3520:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "public" - }, - { - "constant": false, - "id": 5567, - "name": "tokenFactory", - "nodeType": "VariableDeclaration", - "scope": 6624, - "src": "3609:38:12", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$6667", - "typeString": "contract MiniMeTokenFactory" - }, - "typeName": { - "contractScope": null, - "id": 5566, - "name": "MiniMeTokenFactory", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6667, - "src": "3609:18:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$6667", - "typeString": "contract MiniMeTokenFactory" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 5625, - "nodeType": "Block", - "src": "4762:508:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5588, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5584, - "name": "tokenFactory", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5567, - "src": "4773:12:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$6667", - "typeString": "contract MiniMeTokenFactory" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5586, - "name": "_tokenFactory", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5569, - "src": "4807:13:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5585, - "name": "MiniMeTokenFactory", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6667, - "src": "4788:18:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MiniMeTokenFactory_$6667_$", - "typeString": "type(contract MiniMeTokenFactory)" - } - }, - "id": 5587, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4788:33:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$6667", - "typeString": "contract MiniMeTokenFactory" - } - }, - "src": "4773:48:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$6667", - "typeString": "contract MiniMeTokenFactory" - } - }, - "id": 5589, - "nodeType": "ExpressionStatement", - "src": "4773:48:12" - }, - { - "expression": { - "argumentTypes": null, - "id": 5592, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5590, - "name": "name", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5531, - "src": "4832:4:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5591, - "name": "_tokenName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5575, - "src": "4839:10:12", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "4832:17:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 5593, - "nodeType": "ExpressionStatement", - "src": "4832:17:12" - }, - { - "expression": { - "argumentTypes": null, - "id": 5596, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5594, - "name": "decimals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5533, - "src": "4908:8:12", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5595, - "name": "_decimalUnits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5577, - "src": "4919:13:12", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "src": "4908:24:12", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "id": 5597, - "nodeType": "ExpressionStatement", - "src": "4908:24:12" - }, - { - "expression": { - "argumentTypes": null, - "id": 5600, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5598, - "name": "symbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5535, - "src": "4988:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5599, - "name": "_tokenSymbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5579, - "src": "4997:12:12", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - "src": "4988:21:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage", - "typeString": "string storage ref" - } - }, - "id": 5601, - "nodeType": "ExpressionStatement", - "src": "4988:21:12" - }, - { - "expression": { - "argumentTypes": null, - "id": 5610, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5602, - "name": "parentToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5545, - "src": "5066:11:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5606, - "name": "_parentToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5571, - "src": "5108:12:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5605, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5100:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": "uint160" - }, - "id": 5607, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5100:21:12", - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 5604, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "5092:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 5608, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5092:30:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 5603, - "name": "MiniMeToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6624, - "src": "5080:11:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MiniMeToken_$6624_$", - "typeString": "type(contract MiniMeToken)" - } - }, - "id": 5609, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5080:43:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "src": "5066:57:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 5611, - "nodeType": "ExpressionStatement", - "src": "5066:57:12" - }, - { - "expression": { - "argumentTypes": null, - "id": 5614, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5612, - "name": "parentSnapShotBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5547, - "src": "5134:19:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5613, - "name": "_parentSnapShotBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5573, - "src": "5156:20:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5134:42:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5615, - "nodeType": "ExpressionStatement", - "src": "5134:42:12" - }, - { - "expression": { - "argumentTypes": null, - "id": 5618, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5616, - "name": "transfersEnabled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5565, - "src": "5187:16:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5617, - "name": "_transfersEnabled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5581, - "src": "5206:17:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5187:36:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 5619, - "nodeType": "ExpressionStatement", - "src": "5187:36:12" - }, - { - "expression": { - "argumentTypes": null, - "id": 5623, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 5620, - "name": "creationBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5549, - "src": "5234:13:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5621, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "5250:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 5622, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5250:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "5234:28:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5624, - "nodeType": "ExpressionStatement", - "src": "5234:28:12" - } - ] - }, - "documentation": "@notice Constructor to create a MiniMeToken\r\n@param _tokenFactory The address of the MiniMeTokenFactory contract that\r\n will create the Clone token contracts, the token factory needs to be\r\n deployed first\r\n@param _parentToken Address of the parent token, set to 0x0 if it is a\r\n new token\r\n@param _parentSnapShotBlock Block of the parent token that will\r\n determine the initial distribution of the clone token, set to 0 if it\r\n is a new token\r\n@param _tokenName Name of the new token\r\n@param _decimalUnits Number of decimals of the new token\r\n@param _tokenSymbol Token Symbol for the new token\r\n@param _transfersEnabled If true, tokens will be able to be transferred\r", - "id": 5626, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", + "anonymous": false, + "documentation": null, + "id": 1425, + "name": "ClaimedTokens", + "nodeType": "EventDefinition", "parameters": { - "id": 5582, + "id": 1424, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 5569, - "name": "_tokenFactory", + "id": 1419, + "indexed": true, + "name": "_token", "nodeType": "VariableDeclaration", - "scope": 5626, - "src": "4510:21:12", + "scope": 1425, + "src": "658:22:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29578,10 +18032,10 @@ "typeString": "address" }, "typeName": { - "id": 5568, + "id": 1418, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4510:7:12", + "src": "658:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29593,11 +18047,12 @@ }, { "constant": false, - "id": 5571, - "name": "_parentToken", + "id": 1421, + "indexed": true, + "name": "_controller", "nodeType": "VariableDeclaration", - "scope": 5626, - "src": "4542:20:12", + "scope": 1425, + "src": "682:27:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29605,10 +18060,10 @@ "typeString": "address" }, "typeName": { - "id": 5570, + "id": 1420, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4542:7:12", + "src": "682:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29620,386 +18075,12 @@ }, { "constant": false, - "id": 5573, - "name": "_parentSnapShotBlock", - "nodeType": "VariableDeclaration", - "scope": 5626, - "src": "4573:25:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5572, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "4573:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5575, - "name": "_tokenName", - "nodeType": "VariableDeclaration", - "scope": 5626, - "src": "4609:24:12", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5574, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4609:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5577, - "name": "_decimalUnits", - "nodeType": "VariableDeclaration", - "scope": 5626, - "src": "4644:19:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 5576, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "4644:5:12", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5579, - "name": "_tokenSymbol", - "nodeType": "VariableDeclaration", - "scope": 5626, - "src": "4674:26:12", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 5578, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "4674:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5581, - "name": "_transfersEnabled", - "nodeType": "VariableDeclaration", - "scope": 5626, - "src": "4711:22:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5580, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "4711:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4499:241:12" - }, - "returnParameters": { - "id": 5583, - "nodeType": "ParameterList", - "parameters": [], - "src": "4762:0:12" - }, - "scope": 6624, - "src": "4488:782:12", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 5647, - "nodeType": "Block", - "src": "5672:120:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5636, - "name": "transfersEnabled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5565, - "src": "5691:16:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "5472616e73666572732064697361626c6564", - "id": 5637, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5709:20:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a3a55adb30ab1f76a9345e8aff5718284aa767b21701c98ffdd1ea222615284c", - "typeString": "literal_string \"Transfers disabled\"" - }, - "value": "Transfers disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a3a55adb30ab1f76a9345e8aff5718284aa767b21701c98ffdd1ea222615284c", - "typeString": "literal_string \"Transfers disabled\"" - } - ], - "id": 5635, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "5683:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5638, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5683:47:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5639, - "nodeType": "ExpressionStatement", - "src": "5683:47:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5641, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "5759:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 5642, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5759:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 5643, - "name": "_to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5628, - "src": "5771:3:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5644, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5630, - "src": "5776:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5640, - "name": "doTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5817, - "src": "5748:10:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) returns (bool)" - } - }, - "id": 5645, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5748:36:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 5634, - "id": 5646, - "nodeType": "Return", - "src": "5741:43:12" - } - ] - }, - "documentation": "@notice Send `_amount` tokens to `_to` from `msg.sender`\r\n@param _to The address of the recipient\r\n@param _amount The amount of tokens to be transferred\r\n@return Whether the transfer was successful or not\r", - "id": 5648, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transfer", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5631, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5628, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 5648, - "src": "5612:11:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5627, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5612:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5630, + "id": 1423, + "indexed": false, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 5648, - "src": "5625:15:12", + "scope": 1425, + "src": "711:15:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30007,10 +18088,10 @@ "typeString": "uint256" }, "typeName": { - "id": 5629, + "id": 1422, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5625:7:12", + "src": "711:7:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30020,52 +18101,58 @@ "visibility": "internal" } ], - "src": "5611:30:12" + "src": "657:70:12" }, - "returnParameters": { - "id": 5634, + "src": "638:90:12" + }, + { + "anonymous": false, + "documentation": null, + "id": 1429, + "name": "ControllerChanged", + "nodeType": "EventDefinition", + "parameters": { + "id": 1428, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 5633, - "name": "success", + "id": 1427, + "indexed": true, + "name": "_newController", "nodeType": "VariableDeclaration", - "scope": 5648, - "src": "5658:12:12", + "scope": 1429, + "src": "757:30:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "id": 5632, - "name": "bool", + "id": 1426, + "name": "address", "nodeType": "ElementaryTypeName", - "src": "5658:4:12", + "src": "757:7:12", + "stateMutability": "nonpayable", "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" + "typeIdentifier": "t_address", + "typeString": "address" } }, "value": null, "visibility": "internal" } ], - "src": "5657:14:12" + "src": "756:32:12" }, - "scope": 6624, - "src": "5594:198:12", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" + "src": "733:56:12" }, { "body": { - "id": 5697, + "id": 1451, "nodeType": "Block", - "src": "6316:673:12", + "src": "969:99:12", "statements": [ { "condition": { @@ -30074,35 +18161,19 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 5662, + "id": 1440, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5659, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "6613:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 5660, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6613:10:12", + "id": 1436, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1431, + "src": "982:6:12", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -30112,6494 +18183,271 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 5661, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "6627:10:12", + "arguments": [ + { + "argumentTypes": null, + "hexValue": "30", + "id": 1438, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1000:1:12", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 1437, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "992:7:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 1439, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "992:10:12", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "6613:24:12", + "src": "982:20:12", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 5690, + "id": 1446, "nodeType": "IfStatement", - "src": "6609:324:12", + "src": "979:63:12", "trueBody": { - "id": 5689, + "id": 1445, "nodeType": "Block", - "src": "6639:294:12", + "src": "1003:39:12", "statements": [ { "expression": { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5664, - "name": "transfersEnabled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5565, - "src": "6662:16:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "5472616e73666572732064697361626c6564", - "id": 5665, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6680:20:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a3a55adb30ab1f76a9345e8aff5718284aa767b21701c98ffdd1ea222615284c", - "typeString": "literal_string \"Transfers disabled\"" - }, - "value": "Transfers disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a3a55adb30ab1f76a9345e8aff5718284aa767b21701c98ffdd1ea222615284c", - "typeString": "literal_string \"Transfers disabled\"" - } - ], - "id": 5663, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "6654:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5666, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6654:47:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5667, - "nodeType": "ExpressionStatement", - "src": "6654:47:12" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5675, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5668, - "name": "allowed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5560, - "src": "6785:7:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 5670, - "indexExpression": { - "argumentTypes": null, - "id": 5669, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5650, - "src": "6793:5:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6785:14:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 5673, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5671, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "6800:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 5672, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6800:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6785:26:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 5674, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5654, - "src": "6814:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6785:36:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5679, - "nodeType": "IfStatement", - "src": "6781:89:12", - "trueBody": { - "id": 5678, - "nodeType": "Block", - "src": "6823:47:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 5676, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "6849:5:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 5658, - "id": 5677, - "nodeType": "Return", - "src": "6842:12:12" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 5687, + "id": 1443, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5680, - "name": "allowed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5560, - "src": "6884:7:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 5684, - "indexExpression": { - "argumentTypes": null, - "id": 5681, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5650, - "src": "6892:5:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6884:14:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 5685, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5682, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "6899:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 5683, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "6899:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "6884:26:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "-=", - "rightHandSide": { - "argumentTypes": null, - "id": 5686, - "name": "_amount", + "id": 1441, + "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 5654, - "src": "6914:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "6884:37:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5688, - "nodeType": "ExpressionStatement", - "src": "6884:37:12" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5692, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5650, - "src": "6961:5:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5693, - "name": "_to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5652, - "src": "6968:3:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5694, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5654, - "src": "6973:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5691, - "name": "doTransfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5817, - "src": "6950:10:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) returns (bool)" - } - }, - "id": 5695, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6950:31:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 5658, - "id": 5696, - "nodeType": "Return", - "src": "6943:38:12" - } - ] - }, - "documentation": "@notice Send `_amount` tokens to `_to` from `_from` on the condition it\r\n is approved by `_from`\r\n@param _from The address holding the tokens being transferred\r\n@param _to The address of the recipient\r\n@param _amount The amount of tokens to be transferred\r\n@return True if the transfer was successful\r", - "id": 5698, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5655, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5650, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 5698, - "src": "6194:13:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5649, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6194:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5652, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 5698, - "src": "6218:11:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5651, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6218:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5654, - "name": "_amount", - "nodeType": "VariableDeclaration", - "scope": 5698, - "src": "6240:15:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5653, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6240:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6183:79:12" - }, - "returnParameters": { - "id": 5658, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5657, - "name": "success", - "nodeType": "VariableDeclaration", - "scope": 5698, - "src": "6297:12:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5656, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6297:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6296:14:12" - }, - "scope": 6624, - "src": "6162:827:12", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 5816, - "nodeType": "Block", - "src": "7530:1500:12", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5711, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5709, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5704, - "src": "7547:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 5710, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7558:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "7547:12:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5715, - "nodeType": "IfStatement", - "src": "7543:56:12", - "trueBody": { - "id": 5714, - "nodeType": "Block", - "src": "7561:38:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 5712, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7583:4:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 5708, - "id": 5713, - "nodeType": "Return", - "src": "7576:11:12" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5720, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5717, - "name": "parentSnapShotBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5547, - "src": "7619:19:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5718, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "7641:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 5719, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "7641:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "7619:34:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "496e76616c696420626c6f636b2e6e756d626572", - "id": 5721, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7655:22:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_35c110f1e3de87fd85cff8e65b97e66396fb316843739b2c816ef54c0c5d66cc", - "typeString": "literal_string \"Invalid block.number\"" - }, - "value": "Invalid block.number" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_35c110f1e3de87fd85cff8e65b97e66396fb316843739b2c816ef54c0c5d66cc", - "typeString": "literal_string \"Invalid block.number\"" - } - ], - "id": 5716, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "7611:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5722, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7611:67:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5723, - "nodeType": "ExpressionStatement", - "src": "7611:67:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5737, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5729, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5725, - "name": "_to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5702, - "src": "7770:3:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5727, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7785:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 5726, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7777:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 5728, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7777:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "7770:17:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 5730, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7769:19:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "&&", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5735, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5731, - "name": "_to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5702, - "src": "7793:3:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5733, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9485, - "src": "7808:4:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - ], - "id": 5732, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "7800:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 5734, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7800:13:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "7793:20:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 5736, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "7792:22:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "7769:45:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "496e76616c6964205f746f", - "id": 5738, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7816:13:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_0f75480de24630921614ad0d6a48bfa1c8bd9865d6c3d2168c01043ecb941213", - "typeString": "literal_string \"Invalid _to\"" - }, - "value": "Invalid _to" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_0f75480de24630921614ad0d6a48bfa1c8bd9865d6c3d2168c01043ecb941213", - "typeString": "literal_string \"Invalid _to\"" - } - ], - "id": 5724, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "7761:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5739, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7761:69:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5740, - "nodeType": "ExpressionStatement", - "src": "7761:69:12" - }, - { - "assignments": [ - 5742 - ], - "declarations": [ - { - "constant": false, - "id": 5742, - "name": "previousBalanceFrom", - "nodeType": "VariableDeclaration", - "scope": 5816, - "src": "7966:27:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5741, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7966:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5748, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5744, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5700, - "src": "8008:5:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5745, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "8015:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 5746, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8015:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5743, - "name": "balanceOfAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6037, - "src": "7996:11:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (address,uint256) view returns (uint256)" - } - }, - "id": 5747, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7996:32:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "7966:62:12" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5751, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5749, - "name": "previousBalanceFrom", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5742, - "src": "8043:19:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 5750, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5704, - "src": "8065:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8043:29:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5755, - "nodeType": "IfStatement", - "src": "8039:74:12", - "trueBody": { - "id": 5754, - "nodeType": "Block", - "src": "8074:39:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 5752, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8096:5:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 5708, - "id": 5753, - "nodeType": "Return", - "src": "8089:12:12" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5757, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "8196:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 5756, - "name": "isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "8185:10:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 5758, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8185:22:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5772, - "nodeType": "IfStatement", - "src": "8181:148:12", - "trueBody": { - "id": 5771, - "nodeType": "Block", - "src": "8209:120:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5764, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5700, - "src": "8271:5:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5765, - "name": "_to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5702, - "src": "8278:3:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5766, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5704, - "src": "8283:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5761, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "8248:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 5760, - "name": "TokenController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6699, - "src": "8232:15:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_TokenController_$6699_$", - "typeString": "type(contract TokenController)" - } - }, - "id": 5762, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8232:27:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_TokenController_$6699", - "typeString": "contract TokenController" - } - }, - "id": 5763, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "onTransfer", - "nodeType": "MemberAccess", - "referencedDeclaration": 6687, - "src": "8232:38:12", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) external returns (bool)" - } - }, - "id": 5767, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8232:59:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564207472616e73666572", - "id": 5768, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8293:23:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_663f3e517c52e47093590bfd4d3bce5ae2441d13c502986803e68ccdaeb8f43b", - "typeString": "literal_string \"Unauthorized transfer\"" - }, - "value": "Unauthorized transfer" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_663f3e517c52e47093590bfd4d3bce5ae2441d13c502986803e68ccdaeb8f43b", - "typeString": "literal_string \"Unauthorized transfer\"" - } - ], - "id": 5759, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "8224:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8224:93:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5770, - "nodeType": "ExpressionStatement", - "src": "8224:93:12" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5774, - "name": "balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5554, - "src": "8468:8:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_$", - "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" - } - }, - "id": 5776, - "indexExpression": { - "argumentTypes": null, - "id": 5775, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5700, - "src": "8477:5:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8468:15:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5779, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5777, - "name": "previousBalanceFrom", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5742, - "src": "8485:19:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 5778, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5704, - "src": "8507:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8485:29:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5773, - "name": "updateValueAtNow", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6468, - "src": "8451:16:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" - } - }, - "id": 5780, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8451:64:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5781, - "nodeType": "ExpressionStatement", - "src": "8451:64:12" - }, - { - "assignments": [ - 5783 - ], - "declarations": [ - { - "constant": false, - "id": 5783, - "name": "previousBalanceTo", - "nodeType": "VariableDeclaration", - "scope": 5816, - "src": "8639:25:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5782, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8639:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5789, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5785, - "name": "_to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5702, - "src": "8679:3:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5786, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "8684:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 5787, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "8684:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5784, - "name": "balanceOfAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6037, - "src": "8667:11:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (address,uint256) view returns (uint256)" - } - }, - "id": 5788, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8667:30:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "8639:58:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5793, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5791, - "name": "previousBalanceTo", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5783, - "src": "8716:17:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 5792, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5704, - "src": "8736:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8716:27:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 5794, - "name": "previousBalanceTo", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5783, - "src": "8747:17:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8716:48:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "42616c616e6365206f766572666c6f77", - "id": 5796, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "8766:18:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3ff36095f6b077e3381ad9b42fa926720d9d1a053c514940c75d3e94fc7de897", - "typeString": "literal_string \"Balance overflow\"" - }, - "value": "Balance overflow" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3ff36095f6b077e3381ad9b42fa926720d9d1a053c514940c75d3e94fc7de897", - "typeString": "literal_string \"Balance overflow\"" - } - ], - "id": 5790, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "8708:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5797, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8708:77:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5798, - "nodeType": "ExpressionStatement", - "src": "8708:77:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5800, - "name": "balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5554, - "src": "8835:8:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_$", - "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" - } - }, - "id": 5802, - "indexExpression": { - "argumentTypes": null, - "id": 5801, - "name": "_to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5702, - "src": "8844:3:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8835:13:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5805, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5803, - "name": "previousBalanceTo", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5783, - "src": "8850:17:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 5804, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5704, - "src": "8870:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "8850:27:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5799, - "name": "updateValueAtNow", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6468, - "src": "8818:16:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" - } - }, - "id": 5806, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8818:60:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5807, - "nodeType": "ExpressionStatement", - "src": "8818:60:12" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5809, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5700, - "src": "8978:5:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5810, - "name": "_to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5702, - "src": "8985:3:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5811, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5704, - "src": "8990:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5808, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6609, - "src": "8969:8:12", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 5812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8969:29:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5813, - "nodeType": "EmitStatement", - "src": "8964:34:12" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 5814, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9018:4:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 5708, - "id": 5815, - "nodeType": "Return", - "src": "9011:11:12" - } - ] - }, - "documentation": "@dev This is the actual transfer function in the token contract, it can\r\n only be called by other functions in this contract.\r\n@param _from The address holding the tokens being transferred\r\n@param _to The address of the recipient\r\n@param _amount The amount of tokens to be transferred\r\n@return True if the transfer was successful\r", - "id": 5817, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "doTransfer", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5705, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5700, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 5817, - "src": "7418:13:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5699, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7418:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5702, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 5817, - "src": "7442:11:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5701, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7442:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5704, - "name": "_amount", - "nodeType": "VariableDeclaration", - "scope": 5817, - "src": "7464:12:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5703, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "7464:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7407:76:12" - }, - "returnParameters": { - "id": 5708, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5707, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 5817, - "src": "7519:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5706, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "7519:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7518:6:12" - }, - "scope": 6624, - "src": "7388:1642:12", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 5883, - "nodeType": "Block", - "src": "9188:820:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5829, - "name": "transfersEnabled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5565, - "src": "9207:16:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "5472616e73666572732064697361626c6564", - "id": 5830, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9225:20:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_a3a55adb30ab1f76a9345e8aff5718284aa767b21701c98ffdd1ea222615284c", - "typeString": "literal_string \"Transfers disabled\"" - }, - "value": "Transfers disabled" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_a3a55adb30ab1f76a9345e8aff5718284aa767b21701c98ffdd1ea222615284c", - "typeString": "literal_string \"Transfers disabled\"" - } - ], - "id": 5828, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "9199:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5831, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9199:47:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5832, - "nodeType": "ExpressionStatement", - "src": "9199:47:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 5846, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5836, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5834, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5823, - "src": "9575:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 5835, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9586:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9575:12:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 5837, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "9574:14:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5844, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5838, - "name": "allowed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5560, - "src": "9593:7:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 5840, - "indexExpression": { - "argumentTypes": null, - "id": 5839, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5819, - "src": "9601:5:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9593:14:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 5842, - "indexExpression": { - "argumentTypes": null, - "id": 5841, - "name": "_spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5821, - "src": "9608:8:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9593:24:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 5843, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9621:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "9593:29:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 5845, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "9592:31:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "9574:49:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "526573657420616c6c6f77616e6365206669727374", - "id": 5847, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9625:23:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_98750c27779d9cd7459d8a46c9fac8c1f6d90a55a6ad010c41f4b285cbea7e44", - "typeString": "literal_string \"Reset allowance first\"" - }, - "value": "Reset allowance first" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_98750c27779d9cd7459d8a46c9fac8c1f6d90a55a6ad010c41f4b285cbea7e44", - "typeString": "literal_string \"Reset allowance first\"" - } - ], - "id": 5833, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "9566:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5848, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9566:83:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5849, - "nodeType": "ExpressionStatement", - "src": "9566:83:12" - }, - { - "condition": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5851, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "9746:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 5850, - "name": "isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "9735:10:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 5852, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9735:22:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5866, - "nodeType": "IfStatement", - "src": "9731:151:12", - "trueBody": { - "id": 5865, - "nodeType": "Block", - "src": "9759:123:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5858, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5819, - "src": "9820:5:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5859, - "name": "_spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5821, - "src": "9827:8:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5860, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5823, - "src": "9837:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5855, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "9798:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 5854, - "name": "TokenController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6699, - "src": "9782:15:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_TokenController_$6699_$", - "typeString": "type(contract TokenController)" - } - }, - "id": 5856, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9782:27:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_TokenController_$6699", - "typeString": "contract TokenController" - } - }, - "id": 5857, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "onApprove", - "nodeType": "MemberAccess", - "referencedDeclaration": 6698, - "src": "9782:37:12", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) external returns (bool)" - } - }, - "id": 5861, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9782:63:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a656420617070726f7665", - "id": 5862, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9847:22:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_2cb30ca853d1e96b96b4e9eb1abf43050f5814e7b1a620f1cbe6fdfc8ee12e2a", - "typeString": "literal_string \"Unauthorized approve\"" - }, - "value": "Unauthorized approve" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_2cb30ca853d1e96b96b4e9eb1abf43050f5814e7b1a620f1cbe6fdfc8ee12e2a", - "typeString": "literal_string \"Unauthorized approve\"" - } - ], - "id": 5853, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "9774:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5863, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9774:96:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5864, - "nodeType": "ExpressionStatement", - "src": "9774:96:12" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 5873, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5867, - "name": "allowed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5560, - "src": "9894:7:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 5870, - "indexExpression": { - "argumentTypes": null, - "id": 5868, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5819, - "src": "9902:5:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9894:14:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 5871, - "indexExpression": { - "argumentTypes": null, - "id": 5869, - "name": "_spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5821, - "src": "9909:8:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9894:24:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5872, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5823, - "src": "9921:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9894:34:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5874, - "nodeType": "ExpressionStatement", - "src": "9894:34:12" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5876, - "name": "_from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5819, - "src": "9953:5:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5877, - "name": "_spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5821, - "src": "9960:8:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5878, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5823, - "src": "9970:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5875, - "name": "Approval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6623, - "src": "9944:8:12", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 5879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9944:34:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5880, - "nodeType": "EmitStatement", - "src": "9939:39:12" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 5881, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9996:4:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 5827, - "id": 5882, - "nodeType": "Return", - "src": "9989:11:12" - } - ] - }, - "documentation": null, - "id": 5884, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "doApprove", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5824, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5819, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 5884, - "src": "9067:13:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5818, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9067:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5821, - "name": "_spender", - "nodeType": "VariableDeclaration", - "scope": 5884, - "src": "9091:16:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5820, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9091:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5823, - "name": "_amount", - "nodeType": "VariableDeclaration", - "scope": 5884, - "src": "9118:15:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5822, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9118:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9056:84:12" - }, - "returnParameters": { - "id": 5827, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5826, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 5884, - "src": "9177:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5825, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9177:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9176:6:12" - }, - "scope": 6624, - "src": "9038:970:12", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 5897, - "nodeType": "Block", - "src": "10238:59:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5892, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5886, - "src": "10268:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5893, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "10276:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 5894, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10276:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5891, - "name": "balanceOfAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6037, - "src": "10256:11:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (address,uint256) view returns (uint256)" - } - }, - "id": 5895, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10256:33:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5890, - "id": 5896, - "nodeType": "Return", - "src": "10249:40:12" - } - ] - }, - "documentation": "@param _owner The address that's balance is being requested\r\n@return The balance of `_owner` at the current block\r", - "id": 5898, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5887, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5886, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 5898, - "src": "10182:14:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5885, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10182:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10181:16:12" - }, - "returnParameters": { - "id": 5890, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5889, - "name": "balance", - "nodeType": "VariableDeclaration", - "scope": 5898, - "src": "10221:15:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5888, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10221:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10220:17:12" - }, - "scope": 6624, - "src": "10163:134:12", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 5914, - "nodeType": "Block", - "src": "10800:66:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5908, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "10828:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 5909, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "10828:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 5910, - "name": "_spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5900, - "src": "10840:8:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5911, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5902, - "src": "10850:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5907, - "name": "doApprove", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5884, - "src": "10818:9:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) returns (bool)" - } - }, - "id": 5912, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10818:40:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 5906, - "id": 5913, - "nodeType": "Return", - "src": "10811:47:12" - } - ] - }, - "documentation": "@notice `msg.sender` approves `_spender` to spend `_amount` tokens on\r\n its behalf. This is a modified version of the ERC20 approve function\r\n to be a little bit safer\r\n@param _spender The address of the account able to transfer the tokens\r\n@param _amount The amount of tokens to be approved for transfer\r\n@return True if the approval was successful\r", - "id": 5915, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5903, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5900, - "name": "_spender", - "nodeType": "VariableDeclaration", - "scope": 5915, - "src": "10733:16:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5899, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10733:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5902, - "name": "_amount", - "nodeType": "VariableDeclaration", - "scope": 5915, - "src": "10751:15:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5901, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10751:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10732:35:12" - }, - "returnParameters": { - "id": 5906, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5905, - "name": "success", - "nodeType": "VariableDeclaration", - "scope": 5915, - "src": "10786:12:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5904, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "10786:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10785:14:12" - }, - "scope": 6624, - "src": "10716:150:12", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 5930, - "nodeType": "Block", - "src": "11357:51:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5924, - "name": "allowed", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5560, - "src": "11375:7:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", - "typeString": "mapping(address => mapping(address => uint256))" - } - }, - "id": 5926, - "indexExpression": { - "argumentTypes": null, - "id": 5925, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5917, - "src": "11383:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11375:15:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", - "typeString": "mapping(address => uint256)" - } - }, - "id": 5928, - "indexExpression": { - "argumentTypes": null, - "id": 5927, - "name": "_spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5919, - "src": "11391:8:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11375:25:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5923, - "id": 5929, - "nodeType": "Return", - "src": "11368:32:12" - } - ] - }, - "documentation": "@dev This function makes it easy to read the `allowed[]` map\r\n@param _owner The address of the account that owns the token\r\n@param _spender The address of the account able to transfer the tokens\r\n@return Amount of remaining tokens of _owner that _spender is allowed\r\n to spend\r", - "id": 5931, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "allowance", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5920, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5917, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 5931, - "src": "11234:14:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5916, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11234:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5919, - "name": "_spender", - "nodeType": "VariableDeclaration", - "scope": 5931, - "src": "11259:16:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5918, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11259:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11223:59:12" - }, - "returnParameters": { - "id": 5923, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5922, - "name": "remaining", - "nodeType": "VariableDeclaration", - "scope": 5931, - "src": "11333:17:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5921, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11333:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11332:19:12" - }, - "scope": 6624, - "src": "11205:203:12", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 5967, - "nodeType": "Block", - "src": "12114:282:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5944, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "12143:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 5945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12143:10:12", + "referencedDeclaration": 53, + "src": "1017:5:12", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - { - "argumentTypes": null, - "id": 5946, - "name": "_spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5933, - "src": "12155:8:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5947, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5935, - "src": "12165:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5943, - "name": "doApprove", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5884, - "src": "12133:9:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,address,uint256) returns (bool)" - } - }, - "id": 5948, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12133:40:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "417070726f7665206661696c6564", - "id": 5949, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12175:16:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_894c45cdacdbd00f70cf0de394f039255fedfdb9b0f57bdf73c557235f0cae5c", - "typeString": "literal_string \"Approve failed\"" - }, - "value": "Approve failed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_894c45cdacdbd00f70cf0de394f039255fedfdb9b0f57bdf73c557235f0cae5c", - "typeString": "literal_string \"Approve failed\"" - } - ], - "id": 5942, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "12125:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12125:67:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5951, - "nodeType": "ExpressionStatement", - "src": "12125:67:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5956, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "12268:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 5957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12268:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 5958, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5935, - "src": "12293:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5960, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9485, - "src": "12323:4:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - ], - "id": 5959, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12315:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 5961, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12315:13:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 5962, - "name": "_extraData", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5937, - "src": "12343:10:12", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5953, - "name": "_spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5933, - "src": "12228:8:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 5952, - "name": "ApproveAndCallFallBack", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6942, - "src": "12205:22:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ApproveAndCallFallBack_$6942_$", - "typeString": "type(contract ApproveAndCallFallBack)" - } - }, - "id": 5954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12205:32:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ApproveAndCallFallBack_$6942", - "typeString": "contract ApproveAndCallFallBack" - } - }, - "id": 5955, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "receiveApproval", - "nodeType": "MemberAccess", - "referencedDeclaration": 6941, - "src": "12205:48:12", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$__$", - "typeString": "function (address,uint256,address,bytes memory) external" - } - }, - "id": 5963, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12205:159:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5964, - "nodeType": "ExpressionStatement", - "src": "12205:159:12" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 5965, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12384:4:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 5941, - "id": 5966, - "nodeType": "Return", - "src": "12377:11:12" - } - ] - }, - "documentation": "@notice `msg.sender` approves `_spender` to send `_amount` tokens on\r\n its behalf, and then a function is triggered in the contract that is\r\n being approved, `_spender`. This allows users to use their tokens to\r\n interact with contracts in one function call instead of two\r\n@param _spender The address of the contract able to transfer the tokens\r\n@param _amount The amount of tokens to be approved for transfer\r\n@return True if the function call was successful\r", - "id": 5968, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approveAndCall", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5938, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5933, - "name": "_spender", - "nodeType": "VariableDeclaration", - "scope": 5968, - "src": "11977:16:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5932, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11977:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5935, - "name": "_amount", - "nodeType": "VariableDeclaration", - "scope": 5968, - "src": "12004:15:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5934, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12004:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5937, - "name": "_extraData", - "nodeType": "VariableDeclaration", - "scope": 5968, - "src": "12030:23:12", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5936, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "12030:5:12", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11966:94:12" - }, - "returnParameters": { - "id": 5941, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5940, - "name": "success", - "nodeType": "VariableDeclaration", - "scope": 5968, - "src": "12095:12:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5939, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "12095:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12094:14:12" - }, - "scope": 6624, - "src": "11943:453:12", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 5978, - "nodeType": "Block", - "src": "12592:53:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5974, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "12624:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 5975, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12624:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5973, - "name": "totalSupplyAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6086, - "src": "12610:13:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) view returns (uint256)" - } - }, - "id": 5976, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12610:27:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5972, - "id": 5977, - "nodeType": "Return", - "src": "12603:34:12" - } - ] - }, - "documentation": "@dev This function makes it easy to get the total number of tokens\r\n@return The total number of tokens\r", - "id": 5979, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "totalSupply", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5969, - "nodeType": "ParameterList", - "parameters": [], - "src": "12560:2:12" - }, - "returnParameters": { - "id": 5972, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5971, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 5979, - "src": "12586:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5970, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12586:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12585:6:12" - }, - "scope": 6624, - "src": "12540:105:12", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 6036, - "nodeType": "Block", - "src": "13164:859:12", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6004, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5993, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5988, - "name": "balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5554, - "src": "13514:8:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_$", - "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" - } - }, - "id": 5990, - "indexExpression": { - "argumentTypes": null, - "id": 5989, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5981, - "src": "13523:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13514:16:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - "id": 5991, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "13514:23:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 5992, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13541:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "13514:28:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 5994, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "13513:30:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6002, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5995, - "name": "balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5554, - "src": "13548:8:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_$", - "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" - } - }, - "id": 5997, - "indexExpression": { - "argumentTypes": null, - "id": 5996, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5981, - "src": "13557:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13548:16:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - "id": 5999, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 5998, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13565:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13548:19:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref" - } - }, - "id": 6000, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "fromBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 5540, - "src": "13548:29:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 6001, - "name": "_blockNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5983, - "src": "13580:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "13548:44:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 6003, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "13547:46:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "13513:80:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6034, - "nodeType": "Block", - "src": "13940:76:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6028, - "name": "balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5554, - "src": "13973:8:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_$", - "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" - } - }, - "id": 6030, - "indexExpression": { - "argumentTypes": null, - "id": 6029, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5981, - "src": "13982:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "13973:16:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - { - "argumentTypes": null, - "id": 6031, - "name": "_blockNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5983, - "src": "13991:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6027, - "name": "getValueAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6397, - "src": "13962:10:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256) view returns (uint256)" - } - }, - "id": 6032, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13962:42:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5987, - "id": 6033, - "nodeType": "Return", - "src": "13955:49:12" - } - ] - }, - "id": 6035, - "nodeType": "IfStatement", - "src": "13509:507:12", - "trueBody": { - "id": 6026, - "nodeType": "Block", - "src": "13595:339:12", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 6011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6006, - "name": "parentToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5545, - "src": "13622:11:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - ], - "id": 6005, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13614:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6007, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13614:20:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6009, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13646:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 6008, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "13638:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6010, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13638:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "13614:34:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6024, - "nodeType": "Block", - "src": "13769:77:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6022, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "13829:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "functionReturnParameters": 5987, - "id": 6023, - "nodeType": "Return", - "src": "13822:8:12" - } - ] - }, - "id": 6025, - "nodeType": "IfStatement", - "src": "13610:236:12", - "trueBody": { - "id": 6021, - "nodeType": "Block", - "src": "13650:113:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6014, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5981, - "src": "13700:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6016, - "name": "_blockNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5983, - "src": "13712:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6017, - "name": "parentSnapShotBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5547, - "src": "13726:19:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6015, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6510, - "src": "13708:3:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13708:38:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 6012, - "name": "parentToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5545, - "src": "13676:11:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 6013, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balanceOfAt", - "nodeType": "MemberAccess", - "referencedDeclaration": 6037, - "src": "13676:23:12", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (address,uint256) view external returns (uint256)" - } - }, - "id": 6019, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "13676:71:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5987, - "id": 6020, - "nodeType": "Return", - "src": "13669:78:12" - } - ] - } - } - ] - } - } - ] - }, - "documentation": "@dev Queries the balance of `_owner` at a specific `_blockNumber`\r\n@param _owner The address from which the balance will be retrieved\r\n@param _blockNumber The block number when the balance is queried\r\n@return The balance at `_blockNumber`\r", - "id": 6037, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "balanceOfAt", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5984, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5981, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 6037, - "src": "13055:14:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5980, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "13055:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5983, - "name": "_blockNumber", - "nodeType": "VariableDeclaration", - "scope": 6037, - "src": "13080:17:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5982, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13080:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "13044:60:12" - }, - "returnParameters": { - "id": 5987, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5986, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6037, - "src": "13153:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5985, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "13153:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "13152:6:12" - }, - "scope": 6624, - "src": "13024:999:12", - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 6085, - "nodeType": "Block", - "src": "14324:853:12", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6056, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6047, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6044, - "name": "totalSupplyHistory", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5563, - "src": "14698:18:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - "id": 6045, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "14698:25:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6046, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14727:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "14698:30:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 6048, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "14697:32:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6049, - "name": "totalSupplyHistory", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5563, - "src": "14734:18:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - "id": 6051, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6050, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14753:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "14734:21:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref" - } - }, - "id": 6052, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "fromBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 5540, - "src": "14734:31:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 6053, - "name": "_blockNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6039, - "src": "14768:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "14734:46:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 6055, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "14733:48:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "14697:84:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6083, - "nodeType": "Block", - "src": "15092:78:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6079, - "name": "totalSupplyHistory", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5563, - "src": "15125:18:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - { - "argumentTypes": null, - "id": 6080, - "name": "_blockNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6039, - "src": "15145:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6078, - "name": "getValueAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6397, - "src": "15114:10:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256) view returns (uint256)" - } - }, - "id": 6081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15114:44:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6043, - "id": 6082, - "nodeType": "Return", - "src": "15107:51:12" - } - ] - }, - "id": 6084, - "nodeType": "IfStatement", - "src": "14693:477:12", - "trueBody": { - "id": 6077, - "nodeType": "Block", - "src": "14783:303:12", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 6063, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6058, - "name": "parentToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5545, - "src": "14810:11:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - ], - "id": 6057, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "14802:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6059, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14802:20:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6061, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14834:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 6060, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "14826:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6062, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14826:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "14802:34:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6075, - "nodeType": "Block", - "src": "14951:43:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6073, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "14977:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "functionReturnParameters": 6043, - "id": 6074, - "nodeType": "Return", - "src": "14970:8:12" - } - ] - }, - "id": 6076, - "nodeType": "IfStatement", - "src": "14798:196:12", - "trueBody": { - "id": 6072, - "nodeType": "Block", - "src": "14838:107:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6067, - "name": "_blockNumber", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6039, - "src": "14894:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6068, - "name": "parentSnapShotBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5547, - "src": "14908:19:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6066, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6510, - "src": "14890:3:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256,uint256) pure returns (uint256)" - } - }, - "id": 6069, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14890:38:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 6064, - "name": "parentToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5545, - "src": "14864:11:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 6065, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "totalSupplyAt", - "nodeType": "MemberAccess", - "referencedDeclaration": 6086, - "src": "14864:25:12", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) view external returns (uint256)" - } - }, - "id": 6070, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "14864:65:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6043, - "id": 6071, - "nodeType": "Return", - "src": "14857:72:12" - } - ] - } - } - ] - } - } - ] - }, - "documentation": "@notice Total amount of tokens at a specific `_blockNumber`.\r\n@param _blockNumber The block number when the totalSupply is queried\r\n@return The total amount of tokens at `_blockNumber`\r", - "id": 6086, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "totalSupplyAt", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6040, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6039, - "name": "_blockNumber", - "nodeType": "VariableDeclaration", - "scope": 6086, - "src": "14279:17:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6038, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14279:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14278:19:12" - }, - "returnParameters": { - "id": 6043, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6042, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6086, - "src": "14318:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6041, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "14318:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "14317:6:12" - }, - "scope": 6624, - "src": "14256:921:12", - "stateMutability": "view", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 6147, - "nodeType": "Block", - "src": "16213:632:12", - "statements": [ - { - "assignments": [ - 6102 - ], - "declarations": [ - { - "constant": false, - "id": 6102, - "name": "snapshotBlock", - "nodeType": "VariableDeclaration", - "scope": 6147, - "src": "16224:18:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6101, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16224:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6104, - "initialValue": { - "argumentTypes": null, - "id": 6103, - "name": "_snapshotBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6094, - "src": "16245:14:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "16224:35:12" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6107, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6105, - "name": "snapshotBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6102, - "src": "16274:13:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6106, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "16291:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "16274:18:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6114, - "nodeType": "IfStatement", - "src": "16270:79:12", - "trueBody": { - "id": 6113, - "nodeType": "Block", - "src": "16294:55:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 6111, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 6108, - "name": "snapshotBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6102, - "src": "16309:13:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6109, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "16325:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 6110, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "16325:12:12", + "id": 1442, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1431, + "src": "1025:6:12", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" } }, - "src": "16309:28:12", + "src": "1017:14:12", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" } }, - "id": 6112, + "id": 1444, "nodeType": "ExpressionStatement", - "src": "16309:28:12" + "src": "1017:14:12" } ] } }, { - "assignments": [ - 6116 - ], - "declarations": [ - { - "constant": false, - "id": 6116, - "name": "cloneToken", - "nodeType": "VariableDeclaration", - "scope": 6147, - "src": "16359:22:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - }, - "typeName": { - "contractScope": null, - "id": 6115, - "name": "MiniMeToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "16359:11:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6128, - "initialValue": { + "expression": { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6120, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9485, - "src": "16436:4:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - ], - "id": 6119, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "16428:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16428:13:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6122, - "name": "snapshotBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6102, - "src": "16456:13:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6123, - "name": "_cloneTokenName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6088, - "src": "16484:15:12", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 6124, - "name": "_cloneDecimalUnits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6090, - "src": "16514:18:12", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { - "argumentTypes": null, - "id": 6125, - "name": "_cloneTokenSymbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6092, - "src": "16547:17:12", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 6126, - "name": "_transfersEnabled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6096, - "src": "16579:17:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "expression": { - "argumentTypes": null, - "id": 6117, - "name": "tokenFactory", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5567, - "src": "16384:12:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$6667", - "typeString": "contract MiniMeTokenFactory" - } - }, - "id": 6118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "createCloneToken", - "nodeType": "MemberAccess", - "referencedDeclaration": 6666, - "src": "16384:29:12", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_string_memory_ptr_$_t_uint8_$_t_string_memory_ptr_$_t_bool_$returns$_t_contract$_MiniMeToken_$6624_$", - "typeString": "function (address,uint256,string memory,uint8,string memory,bool) external returns (contract MiniMeToken)" - } - }, - "id": 6127, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, - "kind": "functionCall", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16384:227:12", + "leftHandSide": { + "argumentTypes": null, + "id": 1447, + "name": "snt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1417, + "src": "1051:3:12", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$5617", + "typeString": "contract MiniMeToken" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "id": 1448, + "name": "_snt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1433, + "src": "1057:4:12", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$5617", + "typeString": "contract MiniMeToken" + } + }, + "src": "1051:10:12", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "nodeType": "VariableDeclarationStatement", - "src": "16359:252:12" + "id": 1450, + "nodeType": "ExpressionStatement", + "src": "1051:10:12" + } + ] + }, + "documentation": "@notice Constructor\n@param _owner Authority address\n@param _snt SNT token", + "id": 1452, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1434, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1431, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 1452, + "src": "918:22:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "typeName": { + "id": 1430, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "918:15:12", + "stateMutability": "payable", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "value": null, + "visibility": "internal" }, + { + "constant": false, + "id": 1433, + "name": "_snt", + "nodeType": "VariableDeclaration", + "scope": 1452, + "src": "942:16:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$5617", + "typeString": "contract MiniMeToken" + }, + "typeName": { + "contractScope": null, + "id": 1432, + "name": "MiniMeToken", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 5617, + "src": "942:11:12", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$5617", + "typeString": "contract MiniMeToken" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "917:42:12" + }, + "returnParameters": { + "id": 1435, + "nodeType": "ParameterList", + "parameters": [], + "src": "969:0:12" + }, + "scope": 1578, + "src": "906:162:12", + "stateMutability": "nonpayable", + "superFunction": null, + "visibility": "internal" + }, + { + "body": { + "id": 1469, + "nodeType": "Block", + "src": "1388:101:12", + "statements": [ { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6132, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "16652:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 6133, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "16652:10:12", + "id": 1462, + "name": "_newController", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1454, + "src": "1419:14:12", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -36615,32 +18463,32 @@ ], "expression": { "argumentTypes": null, - "id": 6129, - "name": "cloneToken", + "id": 1459, + "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6116, - "src": "16624:10:12", + "referencedDeclaration": 1417, + "src": "1398:3:12", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 6131, + "id": 1461, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "changeController", "nodeType": "MemberAccess", - "referencedDeclaration": 6927, - "src": "16624:27:12", + "referencedDeclaration": 36, + "src": "1398:20:12", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_payable_$returns$__$", "typeString": "function (address payable) external" } }, - "id": 6134, + "id": 1463, "isConstant": false, "isLValue": false, "isPure": false, @@ -36648,15 +18496,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16624:39:12", + "src": "1398:36:12", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 6135, + "id": 1464, "nodeType": "ExpressionStatement", - "src": "16624:39:12" + "src": "1398:36:12" }, { "eventCall": { @@ -36664,67 +18512,16 @@ "arguments": [ { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6138, - "name": "cloneToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6116, - "src": "16773:10:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - ], - "id": 6137, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "16765:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6139, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16765:19:12", + "id": 1466, + "name": "_newController", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1454, + "src": "1467:14:12", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } - }, - { - "argumentTypes": null, - "id": 6140, - "name": "snapshotBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6102, - "src": "16786:13:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } } ], "expression": { @@ -36732,24 +18529,20 @@ { "typeIdentifier": "t_address_payable", "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" } ], - "id": 6136, - "name": "NewCloneToken", + "id": 1465, + "name": "ControllerChanged", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6615, - "src": "16751:13:12", + "referencedDeclaration": 1429, + "src": "1449:17:12", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" } }, - "id": 6141, + "id": 1467, "isConstant": false, "isLValue": false, "isPure": false, @@ -36757,4678 +18550,97 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16751:49:12", + "src": "1449:33:12", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 6142, + "id": 1468, "nodeType": "EmitStatement", - "src": "16746:54:12" + "src": "1444:38:12" + } + ] + }, + "documentation": "@notice The owner of this contract can change the controller of the SNT token\n Please, be sure that the owner is a trusted agent or 0x0 address.\n @param _newController The address of the new controller", + "id": 1470, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": null, + "id": 1457, + "modifierName": { + "argumentTypes": null, + "id": 1456, + "name": "onlyOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 51, + "src": "1378:9:12", + "typeDescriptions": { + "typeIdentifier": "t_modifier$__$", + "typeString": "modifier ()" + } }, + "nodeType": "ModifierInvocation", + "src": "1378:9:12" + } + ], + "name": "changeController", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1455, + "nodeType": "ParameterList", + "parameters": [ { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6144, - "name": "cloneToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6116, - "src": "16826:10:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - ], - "id": 6143, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "16818:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6145, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16818:19:12", + "constant": false, + "id": 1454, + "name": "_newController", + "nodeType": "VariableDeclaration", + "scope": 1470, + "src": "1338:31:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "typeName": { + "id": 1453, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1338:16:12", + "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 6100, - "id": 6146, - "nodeType": "Return", - "src": "16811:26:12" - } - ] - }, - "documentation": "@notice Creates a new clone token with the initial distribution being\r\n this token at `snapshotBlock`\r\n@param _cloneTokenName Name of the clone token\r\n@param _cloneDecimalUnits Number of decimals of the smallest unit\r\n@param _cloneTokenSymbol Symbol of the clone token\r\n@param _snapshotBlock Block when the distribution of the parent token is\r\n copied to set the initial distribution of the new clone token;\r\n if the block is zero than the actual block, the current block is used\r\n@param _transfersEnabled True if transfers are allowed in the clone\r\n@return The address of the new MiniMeToken Contract\r", - "id": 6148, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "createCloneToken", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6097, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6088, - "name": "_cloneTokenName", - "nodeType": "VariableDeclaration", - "scope": 6148, - "src": "15973:29:12", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6087, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "15973:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6090, - "name": "_cloneDecimalUnits", - "nodeType": "VariableDeclaration", - "scope": 6148, - "src": "16013:24:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 6089, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "16013:5:12", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6092, - "name": "_cloneTokenSymbol", - "nodeType": "VariableDeclaration", - "scope": 6148, - "src": "16048:31:12", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6091, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "16048:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6094, - "name": "_snapshotBlock", - "nodeType": "VariableDeclaration", - "scope": 6148, - "src": "16090:19:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6093, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "16090:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6096, - "name": "_transfersEnabled", - "nodeType": "VariableDeclaration", - "scope": 6148, - "src": "16120:22:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6095, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "16120:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, "value": null, "visibility": "internal" } ], - "src": "15962:191:12" + "src": "1337:33:12" }, "returnParameters": { - "id": 6100, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6099, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6148, - "src": "16195:7:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6098, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "16195:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "16194:9:12" - }, - "scope": 6624, - "src": "15937:908:12", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 6218, - "nodeType": "Block", - "src": "17346:571:12", - "statements": [ - { - "assignments": [ - 6160 - ], - "declarations": [ - { - "constant": false, - "id": 6160, - "name": "curTotalSupply", - "nodeType": "VariableDeclaration", - "scope": 6218, - "src": "17357:19:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6159, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "17357:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6165, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6162, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "17393:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 6163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "17393:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6161, - "name": "totalSupplyAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6086, - "src": "17379:13:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) view returns (uint256)" - } - }, - "id": 6164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17379:27:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17357:49:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6169, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6167, - "name": "curTotalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6160, - "src": "17425:14:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 6168, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6152, - "src": "17442:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17425:24:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 6170, - "name": "curTotalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6160, - "src": "17453:14:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17425:42:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "546f74616c206f766572666c6f77", - "id": 6172, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17469:16:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_7d34061b9f571cfeeca885007524b9e4040dbcd201a2a1c435433336fe015c77", - "typeString": "literal_string \"Total overflow\"" - }, - "value": "Total overflow" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_7d34061b9f571cfeeca885007524b9e4040dbcd201a2a1c435433336fe015c77", - "typeString": "literal_string \"Total overflow\"" - } - ], - "id": 6166, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "17417:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6173, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17417:69:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6174, - "nodeType": "ExpressionStatement", - "src": "17417:69:12" - }, - { - "assignments": [ - 6176 - ], - "declarations": [ - { - "constant": false, - "id": 6176, - "name": "previousBalanceTo", - "nodeType": "VariableDeclaration", - "scope": 6218, - "src": "17519:22:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6175, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "17519:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6182, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6178, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6150, - "src": "17556:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6179, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "17564:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 6180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "17564:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6177, - "name": "balanceOfAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6037, - "src": "17544:11:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (address,uint256) view returns (uint256)" - } - }, - "id": 6181, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17544:33:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "17519:58:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6188, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6184, - "name": "previousBalanceTo", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6176, - "src": "17596:17:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 6185, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6152, - "src": "17616:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17596:27:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 6187, - "name": "previousBalanceTo", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6176, - "src": "17627:17:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17596:48:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "42616c616e6365206f766572666c6f77", - "id": 6189, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17646:18:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_3ff36095f6b077e3381ad9b42fa926720d9d1a053c514940c75d3e94fc7de897", - "typeString": "literal_string \"Balance overflow\"" - }, - "value": "Balance overflow" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_3ff36095f6b077e3381ad9b42fa926720d9d1a053c514940c75d3e94fc7de897", - "typeString": "literal_string \"Balance overflow\"" - } - ], - "id": 6183, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "17588:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6190, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17588:77:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6191, - "nodeType": "ExpressionStatement", - "src": "17588:77:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6193, - "name": "totalSupplyHistory", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5563, - "src": "17715:18:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6194, - "name": "curTotalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6160, - "src": "17735:14:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 6195, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6152, - "src": "17752:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17735:24:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6192, - "name": "updateValueAtNow", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6468, - "src": "17698:16:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" - } - }, - "id": 6197, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17698:62:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6198, - "nodeType": "ExpressionStatement", - "src": "17698:62:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6200, - "name": "balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5554, - "src": "17788:8:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_$", - "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" - } - }, - "id": 6202, - "indexExpression": { - "argumentTypes": null, - "id": 6201, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6150, - "src": "17797:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "17788:16:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6205, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6203, - "name": "previousBalanceTo", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6176, - "src": "17806:17:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 6204, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6152, - "src": "17826:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "17806:27:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6199, - "name": "updateValueAtNow", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6468, - "src": "17771:16:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" - } - }, - "id": 6206, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17771:63:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6207, - "nodeType": "ExpressionStatement", - "src": "17771:63:12" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6210, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17867:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 6209, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "17859:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6211, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17859:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6212, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6150, - "src": "17871:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6213, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6152, - "src": "17879:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6208, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6609, - "src": "17850:8:12", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 6214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "17850:37:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6215, - "nodeType": "EmitStatement", - "src": "17845:42:12" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 6216, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "17905:4:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 6158, - "id": 6217, - "nodeType": "Return", - "src": "17898:11:12" - } - ] - }, - "documentation": "@notice Generates `_amount` tokens that are assigned to `_owner`\r\n@param _owner The address that will be assigned the new tokens\r\n@param _amount The quantity of tokens generated\r\n@return True if the tokens are generated correctly\r", - "id": 6219, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 6155, - "modifierName": { - "argumentTypes": null, - "id": 6154, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "17302:14:12", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "17302:14:12" - } - ], - "name": "generateTokens", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6153, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6150, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 6219, - "src": "17232:14:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6149, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "17232:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6152, - "name": "_amount", - "nodeType": "VariableDeclaration", - "scope": 6219, - "src": "17257:12:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6151, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "17257:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "17221:55:12" - }, - "returnParameters": { - "id": 6158, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6157, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6219, - "src": "17335:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6156, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "17335:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "17334:6:12" - }, - "scope": 6624, - "src": "17198:719:12", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 6285, - "nodeType": "Block", - "src": "18313:499:12", - "statements": [ - { - "assignments": [ - 6231 - ], - "declarations": [ - { - "constant": false, - "id": 6231, - "name": "curTotalSupply", - "nodeType": "VariableDeclaration", - "scope": 6285, - "src": "18324:19:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6230, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18324:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6236, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6233, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "18360:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 6234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "18360:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6232, - "name": "totalSupplyAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6086, - "src": "18346:13:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) view returns (uint256)" - } - }, - "id": 6235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18346:27:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "18324:49:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6238, - "name": "curTotalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6231, - "src": "18392:14:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 6239, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6223, - "src": "18410:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18392:25:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4e6f20656e6f75676820737570706c79", - "id": 6241, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18419:18:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c25fb98db6bcd9a07964cd8723ae1d30e0a3be07aaaa8765f98b8c6af6e1635d", - "typeString": "literal_string \"No enough supply\"" - }, - "value": "No enough supply" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_c25fb98db6bcd9a07964cd8723ae1d30e0a3be07aaaa8765f98b8c6af6e1635d", - "typeString": "literal_string \"No enough supply\"" - } - ], - "id": 6237, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "18384:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6242, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18384:54:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6243, - "nodeType": "ExpressionStatement", - "src": "18384:54:12" - }, - { - "assignments": [ - 6245 - ], - "declarations": [ - { - "constant": false, - "id": 6245, - "name": "previousBalanceFrom", - "nodeType": "VariableDeclaration", - "scope": 6285, - "src": "18449:24:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6244, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18449:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6251, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6247, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6221, - "src": "18488:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6248, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "18496:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 6249, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "18496:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6246, - "name": "balanceOfAt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6037, - "src": "18476:11:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (address,uint256) view returns (uint256)" - } - }, - "id": 6250, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18476:33:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "18449:60:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6255, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6253, - "name": "previousBalanceFrom", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6245, - "src": "18528:19:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 6254, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6223, - "src": "18551:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18528:30:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4e6f20656e6f7567682062616c616e6365", - "id": 6256, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18560:19:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_91acb233573a88119467ef7e7a46a37a4c40e060bfe06ab39afcf8e7da0d418e", - "typeString": "literal_string \"No enough balance\"" - }, - "value": "No enough balance" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_91acb233573a88119467ef7e7a46a37a4c40e060bfe06ab39afcf8e7da0d418e", - "typeString": "literal_string \"No enough balance\"" - } - ], - "id": 6252, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "18520:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18520:60:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6258, - "nodeType": "ExpressionStatement", - "src": "18520:60:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6260, - "name": "totalSupplyHistory", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5563, - "src": "18608:18:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6263, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6261, - "name": "curTotalSupply", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6231, - "src": "18628:14:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 6262, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6223, - "src": "18645:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18628:24:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6259, - "name": "updateValueAtNow", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6468, - "src": "18591:16:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" - } - }, - "id": 6264, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18591:62:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6265, - "nodeType": "ExpressionStatement", - "src": "18591:62:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6267, - "name": "balances", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5554, - "src": "18681:8:12", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_$", - "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" - } - }, - "id": 6269, - "indexExpression": { - "argumentTypes": null, - "id": 6268, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6221, - "src": "18690:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "18681:16:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - } - }, - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6272, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6270, - "name": "previousBalanceFrom", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6245, - "src": "18699:19:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 6271, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6223, - "src": "18721:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "18699:29:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6266, - "name": "updateValueAtNow", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6468, - "src": "18664:16:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" - } - }, - "id": 6273, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18664:65:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6274, - "nodeType": "ExpressionStatement", - "src": "18664:65:12" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6276, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6221, - "src": "18754:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 6278, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18770:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 6277, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "18762:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6279, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18762:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 6280, - "name": "_amount", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6223, - "src": "18774:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6275, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6609, - "src": "18745:8:12", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 6281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "18745:37:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6282, - "nodeType": "EmitStatement", - "src": "18740:42:12" - }, - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 6283, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "18800:4:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 6229, - "id": 6284, - "nodeType": "Return", - "src": "18793:11:12" - } - ] - }, - "documentation": "@notice Burns `_amount` tokens from `_owner`\r\n@param _owner The address that will lose the tokens\r\n@param _amount The quantity of tokens to burn\r\n@return True if the tokens are burned correctly\r", - "id": 6286, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 6226, - "modifierName": { - "argumentTypes": null, - "id": 6225, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "18269:14:12", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "18269:14:12" - } - ], - "name": "destroyTokens", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6221, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 6286, - "src": "18199:14:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6220, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "18199:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6223, - "name": "_amount", - "nodeType": "VariableDeclaration", - "scope": 6286, - "src": "18224:12:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6222, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "18224:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "18188:55:12" - }, - "returnParameters": { - "id": 6229, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6228, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6286, - "src": "18302:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6227, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "18302:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "18301:6:12" - }, - "scope": 6624, - "src": "18166:646:12", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 6297, - "nodeType": "Block", - "src": "19129:55:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 6295, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 6293, - "name": "transfersEnabled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5565, - "src": "19140:16:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6294, - "name": "_transfersEnabled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6288, - "src": "19159:17:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "19140:36:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6296, - "nodeType": "ExpressionStatement", - "src": "19140:36:12" - } - ] - }, - "documentation": "@notice Enables token holders to transfer their tokens freely if true\r\n@param _transfersEnabled True if transfers are allowed in the clone\r", - "id": 6298, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 6291, - "modifierName": { - "argumentTypes": null, - "id": 6290, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "19114:14:12", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "19114:14:12" - } - ], - "name": "enableTransfers", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6289, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6288, - "name": "_transfersEnabled", - "nodeType": "VariableDeclaration", - "scope": 6298, - "src": "19083:22:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6287, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "19083:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "19082:24:12" - }, - "returnParameters": { - "id": 6292, + "id": 1458, "nodeType": "ParameterList", "parameters": [], - "src": "19129:0:12" + "src": "1388:0:12" }, - "scope": 6624, - "src": "19058:126:12", + "scope": 1578, + "src": "1312:177:12", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 6396, + "id": 1538, "nodeType": "Block", - "src": "19735:746:12", + "src": "1814:427:12", "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6308, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6301, - "src": "19750:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6309, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "19750:18:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6310, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19772:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "19750:23:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6315, - "nodeType": "IfStatement", - "src": "19746:64:12", - "trueBody": { - "id": 6314, - "nodeType": "Block", - "src": "19775:35:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6312, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19797:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "functionReturnParameters": 6307, - "id": 6313, - "nodeType": "Return", - "src": "19790:8:12" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6316, - "name": "_block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6303, - "src": "19868:6:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6317, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6301, - "src": "19878:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6322, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6321, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6318, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6301, - "src": "19890:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6319, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "19890:18:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 6320, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19909:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "19890:20:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19878:33:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref" - } - }, - "id": 6323, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "fromBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 5540, - "src": "19878:43:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "src": "19868:53:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6334, - "nodeType": "IfStatement", - "src": "19864:132:12", - "trueBody": { - "id": 6333, - "nodeType": "Block", - "src": "19923:73:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6325, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6301, - "src": "19945:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6330, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6329, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6326, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6301, - "src": "19957:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6327, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "19957:18:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 6328, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "19976:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "19957:20:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "19945:33:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref" - } - }, - "id": 6331, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 5542, - "src": "19945:39:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "functionReturnParameters": 6307, - "id": 6332, - "nodeType": "Return", - "src": "19938:46:12" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6340, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6335, - "name": "_block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6303, - "src": "20010:6:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6336, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6301, - "src": "20019:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6338, - "indexExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6337, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20031:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20019:14:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref" - } - }, - "id": 6339, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "fromBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 5540, - "src": "20019:24:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "src": "20010:33:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 6344, - "nodeType": "IfStatement", - "src": "20006:74:12", - "trueBody": { - "id": 6343, - "nodeType": "Block", - "src": "20045:35:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6341, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20067:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "functionReturnParameters": 6307, - "id": 6342, - "nodeType": "Return", - "src": "20060:8:12" - } - ] - } - }, - { - "assignments": [ - 6346 - ], - "declarations": [ - { - "constant": false, - "id": 6346, - "name": "min", - "nodeType": "VariableDeclaration", - "scope": 6396, - "src": "20144:8:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6345, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20144:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6348, - "initialValue": { - "argumentTypes": null, - "hexValue": "30", - "id": 6347, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20155:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "nodeType": "VariableDeclarationStatement", - "src": "20144:12:12" - }, - { - "assignments": [ - 6350 - ], - "declarations": [ - { - "constant": false, - "id": 6350, - "name": "max", - "nodeType": "VariableDeclaration", - "scope": 6396, - "src": "20167:8:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6349, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20167:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6355, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6354, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6351, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6301, - "src": "20178:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6352, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "20178:18:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 6353, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20197:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "20178:20:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "20167:31:12" - }, - { - "body": { - "id": 6389, - "nodeType": "Block", - "src": "20227:207:12", - "statements": [ - { - "assignments": [ - 6360 - ], - "declarations": [ - { - "constant": false, - "id": 6360, - "name": "mid", - "nodeType": "VariableDeclaration", - "scope": 6389, - "src": "20242:8:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6359, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20242:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6369, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6365, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6363, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6361, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6350, - "src": "20254:3:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 6362, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "20260:3:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20254:9:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 6364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20266:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "20254:13:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 6366, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "20253:15:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "hexValue": "32", - "id": 6367, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20271:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2_by_1", - "typeString": "int_const 2" - }, - "value": "2" - }, - "src": "20253:19:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "20242:30:12" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6375, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6370, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6301, - "src": "20291:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6372, - "indexExpression": { - "argumentTypes": null, - "id": 6371, - "name": "mid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6360, - "src": "20303:3:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20291:16:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref" - } - }, - "id": 6373, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "fromBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 5540, - "src": "20291:26:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 6374, - "name": "_block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6303, - "src": "20319:6:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20291:34:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6387, - "nodeType": "Block", - "src": "20377:46:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 6385, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 6381, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6350, - "src": "20396:3:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6384, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6382, - "name": "mid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6360, - "src": "20402:3:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 6383, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20406:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "20402:5:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20396:11:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6386, - "nodeType": "ExpressionStatement", - "src": "20396:11:12" - } - ] - }, - "id": 6388, - "nodeType": "IfStatement", - "src": "20287:136:12", - "trueBody": { - "id": 6380, - "nodeType": "Block", - "src": "20327:44:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 6378, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 6376, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "20346:3:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 6377, - "name": "mid", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6360, - "src": "20352:3:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20346:9:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6379, - "nodeType": "ExpressionStatement", - "src": "20346:9:12" - } - ] - } - } - ] - }, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6358, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6356, - "name": "max", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6350, - "src": "20216:3:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "id": 6357, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "20222:3:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20216:9:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 6390, - "nodeType": "WhileStatement", - "src": "20209:225:12" - }, - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6391, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6301, - "src": "20451:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6393, - "indexExpression": { - "argumentTypes": null, - "id": 6392, - "name": "min", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6346, - "src": "20463:3:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20451:16:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref" - } - }, - "id": 6394, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 5542, - "src": "20451:22:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "functionReturnParameters": 6307, - "id": 6395, - "nodeType": "Return", - "src": "20444:29:12" - } - ] - }, - "documentation": "@dev `getValueAt` retrieves the number of tokens at a given block number\r\n@param checkpoints The history of values being queried\r\n@param _block The block number to retrieve the value at\r\n@return The number of tokens being queried\r", - "id": 6397, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getValueAt", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6304, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6301, - "name": "checkpoints", - "nodeType": "VariableDeclaration", - "scope": 6397, - "src": "19612:32:12", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint[]" - }, - "typeName": { - "baseType": { - "contractScope": null, - "id": 6299, - "name": "Checkpoint", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5543, - "src": "19612:10:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint" - } - }, - "id": 6300, - "length": null, - "nodeType": "ArrayTypeName", - "src": "19612:12:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6303, - "name": "_block", - "nodeType": "VariableDeclaration", - "scope": 6397, - "src": "19655:11:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6302, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19655:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "19601:72:12" - }, - "returnParameters": { - "id": 6307, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6306, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6397, - "src": "19724:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6305, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "19724:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "19723:6:12" - }, - "scope": 6624, - "src": "19582:899:12", - "stateMutability": "view", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 6467, - "nodeType": "Block", - "src": "20801:476:12", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 6421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6405, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "20817:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6406, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "20817:18:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6407, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20839:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "20817:23:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 6409, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "20816:25:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "components": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6419, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6410, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "20846:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6415, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6414, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6411, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "20858:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6412, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "20858:18:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 6413, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "20878:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "20858:21:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20846:34:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref" - } - }, - "id": 6416, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "fromBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 5540, - "src": "20846:44:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6417, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "20893:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 6418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "20893:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "20846:59:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "id": 6420, - "isConstant": false, - "isInlineArray": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "TupleExpression", - "src": "20845:61:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "20816:90:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": { - "id": 6465, - "nodeType": "Block", - "src": "21123:147:12", - "statements": [ - { - "assignments": [ - 6449 - ], - "declarations": [ - { - "constant": false, - "id": 6449, - "name": "oldCheckPoint", - "nodeType": "VariableDeclaration", - "scope": 6465, - "src": "21138:32:12", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint" - }, - "typeName": { - "contractScope": null, - "id": 6448, - "name": "Checkpoint", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5543, - "src": "21138:10:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6456, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6450, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "21173:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6455, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6451, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "21185:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6452, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21185:18:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 6453, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21204:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "21185:20:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "21173:33:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "21138:68:12" - }, - { - "expression": { - "argumentTypes": null, - "id": 6463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6457, - "name": "oldCheckPoint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6449, - "src": "21221:13:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage pointer" - } - }, - "id": 6459, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 5542, - "src": "21221:19:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6461, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6402, - "src": "21251:6:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6460, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "21243:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint128_$", - "typeString": "type(uint128)" - }, - "typeName": "uint128" - }, - "id": 6462, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21243:15:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "src": "21221:37:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "id": 6464, - "nodeType": "ExpressionStatement", - "src": "21221:37:12" - } - ] - }, - "id": 6466, - "nodeType": "IfStatement", - "src": "20812:458:12", - "trueBody": { - "id": 6447, - "nodeType": "Block", - "src": "20908:209:12", - "statements": [ - { - "assignments": [ - 6423 - ], - "declarations": [ - { - "constant": false, - "id": 6423, - "name": "newCheckPoint", - "nodeType": "VariableDeclaration", - "scope": 6447, - "src": "20923:32:12", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint" - }, - "typeName": { - "contractScope": null, - "id": 6422, - "name": "Checkpoint", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5543, - "src": "20923:10:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6429, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 6424, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "20958:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6428, - "indexExpression": { - "argumentTypes": null, - "id": 6427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "++", - "prefix": false, - "src": "20970:20:12", - "subExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6425, - "name": "checkpoints", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6400, - "src": "20970:11:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" - } - }, - "id": 6426, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "20970:18:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "20958:33:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage", - "typeString": "struct MiniMeToken.Checkpoint storage ref" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "20923:68:12" - }, - { - "expression": { - "argumentTypes": null, - "id": 6437, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6430, - "name": "newCheckPoint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6423, - "src": "21006:13:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage pointer" - } - }, - "id": 6432, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "fromBlock", - "nodeType": "MemberAccess", - "referencedDeclaration": 5540, - "src": "21006:23:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6434, - "name": "block", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "21040:5:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_block", - "typeString": "block" - } - }, - "id": 6435, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "number", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "21040:12:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "21032:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint128_$", - "typeString": "type(uint128)" - }, - "typeName": "uint128" - }, - "id": 6436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21032:21:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "src": "21006:47:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "id": 6438, - "nodeType": "ExpressionStatement", - "src": "21006:47:12" - }, - { - "expression": { - "argumentTypes": null, - "id": 6445, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6439, - "name": "newCheckPoint", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6423, - "src": "21068:13:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint storage pointer" - } - }, - "id": 6441, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": 5542, - "src": "21068:19:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6443, - "name": "_value", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6402, - "src": "21098:6:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6442, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "21090:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint128_$", - "typeString": "type(uint128)" - }, - "typeName": "uint128" - }, - "id": 6444, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "21090:15:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "src": "21068:37:12", - "typeDescriptions": { - "typeIdentifier": "t_uint128", - "typeString": "uint128" - } - }, - "id": 6446, - "nodeType": "ExpressionStatement", - "src": "21068:37:12" - } - ] - } - } - ] - }, - "documentation": "@dev `updateValueAtNow` used to update the `balances` map and the\r\n `totalSupplyHistory`\r\n@param checkpoints The history of data being updated\r\n@param _value The new number of tokens\r", - "id": 6468, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "updateValueAtNow", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6403, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6400, - "name": "checkpoints", - "nodeType": "VariableDeclaration", - "scope": 6468, - "src": "20745:32:12", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint[]" - }, - "typeName": { - "baseType": { - "contractScope": null, - "id": 6398, - "name": "Checkpoint", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5543, - "src": "20745:10:12", - "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$5543_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint" - } - }, - "id": 6399, - "length": null, - "nodeType": "ArrayTypeName", - "src": "20745:12:12", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$5543_storage_$dyn_storage_ptr", - "typeString": "struct MiniMeToken.Checkpoint[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6402, - "name": "_value", - "nodeType": "VariableDeclaration", - "scope": 6468, - "src": "20779:11:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6401, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "20779:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "20744:47:12" - }, - "returnParameters": { - "id": 6404, - "nodeType": "ParameterList", - "parameters": [], - "src": "20801:0:12" - }, - "scope": 6624, - "src": "20719:558:12", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 6492, - "nodeType": "Block", - "src": "21531:196:12", - "statements": [ - { - "assignments": [ - 6476 - ], - "declarations": [ - { - "constant": false, - "id": 6476, - "name": "size", - "nodeType": "VariableDeclaration", - "scope": 6492, - "src": "21542:9:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6475, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21542:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6477, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "21542:9:12" - }, { "condition": { "argumentTypes": null, @@ -41436,22 +18648,55 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 6482, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 6478, - "name": "_addr", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6470, - "src": "21566:5:12", + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "argumentTypes": null, + "id": 1477, + "name": "snt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1417, + "src": "1828:3:12", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$5617", + "typeString": "contract MiniMeToken" + } + }, + "id": 1478, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "controller", + "nodeType": "MemberAccess", + "referencedDeclaration": 15, + "src": "1828:14:12", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_address_payable_$", + "typeString": "function () view external returns (address payable)" + } + }, + "id": 1479, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1828:16:12", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" } }, "nodeType": "BinaryOperation", @@ -41461,750 +18706,120 @@ "arguments": [ { "argumentTypes": null, - "hexValue": "30", - "id": 6480, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21583:1:12", - "subdenomination": null, + "id": 1481, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5755, + "src": "1856:4:12", "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" + "typeIdentifier": "t_contract$_SNTController_$1578", + "typeString": "contract SNTController" + } } ], "expression": { "argumentTypes": [ { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" + "typeIdentifier": "t_contract$_SNTController_$1578", + "typeString": "contract SNTController" } ], - "id": 6479, + "id": 1480, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "21575:7:12", + "src": "1848:7:12", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 6481, + "id": 1482, "isConstant": false, "isLValue": false, - "isPure": true, + "isPure": false, "kind": "typeConversion", "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21575:10:12", + "src": "1848:13:12", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "src": "21566:19:12", + "src": "1828:33:12", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 6486, + "id": 1491, "nodeType": "IfStatement", - "src": "21562:63:12", + "src": "1824:87:12", "trueBody": { - "id": 6485, + "id": 1490, "nodeType": "Block", - "src": "21586:39:12", + "src": "1863:48:12", "statements": [ { "expression": { "argumentTypes": null, - "hexValue": "66616c7365", - "id": 6483, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21608:5:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 6474, - "id": 6484, - "nodeType": "Return", - "src": "21601:12:12" - } - ] - } - }, - { - "externalReferences": [ - { - "size": { - "declaration": 6476, - "isOffset": false, - "isSlot": false, - "src": "21659:4:12", - "valueSize": 1 - } - }, - { - "_addr": { - "declaration": 6470, - "isOffset": false, - "isSlot": false, - "src": "21679:5:12", - "valueSize": 1 - } - } - ], - "id": 6487, - "nodeType": "InlineAssembly", - "operations": "{\n size := extcodesize(_addr)\n}", - "src": "21635:77:12" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6490, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6488, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6476, - "src": "21713:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 6489, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "21718:1:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "21713:6:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 6474, - "id": 6491, - "nodeType": "Return", - "src": "21706:13:12" - } - ] - }, - "documentation": "@dev Internal function to determine if an address is a contract\r\n@param _addr The address being queried\r\n@return True if `_addr` is a contract\r", - "id": 6493, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isContract", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6471, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6470, - "name": "_addr", - "nodeType": "VariableDeclaration", - "scope": 6493, - "src": "21488:13:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6469, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "21488:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21487:15:12" - }, - "returnParameters": { - "id": 6474, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6473, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6493, - "src": "21525:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6472, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "21525:4:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21524:6:12" - }, - "scope": 6624, - "src": "21468:259:12", - "stateMutability": "view", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 6509, - "nodeType": "Block", - "src": "21877:39:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 6504, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 6502, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6495, - "src": "21895:1:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 6503, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6497, - "src": "21899:1:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "21895:5:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 6506, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6497, - "src": "21907:1:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6507, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "21895:13:12", - "trueExpression": { - "argumentTypes": null, - "id": 6505, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6495, - "src": "21903:1:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 6501, - "id": 6508, - "nodeType": "Return", - "src": "21888:20:12" - } - ] - }, - "documentation": "@dev Helper function to return a min betwen the two uints\r", - "id": 6510, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "min", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6498, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6495, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 6510, - "src": "21832:6:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6494, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21832:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6497, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 6510, - "src": "21840:6:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6496, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21840:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21831:16:12" - }, - "returnParameters": { - "id": 6501, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6500, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6510, - "src": "21871:4:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6499, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "21871:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "21870:6:12" - }, - "scope": 6624, - "src": "21819:97:12", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 6535, - "nodeType": "Block", - "src": "22209:178:12", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6515, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "22239:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 6514, - "name": "isContract", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6493, - "src": "22228:10:12", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 6516, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22228:22:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4465706f73697420756e616c6c6f776564", - "id": 6517, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22252:19:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6e34636caa00f82432ef286bb7055fefb539fe3abe7fd9a9b437abe0e8b874ba", - "typeString": "literal_string \"Deposit unallowed\"" - }, - "value": "Deposit unallowed" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6e34636caa00f82432ef286bb7055fefb539fe3abe7fd9a9b437abe0e8b874ba", - "typeString": "literal_string \"Deposit unallowed\"" - } - ], - "id": 6513, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "22220:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6518, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22220:52:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6519, - "nodeType": "ExpressionStatement", - "src": "22220:52:12" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6529, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "22349:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 6530, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "22349:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], "arguments": [ { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6526, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "22338:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 6527, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "value", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "22338:9:12", + "id": 1487, + "name": "_token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1472, + "src": "1893:6:12", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } } ], "expression": { "argumentTypes": [ { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } ], "expression": { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6522, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "22307:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 6521, - "name": "TokenController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6699, - "src": "22291:15:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_TokenController_$6699_$", - "typeString": "type(contract TokenController)" - } - }, - "id": 6523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22291:27:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_TokenController_$6699", - "typeString": "contract TokenController" - } - }, - "id": 6524, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "proxyPayment", - "nodeType": "MemberAccess", - "referencedDeclaration": 6676, - "src": "22291:40:12", + "id": 1484, + "name": "snt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1417, + "src": "1877:3:12", "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$returns$_t_bool_$", - "typeString": "function (address) payable external returns (bool)" + "typeIdentifier": "t_contract$_MiniMeToken_$5617", + "typeString": "contract MiniMeToken" } }, - "id": 6525, + "id": 1486, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberName": "value", + "memberName": "claimTokens", "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "22291:46:12", + "referencedDeclaration": 5586, + "src": "1877:15:12", "typeDescriptions": { - "typeIdentifier": "t_function_setvalue_nonpayable$_t_uint256_$returns$_t_function_external_payable$_t_address_$returns$_t_bool_$value_$", - "typeString": "function (uint256) returns (function (address) payable external returns (bool))" + "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", + "typeString": "function (address) external" } }, - "id": 6528, + "id": 1488, "isConstant": false, "isLValue": false, "isPure": false, @@ -42212,121 +18827,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22291:57:12", + "src": "1877:23:12", "typeDescriptions": { - "typeIdentifier": "t_function_external_payable$_t_address_$returns$_t_bool_$value", - "typeString": "function (address) payable external returns (bool)" + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" } }, - "id": 6531, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22291:69:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4465706f7369742064656e696564", - "id": 6532, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "22362:16:12", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b8cf257ed67c3fa852b866ac17f88c636a144bbf08633db27e7e2fe5cf677fa7", - "typeString": "literal_string \"Deposit denied\"" - }, - "value": "Deposit denied" + "id": 1489, + "nodeType": "ExpressionStatement", + "src": "1877:23:12" } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b8cf257ed67c3fa852b866ac17f88c636a144bbf08633db27e7e2fe5cf677fa7", - "typeString": "literal_string \"Deposit denied\"" - } - ], - "id": 6520, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "22283:7:12", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 6533, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22283:96:12", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 6534, - "nodeType": "ExpressionStatement", - "src": "22283:96:12" - } - ] - }, - "documentation": "@notice The fallback function: If the contract's controller has not been\r\n set to 0, then the `proxyPayment` method is called which relays the\r\n ether and creates tokens as described in the token controller contract\r", - "id": 6536, - "implemented": true, - "kind": "fallback", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6511, - "nodeType": "ParameterList", - "parameters": [], - "src": "22189:2:12" - }, - "returnParameters": { - "id": 6512, - "nodeType": "ParameterList", - "parameters": [], - "src": "22209:0:12" - }, - "scope": 6624, - "src": "22180:207:12", - "stateMutability": "payable", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 6592, - "nodeType": "Block", - "src": "22770:364:12", - "statements": [ + ] + } + }, { "condition": { "argumentTypes": null, @@ -42334,19 +18847,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 6547, + "id": 1496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 6543, + "id": 1492, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6538, - "src": "22785:6:12", + "referencedDeclaration": 1472, + "src": "1924:6:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42360,14 +18873,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 6545, + "id": 1494, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "22803:1:12", + "src": "1942:1:12", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -42383,20 +18896,20 @@ "typeString": "int_const 0" } ], - "id": 6544, + "id": 1493, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22795:7:12", + "src": "1934:7:12", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 6546, + "id": 1495, "isConstant": false, "isLValue": false, "isPure": true, @@ -42404,26 +18917,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22795:10:12", + "src": "1934:10:12", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "22785:20:12", + "src": "1924:20:12", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 6559, + "id": 1509, "nodeType": "IfStatement", - "src": "22781:116:12", + "src": "1920:117:12", "trueBody": { - "id": 6558, + "id": 1508, "nodeType": "Block", - "src": "22807:90:12", + "src": "1946:91:12", "statements": [ { "expression": { @@ -42436,39 +18949,39 @@ "arguments": [ { "argumentTypes": null, - "id": 6552, + "id": 1502, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9485, - "src": "22850:4:12", + "referencedDeclaration": 5755, + "src": "1992:4:12", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_contract$_SNTController_$1578", + "typeString": "contract SNTController" } } ], "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_contract$_SNTController_$1578", + "typeString": "contract SNTController" } ], - "id": 6551, + "id": 1501, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22842:7:12", + "src": "1984:7:12", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 6553, + "id": 1503, "isConstant": false, "isLValue": false, "isPure": false, @@ -42476,13 +18989,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22842:13:12", + "src": "1984:13:12", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } }, - "id": 6554, + "id": 1504, "isConstant": false, "isLValue": false, "isPure": false, @@ -42490,7 +19003,7 @@ "memberName": "balance", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "22842:21:12", + "src": "1984:21:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -42506,18 +19019,56 @@ ], "expression": { "argumentTypes": null, - "id": 6548, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "22822:10:12", + "arguments": [ + { + "argumentTypes": null, + "id": 1498, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 53, + "src": "1968:5:12", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + ], + "id": 1497, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1960:7:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 1499, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1960:14:12", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 6550, + "id": 1500, "isConstant": false, "isLValue": false, "isPure": false, @@ -42525,13 +19076,13 @@ "memberName": "transfer", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "22822:19:12", + "src": "1960:23:12", "typeDescriptions": { "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 6555, + "id": 1505, "isConstant": false, "isLValue": false, "isPure": false, @@ -42539,173 +19090,97 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22822:42:12", + "src": "1960:46:12", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 6556, + "id": 1506, "nodeType": "ExpressionStatement", - "src": "22822:42:12" + "src": "1960:46:12" }, { "expression": null, - "functionReturnParameters": 6542, - "id": 6557, + "functionReturnParameters": 1476, + "id": 1507, "nodeType": "Return", - "src": "22879:7:12" + "src": "2020:7:12" } ] } }, { "assignments": [ - 6561 + 1511 ], "declarations": [ { "constant": false, - "id": 6561, + "id": 1511, "name": "token", "nodeType": "VariableDeclaration", - "scope": 6592, - "src": "22909:17:12", + "scope": 1538, + "src": "2047:16:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_contract$_ERC20Token_$4515", + "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 6560, - "name": "MiniMeToken", + "id": 1510, + "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "22909:11:12", + "referencedDeclaration": 4515, + "src": "2047:10:12", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_contract$_ERC20Token_$4515", + "typeString": "contract ERC20Token" } }, "value": null, "visibility": "internal" } ], - "id": 6569, + "id": 1515, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6565, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6538, - "src": "22957:6:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 6564, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "22949:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_uint160_$", - "typeString": "type(uint160)" - }, - "typeName": "uint160" - }, - "id": 6566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22949:15:12", - "typeDescriptions": { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint160", - "typeString": "uint160" - } - ], - "id": 6563, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "22941:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6567, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "22941:24:12", + "id": 1513, + "name": "_token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1472, + "src": "2077:6:12", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } } ], "expression": { "argumentTypes": [ { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } ], - "id": 6562, - "name": "MiniMeToken", + "id": 1512, + "name": "ERC20Token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6624, - "src": "22929:11:12", + "referencedDeclaration": 4515, + "src": "2066:10:12", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MiniMeToken_$6624_$", - "typeString": "type(contract MiniMeToken)" + "typeIdentifier": "t_type$_t_contract$_ERC20Token_$4515_$", + "typeString": "type(contract ERC20Token)" } }, - "id": 6568, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, @@ -42713,27 +19188,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22929:37:12", + "src": "2066:18:12", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_contract$_ERC20Token_$4515", + "typeString": "contract ERC20Token" } }, "nodeType": "VariableDeclarationStatement", - "src": "22909:57:12" + "src": "2047:37:12" }, { "assignments": [ - 6571 + 1517 ], "declarations": [ { "constant": false, - "id": 6571, + "id": 1517, "name": "balance", "nodeType": "VariableDeclaration", - "scope": 6592, - "src": "22977:12:12", + "scope": 1538, + "src": "2094:15:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -42741,10 +19216,10 @@ "typeString": "uint256" }, "typeName": { - "id": 6570, - "name": "uint", + "id": 1516, + "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22977:4:12", + "src": "2094:7:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -42754,7 +19229,7 @@ "visibility": "internal" } ], - "id": 6578, + "id": 1524, "initialValue": { "argumentTypes": null, "arguments": [ @@ -42763,39 +19238,39 @@ "arguments": [ { "argumentTypes": null, - "id": 6575, + "id": 1521, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9485, - "src": "23016:4:12", + "referencedDeclaration": 5755, + "src": "2136:4:12", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_contract$_SNTController_$1578", + "typeString": "contract SNTController" } } ], "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_contract$_SNTController_$1578", + "typeString": "contract SNTController" } ], - "id": 6574, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "23008:7:12", + "src": "2128:7:12", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 6576, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -42803,48 +19278,48 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23008:13:12", + "src": "2128:13:12", "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } } ], "expression": { "argumentTypes": [ { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" + "typeIdentifier": "t_address", + "typeString": "address" } ], "expression": { "argumentTypes": null, - "id": 6572, + "id": 1518, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6561, - "src": "22992:5:12", + "referencedDeclaration": 1511, + "src": "2112:5:12", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_contract$_ERC20Token_$4515", + "typeString": "contract ERC20Token" } }, - "id": 6573, + "id": 1519, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balanceOf", "nodeType": "MemberAccess", - "referencedDeclaration": 5898, - "src": "22992:15:12", + "referencedDeclaration": 4484, + "src": "2112:15:12", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 6577, + "id": 1523, "isConstant": false, "isLValue": false, "isPure": false, @@ -42852,14 +19327,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22992:30:12", + "src": "2112:30:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "22977:45:12" + "src": "2094:48:12" }, { "expression": { @@ -42867,12 +19342,12 @@ "arguments": [ { "argumentTypes": null, - "id": 6582, - "name": "controller", + "id": 1528, + "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "23048:10:12", + "referencedDeclaration": 53, + "src": "2167:5:12", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -42880,12 +19355,12 @@ }, { "argumentTypes": null, - "id": 6583, + "id": 1529, "name": "balance", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6571, - "src": "23060:7:12", + "referencedDeclaration": 1517, + "src": "2174:7:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -42905,32 +19380,32 @@ ], "expression": { "argumentTypes": null, - "id": 6579, + "id": 1525, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6561, - "src": "23033:5:12", + "referencedDeclaration": 1511, + "src": "2152:5:12", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_contract$_ERC20Token_$4515", + "typeString": "contract ERC20Token" } }, - "id": 6581, + "id": 1527, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 5648, - "src": "23033:14:12", + "referencedDeclaration": 4457, + "src": "2152:14:12", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 6584, + "id": 1530, "isConstant": false, "isLValue": false, "isPure": false, @@ -42938,15 +19413,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23033:35:12", + "src": "2152:30:12", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 6585, + "id": 1531, "nodeType": "ExpressionStatement", - "src": "23033:35:12" + "src": "2152:30:12" }, { "eventCall": { @@ -42954,12 +19429,12 @@ "arguments": [ { "argumentTypes": null, - "id": 6587, + "id": 1533, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6538, - "src": "23098:6:12", + "referencedDeclaration": 1472, + "src": "2211:6:12", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42967,12 +19442,12 @@ }, { "argumentTypes": null, - "id": 6588, - "name": "controller", + "id": 1534, + "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "23106:10:12", + "referencedDeclaration": 53, + "src": "2219:5:12", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -42980,12 +19455,12 @@ }, { "argumentTypes": null, - "id": 6589, + "id": 1535, "name": "balance", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6571, - "src": "23118:7:12", + "referencedDeclaration": 1517, + "src": "2226:7:12", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -43007,18 +19482,18 @@ "typeString": "uint256" } ], - "id": 6586, + "id": 1532, "name": "ClaimedTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6601, - "src": "23084:13:12", + "referencedDeclaration": 1425, + "src": "2197:13:12", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 6590, + "id": 1536, "isConstant": false, "isLValue": false, "isPure": false, @@ -43026,56 +19501,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23084:42:12", + "src": "2197:37:12", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 6591, + "id": 1537, "nodeType": "EmitStatement", - "src": "23079:47:12" + "src": "2192:42:12" } ] }, - "documentation": "@notice This method can be used by the controller to extract mistakenly\r\n sent tokens to this contract.\r\n@param _token The address of the token contract that you want to recover\r\n set to 0 in case you want to extract ether.\r", - "id": 6593, + "documentation": "@notice This method can be used by the controller to extract mistakenly\n sent tokens to this contract.\n@param _token The address of the token contract that you want to recover\n set to 0 in case you want to extract ether.", + "id": 1539, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 6541, + "id": 1475, "modifierName": { "argumentTypes": null, - "id": 6540, - "name": "onlyController", + "id": 1474, + "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "22755:14:12", + "referencedDeclaration": 51, + "src": "1804:9:12", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "22755:14:12" + "src": "1804:9:12" } ], "name": "claimTokens", "nodeType": "FunctionDefinition", "parameters": { - "id": 6539, + "id": 1473, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 6538, + "id": 1472, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 6593, - "src": "22732:14:12", + "scope": 1539, + "src": "1781:14:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -43083,10 +19558,10 @@ "typeString": "address" }, "typeName": { - "id": 6537, + "id": 1471, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22732:7:12", + "src": "1781:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -43097,774 +19572,70 @@ "visibility": "internal" } ], - "src": "22731:16:12" + "src": "1780:16:12" }, "returnParameters": { - "id": 6542, + "id": 1476, "nodeType": "ParameterList", "parameters": [], - "src": "22770:0:12" + "src": "1814:0:12" }, - "scope": 6624, - "src": "22711:423:12", + "scope": 1578, + "src": "1760:481:12", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, - { - "anonymous": false, - "documentation": "/////////////", - "id": 6601, - "name": "ClaimedTokens", - "nodeType": "EventDefinition", - "parameters": { - "id": 6600, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6595, - "indexed": true, - "name": "token", - "nodeType": "VariableDeclaration", - "scope": 6601, - "src": "23209:21:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6594, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23209:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6597, - "indexed": true, - "name": "controller", - "nodeType": "VariableDeclaration", - "scope": 6601, - "src": "23232:26:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6596, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23232:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6599, - "indexed": false, - "name": "amount", - "nodeType": "VariableDeclaration", - "scope": 6601, - "src": "23260:11:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6598, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23260:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "23208:64:12" - }, - "src": "23189:84:12" - }, - { - "anonymous": false, - "documentation": null, - "id": 6609, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 6608, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6603, - "indexed": true, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 6609, - "src": "23294:20:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6602, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23294:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6605, - "indexed": true, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 6609, - "src": "23316:18:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6604, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23316:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6607, - "indexed": true, - "name": "value", - "nodeType": "VariableDeclaration", - "scope": 6609, - "src": "23336:21:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6606, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23336:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "23293:65:12" - }, - "src": "23279:80:12" - }, - { - "anonymous": false, - "documentation": null, - "id": 6615, - "name": "NewCloneToken", - "nodeType": "EventDefinition", - "parameters": { - "id": 6614, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6611, - "indexed": true, - "name": "cloneToken", - "nodeType": "VariableDeclaration", - "scope": 6615, - "src": "23385:26:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6610, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23385:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6613, - "indexed": false, - "name": "snapshotBlock", - "nodeType": "VariableDeclaration", - "scope": 6615, - "src": "23413:18:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6612, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "23413:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "23384:48:12" - }, - "src": "23365:68:12" - }, - { - "anonymous": false, - "documentation": null, - "id": 6623, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 6622, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6617, - "indexed": true, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "23464:21:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6616, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23464:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6619, - "indexed": true, - "name": "spender", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "23496:23:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6618, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "23496:7:12", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6621, - "indexed": false, - "name": "amount", - "nodeType": "VariableDeclaration", - "scope": 6623, - "src": "23530:14:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6620, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "23530:7:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "23453:98:12" - }, - "src": "23439:113:12" - } - ], - "scope": 6668, - "src": "1703:21854:12" - }, - { - "baseContracts": [], - "contractDependencies": [ - 6624 - ], - "contractKind": "contract", - "documentation": "@dev This contract is used to generate clone contracts from a contract.\r\n In solidity this is the way to create a contract from a contract of the\r\n same class\r", - "fullyImplemented": true, - "id": 6667, - "linearizedBaseContracts": [ - 6667 - ], - "name": "MiniMeTokenFactory", - "nodeType": "ContractDefinition", - "nodes": [ { "body": { - "id": 6665, + "id": 1548, "nodeType": "Block", - "src": "24759:344:12", + "src": "2489:145:12", "statements": [ - { - "assignments": [ - 6642 - ], - "declarations": [ - { - "constant": false, - "id": 6642, - "name": "newToken", - "nodeType": "VariableDeclaration", - "scope": 6665, - "src": "24770:20:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - }, - "typeName": { - "contractScope": null, - "id": 6641, - "name": "MiniMeToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "24770:11:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6655, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 6646, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9487, - "src": "24831:4:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$6667", - "typeString": "contract MiniMeTokenFactory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$6667", - "typeString": "contract MiniMeTokenFactory" - } - ], - "id": 6645, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "24823:7:12", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 6647, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24823:13:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6648, - "name": "_parentToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6626, - "src": "24851:12:12", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 6649, - "name": "_snapshotBlock", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6628, - "src": "24878:14:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 6650, - "name": "_tokenName", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6630, - "src": "24907:10:12", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 6651, - "name": "_decimalUnits", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6632, - "src": "24932:13:12", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - { - "argumentTypes": null, - "id": 6652, - "name": "_tokenSymbol", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6634, - "src": "24960:12:12", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - } - }, - { - "argumentTypes": null, - "id": 6653, - "name": "_transfersEnabled", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6636, - "src": "24987:17:12", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string memory" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 6644, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "NewExpression", - "src": "24793:15:12", - "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_string_memory_ptr_$_t_uint8_$_t_string_memory_ptr_$_t_bool_$returns$_t_contract$_MiniMeToken_$6624_$", - "typeString": "function (address,address,uint256,string memory,uint8,string memory,bool) returns (contract MiniMeToken)" - }, - "typeName": { - "contractScope": null, - "id": 6643, - "name": "MiniMeToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "24797:11:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - } - }, - "id": 6654, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "24793:226:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "24770:249:12" - }, { "expression": { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6659, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "25058:3:12", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 6660, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "25058:10:12", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "expression": { - "argumentTypes": null, - "id": 6656, - "name": "newToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "25032:8:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 6658, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "changeController", - "nodeType": "MemberAccess", - "referencedDeclaration": 6927, - "src": "25032:25:12", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_payable_$returns$__$", - "typeString": "function (address payable) external" - } - }, - "id": 6661, + "hexValue": "66616c7365", + "id": 1546, "isConstant": false, "isLValue": false, - "isPure": false, - "kind": "functionCall", + "isPure": true, + "kind": "bool", "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "25032:37:12", + "nodeType": "Literal", + "src": "2622:5:12", + "subdenomination": null, "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" }, - "id": 6662, - "nodeType": "ExpressionStatement", - "src": "25032:37:12" - }, - { - "expression": { - "argumentTypes": null, - "id": 6663, - "name": "newToken", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6642, - "src": "25087:8:12", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "functionReturnParameters": 6640, - "id": 6664, + "functionReturnParameters": 1545, + "id": 1547, "nodeType": "Return", - "src": "25080:15:12" + "src": "2615:12:12" } ] }, - "documentation": "@notice Update the DApp by creating a new token with new functionalities\r\n the msg.sender becomes the controller of this clone token\r\n@param _parentToken Address of the token being cloned\r\n@param _snapshotBlock Block of the parent token that will\r\n determine the initial distribution of the clone token\r\n@param _tokenName Name of the new token\r\n@param _decimalUnits Number of decimals of the new token\r\n@param _tokenSymbol Token Symbol for the new token\r\n@param _transfersEnabled If true, tokens will be able to be transferred\r\n@return The address of the new token contract\r", - "id": 6666, + "documentation": "@notice payment by address coming from controlled token\n@dev In between the offering and the network. Default settings for allowing token transfers.", + "id": 1549, "implemented": true, "kind": "function", "modifiers": [], - "name": "createCloneToken", + "name": "proxyPayment", "nodeType": "FunctionDefinition", "parameters": { - "id": 6637, + "id": 1542, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 6626, - "name": "_parentToken", + "id": 1541, + "name": "", "nodeType": "VariableDeclaration", - "scope": 6666, - "src": "24537:20:12", + "scope": 1549, + "src": "2448:7:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -43872,10 +19643,10 @@ "typeString": "address" }, "typeName": { - "id": 6625, + "id": 1540, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24537:7:12", + "src": "2448:7:12", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -43884,118 +19655,21 @@ }, "value": null, "visibility": "internal" - }, + } + ], + "src": "2447:9:12" + }, + "returnParameters": { + "id": 1545, + "nodeType": "ParameterList", + "parameters": [ { "constant": false, - "id": 6628, - "name": "_snapshotBlock", + "id": 1544, + "name": "", "nodeType": "VariableDeclaration", - "scope": 6666, - "src": "24568:19:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6627, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "24568:4:12", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6630, - "name": "_tokenName", - "nodeType": "VariableDeclaration", - "scope": 6666, - "src": "24598:24:12", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6629, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24598:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6632, - "name": "_decimalUnits", - "nodeType": "VariableDeclaration", - "scope": 6666, - "src": "24633:19:12", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - }, - "typeName": { - "id": 6631, - "name": "uint8", - "nodeType": "ElementaryTypeName", - "src": "24633:5:12", - "typeDescriptions": { - "typeIdentifier": "t_uint8", - "typeString": "uint8" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6634, - "name": "_tokenSymbol", - "nodeType": "VariableDeclaration", - "scope": 6666, - "src": "24663:26:12", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_string_memory_ptr", - "typeString": "string" - }, - "typeName": { - "id": 6633, - "name": "string", - "nodeType": "ElementaryTypeName", - "src": "24663:6:12", - "typeDescriptions": { - "typeIdentifier": "t_string_storage_ptr", - "typeString": "string" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6636, - "name": "_transfersEnabled", - "nodeType": "VariableDeclaration", - "scope": 6666, - "src": "24700:22:12", + "scope": 1549, + "src": "2483:4:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -44003,10 +19677,10 @@ "typeString": "bool" }, "typeName": { - "id": 6635, + "id": 1543, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24700:4:12", + "src": "2483:4:12", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -44016,68 +19690,363 @@ "visibility": "internal" } ], - "src": "24526:203:12" + "src": "2482:6:12" }, - "returnParameters": { - "id": 6640, + "scope": 1578, + "src": "2426:208:12", + "stateMutability": "payable", + "superFunction": 5669, + "visibility": "external" + }, + { + "body": { + "id": 1562, + "nodeType": "Block", + "src": "2836:144:12", + "statements": [ + { + "expression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 1560, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2969:4:12", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 1559, + "id": 1561, + "nodeType": "Return", + "src": "2962:11:12" + } + ] + }, + "documentation": "@notice register and authorizes transfer from token\n@dev called by snt when a transfer is made", + "id": 1563, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "onTransfer", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1556, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 6639, + "id": 1551, "name": "", "nodeType": "VariableDeclaration", - "scope": 6666, - "src": "24746:11:12", + "scope": 1563, + "src": "2785:7:12", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "contractScope": null, - "id": 6638, - "name": "MiniMeToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "24746:11:12", + "id": 1550, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2785:7:12", + "stateMutability": "nonpayable", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1553, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1563, + "src": "2794:7:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1552, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2794:7:12", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1555, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1563, + "src": "2803:7:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1554, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2803:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "24745:13:12" + "src": "2784:27:12" }, - "scope": 6667, - "src": "24501:602:12", + "returnParameters": { + "id": 1559, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1558, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1563, + "src": "2830:4:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1557, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2830:4:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2829:6:12" + }, + "scope": 1578, + "src": "2765:215:12", "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" + "superFunction": 5680, + "visibility": "external" + }, + { + "body": { + "id": 1576, + "nodeType": "Block", + "src": "3181:144:12", + "statements": [ + { + "expression": { + "argumentTypes": null, + "hexValue": "74727565", + "id": 1574, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3314:4:12", + "subdenomination": null, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 1573, + "id": 1575, + "nodeType": "Return", + "src": "3307:11:12" + } + ] + }, + "documentation": "@notice register and authorizes approve from token\n@dev called by snt when an approval is made", + "id": 1577, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "onApprove", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1570, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1565, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1577, + "src": "3130:7:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1564, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3130:7:12", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1567, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1577, + "src": "3139:7:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1566, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3139:7:12", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1569, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1577, + "src": "3148:7:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1568, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3148:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3129:27:12" + }, + "returnParameters": { + "id": 1573, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1572, + "name": "", + "nodeType": "VariableDeclaration", + "scope": 1577, + "src": "3175:4:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1571, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3175:4:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "3174:6:12" + }, + "scope": 1578, + "src": "3111:214:12", + "stateMutability": "nonpayable", + "superFunction": 5691, + "visibility": "external" } ], - "scope": 6668, - "src": "23801:1305:12" + "scope": 1579, + "src": "553:2774:12" } ], - "src": "0:25108:12" + "src": "0:3327:12" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/NonfungibleToken.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/NonfungibleToken.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/StatusNetwork.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/StatusNetwork.sol", "exportedSymbols": { - "NonfungibleToken": [ - 7609 + "StatusNetwork": [ + 1596 ] }, - "id": 7610, + "id": 1597, "nodeType": "SourceUnit", "nodes": [ { - "id": 6944, + "id": 1580, "literals": [ "solidity", ">=", @@ -44091,57 +20060,13 @@ "src": "0:31:13" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721.sol", - "id": 6945, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/SNTController.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/SNTController.sol", + "id": 1581, "nodeType": "ImportDirective", - "scope": 7610, - "sourceUnit": 9423, - "src": "35:91:13", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721Receiver.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721Receiver.sol", - "id": 6946, - "nodeType": "ImportDirective", - "scope": 7610, - "sourceUnit": 9439, - "src": "128:99:13", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/SafeMath.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/SafeMath.sol", - "id": 6947, - "nodeType": "ImportDirective", - "scope": 7610, - "sourceUnit": 9323, - "src": "229:94:13", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Address.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Address.sol", - "id": 6948, - "nodeType": "ImportDirective", - "scope": 7610, - "sourceUnit": 9101, - "src": "325:93:13", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Introspective.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Introspective.sol", - "id": 6949, - "nodeType": "ImportDirective", - "scope": 7610, - "sourceUnit": 9160, - "src": "420:99:13", + "scope": 1597, + "sourceUnit": 1579, + "src": "33:94:13", "symbolAliases": [], "unitAlias": "" }, @@ -44151,8719 +20076,193 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 6950, - "name": "Introspective", + "id": 1582, + "name": "SNTController", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9159, - "src": "850:13:13", + "referencedDeclaration": 1578, + "src": "206:13:13", "typeDescriptions": { - "typeIdentifier": "t_contract$_Introspective_$9159", - "typeString": "contract Introspective" + "typeIdentifier": "t_contract$_SNTController_$1578", + "typeString": "contract SNTController" } }, - "id": 6951, + "id": 1583, "nodeType": "InheritanceSpecifier", - "src": "850:13:13" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 6952, - "name": "ERC721", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9422, - "src": "865:6:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC721_$9422", - "typeString": "contract ERC721" - } - }, - "id": 6953, - "nodeType": "InheritanceSpecifier", - "src": "865:6:13" + "src": "206:13:13" } ], "contractDependencies": [ - 9110, - 9159, - 9422 + 91, + 1578, + 5692 ], "contractKind": "contract", - "documentation": "@title ERC721 Non-Fungible Token Standard basic implementation\r\n@dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md\r\nBased on https://github.com/OpenZeppelin/openzeppelin-solidity/blob/8dd92fd6cafe4e4ce7b8ae297a4ba1212ca21ca6/contracts/token/ERC721/ERC721.sol\r", + "documentation": "@dev Status Network is implemented here", "fullyImplemented": true, - "id": 7609, + "id": 1596, "linearizedBaseContracts": [ - 7609, - 9422, - 9159, - 9110 + 1596, + 1578, + 91, + 5692 ], - "name": "NonfungibleToken", + "name": "StatusNetwork", "nodeType": "ContractDefinition", "nodes": [ - { - "id": 6956, - "libraryName": { - "contractScope": null, - "id": 6954, - "name": "SafeMath", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9322, - "src": "885:8:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$9322", - "typeString": "library SafeMath" - } - }, - "nodeType": "UsingForDirective", - "src": "879:27:13", - "typeName": { - "id": 6955, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "898:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 6959, - "libraryName": { - "contractScope": null, - "id": 6957, - "name": "Address", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9100, - "src": "918:7:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$9100", - "typeString": "library Address" - } - }, - "nodeType": "UsingForDirective", - "src": "912:26:13", - "typeName": { - "id": 6958, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "930:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - { - "constant": true, - "id": 6962, - "name": "_ERC721_RECEIVED", - "nodeType": "VariableDeclaration", - "scope": 7609, - "src": "1119:53:13", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6960, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1119:6:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783135306237613032", - "id": 6961, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1162:10:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_353073666_by_1", - "typeString": "int_const 353073666" - }, - "value": "0x150b7a02" - }, - "visibility": "private" - }, - { - "constant": false, - "id": 6966, - "name": "_tokenOwner", - "nodeType": "VariableDeclaration", - "scope": 7609, - "src": "1220:48:13", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "typeName": { - "id": 6965, - "keyType": { - "id": 6963, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1229:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1220:28:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "valueType": { - "id": 6964, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1240:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 6970, - "name": "_tokenApprovals", - "nodeType": "VariableDeclaration", - "scope": 7609, - "src": "1327:52:13", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "typeName": { - "id": 6969, - "keyType": { - "id": 6967, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1336:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1327:28:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "valueType": { - "id": 6968, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1347:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 6975, - "name": "_ownedTokens", - "nodeType": "VariableDeclaration", - "scope": 7609, - "src": "1426:51:13", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[])" - }, - "typeName": { - "id": 6974, - "keyType": { - "id": 6971, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1435:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1426:30:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[])" - }, - "valueType": { - "baseType": { - "id": 6972, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1446:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 6973, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1446:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 6979, - "name": "_ownedTokensPos", - "nodeType": "VariableDeclaration", - "scope": 7609, - "src": "1484:52:13", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - }, - "typeName": { - "id": 6978, - "keyType": { - "id": 6976, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1493:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1484:28:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - }, - "valueType": { - "id": 6977, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1504:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 6985, - "name": "_operatorApprovals", - "nodeType": "VariableDeclaration", - "scope": 7609, - "src": "1594:73:13", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "typeName": { - "id": 6984, - "keyType": { - "id": 6980, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1603:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1594:46:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "valueType": { - "id": 6983, - "keyType": { - "id": 6981, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1623:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1614:25:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 6982, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1634:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": true, - "id": 6988, - "name": "_InterfaceId_ERC721", - "nodeType": "VariableDeclaration", - "scope": 7609, - "src": "1676:56:13", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 6986, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1676:6:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783830616335386364", - "id": 6987, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1722:10:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2158778573_by_1", - "typeString": "int_const 2158778573" - }, - "value": "0x80ac58cd" - }, - "visibility": "private" - }, { "body": { - "id": 7023, + "id": 1594, "nodeType": "Block", - "src": "2411:393:13", - "statements": [ - { - "assignments": [ - 6993 - ], - "declarations": [ - { - "constant": false, - "id": 6993, - "name": "spender", - "nodeType": "VariableDeclaration", - "scope": 7023, - "src": "2422:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6992, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2422:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 6996, - "initialValue": { + "src": "469:3:13", + "statements": [] + }, + "documentation": "@notice Constructor\n@param _owner Authority address\n@param _snt SNT token", + "id": 1595, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 6994, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2440:3:13", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 6995, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2440:10:13", + "id": 1590, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1585, + "src": "451:6:13", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "nodeType": "VariableDeclarationStatement", - "src": "2422:28:13" - }, - { - "assignments": [ - 6998 - ], - "declarations": [ - { - "constant": false, - "id": 6998, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 7023, - "src": "2461:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6997, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2461:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7002, - "initialValue": { + { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7000, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6990, - "src": "2486:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 6999, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7608, - "src": "2477:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 7001, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2477:17:13", + "id": 1591, + "name": "_snt", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1587, + "src": "459:4:13", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_contract$_MiniMeToken_$5617", + "typeString": "contract MiniMeToken" } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2461:33:13" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7018, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7012, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7006, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7004, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6993, - "src": "2674:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 7005, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6998, - "src": "2685:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2674:16:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7011, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7007, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6970, - "src": "2694:15:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 7009, - "indexExpression": { - "argumentTypes": null, - "id": 7008, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6990, - "src": "2710:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2694:24:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 7010, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6993, - "src": "2722:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2694:35:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2674:55:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7013, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6985, - "src": "2733:18:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 7015, - "indexExpression": { - "argumentTypes": null, - "id": 7014, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6998, - "src": "2752:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2733:25:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 7017, - "indexExpression": { - "argumentTypes": null, - "id": 7016, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6993, - "src": "2759:7:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2733:34:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2674:93:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 7019, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2769:14:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - } - ], - "id": 7003, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "2666:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7020, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2666:118:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7021, - "nodeType": "ExpressionStatement", - "src": "2666:118:13" - }, - { - "id": 7022, - "nodeType": "PlaceholderStatement", - "src": "2795:1:13" - } - ] - }, - "documentation": null, - "id": 7024, - "name": "approvedOrOwner", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 6991, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6990, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7024, - "src": "2395:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6989, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2395:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2394:17:13" - }, - "src": "2370:434:13", - "visibility": "internal" - }, - { - "body": { - "id": 7060, - "nodeType": "Block", - "src": "2889:230:13", - "statements": [ - { - "id": 7034, - "nodeType": "PlaceholderStatement", - "src": "2900:1:13" - }, - { - "condition": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 7035, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7028, - "src": "2916:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7036, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isContract", - "nodeType": "MemberAccess", - "referencedDeclaration": 9099, - "src": "2916:13:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 7037, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2916:15:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 7059, - "nodeType": "IfStatement", - "src": "2912:200:13", - "trueBody": { - "id": 7058, - "nodeType": "Block", - "src": "2933:179:13", - "statements": [ - { - "assignments": [ - 7039 - ], - "declarations": [ - { - "constant": false, - "id": 7039, - "name": "retval", - "nodeType": "VariableDeclaration", - "scope": 7058, - "src": "2948:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 7038, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2948:6:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7050, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7044, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "3000:3:13", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7045, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3000:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7046, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7026, - "src": "3012:4:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7047, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7030, - "src": "3018:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 7048, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7032, - "src": "3027:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7041, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7028, - "src": "2979:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 7040, - "name": "ERC721Receiver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9438, - "src": "2964:14:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721Receiver_$9438_$", - "typeString": "type(contract ERC721Receiver)" - } - }, - "id": 7042, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2964:18:13", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC721Receiver_$9438", - "typeString": "contract ERC721Receiver" - } - }, - "id": 7043, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "onERC721Received", - "nodeType": "MemberAccess", - "referencedDeclaration": 9437, - "src": "2964:35:13", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" - } - }, - "id": 7049, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2964:69:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2948:85:13" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 7054, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7052, - "name": "retval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7039, - "src": "3056:6:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 7053, - "name": "_ERC721_RECEIVED", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6962, - "src": "3066:16:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "3056:26:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164206f7065726174696f6e", - "id": 7055, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3084:15:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - }, - "value": "Bad operation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - } - ], - "id": 7051, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "3048:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7056, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3048:52:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7057, - "nodeType": "ExpressionStatement", - "src": "3048:52:13" - } - ] } - } - ] - }, - "documentation": null, - "id": 7061, - "name": "safe", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 7033, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7026, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 7061, - "src": "2826:12:13", - "stateVariable": false, - "storageLocation": "default", + ], + "id": 1592, + "modifierName": { + "argumentTypes": null, + "id": 1589, + "name": "SNTController", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1578, + "src": "437:13:13", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7025, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2826:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" + "typeIdentifier": "t_type$_t_contract$_SNTController_$1578_$", + "typeString": "type(contract SNTController)" + } }, - { - "constant": false, - "id": 7028, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 7061, - "src": "2840:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7027, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2840:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7030, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7061, - "src": "2852:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7029, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2852:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7032, - "name": "_data", - "nodeType": "VariableDeclaration", - "scope": 7061, - "src": "2869:18:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7031, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2869:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2825:63:13" - }, - "src": "2812:307:13", - "visibility": "internal" - }, - { - "body": { - "id": 7068, - "nodeType": "Block", - "src": "3151:136:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7065, - "name": "_InterfaceId_ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6988, - "src": "3259:19:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 7064, - "name": "_registerInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9158, - "src": "3240:18:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 7066, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3240:39:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7067, - "nodeType": "ExpressionStatement", - "src": "3240:39:13" - } - ] - }, - "documentation": null, - "id": 7069, - "implemented": true, - "kind": "constructor", - "modifiers": [], + "nodeType": "ModifierInvocation", + "src": "437:27:13" + } + ], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 7062, + "id": 1588, "nodeType": "ParameterList", - "parameters": [], - "src": "3141:2:13" + "parameters": [ + { + "constant": false, + "id": 1585, + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 1595, + "src": "359:22:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "typeName": { + "id": 1584, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "359:15:13", + "stateMutability": "payable", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 1587, + "name": "_snt", + "nodeType": "VariableDeclaration", + "scope": 1595, + "src": "391:16:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$5617", + "typeString": "contract MiniMeToken" + }, + "typeName": { + "contractScope": null, + "id": 1586, + "name": "MiniMeToken", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 5617, + "src": "391:11:13", + "typeDescriptions": { + "typeIdentifier": "t_contract$_MiniMeToken_$5617", + "typeString": "contract MiniMeToken" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "349:64:13" }, "returnParameters": { - "id": 7063, + "id": 1593, "nodeType": "ParameterList", "parameters": [], - "src": "3151:0:13" + "src": "469:0:13" }, - "scope": 7609, - "src": "3129:158:13", + "scope": 1596, + "src": "338:134:13", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" - }, - { - "body": { - "id": 7090, - "nodeType": "Block", - "src": "3563:106:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7081, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7077, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7071, - "src": "3582:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7079, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3599:1:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 7078, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3591:7:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 7080, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3591:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "3582:19:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4261642061646472657373", - "id": 7082, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3603:13:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - }, - "value": "Bad address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - } - ], - "id": 7076, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "3574:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7083, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3574:43:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7084, - "nodeType": "ExpressionStatement", - "src": "3574:43:13" - }, - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7085, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6975, - "src": "3635:12:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 7087, - "indexExpression": { - "argumentTypes": null, - "id": 7086, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7071, - "src": "3648:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3635:19:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 7088, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3635:26:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7075, - "id": 7089, - "nodeType": "Return", - "src": "3628:33:13" - } - ] - }, - "documentation": "@dev Gets the balance of the specified address\r\n@param owner address to query the balance of\r\n@return uint256 representing the amount owned by the passed address\r", - "id": 7091, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7072, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7071, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 7091, - "src": "3516:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7070, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3516:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3515:15:13" - }, - "returnParameters": { - "id": 7075, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7074, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 7091, - "src": "3554:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7073, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3554:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3553:9:13" - }, - "scope": 7609, - "src": "3497:172:13", - "stateMutability": "view", - "superFunction": 9355, - "visibility": "external" - }, - { - "body": { - "id": 7102, - "nodeType": "Block", - "src": "3966:43:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7099, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7093, - "src": "3993:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7098, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7608, - "src": "3984:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 7100, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3984:17:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 7097, - "id": 7101, - "nodeType": "Return", - "src": "3977:24:13" - } - ] - }, - "documentation": "@dev Gets the owner of the specified token ID\r\n@param tokenId uint256 ID of the token to query the owner of\r\n@return owner address currently marked as the owner of the given token ID\r", - "id": 7103, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ownerOf", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7094, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7093, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7103, - "src": "3917:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7092, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3917:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3916:17:13" - }, - "returnParameters": { - "id": 7097, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7096, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 7103, - "src": "3957:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7095, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3957:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3956:9:13" - }, - "scope": 7609, - "src": "3900:109:13", - "stateMutability": "view", - "superFunction": 9362, - "visibility": "external" - }, - { - "body": { - "id": 7150, - "nodeType": "Block", - "src": "4495:282:13", - "statements": [ - { - "assignments": [ - 7111 - ], - "declarations": [ - { - "constant": false, - "id": 7111, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 7150, - "src": "4506:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7110, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4506:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7115, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7113, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7107, - "src": "4531:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7112, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7608, - "src": "4522:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 7114, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4522:17:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4506:33:13" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7119, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7117, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7105, - "src": "4558:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 7118, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7111, - "src": "4564:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4558:11:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164206f7065726174696f6e", - "id": 7120, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4571:15:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - }, - "value": "Bad operation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - } - ], - "id": 7116, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "4550:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4550:37:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7122, - "nodeType": "ExpressionStatement", - "src": "4550:37:13" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 7134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7127, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7124, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "4606:3:13", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4606:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 7126, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7111, - "src": "4620:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4606:19:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7128, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6985, - "src": "4629:18:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 7130, - "indexExpression": { - "argumentTypes": null, - "id": 7129, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7111, - "src": "4648:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4629:25:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 7133, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7131, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "4655:3:13", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7132, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4655:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4629:37:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4606:60:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 7135, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4668:14:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - } - ], - "id": 7123, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "4598:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4598:85:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7137, - "nodeType": "ExpressionStatement", - "src": "4598:85:13" - }, - { - "expression": { - "argumentTypes": null, - "id": 7142, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7138, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6970, - "src": "4696:15:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 7140, - "indexExpression": { - "argumentTypes": null, - "id": 7139, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7107, - "src": "4712:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4696:24:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7141, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7105, - "src": "4723:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4696:29:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7143, - "nodeType": "ExpressionStatement", - "src": "4696:29:13" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7145, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7111, - "src": "4750:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7146, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7105, - "src": "4757:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7147, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7107, - "src": "4761:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7144, - "name": "Approval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9340, - "src": "4741:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 7148, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4741:28:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7149, - "nodeType": "EmitStatement", - "src": "4736:33:13" - } - ] - }, - "documentation": "@dev Approves another address to transfer the given token ID\r\nThe zero address indicates there is no approved address.\r\nThere can only be one approved address per token at a given time.\r\nCan only be called by the token owner or an approved operator.\r\n@param to address to be approved for the given token ID\r\n@param tokenId uint256 ID of the token to be approved\r", - "id": 7151, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7108, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7105, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 7151, - "src": "4457:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7104, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4457:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7107, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7151, - "src": "4469:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7106, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4469:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4456:29:13" - }, - "returnParameters": { - "id": 7109, - "nodeType": "ParameterList", - "parameters": [], - "src": "4495:0:13" - }, - "scope": 7609, - "src": "4440:337:13", - "stateMutability": "nonpayable", - "superFunction": 9398, - "visibility": "external" - }, - { - "body": { - "id": 7169, - "nodeType": "Block", - "src": "5145:98:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7160, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7153, - "src": "5171:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7159, - "name": "exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7348, - "src": "5164:6:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 7161, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5164:15:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "42616420746f6b656e", - "id": 7162, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5181:11:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", - "typeString": "literal_string \"Bad token\"" - }, - "value": "Bad token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", - "typeString": "literal_string \"Bad token\"" - } - ], - "id": 7158, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "5156:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5156:37:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7164, - "nodeType": "ExpressionStatement", - "src": "5156:37:13" - }, - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7165, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6970, - "src": "5211:15:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 7167, - "indexExpression": { - "argumentTypes": null, - "id": 7166, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7153, - "src": "5227:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5211:24:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 7157, - "id": 7168, - "nodeType": "Return", - "src": "5204:31:13" - } - ] - }, - "documentation": "@dev Gets the approved address for a token ID, or zero if no address set\r\nReverts if the token ID does not exist.\r\n@param tokenId uint256 ID of the token to query the approval of\r\n@return address currently approved for the given token ID\r", - "id": 7170, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getApproved", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7154, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7153, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7170, - "src": "5096:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7152, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5096:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5095:17:13" - }, - "returnParameters": { - "id": 7157, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7156, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 7170, - "src": "5136:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7155, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5136:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5135:9:13" - }, - "scope": 7609, - "src": "5075:168:13", - "stateMutability": "view", - "superFunction": 9412, - "visibility": "external" - }, - { - "body": { - "id": 7201, - "nodeType": "Block", - "src": "5606:173:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7181, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7178, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7172, - "src": "5625:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7179, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "5631:3:13", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7180, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5631:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5625:16:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164206f7065726174696f6e", - "id": 7182, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5643:15:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - }, - "value": "Bad operation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - } - ], - "id": 7177, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "5617:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7183, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5617:42:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7184, - "nodeType": "ExpressionStatement", - "src": "5617:42:13" - }, - { - "expression": { - "argumentTypes": null, - "id": 7192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7185, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6985, - "src": "5670:18:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 7189, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7186, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "5689:3:13", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7187, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5689:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5670:30:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 7190, - "indexExpression": { - "argumentTypes": null, - "id": 7188, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7172, - "src": "5701:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5670:34:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7191, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7174, - "src": "5707:8:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5670:45:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 7193, - "nodeType": "ExpressionStatement", - "src": "5670:45:13" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7195, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "5746:3:13", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 7196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5746:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7197, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7172, - "src": "5758:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7198, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7174, - "src": "5762:8:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 7194, - "name": "ApprovalForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9348, - "src": "5731:14:13", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (address,address,bool)" - } - }, - "id": 7199, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5731:40:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7200, - "nodeType": "EmitStatement", - "src": "5726:45:13" - } - ] - }, - "documentation": "@dev Sets or unsets the approval of a given operator\r\nAn operator is allowed to transfer all tokens of the sender on their behalf\r\n@param to operator address to set the approval\r\n@param approved representing the status of the approval to be set\r", - "id": 7202, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7175, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7172, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 7202, - "src": "5570:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7171, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5570:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7174, - "name": "approved", - "nodeType": "VariableDeclaration", - "scope": 7202, - "src": "5582:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7173, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5582:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5569:27:13" - }, - "returnParameters": { - "id": 7176, - "nodeType": "ParameterList", - "parameters": [], - "src": "5606:0:13" - }, - "scope": 7609, - "src": "5543:236:13", - "stateMutability": "nonpayable", - "superFunction": 9405, - "visibility": "external" - }, - { - "body": { - "id": 7217, - "nodeType": "Block", - "src": "6196:61:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7211, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6985, - "src": "6214:18:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 7213, - "indexExpression": { - "argumentTypes": null, - "id": 7212, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7204, - "src": "6233:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6214:25:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 7215, - "indexExpression": { - "argumentTypes": null, - "id": 7214, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7206, - "src": "6240:8:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6214:35:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 7210, - "id": 7216, - "nodeType": "Return", - "src": "6207:42:13" - } - ] - }, - "documentation": "@dev Tells whether an operator is approved by a given owner\r\n@param owner owner address which you want to query the approval of\r\n@param operator operator address which you want to query the approval of\r\n@return bool whether the given operator is approved by the given owner\r", - "id": 7218, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7207, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7204, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 7218, - "src": "6134:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7203, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6134:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7206, - "name": "operator", - "nodeType": "VariableDeclaration", - "scope": 7218, - "src": "6149:16:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7205, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6149:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6133:33:13" - }, - "returnParameters": { - "id": 7210, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7209, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 7218, - "src": "6190:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7208, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6190:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6189:6:13" - }, - "scope": 7609, - "src": "6108:149:13", - "stateMutability": "view", - "superFunction": 9421, - "visibility": "external" - }, - { - "body": { - "id": 7236, - "nodeType": "Block", - "src": "6799:46:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7231, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7220, - "src": "6819:4:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7232, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7222, - "src": "6825:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7233, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7224, - "src": "6829:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7230, - "name": "transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7511, - "src": "6810:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 7234, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6810:27:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7235, - "nodeType": "ExpressionStatement", - "src": "6810:27:13" - } - ] - }, - "documentation": "@dev Transfers the ownership of a given token ID to another address\r\nUsage of this method is discouraged, use `safeTransferFrom` whenever possible\r\nRequires the msg sender to be the owner, approved, or operator\r\n@param from current owner of the token\r\n@param to address to receive the ownership of the given token ID\r\n@param tokenId uint256 ID of the token to be transferred\r", - "id": 7237, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 7227, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7224, - "src": "6790:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7228, - "modifierName": { - "argumentTypes": null, - "id": 7226, - "name": "approvedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7024, - "src": "6774:15:13", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_uint256_$", - "typeString": "modifier (uint256)" - } - }, - "nodeType": "ModifierInvocation", - "src": "6774:24:13" - } - ], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7225, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7220, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 7237, - "src": "6722:12:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7219, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6722:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7222, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 7237, - "src": "6736:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7221, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6736:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7224, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7237, - "src": "6748:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7223, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6748:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6721:43:13" - }, - "returnParameters": { - "id": 7229, - "nodeType": "ParameterList", - "parameters": [], - "src": "6799:0:13" - }, - "scope": 7609, - "src": "6700:145:13", - "stateMutability": "nonpayable", - "superFunction": 9391, - "visibility": "external" - }, - { - "body": { - "id": 7261, - "nodeType": "Block", - "src": "7667:46:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7256, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7239, - "src": "7687:4:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7257, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7241, - "src": "7693:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7258, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7243, - "src": "7697:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7255, - "name": "transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7511, - "src": "7678:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 7259, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7678:27:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7260, - "nodeType": "ExpressionStatement", - "src": "7678:27:13" - } - ] - }, - "documentation": "@dev Safely transfers the ownership of a given token ID to another address\r\nIf the target address is a contract, it must implement `onERC721Received`,\r\nwhich is called upon a safe transfer, and return the magic value\r\n`bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`; otherwise,\r\nthe transfer is reverted.\r\n\n * Requires the msg sender to be the owner, approved, or operator\r\n@param from current owner of the token\r\n@param to address to receive the ownership of the given token ID\r\n@param tokenId uint256 ID of the token to be transferred\r", - "id": 7262, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 7246, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7243, - "src": "7612:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7247, - "modifierName": { - "argumentTypes": null, - "id": 7245, - "name": "approvedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7024, - "src": "7596:15:13", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_uint256_$", - "typeString": "modifier (uint256)" - } - }, - "nodeType": "ModifierInvocation", - "src": "7596:24:13" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 7249, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7239, - "src": "7635:4:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7250, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7241, - "src": "7641:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7251, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7243, - "src": "7645:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "", - "id": 7252, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7654:2:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "id": 7253, - "modifierName": { - "argumentTypes": null, - "id": 7248, - "name": "safe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7061, - "src": "7630:4:13", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$", - "typeString": "modifier (address,address,uint256,bytes memory)" - } - }, - "nodeType": "ModifierInvocation", - "src": "7630:27:13" - } - ], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7239, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 7262, - "src": "7524:12:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7238, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7524:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7241, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 7262, - "src": "7538:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7240, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7538:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7243, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7262, - "src": "7550:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7242, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7550:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7523:43:13" - }, - "returnParameters": { - "id": 7254, - "nodeType": "ParameterList", - "parameters": [], - "src": "7667:0:13" - }, - "scope": 7609, - "src": "7498:215:13", - "stateMutability": "nonpayable", - "superFunction": 9382, - "visibility": "external" - }, - { - "body": { - "id": 7288, - "nodeType": "Block", - "src": "8622:46:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7283, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7264, - "src": "8642:4:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7284, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7266, - "src": "8648:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7285, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7268, - "src": "8652:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7282, - "name": "transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7511, - "src": "8633:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 7286, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8633:27:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7287, - "nodeType": "ExpressionStatement", - "src": "8633:27:13" - } - ] - }, - "documentation": "@dev Safely transfers the ownership of a given token ID to another address\r\nIf the target address is a contract, it must implement `onERC721Received`,\r\nwhich is called upon a safe transfer, and return the magic value\r\n`bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`; otherwise,\r\nthe transfer is reverted.\r\nRequires the msg sender to be the owner, approved, or operator\r\n@param from current owner of the token\r\n@param to address to receive the ownership of the given token ID\r\n@param tokenId uint256 ID of the token to be transferred\r\n@param _data bytes data to send along with a safe transfer check\r", - "id": 7289, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 7273, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7268, - "src": "8567:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 7274, - "modifierName": { - "argumentTypes": null, - "id": 7272, - "name": "approvedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7024, - "src": "8551:15:13", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_uint256_$", - "typeString": "modifier (uint256)" - } - }, - "nodeType": "ModifierInvocation", - "src": "8551:24:13" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 7276, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7264, - "src": "8590:4:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7277, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7266, - "src": "8596:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7278, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7268, - "src": "8600:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 7279, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7270, - "src": "8609:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "id": 7280, - "modifierName": { - "argumentTypes": null, - "id": 7275, - "name": "safe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7061, - "src": "8585:4:13", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$", - "typeString": "modifier (address,address,uint256,bytes memory)" - } - }, - "nodeType": "ModifierInvocation", - "src": "8585:30:13" - } - ], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7264, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 7289, - "src": "8458:12:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7263, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8458:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7266, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 7289, - "src": "8472:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7265, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8472:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7268, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7289, - "src": "8484:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7267, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8484:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7270, - "name": "_data", - "nodeType": "VariableDeclaration", - "scope": 7289, - "src": "8501:20:13", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 7269, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8501:5:13", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8457:65:13" - }, - "returnParameters": { - "id": 7281, - "nodeType": "ParameterList", - "parameters": [], - "src": "8622:0:13" - }, - "scope": 7609, - "src": "8432:236:13", - "stateMutability": "nonpayable", - "superFunction": 9373, - "visibility": "external" - }, - { - "body": { - "id": 7301, - "nodeType": "Block", - "src": "8765:45:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7297, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6975, - "src": "8783:12:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 7299, - "indexExpression": { - "argumentTypes": null, - "id": 7298, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7291, - "src": "8796:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8783:19:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "functionReturnParameters": 7296, - "id": 7300, - "nodeType": "Return", - "src": "8776:26:13" - } - ] - }, - "documentation": null, - "id": 7302, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokensOwnedBy", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7292, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7291, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 7302, - "src": "8699:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7290, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8699:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8698:15:13" - }, - "returnParameters": { - "id": 7296, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7295, - "name": "tokenList", - "nodeType": "VariableDeclaration", - "scope": 7302, - "src": "8737:26:13", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 7293, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8737:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7294, - "length": null, - "nodeType": "ArrayTypeName", - "src": "8737:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8736:28:13" - }, - "scope": 7609, - "src": "8676:134:13", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 7327, - "nodeType": "Block", - "src": "9280:129:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7317, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7312, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7306, - "src": "9299:5:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7313, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6975, - "src": "9307:12:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 7315, - "indexExpression": { - "argumentTypes": null, - "id": 7314, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7304, - "src": "9320:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9307:19:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 7316, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9307:26:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9299:34:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "496e646578206f7574206f6620626f756e6473", - "id": 7318, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9335:21:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dd00b67a545791a54dd99d9c09eb42099756ea4ee2bd47188784c22234589367", - "typeString": "literal_string \"Index out of bounds\"" - }, - "value": "Index out of bounds" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_dd00b67a545791a54dd99d9c09eb42099756ea4ee2bd47188784c22234589367", - "typeString": "literal_string \"Index out of bounds\"" - } - ], - "id": 7311, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "9291:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7319, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9291:66:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7320, - "nodeType": "ExpressionStatement", - "src": "9291:66:13" - }, - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7321, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6975, - "src": "9375:12:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 7323, - "indexExpression": { - "argumentTypes": null, - "id": 7322, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7304, - "src": "9388:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9375:19:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 7325, - "indexExpression": { - "argumentTypes": null, - "id": 7324, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7306, - "src": "9395:5:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9375:26:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 7310, - "id": 7326, - "nodeType": "Return", - "src": "9368:33:13" - } - ] - }, - "documentation": "@dev Gets the token ID at a given index of the tokens list of the requested owner\r\n@param owner address owning the tokens list to be accessed\r\n@param index uint256 representing the index to be accessed of the requested tokens list\r\n@return uint256 token ID at the given index of the tokens list owned by the requested address\r", - "id": 7328, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenOfOwnerByIndex", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7307, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7304, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 7328, - "src": "9218:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7303, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9218:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7306, - "name": "index", - "nodeType": "VariableDeclaration", - "scope": 7328, - "src": "9233:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7305, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9233:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9217:30:13" - }, - "returnParameters": { - "id": 7310, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7309, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 7328, - "src": "9271:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7308, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9271:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9270:9:13" - }, - "scope": 7609, - "src": "9189:220:13", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 7347, - "nodeType": "Block", - "src": "9667:92:13", - "statements": [ - { - "assignments": [ - 7336 - ], - "declarations": [ - { - "constant": false, - "id": 7336, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 7347, - "src": "9678:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7335, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9678:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7340, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7337, - "name": "_tokenOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6966, - "src": "9694:11:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 7339, - "indexExpression": { - "argumentTypes": null, - "id": 7338, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7330, - "src": "9706:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9694:20:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9678:36:13" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7345, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7341, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7336, - "src": "9732:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7343, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9749:1:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 7342, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9741:7:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 7344, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9741:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "9732:19:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 7334, - "id": 7346, - "nodeType": "Return", - "src": "9725:26:13" - } - ] - }, - "documentation": "@dev Returns whether the specified token exists\r\n@param tokenId uint256 ID of the token to query the existence of\r\n@return whether the token exists\r", - "id": 7348, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "exists", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7331, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7330, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7348, - "src": "9621:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7329, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9621:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9620:17:13" - }, - "returnParameters": { - "id": 7334, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7333, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 7348, - "src": "9661:4:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 7332, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9661:4:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9660:6:13" - }, - "scope": 7609, - "src": "9605:154:13", - "stateMutability": "view", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 7393, - "nodeType": "Block", - "src": "10062:251:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7360, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7356, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7350, - "src": "10081:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10095:1:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 7357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10087:7:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 7359, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10087:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "10081:16:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4261642061646472657373", - "id": 7361, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10099:13:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - }, - "value": "Bad address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - } - ], - "id": 7355, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "10073:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7362, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10073:40:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7363, - "nodeType": "ExpressionStatement", - "src": "10073:40:13" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7368, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "10132:16:13", - "subExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7366, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7352, - "src": "10140:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7365, - "name": "exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7348, - "src": "10133:6:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 7367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10133:15:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164206f7065726174696f6e", - "id": 7369, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10150:15:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - }, - "value": "Bad operation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - } - ], - "id": 7364, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "10124:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10124:42:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7371, - "nodeType": "ExpressionStatement", - "src": "10124:42:13" - }, - { - "expression": { - "argumentTypes": null, - "id": 7376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7372, - "name": "_tokenOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6966, - "src": "10179:11:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 7374, - "indexExpression": { - "argumentTypes": null, - "id": 7373, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7352, - "src": "10191:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10179:20:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7375, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7350, - "src": "10202:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10179:25:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7377, - "nodeType": "ExpressionStatement", - "src": "10179:25:13" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7379, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6975, - "src": "10230:12:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 7381, - "indexExpression": { - "argumentTypes": null, - "id": 7380, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7350, - "src": "10243:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "10230:16:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - { - "argumentTypes": null, - "id": 7382, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7352, - "src": "10248:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7378, - "name": "addOwnedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7529, - "src": "10215:14:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256[] storage pointer,uint256)" - } - }, - "id": 7383, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10215:41:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7384, - "nodeType": "ExpressionStatement", - "src": "10215:41:13" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7387, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10289:1:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 7386, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10281:7:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 7388, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10281:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7389, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7350, - "src": "10293:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7390, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7352, - "src": "10297:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7385, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9332, - "src": "10272:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 7391, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10272:33:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7392, - "nodeType": "EmitStatement", - "src": "10267:38:13" - } - ] - }, - "documentation": "@dev Internal function to mint a new token\r\nReverts if the given token ID already exists\r\n@param to The address that will own the minted token\r\n@param tokenId uint256 ID of the token to be minted\r", - "id": 7394, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mint", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7353, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7350, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 7394, - "src": "10024:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7349, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10024:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7352, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7394, - "src": "10036:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7351, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10036:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10023:29:13" - }, - "returnParameters": { - "id": 7354, - "nodeType": "ParameterList", - "parameters": [], - "src": "10062:0:13" - }, - "scope": 7609, - "src": "10010:303:13", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 7438, - "nodeType": "Block", - "src": "10650:270:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7403, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7398, - "src": "10678:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7402, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7608, - "src": "10669:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 7404, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10669:17:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 7405, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7396, - "src": "10690:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10669:26:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 7407, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10697:14:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - } - ], - "id": 7401, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "10661:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7408, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10661:51:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7409, - "nodeType": "ExpressionStatement", - "src": "10661:51:13" - }, - { - "expression": { - "argumentTypes": null, - "id": 7413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10725:31:13", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7410, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6970, - "src": "10732:15:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 7412, - "indexExpression": { - "argumentTypes": null, - "id": 7411, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7398, - "src": "10748:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10732:24:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7414, - "nodeType": "ExpressionStatement", - "src": "10725:31:13" - }, - { - "expression": { - "argumentTypes": null, - "id": 7421, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7415, - "name": "_tokenOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6966, - "src": "10769:11:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 7417, - "indexExpression": { - "argumentTypes": null, - "id": 7416, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7398, - "src": "10781:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10769:20:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7419, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10800:1:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 7418, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10792:7:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 7420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10792:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "10769:33:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7422, - "nodeType": "ExpressionStatement", - "src": "10769:33:13" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7424, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6975, - "src": "10831:12:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 7426, - "indexExpression": { - "argumentTypes": null, - "id": 7425, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7396, - "src": "10844:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "10831:19:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - { - "argumentTypes": null, - "id": 7427, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7398, - "src": "10852:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7423, - "name": "removeOwnedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7583, - "src": "10813:17:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256[] storage pointer,uint256)" - } - }, - "id": 7428, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10813:47:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7429, - "nodeType": "ExpressionStatement", - "src": "10813:47:13" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7431, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7396, - "src": "10885:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7433, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10900:1:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 7432, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10892:7:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 7434, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10892:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 7435, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7398, - "src": "10904:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7430, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9332, - "src": "10876:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 7436, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10876:36:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7437, - "nodeType": "EmitStatement", - "src": "10871:41:13" - } - ] - }, - "documentation": "@dev Internal function to burn a specific token\r\nReverts if the token does not exist\r\nDeprecated, use _burn(uint256) instead.\r\n@param owner owner of the token to burn\r\n@param tokenId uint256 ID of the token being burned\r", - "id": 7439, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "burn", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7399, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7396, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 7439, - "src": "10609:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7395, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10609:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7398, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7439, - "src": "10624:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7397, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10624:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10608:32:13" - }, - "returnParameters": { - "id": 7400, - "nodeType": "ParameterList", - "parameters": [], - "src": "10650:0:13" - }, - "scope": 7609, - "src": "10595:325:13", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 7451, - "nodeType": "Block", - "src": "11150:51:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7446, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7441, - "src": "11175:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7445, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7608, - "src": "11166:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 7447, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11166:17:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7448, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7441, - "src": "11185:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7444, - "name": "burn", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 7439, - 7452 - ], - "referencedDeclaration": 7439, - "src": "11161:4:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 7449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11161:32:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7450, - "nodeType": "ExpressionStatement", - "src": "11161:32:13" - } - ] - }, - "documentation": "@dev Internal function to burn a specific token\r\nReverts if the token does not exist\r\n@param tokenId uint256 ID of the token being burned\r", - "id": 7452, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "burn", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7442, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7441, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7452, - "src": "11124:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7440, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11124:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11123:17:13" - }, - "returnParameters": { - "id": 7443, - "nodeType": "ParameterList", - "parameters": [], - "src": "11150:0:13" - }, - "scope": 7609, - "src": "11110:91:13", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 7510, - "nodeType": "Block", - "src": "11652:358:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7466, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7463, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7458, - "src": "11680:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7462, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7608, - "src": "11671:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 7464, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11671:17:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 7465, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7454, - "src": "11692:4:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "11671:25:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 7467, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11698:14:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - } - ], - "id": 7461, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "11663:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7468, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11663:50:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7469, - "nodeType": "ExpressionStatement", - "src": "11663:50:13" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7475, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7471, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7456, - "src": "11732:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11746:1:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 7472, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11738:7:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 7474, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11738:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "11732:16:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4261642061646472657373", - "id": 7476, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11750:13:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - }, - "value": "Bad address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - } - ], - "id": 7470, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "11724:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7477, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11724:40:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7478, - "nodeType": "ExpressionStatement", - "src": "11724:40:13" - }, - { - "expression": { - "argumentTypes": null, - "id": 7482, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "11777:31:13", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7479, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6970, - "src": "11784:15:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 7481, - "indexExpression": { - "argumentTypes": null, - "id": 7480, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7458, - "src": "11800:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11784:24:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7483, - "nodeType": "ExpressionStatement", - "src": "11777:31:13" - }, - { - "expression": { - "argumentTypes": null, - "id": 7488, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7484, - "name": "_tokenOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6966, - "src": "11825:11:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 7486, - "indexExpression": { - "argumentTypes": null, - "id": 7485, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7458, - "src": "11837:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11825:20:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7487, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7456, - "src": "11848:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "11825:25:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 7489, - "nodeType": "ExpressionStatement", - "src": "11825:25:13" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7491, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6975, - "src": "11879:12:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 7493, - "indexExpression": { - "argumentTypes": null, - "id": 7492, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7454, - "src": "11892:4:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11879:18:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - { - "argumentTypes": null, - "id": 7494, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7458, - "src": "11899:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7490, - "name": "removeOwnedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7583, - "src": "11861:17:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256[] storage pointer,uint256)" - } - }, - "id": 7495, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11861:46:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7496, - "nodeType": "ExpressionStatement", - "src": "11861:46:13" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7498, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6975, - "src": "11933:12:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 7500, - "indexExpression": { - "argumentTypes": null, - "id": 7499, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7456, - "src": "11946:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11933:16:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - { - "argumentTypes": null, - "id": 7501, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7458, - "src": "11951:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7497, - "name": "addOwnedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7529, - "src": "11918:14:13", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256[] storage pointer,uint256)" - } - }, - "id": 7502, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11918:41:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7503, - "nodeType": "ExpressionStatement", - "src": "11918:41:13" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7505, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7454, - "src": "11984:4:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7506, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7456, - "src": "11990:2:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 7507, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7458, - "src": "11994:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 7504, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9332, - "src": "11975:8:13", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 7508, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11975:27:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7509, - "nodeType": "EmitStatement", - "src": "11970:32:13" - } - ] - }, - "documentation": "@dev Internal function to transfer ownership of a given token ID to another address.\r\nAs opposed to transferFrom, this imposes no restrictions on msg.sender.\r\n@param from current owner of the token\r\n@param to address to receive the ownership of the given token ID\r\n@param tokenId uint256 ID of the token to be transferred\r", - "id": 7511, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transfer", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7459, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7454, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 7511, - "src": "11600:12:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7453, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11600:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7456, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 7511, - "src": "11614:10:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7455, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11614:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7458, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7511, - "src": "11626:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7457, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11626:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11599:43:13" - }, - "returnParameters": { - "id": 7460, - "nodeType": "ParameterList", - "parameters": [], - "src": "11652:0:13" - }, - "scope": 7609, - "src": "11582:428:13", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 7528, - "nodeType": "Block", - "src": "12102:71:13", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 7526, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7519, - "name": "_ownedTokensPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6979, - "src": "12113:15:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 7521, - "indexExpression": { - "argumentTypes": null, - "id": 7520, - "name": "_tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7516, - "src": "12129:8:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12113:25:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 7524, - "name": "_tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7516, - "src": "12156:8:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 7522, - "name": "tokenList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7514, - "src": "12141:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[] storage pointer" - } - }, - "id": 7523, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12141:14:13", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) returns (uint256)" - } - }, - "id": 7525, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12141:24:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12113:52:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7527, - "nodeType": "ExpressionStatement", - "src": "12113:52:13" - } - ] - }, - "documentation": null, - "id": 7529, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "addOwnedTokens", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7517, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7514, - "name": "tokenList", - "nodeType": "VariableDeclaration", - "scope": 7529, - "src": "12046:27:13", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 7512, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12046:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7513, - "length": null, - "nodeType": "ArrayTypeName", - "src": "12046:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7516, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 7529, - "src": "12075:16:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7515, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12075:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12045:47:13" - }, - "returnParameters": { - "id": 7518, - "nodeType": "ParameterList", - "parameters": [], - "src": "12102:0:13" - }, - "scope": 7609, - "src": "12022:151:13", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 7582, - "nodeType": "Block", - "src": "12268:345:13", - "statements": [ - { - "assignments": [ - 7538 - ], - "declarations": [ - { - "constant": false, - "id": 7538, - "name": "pos", - "nodeType": "VariableDeclaration", - "scope": 7582, - "src": "12279:8:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7537, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "12279:4:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7542, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7539, - "name": "_ownedTokensPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6979, - "src": "12290:15:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 7541, - "indexExpression": { - "argumentTypes": null, - "id": 7540, - "name": "_tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7534, - "src": "12306:8:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12290:25:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12279:36:13" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7545, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7543, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7538, - "src": "12329:3:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 7544, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12336:1:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12329:8:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 7548, - "nodeType": "IfStatement", - "src": "12326:46:13", - "trueBody": { - "id": 7547, - "nodeType": "Block", - "src": "12339:33:13", - "statements": [ - { - "expression": null, - "functionReturnParameters": 7536, - "id": 7546, - "nodeType": "Return", - "src": "12354:7:13" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 7552, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "12382:32:13", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7549, - "name": "_ownedTokensPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6979, - "src": "12389:15:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 7551, - "indexExpression": { - "argumentTypes": null, - "id": 7550, - "name": "_tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7534, - "src": "12405:8:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12389:25:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7553, - "nodeType": "ExpressionStatement", - "src": "12382:32:13" - }, - { - "assignments": [ - 7555 - ], - "declarations": [ - { - "constant": false, - "id": 7555, - "name": "movedElement", - "nodeType": "VariableDeclaration", - "scope": 7582, - "src": "12425:20:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7554, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12425:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7562, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7556, - "name": "tokenList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7532, - "src": "12448:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[] storage pointer" - } - }, - "id": 7561, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7560, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7557, - "name": "tokenList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7532, - "src": "12458:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[] storage pointer" - } - }, - "id": 7558, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12458:16:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 7559, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12475:1:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "12458:18:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12448:29:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12425:52:13" - }, - { - "expression": { - "argumentTypes": null, - "id": 7569, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7563, - "name": "tokenList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7532, - "src": "12499:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[] storage pointer" - } - }, - "id": 7567, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 7566, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7564, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7538, - "src": "12509:3:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 7565, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12513:1:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "12509:5:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12499:16:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7568, - "name": "movedElement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7555, - "src": "12518:12:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12499:31:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7570, - "nodeType": "ExpressionStatement", - "src": "12499:31:13" - }, - { - "expression": { - "argumentTypes": null, - "id": 7574, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "12541:18:13", - "subExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 7571, - "name": "tokenList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7532, - "src": "12541:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[] storage pointer" - } - }, - "id": 7573, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12541:16:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7575, - "nodeType": "ExpressionStatement", - "src": "12541:18:13" - }, - { - "expression": { - "argumentTypes": null, - "id": 7580, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7576, - "name": "_ownedTokensPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6979, - "src": "12570:15:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 7578, - "indexExpression": { - "argumentTypes": null, - "id": 7577, - "name": "movedElement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7555, - "src": "12586:12:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12570:29:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 7579, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7538, - "src": "12602:3:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12570:35:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7581, - "nodeType": "ExpressionStatement", - "src": "12570:35:13" - } - ] - }, - "documentation": null, - "id": 7583, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "removeOwnedTokens", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7535, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7532, - "name": "tokenList", - "nodeType": "VariableDeclaration", - "scope": 7583, - "src": "12212:27:13", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 7530, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12212:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 7531, - "length": null, - "nodeType": "ArrayTypeName", - "src": "12212:9:13", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 7534, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 7583, - "src": "12241:16:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7533, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12241:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12211:47:13" - }, - "returnParameters": { - "id": 7536, - "nodeType": "ParameterList", - "parameters": [], - "src": "12268:0:13" - }, - "scope": 7609, - "src": "12185:428:13", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 7607, - "nodeType": "Block", - "src": "12910:130:13", - "statements": [ - { - "assignments": [ - 7591 - ], - "declarations": [ - { - "constant": false, - "id": 7591, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 7607, - "src": "12921:13:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7590, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12921:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 7595, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 7592, - "name": "_tokenOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6966, - "src": "12937:11:13", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 7594, - "indexExpression": { - "argumentTypes": null, - "id": 7593, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7585, - "src": "12949:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12937:20:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12921:36:13" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 7601, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 7597, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7591, - "src": "12976:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 7599, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12993:1:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 7598, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12985:7:13", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 7600, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12985:10:13", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "12976:19:13", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "42616420746f6b656e", - "id": 7602, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12997:11:13", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", - "typeString": "literal_string \"Bad token\"" - }, - "value": "Bad token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", - "typeString": "literal_string \"Bad token\"" - } - ], - "id": 7596, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "12968:7:13", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 7603, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12968:41:13", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 7604, - "nodeType": "ExpressionStatement", - "src": "12968:41:13" - }, - { - "expression": { - "argumentTypes": null, - "id": 7605, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7591, - "src": "13027:5:13", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 7589, - "id": 7606, - "nodeType": "Return", - "src": "13020:12:13" - } - ] - }, - "documentation": "@dev Gets the owner of the specified token ID\r\n@param tokenId uint256 ID of the token to query the owner of\r\n@return owner address currently marked as the owner of the given token ID\r", - "id": 7608, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getOwner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 7586, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7585, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 7608, - "src": "12861:15:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 7584, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12861:7:13", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12860:17:13" - }, - "returnParameters": { - "id": 7589, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 7588, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 7608, - "src": "12901:7:13", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 7587, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12901:7:13", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12900:9:13" - }, - "scope": 7609, - "src": "12843:197:13", - "stateMutability": "view", - "superFunction": null, - "visibility": "internal" } ], - "scope": 7610, - "src": "821:12228:13" + "scope": 1597, + "src": "180:295:13" } ], - "src": "0:13051:13" + "src": "0:475:13" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/TokenController.sol": { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/TokenController.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/TestStatusNetwork.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/TestStatusNetwork.sol", "exportedSymbols": { - "TokenController": [ - 6699 + "TestStatusNetwork": [ + 1737 ] }, - "id": 6700, + "id": 1738, "nodeType": "SourceUnit", "nodes": [ { - "id": 6669, + "id": 1598, "literals": [ "solidity", ">=", @@ -52877,4516 +20276,13 @@ "src": "0:31:14" }, { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": "@dev The token controller contract must implement these functions\r", - "fullyImplemented": false, - "id": 6699, - "linearizedBaseContracts": [ - 6699 - ], - "name": "TokenController", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": "@notice Called when `_owner` sends ether to the MiniMe Token contract\r\n@param _owner The address that sent the ether to create tokens\r\n@return True if the ether is accepted, false if it throws\r", - "id": 6676, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "proxyPayment", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6672, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6671, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 6676, - "src": "401:14:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6670, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "401:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "400:16:14" - }, - "returnParameters": { - "id": 6675, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6674, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6676, - "src": "442:4:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6673, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "442:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "441:6:14" - }, - "scope": 6699, - "src": "379:69:14", - "stateMutability": "payable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Notifies the controller about a token transfer allowing the\r\n controller to react if desired\r\n@param _from The origin of the transfer\r\n@param _to The destination of the transfer\r\n@param _amount The amount of the transfer\r\n@return False if the controller does not authorize the transfer\r", - "id": 6687, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "onTransfer", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6683, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6678, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 6687, - "src": "831:13:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6677, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "831:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6680, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 6687, - "src": "846:11:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6679, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "846:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6682, - "name": "_amount", - "nodeType": "VariableDeclaration", - "scope": 6687, - "src": "859:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6681, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "859:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "830:42:14" - }, - "returnParameters": { - "id": 6686, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6685, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6687, - "src": "890:4:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6684, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "890:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "889:6:14" - }, - "scope": 6699, - "src": "811:85:14", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Notifies the controller about an approval allowing the\r\n controller to react if desired\r\n@param _owner The address that calls `approve()`\r\n@param _spender The spender in the `approve()` call\r\n@param _amount The amount in the `approve()` call\r\n@return False if the controller does not authorize the approval\r", - "id": 6698, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "onApprove", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 6694, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6689, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 6698, - "src": "1299:14:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6688, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1299:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6691, - "name": "_spender", - "nodeType": "VariableDeclaration", - "scope": 6698, - "src": "1315:16:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 6690, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1315:7:14", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 6693, - "name": "_amount", - "nodeType": "VariableDeclaration", - "scope": 6698, - "src": "1333:12:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 6692, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "1333:4:14", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1298:48:14" - }, - "returnParameters": { - "id": 6697, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6696, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 6698, - "src": "1373:4:14", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 6695, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1373:4:14", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1372:6:14" - }, - "scope": 6699, - "src": "1280:99:14", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - } - ], - "scope": 6700, - "src": "113:1269:14" - } - ], - "src": "0:1384:14" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Address.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Address.sol", - "exportedSymbols": { - "Address": [ - 18 - ] - }, - "id": 19, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 1, - "literals": [ - "solidity", - ">=", - "0.5", - ".0", - "<", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:31:15" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": "Utility library of inline functions on addresses", - "fullyImplemented": true, - "id": 18, - "linearizedBaseContracts": [ - 18 - ], - "name": "Address", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 16, - "nodeType": "Block", - "src": "537:558:15", - "statements": [ - { - "assignments": [ - 9 - ], - "declarations": [ - { - "constant": false, - "id": 9, - "name": "size", - "nodeType": "VariableDeclaration", - "scope": 16, - "src": "547:12:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 8, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "547:7:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 10, - "initialValue": null, - "nodeType": "VariableDeclarationStatement", - "src": "547:12:15" - }, - { - "externalReferences": [ - { - "size": { - "declaration": 9, - "isOffset": false, - "isSlot": false, - "src": "1034:4:15", - "valueSize": 1 - } - }, - { - "account": { - "declaration": 3, - "isOffset": false, - "isSlot": false, - "src": "1054:7:15", - "valueSize": 1 - } - } - ], - "id": 11, - "nodeType": "InlineAssembly", - "operations": "{\n size := extcodesize(account)\n}", - "src": "1023:56:15" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 14, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 12, - "name": "size", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9, - "src": "1080:4:15", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 13, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1087:1:15", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "1080:8:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 7, - "id": 15, - "nodeType": "Return", - "src": "1073:15:15" - } - ] - }, - "documentation": "Returns whether the target address is a contract\n@dev This function will return false if invoked during the constructor of a contract,\nas the code is not actually created until after the constructor finishes.\n@param account address of the account to check\n@return whether the target address is a contract", - "id": 17, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isContract", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3, - "name": "account", - "nodeType": "VariableDeclaration", - "scope": 17, - "src": "491:15:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 2, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "491:7:15", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "490:17:15" - }, - "returnParameters": { - "id": 7, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 6, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 17, - "src": "531:4:15", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "531:4:15", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "530:6:15" - }, - "scope": 18, - "src": "471:624:15", - "stateMutability": "view", - "superFunction": null, - "visibility": "internal" - } - ], - "scope": 19, - "src": "93:1004:15" - } - ], - "src": "0:1097:15" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Controlled.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Controlled.sol", - "exportedSymbols": { - "Controlled": [ - 56 - ] - }, - "id": 57, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 20, - "literals": [ - "solidity", - ">=", - "0.5", - ".0", - "<", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:31:16" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": null, - "fullyImplemented": true, - "id": 56, - "linearizedBaseContracts": [ - 56 - ], - "name": "Controlled", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 31, - "nodeType": "Block", - "src": "202:77:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 26, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 23, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "220:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 24, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "220:10:16", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 25, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 34, - "src": "234:10:16", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "220:24:16", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 27, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "246:14:16", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - } - ], - "id": 22, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "212:7:16", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 28, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "212:49:16", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 29, - "nodeType": "ExpressionStatement", - "src": "212:49:16" - }, - { - "id": 30, - "nodeType": "PlaceholderStatement", - "src": "271:1:16" - } - ] - }, - "documentation": "@notice The address of the controller is the only address that can call\n a function with this modifier", - "id": 32, - "name": "onlyController", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 21, - "nodeType": "ParameterList", - "parameters": [], - "src": "202:0:16" - }, - "src": "178:101:16", - "visibility": "internal" - }, - { - "constant": false, - "id": 34, - "name": "controller", - "nodeType": "VariableDeclaration", - "scope": 56, - "src": "285:33:16", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 33, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "285:15:16", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 42, - "nodeType": "Block", - "src": "348:40:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 40, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 37, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 34, - "src": "358:10:16", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 38, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "371:3:16", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 39, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "371:10:16", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "358:23:16", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 41, - "nodeType": "ExpressionStatement", - "src": "358:23:16" - } - ] - }, - "documentation": null, - "id": 43, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 35, - "nodeType": "ParameterList", - "parameters": [], - "src": "336:2:16" - }, - "returnParameters": { - "id": 36, - "nodeType": "ParameterList", - "parameters": [], - "src": "348:0:16" - }, - "scope": 56, - "src": "325:63:16", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 54, - "nodeType": "Block", - "src": "594:44:16", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 52, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 50, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 34, - "src": "604:10:16", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 51, - "name": "_newController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 45, - "src": "617:14:16", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "604:27:16", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 53, - "nodeType": "ExpressionStatement", - "src": "604:27:16" - } - ] - }, - "documentation": "@notice Changes the controller of the contract\n @param _newController The new controller of the contract", - "id": 55, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 48, - "modifierName": { - "argumentTypes": null, - "id": 47, - "name": "onlyController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 32, - "src": "579:14:16", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "579:14:16" - } - ], - "name": "changeController", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 46, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 45, - "name": "_newController", - "nodeType": "VariableDeclaration", - "scope": 55, - "src": "540:30:16", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 44, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "540:15:16", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "539:32:16" - }, - "returnParameters": { - "id": 49, - "nodeType": "ParameterList", - "parameters": [], - "src": "594:0:16" - }, - "scope": 56, - "src": "514:124:16", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - } - ], - "scope": 57, - "src": "33:607:16" - } - ], - "src": "0:641:16" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Introspective.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Introspective.sol", - "exportedSymbols": { - "ERC165": [ - 66 - ], - "Introspective": [ - 115 - ] - }, - "id": 116, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 58, - "literals": [ - "solidity", - ">=", - "0.5", - ".0", - "<", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:31:17" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 66, - "linearizedBaseContracts": [ - 66 - ], - "name": "ERC165", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": "@notice Query if a contract implements an interface\n@param interfaceID The interface identifier, as specified in ERC-165\n@dev Interface identification is specified in ERC-165. This function\n uses less than 30,000 gas.\n@return `true` if the contract implements `interfaceID` and\n `interfaceID` is not 0xffffffff, `false` otherwise", - "id": 65, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 61, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 60, - "name": "interfaceID", - "nodeType": "VariableDeclaration", - "scope": 65, - "src": "471:18:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 59, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "471:6:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "470:20:17" - }, - "returnParameters": { - "id": 64, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 63, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 65, - "src": "514:4:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 62, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "514:4:17", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "513:6:17" - }, - "scope": 66, - "src": "444:76:17", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - } - ], - "scope": 116, - "src": "33:489:17" - }, - { - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 67, - "name": "ERC165", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 66, - "src": "656:6:17", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$66", - "typeString": "contract ERC165" - } - }, - "id": 68, - "nodeType": "InheritanceSpecifier", - "src": "656:6:17" - } - ], - "contractDependencies": [ - 66 - ], - "contractKind": "contract", - "documentation": "@title ERC165\n@author Matt Condon (@shrugs)\n@dev Implements ERC165 using a lookup table.", - "fullyImplemented": true, - "id": 115, - "linearizedBaseContracts": [ - 115, - 66 - ], - "name": "Introspective", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": true, - "id": 71, - "name": "_INTERFACE_ID_ERC165", - "nodeType": "VariableDeclaration", - "scope": 115, - "src": "669:57:17", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 69, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "669:6:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783031666663396137", - "id": 70, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "716:10:17", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_33540519_by_1", - "typeString": "int_const 33540519" - }, - "value": "0x01ffc9a7" - }, - "visibility": "private" - }, - { - "constant": false, - "id": 75, - "name": "_supportedInterfaces", - "nodeType": "VariableDeclaration", - "scope": 115, - "src": "916:52:17", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - }, - "typeName": { - "id": 74, - "keyType": { - "id": 72, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "924:6:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "Mapping", - "src": "916:23:17", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - }, - "valueType": { - "id": 73, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "934:4:17", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "body": { - "id": 82, - "nodeType": "Block", - "src": "1110:57:17", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 79, - "name": "_INTERFACE_ID_ERC165", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 71, - "src": "1139:20:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 78, - "name": "_registerInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 114, - "src": "1120:18:17", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 80, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1120:40:17", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 81, - "nodeType": "ExpressionStatement", - "src": "1120:40:17" - } - ] - }, - "documentation": "@dev A contract implementing SupportsInterfaceWithLookup\nimplement ERC165 itself", - "id": 83, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 76, - "nodeType": "ParameterList", - "parameters": [], - "src": "1098:2:17" - }, - "returnParameters": { - "id": 77, - "nodeType": "ParameterList", - "parameters": [], - "src": "1110:0:17" - }, - "scope": 115, - "src": "1086:81:17", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 94, - "nodeType": "Block", - "src": "1334:57:17", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 90, - "name": "_supportedInterfaces", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 75, - "src": "1351:20:17", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - } - }, - "id": 92, - "indexExpression": { - "argumentTypes": null, - "id": 91, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 85, - "src": "1372:11:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "1351:33:17", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 89, - "id": 93, - "nodeType": "Return", - "src": "1344:40:17" - } - ] - }, - "documentation": "@dev implement supportsInterface(bytes4) using a lookup table", - "id": 95, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "supportsInterface", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 86, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 85, - "name": "interfaceId", - "nodeType": "VariableDeclaration", - "scope": 95, - "src": "1285:18:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 84, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1285:6:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1284:20:17" - }, - "returnParameters": { - "id": 89, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 88, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 95, - "src": "1328:4:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 87, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1328:4:17", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1327:6:17" - }, - "scope": 115, - "src": "1258:133:17", - "stateMutability": "view", - "superFunction": 65, - "visibility": "external" - }, - { - "body": { - "id": 113, - "nodeType": "Block", - "src": "1527:120:17", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 101, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 97, - "src": "1545:11:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30786666666666666666", - "id": 102, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1560:10:17", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_4294967295_by_1", - "typeString": "int_const 4294967295" - }, - "value": "0xffffffff" - }, - "src": "1545:25:17", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "42616420696e746572666163654964", - "id": 104, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1572:17:17", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6163a4b4d98ada8792b1ecf7d7e11bd83977e1677710e42b5f78160e43feb131", - "typeString": "literal_string \"Bad interfaceId\"" - }, - "value": "Bad interfaceId" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6163a4b4d98ada8792b1ecf7d7e11bd83977e1677710e42b5f78160e43feb131", - "typeString": "literal_string \"Bad interfaceId\"" - } - ], - "id": 100, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "1537:7:17", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 105, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1537:53:17", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 106, - "nodeType": "ExpressionStatement", - "src": "1537:53:17" - }, - { - "expression": { - "argumentTypes": null, - "id": 111, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 107, - "name": "_supportedInterfaces", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 75, - "src": "1600:20:17", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", - "typeString": "mapping(bytes4 => bool)" - } - }, - "id": 109, - "indexExpression": { - "argumentTypes": null, - "id": 108, - "name": "interfaceId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 97, - "src": "1621:11:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "1600:33:17", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 110, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1636:4:17", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "src": "1600:40:17", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 112, - "nodeType": "ExpressionStatement", - "src": "1600:40:17" - } - ] - }, - "documentation": "@dev internal method for registering an interface", - "id": 114, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "_registerInterface", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 98, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 97, - "name": "interfaceId", - "nodeType": "VariableDeclaration", - "scope": 114, - "src": "1498:18:17", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 96, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1498:6:17", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1497:20:17" - }, - "returnParameters": { - "id": 99, - "nodeType": "ParameterList", - "parameters": [], - "src": "1527:0:17" - }, - "scope": 115, - "src": "1470:177:17", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - } - ], - "scope": 116, - "src": "630:1019:17" - } - ], - "src": "0:1650:17" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Owned.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Owned.sol", - "exportedSymbols": { - "Owned": [ - 169 - ] - }, - "id": 170, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 117, - "literals": [ - "solidity", - ">=", - "0.5", - ".0", - "<", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:31:18" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "contract", - "documentation": "@dev `Owned` is a base level contract that assigns an `owner` that can be\n later changed", - "fullyImplemented": true, - "id": 169, - "linearizedBaseContracts": [ - 169 - ], - "name": "Owned", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 128, - "nodeType": "Block", - "src": "266:72:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 123, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 120, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "284:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 121, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "284:10:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 122, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 131, - "src": "298:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "284:19:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 124, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "305:14:18", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - } - ], - "id": 119, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "276:7:18", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "276:44:18", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 126, - "nodeType": "ExpressionStatement", - "src": "276:44:18" - }, - { - "id": 127, - "nodeType": "PlaceholderStatement", - "src": "330:1:18" - } - ] - }, - "documentation": "@dev `owner` is the only address that can call a function with this\n modifier", - "id": 129, - "name": "onlyOwner", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 118, - "nodeType": "ParameterList", - "parameters": [], - "src": "263:2:18" - }, - "src": "245:93:18", - "visibility": "internal" - }, - { - "constant": false, - "id": 131, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 169, - "src": "344:28:18", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 130, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "344:15:18", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 139, - "nodeType": "Block", - "src": "475:35:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 137, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 134, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 131, - "src": "485:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 135, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "493:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 136, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "493:10:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "485:18:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 138, - "nodeType": "ExpressionStatement", - "src": "485:18:18" - } - ] - }, - "documentation": "@notice The Constructor assigns the message sender to be `owner`", - "id": 140, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 132, - "nodeType": "ParameterList", - "parameters": [], - "src": "463:2:18" - }, - "returnParameters": { - "id": 133, - "nodeType": "ParameterList", - "parameters": [], - "src": "475:0:18" - }, - "scope": 169, - "src": "452:58:18", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 142, - "name": "newOwner", - "nodeType": "VariableDeclaration", - "scope": 169, - "src": "516:31:18", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 141, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "516:15:18", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "public" - }, - { - "body": { - "id": 153, - "nodeType": "Block", - "src": "846:37:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 151, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 149, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 142, - "src": "856:8:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 150, - "name": "_newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 144, - "src": "867:9:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "856:20:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 152, - "nodeType": "ExpressionStatement", - "src": "856:20:18" - } - ] - }, - "documentation": "@notice `owner` can step down and assign some other address to this role\n @param _newOwner The address of the new owner. 0x0 can be used to create\n an unowned neutral vault, however that cannot be undone", - "id": 154, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 147, - "modifierName": { - "argumentTypes": null, - "id": 146, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 129, - "src": "836:9:18", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "836:9:18" - } - ], - "name": "changeOwner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 145, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 144, - "name": "_newOwner", - "nodeType": "VariableDeclaration", - "scope": 154, - "src": "802:25:18", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 143, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "802:15:18", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "801:27:18" - }, - "returnParameters": { - "id": 148, - "nodeType": "ParameterList", - "parameters": [], - "src": "846:0:18" - }, - "scope": 169, - "src": "781:102:18", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 167, - "nodeType": "Block", - "src": "924:85:18", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 160, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 157, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "938:3:18", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 158, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "938:10:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 159, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 142, - "src": "952:8:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "938:22:18", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 166, - "nodeType": "IfStatement", - "src": "934:69:18", - "trueBody": { - "id": 165, - "nodeType": "Block", - "src": "962:41:18", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 163, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 161, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 131, - "src": "976:5:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 162, - "name": "newOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 142, - "src": "984:8:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "976:16:18", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 164, - "nodeType": "ExpressionStatement", - "src": "976:16:18" - } - ] - } - } - ] - }, - "documentation": null, - "id": 168, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "acceptOwnership", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 155, - "nodeType": "ParameterList", - "parameters": [], - "src": "914:2:18" - }, - "returnParameters": { - "id": 156, - "nodeType": "ParameterList", - "parameters": [], - "src": "924:0:18" - }, - "scope": 169, - "src": "890:119:18", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - } - ], - "scope": 170, - "src": "130:881:18" - } - ], - "src": "0:1011:18" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\SafeMath.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\SafeMath.sol", - "exportedSymbols": { - "SafeMath": [ - 332 - ] - }, - "id": 333, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 171, - "literals": [ - "solidity", - ">=", - "0.5", - ".0", - "<", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:31:19" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "library", - "documentation": "Math operations with safety checks", - "fullyImplemented": true, - "id": 332, - "linearizedBaseContracts": [ - 332 - ], - "name": "SafeMath", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 200, - "nodeType": "Block", - "src": "160:87:19", - "statements": [ - { - "assignments": [ - 181 - ], - "declarations": [ - { - "constant": false, - "id": 181, - "name": "c", - "nodeType": "VariableDeclaration", - "scope": 200, - "src": "170:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 180, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "170:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 185, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 184, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 182, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "179:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "*", - "rightExpression": { - "argumentTypes": null, - "id": 183, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 175, - "src": "183:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "179:5:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "170:14:19" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 195, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 189, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 187, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "201:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 188, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "206:1:19", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "201:6:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 192, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 190, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 181, - "src": "211:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 191, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 173, - "src": "215:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "211:5:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 193, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 175, - "src": "220:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "211:10:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "201:20:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 186, - "name": "assert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9442, - "src": "194:6:19", - "typeDescriptions": { - "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 196, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "194:28:19", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 197, - "nodeType": "ExpressionStatement", - "src": "194:28:19" - }, - { - "expression": { - "argumentTypes": null, - "id": 198, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 181, - "src": "239:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 179, - "id": 199, - "nodeType": "Return", - "src": "232:8:19" - } - ] - }, - "documentation": null, - "id": 201, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mul", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 176, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 173, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 201, - "src": "115:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 172, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "115:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 175, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 201, - "src": "123:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 174, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "123:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "114:16:19" - }, - "returnParameters": { - "id": 179, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 178, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 201, - "src": "154:4:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 177, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "154:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "153:6:19" - }, - "scope": 332, - "src": "102:145:19", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 218, - "nodeType": "Block", - "src": "311:213:19", - "statements": [ - { - "assignments": [ - 211 - ], - "declarations": [ - { - "constant": false, - "id": 211, - "name": "c", - "nodeType": "VariableDeclaration", - "scope": 218, - "src": "399:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 210, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "399:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 215, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 214, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 212, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 203, - "src": "408:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "/", - "rightExpression": { - "argumentTypes": null, - "id": 213, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 205, - "src": "412:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "408:5:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "399:14:19" - }, - { - "expression": { - "argumentTypes": null, - "id": 216, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 211, - "src": "516:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 209, - "id": 217, - "nodeType": "Return", - "src": "509:8:19" - } - ] - }, - "documentation": null, - "id": 219, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "div", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 206, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 203, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 219, - "src": "266:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 202, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "266:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 205, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 219, - "src": "274:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 204, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "274:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "265:16:19" - }, - "returnParameters": { - "id": 209, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 208, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 219, - "src": "305:4:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 207, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "305:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "304:6:19" - }, - "scope": 332, - "src": "253:271:19", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 238, - "nodeType": "Block", - "src": "588:53:19", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 231, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 229, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 223, - "src": "605:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<=", - "rightExpression": { - "argumentTypes": null, - "id": 230, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 221, - "src": "610:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "605:6:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 228, - "name": "assert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9442, - "src": "598:6:19", - "typeDescriptions": { - "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 232, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "598:14:19", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 233, - "nodeType": "ExpressionStatement", - "src": "598:14:19" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 236, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 234, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 221, - "src": "629:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "id": 235, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 223, - "src": "633:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "629:5:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 227, - "id": 237, - "nodeType": "Return", - "src": "622:12:19" - } - ] - }, - "documentation": null, - "id": 239, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "sub", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 224, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 221, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 239, - "src": "543:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 220, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "543:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 223, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 239, - "src": "551:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 222, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "551:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "542:16:19" - }, - "returnParameters": { - "id": 227, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 226, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 239, - "src": "582:4:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 225, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "582:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "581:6:19" - }, - "scope": 332, - "src": "530:111:19", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 262, - "nodeType": "Block", - "src": "705:73:19", - "statements": [ - { - "assignments": [ - 249 - ], - "declarations": [ - { - "constant": false, - "id": 249, - "name": "c", - "nodeType": "VariableDeclaration", - "scope": 262, - "src": "715:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 248, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "715:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 253, - "initialValue": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 252, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 250, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 241, - "src": "724:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "argumentTypes": null, - "id": 251, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 243, - "src": "728:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "724:5:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "715:14:19" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 257, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 255, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 249, - "src": "746:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 256, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 241, - "src": "751:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "746:6:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 254, - "name": "assert", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9442, - "src": "739:6:19", - "typeDescriptions": { - "typeIdentifier": "t_function_assert_pure$_t_bool_$returns$__$", - "typeString": "function (bool) pure" - } - }, - "id": 258, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "739:14:19", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 259, - "nodeType": "ExpressionStatement", - "src": "739:14:19" - }, - { - "expression": { - "argumentTypes": null, - "id": 260, - "name": "c", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 249, - "src": "770:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 247, - "id": 261, - "nodeType": "Return", - "src": "763:8:19" - } - ] - }, - "documentation": null, - "id": 263, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "add", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 244, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 241, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 263, - "src": "660:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 240, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "660:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 243, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 263, - "src": "668:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 242, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "668:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "659:16:19" - }, - "returnParameters": { - "id": 247, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 246, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 263, - "src": "699:4:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 245, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "699:4:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "698:6:19" - }, - "scope": 332, - "src": "647:131:19", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 279, - "nodeType": "Block", - "src": "850:38:19", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 274, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 272, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "867:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 273, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 267, - "src": "872:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "867:6:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 276, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 267, - "src": "880:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "id": 277, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "867:14:19", - "trueExpression": { - "argumentTypes": null, - "id": 275, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 265, - "src": "876:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "functionReturnParameters": 271, - "id": 278, - "nodeType": "Return", - "src": "860:21:19" - } - ] - }, - "documentation": null, - "id": 280, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "max64", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 268, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 265, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 280, - "src": "799:8:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 264, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "799:6:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 267, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 280, - "src": "809:8:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 266, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "809:6:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "798:20:19" - }, - "returnParameters": { - "id": 271, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 270, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 280, - "src": "842:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 269, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "842:6:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "841:8:19" - }, - "scope": 332, - "src": "784:104:19", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 296, - "nodeType": "Block", - "src": "960:37:19", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "id": 291, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 289, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 282, - "src": "977:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 290, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 284, - "src": "981:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "src": "977:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 293, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 284, - "src": "989:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "id": 294, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "977:13:19", - "trueExpression": { - "argumentTypes": null, - "id": 292, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 282, - "src": "985:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "functionReturnParameters": 288, - "id": 295, - "nodeType": "Return", - "src": "970:20:19" - } - ] - }, - "documentation": null, - "id": 297, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "min64", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 285, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 282, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 297, - "src": "909:8:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 281, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "909:6:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 284, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 297, - "src": "919:8:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 283, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "919:6:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "908:20:19" - }, - "returnParameters": { - "id": 288, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 287, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 297, - "src": "952:6:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - }, - "typeName": { - "id": 286, - "name": "uint64", - "nodeType": "ElementaryTypeName", - "src": "952:6:19", - "typeDescriptions": { - "typeIdentifier": "t_uint64", - "typeString": "uint64" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "951:8:19" - }, - "scope": 332, - "src": "894:103:19", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 313, - "nodeType": "Block", - "src": "1073:38:19", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 308, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 306, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "1090:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": ">=", - "rightExpression": { - "argumentTypes": null, - "id": 307, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 301, - "src": "1095:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1090:6:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 310, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 301, - "src": "1103:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 311, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1090:14:19", - "trueExpression": { - "argumentTypes": null, - "id": 309, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 299, - "src": "1099:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 305, - "id": 312, - "nodeType": "Return", - "src": "1083:21:19" - } - ] - }, - "documentation": null, - "id": 314, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "max256", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 302, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 299, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 314, - "src": "1019:9:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 298, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1019:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 301, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 314, - "src": "1030:9:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 300, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1030:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1018:22:19" - }, - "returnParameters": { - "id": 305, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 304, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 314, - "src": "1064:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 303, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1064:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1063:9:19" - }, - "scope": 332, - "src": "1003:108:19", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 330, - "nodeType": "Block", - "src": "1187:37:19", - "statements": [ - { - "expression": { - "argumentTypes": null, - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 325, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 323, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 316, - "src": "1204:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "id": 324, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 318, - "src": "1208:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "1204:5:19", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseExpression": { - "argumentTypes": null, - "id": 327, - "name": "b", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 318, - "src": "1216:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 328, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "Conditional", - "src": "1204:13:19", - "trueExpression": { - "argumentTypes": null, - "id": 326, - "name": "a", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 316, - "src": "1212:1:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 322, - "id": 329, - "nodeType": "Return", - "src": "1197:20:19" - } - ] - }, - "documentation": null, - "id": 331, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "min256", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 319, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 316, - "name": "a", - "nodeType": "VariableDeclaration", - "scope": 331, - "src": "1133:9:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 315, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1133:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 318, - "name": "b", - "nodeType": "VariableDeclaration", - "scope": 331, - "src": "1144:9:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 317, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1144:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1132:22:19" - }, - "returnParameters": { - "id": 322, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 321, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 331, - "src": "1178:7:19", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 320, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1178:7:19", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1177:9:19" - }, - "scope": 332, - "src": "1117:107:19", - "stateMutability": "pure", - "superFunction": null, - "visibility": "internal" - } - ], - "scope": 333, - "src": "79:1147:19" - } - ], - "src": "0:1227:19" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\SNTController.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\SNTController.sol", - "exportedSymbols": { - "SNTController": [ - 505 - ] - }, - "id": 506, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 334, - "literals": [ - "solidity", - ">=", - "0.5", - ".0", - "<", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:31:20" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/TokenController.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/TokenController.sol", - "id": 335, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/StatusNetwork.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/StatusNetwork.sol", + "id": 1599, "nodeType": "ImportDirective", - "scope": 506, - "sourceUnit": 6700, - "src": "33:100:20", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Owned.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Owned.sol", - "id": 336, - "nodeType": "ImportDirective", - "scope": 506, - "sourceUnit": 5454, - "src": "134:91:20", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "id": 337, - "nodeType": "ImportDirective", - "scope": 506, - "sourceUnit": 5523, - "src": "226:95:20", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/MiniMeToken.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/MiniMeToken.sol", - "id": 338, - "nodeType": "ImportDirective", - "scope": 506, - "sourceUnit": 6668, - "src": "322:96:20", + "scope": 1738, + "sourceUnit": 1597, + "src": "33:94:14", "symbolAliases": [], "unitAlias": "" }, @@ -57396,2410 +20292,48 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 339, - "name": "TokenController", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6699, - "src": "599:15:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_TokenController_$6699", - "typeString": "contract TokenController" - } - }, - "id": 340, - "nodeType": "InheritanceSpecifier", - "src": "599:15:20" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 341, - "name": "Owned", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5453, - "src": "616:5:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Owned_$5453", - "typeString": "contract Owned" - } - }, - "id": 342, - "nodeType": "InheritanceSpecifier", - "src": "616:5:20" - } - ], - "contractDependencies": [ - 5453, - 6699 - ], - "contractKind": "contract", - "documentation": "@title SNTController\n@author Ricardo Guilherme Schmidt (Status Research & Development GmbH)\n@notice enables economic abstraction for SNT", - "fullyImplemented": true, - "id": 505, - "linearizedBaseContracts": [ - 505, - 5453, - 6699 - ], - "name": "SNTController", - "nodeType": "ContractDefinition", - "nodes": [ - { - "constant": false, - "id": 344, - "name": "snt", - "nodeType": "VariableDeclaration", - "scope": 505, - "src": "629:22:20", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - }, - "typeName": { - "contractScope": null, - "id": 343, - "name": "MiniMeToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "629:11:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "value": null, - "visibility": "public" - }, - { - "anonymous": false, - "documentation": null, - "id": 352, - "name": "ClaimedTokens", - "nodeType": "EventDefinition", - "parameters": { - "id": 351, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 346, - "indexed": true, - "name": "_token", - "nodeType": "VariableDeclaration", - "scope": 352, - "src": "678:22:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "678:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 348, - "indexed": true, - "name": "_controller", - "nodeType": "VariableDeclaration", - "scope": 352, - "src": "702:27:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 347, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "702:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 350, - "indexed": false, - "name": "_amount", - "nodeType": "VariableDeclaration", - "scope": 352, - "src": "731:15:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 349, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "731:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "677:70:20" - }, - "src": "658:90:20" - }, - { - "anonymous": false, - "documentation": null, - "id": 356, - "name": "ControllerChanged", - "nodeType": "EventDefinition", - "parameters": { - "id": 355, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 354, - "indexed": true, - "name": "_newController", - "nodeType": "VariableDeclaration", - "scope": 356, - "src": "777:30:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 353, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "777:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "776:32:20" - }, - "src": "753:56:20" - }, - { - "body": { - "id": 378, - "nodeType": "Block", - "src": "989:99:20", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "id": 367, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 363, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 358, - "src": "1002:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 365, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1020:1:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 364, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1012:7:20", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 366, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1012:10:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1002:20:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 373, - "nodeType": "IfStatement", - "src": "999:63:20", - "trueBody": { - "id": 372, - "nodeType": "Block", - "src": "1023:39:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 370, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 368, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "1037:5:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 369, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 358, - "src": "1045:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1037:14:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 371, - "nodeType": "ExpressionStatement", - "src": "1037:14:20" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 376, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "id": 374, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 344, - "src": "1071:3:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 375, - "name": "_snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 360, - "src": "1077:4:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "src": "1071:10:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 377, - "nodeType": "ExpressionStatement", - "src": "1071:10:20" - } - ] - }, - "documentation": "@notice Constructor\n@param _owner Authority address\n@param _snt SNT token", - "id": 379, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 361, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 358, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 379, - "src": "938:22:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 357, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "938:15:20", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 360, - "name": "_snt", - "nodeType": "VariableDeclaration", - "scope": 379, - "src": "962:16:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - }, - "typeName": { - "contractScope": null, - "id": 359, - "name": "MiniMeToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "962:11:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "937:42:20" - }, - "returnParameters": { - "id": 362, - "nodeType": "ParameterList", - "parameters": [], - "src": "989:0:20" - }, - "scope": 505, - "src": "926:162:20", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 396, - "nodeType": "Block", - "src": "1408:101:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 389, - "name": "_newController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 381, - "src": "1439:14:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "expression": { - "argumentTypes": null, - "id": 386, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 344, - "src": "1418:3:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 388, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "changeController", - "nodeType": "MemberAccess", - "referencedDeclaration": 6927, - "src": "1418:20:20", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_payable_$returns$__$", - "typeString": "function (address payable) external" - } - }, - "id": 390, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1418:36:20", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 391, - "nodeType": "ExpressionStatement", - "src": "1418:36:20" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 393, - "name": "_newController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 381, - "src": "1487:14:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 392, - "name": "ControllerChanged", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 356, - "src": "1469:17:20", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", - "typeString": "function (address)" - } - }, - "id": 394, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1469:33:20", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 395, - "nodeType": "EmitStatement", - "src": "1464:38:20" - } - ] - }, - "documentation": "@notice The owner of this contract can change the controller of the SNT token\n Please, be sure that the owner is a trusted agent or 0x0 address.\n @param _newController The address of the new controller", - "id": 397, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 384, - "modifierName": { - "argumentTypes": null, - "id": 383, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5413, - "src": "1398:9:20", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1398:9:20" - } - ], - "name": "changeController", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 382, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 381, - "name": "_newController", - "nodeType": "VariableDeclaration", - "scope": 397, - "src": "1358:31:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 380, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1358:16:20", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1357:33:20" - }, - "returnParameters": { - "id": 385, - "nodeType": "ParameterList", - "parameters": [], - "src": "1408:0:20" - }, - "scope": 505, - "src": "1332:177:20", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 465, - "nodeType": "Block", - "src": "1834:427:20", - "statements": [ - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 404, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 344, - "src": "1848:3:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 405, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "controller", - "nodeType": "MemberAccess", - "referencedDeclaration": 6906, - "src": "1848:14:20", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$__$returns$_t_address_payable_$", - "typeString": "function () view external returns (address payable)" - } - }, - "id": 406, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1848:16:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 408, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9513, - "src": "1876:4:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SNTController_$505", - "typeString": "contract SNTController" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_SNTController_$505", - "typeString": "contract SNTController" - } - ], - "id": 407, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1868:7:20", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 409, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1868:13:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "1848:33:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 418, - "nodeType": "IfStatement", - "src": "1844:87:20", - "trueBody": { - "id": 417, - "nodeType": "Block", - "src": "1883:48:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 414, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 399, - "src": "1913:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 411, - "name": "snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 344, - "src": "1897:3:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "id": 413, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "claimTokens", - "nodeType": "MemberAccess", - "referencedDeclaration": 6593, - "src": "1897:15:20", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", - "typeString": "function (address) external" - } - }, - "id": 415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1897:23:20", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 416, - "nodeType": "ExpressionStatement", - "src": "1897:23:20" - } - ] - } - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 423, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 419, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 399, - "src": "1944:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 421, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1962:1:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 420, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1954:7:20", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 422, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1954:10:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "1944:20:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 436, - "nodeType": "IfStatement", - "src": "1940:117:20", - "trueBody": { - "id": 435, - "nodeType": "Block", - "src": "1966:91:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 429, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9513, - "src": "2012:4:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SNTController_$505", - "typeString": "contract SNTController" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_SNTController_$505", - "typeString": "contract SNTController" - } - ], - "id": 428, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2004:7:20", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 430, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2004:13:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 431, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balance", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2004:21:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 425, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "1988:5:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - ], - "id": 424, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "1980:7:20", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 426, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1980:14:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "id": 427, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transfer", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "1980:23:20", - "typeDescriptions": { - "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", - "typeString": "function (uint256)" - } - }, - "id": 432, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "1980:46:20", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 433, - "nodeType": "ExpressionStatement", - "src": "1980:46:20" - }, - { - "expression": null, - "functionReturnParameters": 403, - "id": 434, - "nodeType": "Return", - "src": "2040:7:20" - } - ] - } - }, - { - "assignments": [ - 438 - ], - "declarations": [ - { - "constant": false, - "id": 438, - "name": "token", - "nodeType": "VariableDeclaration", - "scope": 465, - "src": "2067:16:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - }, - "typeName": { - "contractScope": null, - "id": 437, - "name": "ERC20Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "2067:10:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 442, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 440, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 399, - "src": "2097:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 439, - "name": "ERC20Token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5522, - "src": "2086:10:20", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC20Token_$5522_$", - "typeString": "type(contract ERC20Token)" - } - }, - "id": 441, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2086:18:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2067:37:20" - }, - { - "assignments": [ - 444 - ], - "declarations": [ - { - "constant": false, - "id": 444, - "name": "balance", - "nodeType": "VariableDeclaration", - "scope": 465, - "src": "2114:15:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 443, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2114:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 451, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 448, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9513, - "src": "2156:4:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SNTController_$505", - "typeString": "contract SNTController" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_SNTController_$505", - "typeString": "contract SNTController" - } - ], - "id": 447, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "2148:7:20", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 449, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2148:13:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 445, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 438, - "src": "2132:5:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 446, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balanceOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 5491, - "src": "2132:15:20", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view external returns (uint256)" - } - }, - "id": 450, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2132:30:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2114:48:20" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 455, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "2187:5:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 456, - "name": "balance", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 444, - "src": "2194:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 452, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 438, - "src": "2172:5:20", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 454, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transfer", - "nodeType": "MemberAccess", - "referencedDeclaration": 5464, - "src": "2172:14:20", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) external returns (bool)" - } - }, - "id": 457, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2172:30:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 458, - "nodeType": "ExpressionStatement", - "src": "2172:30:20" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 460, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 399, - "src": "2231:6:20", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 461, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "2239:5:20", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 462, - "name": "balance", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 444, - "src": "2246:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 459, - "name": "ClaimedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 352, - "src": "2217:13:20", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 463, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2217:37:20", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 464, - "nodeType": "EmitStatement", - "src": "2212:42:20" - } - ] - }, - "documentation": "@notice This method can be used by the controller to extract mistakenly\n sent tokens to this contract.\n@param _token The address of the token contract that you want to recover\n set to 0 in case you want to extract ether.", - "id": 466, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": null, - "id": 402, - "modifierName": { - "argumentTypes": null, - "id": 401, - "name": "onlyOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5413, - "src": "1824:9:20", - "typeDescriptions": { - "typeIdentifier": "t_modifier$__$", - "typeString": "modifier ()" - } - }, - "nodeType": "ModifierInvocation", - "src": "1824:9:20" - } - ], - "name": "claimTokens", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 400, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 399, - "name": "_token", - "nodeType": "VariableDeclaration", - "scope": 466, - "src": "1801:14:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 398, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1801:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1800:16:20" - }, - "returnParameters": { - "id": 403, - "nodeType": "ParameterList", - "parameters": [], - "src": "1834:0:20" - }, - "scope": 505, - "src": "1780:481:20", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 475, - "nodeType": "Block", - "src": "2509:145:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "66616c7365", - "id": 473, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2642:5:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "false" - }, - "functionReturnParameters": 472, - "id": 474, - "nodeType": "Return", - "src": "2635:12:20" - } - ] - }, - "documentation": "@notice payment by address coming from controlled token\n@dev In between the offering and the network. Default settings for allowing token transfers.", - "id": 476, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "proxyPayment", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 469, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 468, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 476, - "src": "2468:7:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 467, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2468:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2467:9:20" - }, - "returnParameters": { - "id": 472, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 471, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 476, - "src": "2503:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 470, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2503:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2502:6:20" - }, - "scope": 505, - "src": "2446:208:20", - "stateMutability": "payable", - "superFunction": 6676, - "visibility": "external" - }, - { - "body": { - "id": 489, - "nodeType": "Block", - "src": "2856:144:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 487, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2989:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 486, - "id": 488, - "nodeType": "Return", - "src": "2982:11:20" - } - ] - }, - "documentation": "@notice register and authorizes transfer from token\n@dev called by snt when a transfer is made", - "id": 490, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "onTransfer", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 483, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 478, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 490, - "src": "2805:7:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 477, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2805:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 480, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 490, - "src": "2814:7:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 479, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2814:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 482, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 490, - "src": "2823:7:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 481, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2823:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2804:27:20" - }, - "returnParameters": { - "id": 486, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 485, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 490, - "src": "2850:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 484, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "2850:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2849:6:20" - }, - "scope": 505, - "src": "2785:215:20", - "stateMutability": "nonpayable", - "superFunction": 6687, - "visibility": "external" - }, - { - "body": { - "id": 503, - "nodeType": "Block", - "src": "3201:144:20", - "statements": [ - { - "expression": { - "argumentTypes": null, - "hexValue": "74727565", - "id": 501, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "bool", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3334:4:20", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "value": "true" - }, - "functionReturnParameters": 500, - "id": 502, - "nodeType": "Return", - "src": "3327:11:20" - } - ] - }, - "documentation": "@notice register and authorizes approve from token\n@dev called by snt when an approval is made", - "id": 504, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "onApprove", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 492, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 504, - "src": "3150:7:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 491, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3150:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 494, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 504, - "src": "3159:7:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3159:7:20", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 496, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 504, - "src": "3168:7:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 495, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3168:7:20", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3149:27:20" - }, - "returnParameters": { - "id": 500, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 499, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 504, - "src": "3195:4:20", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 498, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "3195:4:20", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3194:6:20" - }, - "scope": 505, - "src": "3131:214:20", - "stateMutability": "nonpayable", - "superFunction": 6698, - "visibility": "external" - } - ], - "scope": 506, - "src": "573:2774:20" - } - ], - "src": "0:3347:20" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\StatusNetwork.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\StatusNetwork.sol", - "exportedSymbols": { - "StatusNetwork": [ - 523 - ] - }, - "id": 524, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 507, - "literals": [ - "solidity", - ">=", - "0.5", - ".0", - "<", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:31:21" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/SNTController.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/SNTController.sol", - "id": 508, - "nodeType": "ImportDirective", - "scope": 524, - "sourceUnit": 6873, - "src": "33:99:21", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 509, - "name": "SNTController", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6872, - "src": "211:13:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SNTController_$6872", - "typeString": "contract SNTController" - } - }, - "id": 510, - "nodeType": "InheritanceSpecifier", - "src": "211:13:21" - } - ], - "contractDependencies": [ - 5453, - 6699, - 6872 - ], - "contractKind": "contract", - "documentation": "@dev Status Network is implemented here", - "fullyImplemented": true, - "id": 523, - "linearizedBaseContracts": [ - 523, - 6872, - 5453, - 6699 - ], - "name": "StatusNetwork", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": { - "id": 521, - "nodeType": "Block", - "src": "474:3:21", - "statements": [] - }, - "documentation": "@notice Constructor\n@param _owner Authority address\n@param _snt SNT token", - "id": 522, - "implemented": true, - "kind": "constructor", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 517, - "name": "_owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "456:6:21", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 518, - "name": "_snt", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 514, - "src": "464:4:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - } - ], - "id": 519, - "modifierName": { - "argumentTypes": null, - "id": 516, - "name": "SNTController", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6872, - "src": "442:13:21", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SNTController_$6872_$", - "typeString": "type(contract SNTController)" - } - }, - "nodeType": "ModifierInvocation", - "src": "442:27:21" - } - ], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 515, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 512, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 522, - "src": "364:22:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - "typeName": { - "id": 511, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "364:15:21", - "stateMutability": "payable", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 514, - "name": "_snt", - "nodeType": "VariableDeclaration", - "scope": 522, - "src": "396:16:21", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - }, - "typeName": { - "contractScope": null, - "id": 513, - "name": "MiniMeToken", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "396:11:21", - "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", - "typeString": "contract MiniMeToken" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "354:64:21" - }, - "returnParameters": { - "id": 520, - "nodeType": "ParameterList", - "parameters": [], - "src": "474:0:21" - }, - "scope": 523, - "src": "343:134:21", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - } - ], - "scope": 524, - "src": "185:295:21" - } - ], - "src": "0:480:21" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\TestStatusNetwork.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\TestStatusNetwork.sol", - "exportedSymbols": { - "TestStatusNetwork": [ - 664 - ] - }, - "id": 665, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 525, - "literals": [ - "solidity", - ">=", - "0.5", - ".0", - "<", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:31:22" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/StatusNetwork.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/StatusNetwork.sol", - "id": 526, - "nodeType": "ImportDirective", - "scope": 665, - "sourceUnit": 6891, - "src": "33:99:22", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 527, + "id": 1600, "name": "StatusNetwork", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6890, - "src": "338:13:22", + "referencedDeclaration": 1596, + "src": "333:13:14", "typeDescriptions": { - "typeIdentifier": "t_contract$_StatusNetwork_$6890", + "typeIdentifier": "t_contract$_StatusNetwork_$1596", "typeString": "contract StatusNetwork" } }, - "id": 528, + "id": 1601, "nodeType": "InheritanceSpecifier", - "src": "338:13:22" + "src": "333:13:14" } ], "contractDependencies": [ - 5453, - 6699, - 6872, - 6890 + 91, + 1578, + 1596, + 5692 ], "contractKind": "contract", "documentation": "@title SNTController\n@author Ricardo Guilherme Schmidt (Status Research & Development GmbH)\n@notice Test net version of SNTController which allow public mint", "fullyImplemented": true, - "id": 664, + "id": 1737, "linearizedBaseContracts": [ - 664, - 6890, - 6872, - 5453, - 6699 + 1737, + 1596, + 1578, + 91, + 5692 ], "name": "TestStatusNetwork", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 531, + "id": 1604, "name": "open", "nodeType": "VariableDeclaration", - "scope": 664, - "src": "359:24:22", + "scope": 1737, + "src": "354:24:14", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -59807,10 +20341,10 @@ "typeString": "bool" }, "typeName": { - "id": 529, + "id": 1602, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "359:4:22", + "src": "354:4:14", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -59819,14 +20353,14 @@ "value": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 530, + "id": 1603, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "378:5:22", + "src": "373:5:14", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -59838,13 +20372,13 @@ }, { "body": { - "id": 542, + "id": 1615, "nodeType": "Block", - "src": "610:3:22", + "src": "605:3:14", "statements": [] }, "documentation": "@notice Constructor\n@param _owner Authority address\n@param _snt SNT token", - "id": 543, + "id": 1616, "implemented": true, "kind": "constructor", "modifiers": [ @@ -59852,12 +20386,12 @@ "arguments": [ { "argumentTypes": null, - "id": 538, + "id": 1611, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 533, - "src": "592:6:22", + "referencedDeclaration": 1606, + "src": "587:6:14", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -59865,49 +20399,49 @@ }, { "argumentTypes": null, - "id": 539, + "id": 1612, "name": "_snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "600:4:22", + "referencedDeclaration": 1608, + "src": "595:4:14", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } } ], - "id": 540, + "id": 1613, "modifierName": { "argumentTypes": null, - "id": 537, + "id": 1610, "name": "StatusNetwork", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6890, - "src": "578:13:22", + "referencedDeclaration": 1596, + "src": "573:13:14", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_StatusNetwork_$6890_$", + "typeIdentifier": "t_type$_t_contract$_StatusNetwork_$1596_$", "typeString": "type(contract StatusNetwork)" } }, "nodeType": "ModifierInvocation", - "src": "578:27:22" + "src": "573:27:14" } ], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 1609, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 533, + "id": 1606, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 543, - "src": "513:22:22", + "scope": 1616, + "src": "508:22:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -59915,10 +20449,10 @@ "typeString": "address payable" }, "typeName": { - "id": 532, + "id": 1605, "name": "address", "nodeType": "ElementaryTypeName", - "src": "513:15:22", + "src": "508:15:14", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -59930,26 +20464,26 @@ }, { "constant": false, - "id": 535, + "id": 1608, "name": "_snt", "nodeType": "VariableDeclaration", - "scope": 543, - "src": "537:16:22", + "scope": 1616, + "src": "532:16:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" }, "typeName": { "contractScope": null, - "id": 534, + "id": 1607, "name": "MiniMeToken", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6624, - "src": "537:11:22", + "referencedDeclaration": 5617, + "src": "532:11:14", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, @@ -59957,25 +20491,25 @@ "visibility": "internal" } ], - "src": "512:42:22" + "src": "507:42:14" }, "returnParameters": { - "id": 541, + "id": 1614, "nodeType": "ParameterList", "parameters": [], - "src": "610:0:22" + "src": "605:0:14" }, - "scope": 664, - "src": "501:112:22", + "scope": 1737, + "src": "496:112:14", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 561, + "id": 1634, "nodeType": "Block", - "src": "640:81:22", + "src": "635:81:14", "statements": [ { "expression": { @@ -59985,18 +20519,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 547, + "id": 1620, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "666:3:22", + "referencedDeclaration": 5707, + "src": "661:3:14", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 548, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -60004,7 +20538,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "666:10:22", + "src": "661:10:14", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -60016,7 +20550,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 558, + "id": 1631, "isConstant": false, "isLValue": false, "isPure": false, @@ -60024,14 +20558,14 @@ "leftExpression": { "argumentTypes": null, "hexValue": "31303030", - "id": 549, + "id": 1622, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "678:4:22", + "src": "673:4:14", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1000_by_1", @@ -60050,7 +20584,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 556, + "id": 1629, "isConstant": false, "isLValue": false, "isPure": false, @@ -60058,14 +20592,14 @@ "leftExpression": { "argumentTypes": null, "hexValue": "3130", - "id": 550, + "id": 1623, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "686:2:22", + "src": "681:2:14", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", @@ -60085,32 +20619,32 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 552, + "id": 1625, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6711, - "src": "697:3:22", + "referencedDeclaration": 1417, + "src": "692:3:14", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 553, + "id": 1626, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "decimals", "nodeType": "MemberAccess", - "referencedDeclaration": 5533, - "src": "697:12:22", + "referencedDeclaration": 4526, + "src": "692:12:14", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint8_$", "typeString": "function () view external returns (uint8)" } }, - "id": 554, + "id": 1627, "isConstant": false, "isLValue": false, "isPure": false, @@ -60118,7 +20652,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "697:14:22", + "src": "692:14:14", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -60132,20 +20666,20 @@ "typeString": "uint8" } ], - "id": 551, + "id": 1624, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "692:4:22", + "src": "687:4:14", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": "uint" }, - "id": 555, + "id": 1628, "isConstant": false, "isLValue": false, "isPure": false, @@ -60153,33 +20687,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "692:20:22", + "src": "687:20:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "686:26:22", + "src": "681:26:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 557, + "id": 1630, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "685:28:22", + "src": "680:28:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "678:35:22", + "src": "673:35:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -60197,18 +20731,18 @@ "typeString": "uint256" } ], - "id": 546, + "id": 1619, "name": "_generateTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "650:15:22", + "referencedDeclaration": 1736, + "src": "645:15:14", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 559, + "id": 1632, "isConstant": false, "isLValue": false, "isPure": false, @@ -60216,48 +20750,48 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "650:64:22", + "src": "645:64:14", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 560, + "id": 1633, "nodeType": "ExpressionStatement", - "src": "650:64:22" + "src": "645:64:14" } ] }, "documentation": null, - "id": 562, + "id": 1635, "implemented": true, "kind": "fallback", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 544, + "id": 1617, "nodeType": "ParameterList", "parameters": [], - "src": "628:2:22" + "src": "623:2:14" }, "returnParameters": { - "id": 545, + "id": 1618, "nodeType": "ParameterList", "parameters": [], - "src": "640:0:22" + "src": "635:0:14" }, - "scope": 664, - "src": "619:102:22", + "scope": 1737, + "src": "614:102:14", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 573, + "id": 1646, "nodeType": "Block", - "src": "767:53:22", + "src": "762:53:14", "statements": [ { "expression": { @@ -60267,18 +20801,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 568, + "id": 1641, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "793:3:22", + "referencedDeclaration": 5707, + "src": "788:3:14", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 569, + "id": 1642, "isConstant": false, "isLValue": false, "isPure": false, @@ -60286,7 +20820,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "793:10:22", + "src": "788:10:14", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -60294,12 +20828,12 @@ }, { "argumentTypes": null, - "id": 570, + "id": 1643, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 564, - "src": "805:7:22", + "referencedDeclaration": 1637, + "src": "800:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -60317,18 +20851,18 @@ "typeString": "uint256" } ], - "id": 567, + "id": 1640, "name": "_generateTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "777:15:22", + "referencedDeclaration": 1736, + "src": "772:15:14", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 571, + "id": 1644, "isConstant": false, "isLValue": false, "isPure": false, @@ -60336,36 +20870,36 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "777:36:22", + "src": "772:36:14", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 572, + "id": 1645, "nodeType": "ExpressionStatement", - "src": "777:36:22" + "src": "772:36:14" } ] }, "documentation": null, - "id": 574, + "id": 1647, "implemented": true, "kind": "function", "modifiers": [], "name": "mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 565, + "id": 1638, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 564, + "id": 1637, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 574, - "src": "741:15:22", + "scope": 1647, + "src": "736:15:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60373,10 +20907,10 @@ "typeString": "uint256" }, "typeName": { - "id": 563, + "id": 1636, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "741:7:22", + "src": "736:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -60386,25 +20920,25 @@ "visibility": "internal" } ], - "src": "740:17:22" + "src": "735:17:14" }, "returnParameters": { - "id": 566, + "id": 1639, "nodeType": "ParameterList", "parameters": [], - "src": "767:0:22" + "src": "762:0:14" }, - "scope": 664, - "src": "727:93:22", + "scope": 1737, + "src": "722:93:14", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 586, + "id": 1659, "nodeType": "Block", - "src": "887:47:22", + "src": "882:47:14", "statements": [ { "expression": { @@ -60412,12 +20946,12 @@ "arguments": [ { "argumentTypes": null, - "id": 582, + "id": 1655, "name": "_who", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 576, - "src": "913:4:22", + "referencedDeclaration": 1649, + "src": "908:4:14", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60425,12 +20959,12 @@ }, { "argumentTypes": null, - "id": 583, + "id": 1656, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "919:7:22", + "referencedDeclaration": 1651, + "src": "914:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -60448,18 +20982,18 @@ "typeString": "uint256" } ], - "id": 581, + "id": 1654, "name": "_generateTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "897:15:22", + "referencedDeclaration": 1736, + "src": "892:15:14", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 584, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": false, @@ -60467,36 +21001,36 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "897:30:22", + "src": "892:30:14", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 585, + "id": 1658, "nodeType": "ExpressionStatement", - "src": "897:30:22" + "src": "892:30:14" } ] }, "documentation": null, - "id": 587, + "id": 1660, "implemented": true, "kind": "function", "modifiers": [], "name": "generateTokens", "nodeType": "FunctionDefinition", "parameters": { - "id": 579, + "id": 1652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 576, + "id": 1649, "name": "_who", "nodeType": "VariableDeclaration", - "scope": 587, - "src": "850:12:22", + "scope": 1660, + "src": "845:12:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60504,10 +21038,10 @@ "typeString": "address" }, "typeName": { - "id": 575, + "id": 1648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "850:7:22", + "src": "845:7:14", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -60519,11 +21053,11 @@ }, { "constant": false, - "id": 578, + "id": 1651, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 587, - "src": "864:12:22", + "scope": 1660, + "src": "859:12:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60531,10 +21065,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 1650, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "864:4:22", + "src": "859:4:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -60544,25 +21078,25 @@ "visibility": "internal" } ], - "src": "849:28:22" + "src": "844:28:14" }, "returnParameters": { - "id": 580, + "id": 1653, "nodeType": "ParameterList", "parameters": [], - "src": "887:0:22" + "src": "882:0:14" }, - "scope": 664, - "src": "826:108:22", + "scope": 1737, + "src": "821:108:14", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 603, + "id": 1676, "nodeType": "Block", - "src": "1010:49:22", + "src": "1005:49:14", "statements": [ { "expression": { @@ -60570,12 +21104,12 @@ "arguments": [ { "argumentTypes": null, - "id": 599, + "id": 1672, "name": "_who", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 589, - "src": "1038:4:22", + "referencedDeclaration": 1662, + "src": "1033:4:14", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60583,12 +21117,12 @@ }, { "argumentTypes": null, - "id": 600, + "id": 1673, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 591, - "src": "1044:7:22", + "referencedDeclaration": 1664, + "src": "1039:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -60608,32 +21142,32 @@ ], "expression": { "argumentTypes": null, - "id": 596, + "id": 1669, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6711, - "src": "1020:3:22", + "referencedDeclaration": 1417, + "src": "1015:3:14", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 598, + "id": 1671, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "destroyTokens", "nodeType": "MemberAccess", - "referencedDeclaration": 6286, - "src": "1020:17:22", + "referencedDeclaration": 5279, + "src": "1015:17:14", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 601, + "id": 1674, "isConstant": false, "isLValue": false, "isPure": false, @@ -60641,56 +21175,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1020:32:22", + "src": "1015:32:14", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 602, + "id": 1675, "nodeType": "ExpressionStatement", - "src": "1020:32:22" + "src": "1015:32:14" } ] }, "documentation": null, - "id": 604, + "id": 1677, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 594, + "id": 1667, "modifierName": { "argumentTypes": null, - "id": 593, + "id": 1666, "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 5413, - "src": "1000:9:22", + "referencedDeclaration": 51, + "src": "995:9:14", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "1000:9:22" + "src": "995:9:14" } ], "name": "destroyTokens", "nodeType": "FunctionDefinition", "parameters": { - "id": 592, + "id": 1665, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 589, + "id": 1662, "name": "_who", "nodeType": "VariableDeclaration", - "scope": 604, - "src": "963:12:22", + "scope": 1677, + "src": "958:12:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60698,10 +21232,10 @@ "typeString": "address" }, "typeName": { - "id": 588, + "id": 1661, "name": "address", "nodeType": "ElementaryTypeName", - "src": "963:7:22", + "src": "958:7:14", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -60713,11 +21247,11 @@ }, { "constant": false, - "id": 591, + "id": 1664, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 604, - "src": "977:12:22", + "scope": 1677, + "src": "972:12:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60725,10 +21259,10 @@ "typeString": "uint256" }, "typeName": { - "id": 590, + "id": 1663, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "977:4:22", + "src": "972:4:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -60738,42 +21272,42 @@ "visibility": "internal" } ], - "src": "962:28:22" + "src": "957:28:14" }, "returnParameters": { - "id": 595, + "id": 1668, "nodeType": "ParameterList", "parameters": [], - "src": "1010:0:22" + "src": "1005:0:14" }, - "scope": 664, - "src": "940:119:22", + "scope": 1737, + "src": "935:119:14", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 615, + "id": 1688, "nodeType": "Block", - "src": "1113:29:22", + "src": "1108:29:14", "statements": [ { "expression": { "argumentTypes": null, - "id": 613, + "id": 1686, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 611, + "id": 1684, "name": "open", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 531, - "src": "1123:4:22", + "referencedDeclaration": 1604, + "src": "1118:4:14", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -60783,67 +21317,67 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 612, + "id": 1685, "name": "_open", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 606, - "src": "1130:5:22", + "referencedDeclaration": 1679, + "src": "1125:5:14", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1123:12:22", + "src": "1118:12:14", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 614, + "id": 1687, "nodeType": "ExpressionStatement", - "src": "1123:12:22" + "src": "1118:12:14" } ] }, "documentation": null, - "id": 616, + "id": 1689, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 609, + "id": 1682, "modifierName": { "argumentTypes": null, - "id": 608, + "id": 1681, "name": "onlyOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 5413, - "src": "1103:9:22", + "referencedDeclaration": 51, + "src": "1098:9:14", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "1103:9:22" + "src": "1098:9:14" } ], "name": "setOpen", "nodeType": "FunctionDefinition", "parameters": { - "id": 607, + "id": 1680, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 606, + "id": 1679, "name": "_open", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "1082:10:22", + "scope": 1689, + "src": "1077:10:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60851,10 +21385,10 @@ "typeString": "bool" }, "typeName": { - "id": 605, + "id": 1678, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1082:4:22", + "src": "1077:4:14", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -60864,25 +21398,25 @@ "visibility": "internal" } ], - "src": "1081:12:22" + "src": "1076:12:14" }, "returnParameters": { - "id": 610, + "id": 1683, "nodeType": "ParameterList", "parameters": [], - "src": "1113:0:22" + "src": "1108:0:14" }, - "scope": 664, - "src": "1065:77:22", + "scope": 1737, + "src": "1060:77:14", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 662, + "id": 1735, "nodeType": "Block", - "src": "1209:320:22", + "src": "1204:320:14", "statements": [ { "expression": { @@ -60894,7 +21428,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 629, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": false, @@ -60905,7 +21439,7 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 627, + "id": 1700, "isConstant": false, "isLValue": false, "isPure": false, @@ -60914,18 +21448,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 624, + "id": 1697, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "1227:3:22", + "referencedDeclaration": 5707, + "src": "1222:3:14", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 625, + "id": 1698, "isConstant": false, "isLValue": false, "isPure": false, @@ -60933,7 +21467,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1227:10:22", + "src": "1222:10:14", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -60943,18 +21477,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 626, + "id": 1699, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 5415, - "src": "1241:5:22", + "referencedDeclaration": 53, + "src": "1236:5:14", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "1227:19:22", + "src": "1222:19:14", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -60964,18 +21498,18 @@ "operator": "||", "rightExpression": { "argumentTypes": null, - "id": 628, + "id": 1701, "name": "open", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 531, - "src": "1250:4:22", + "referencedDeclaration": 1604, + "src": "1245:4:14", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1227:27:22", + "src": "1222:27:14", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -60984,14 +21518,14 @@ { "argumentTypes": null, "hexValue": "54657374204d696e742044697361626c6564", - "id": 630, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1256:20:22", + "src": "1251:20:14", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_e60362c9c423a980e3225d424c8bce2bc169c15a10f7a31017714c9ee21c00d9", @@ -61011,21 +21545,21 @@ "typeString": "literal_string \"Test Mint Disabled\"" } ], - "id": 623, + "id": 1696, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "1219:7:22", + "referencedDeclaration": 5711, + "src": "1214:7:14", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 631, + "id": 1704, "isConstant": false, "isLValue": false, "isPure": false, @@ -61033,28 +21567,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1219:58:22", + "src": "1214:58:14", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 632, + "id": 1705, "nodeType": "ExpressionStatement", - "src": "1219:58:22" + "src": "1214:58:14" }, { "assignments": [ - 634 + 1707 ], "declarations": [ { "constant": false, - "id": 634, + "id": 1707, "name": "statusNetwork", "nodeType": "VariableDeclaration", - "scope": 662, - "src": "1287:21:22", + "scope": 1735, + "src": "1282:21:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61062,10 +21596,10 @@ "typeString": "address" }, "typeName": { - "id": 633, + "id": 1706, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1287:7:22", + "src": "1282:7:14", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -61076,7 +21610,7 @@ "visibility": "internal" } ], - "id": 638, + "id": 1711, "initialValue": { "argumentTypes": null, "arguments": [], @@ -61084,32 +21618,32 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 635, + "id": 1708, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6711, - "src": "1311:3:22", + "referencedDeclaration": 1417, + "src": "1306:3:14", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 636, + "id": 1709, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "controller", "nodeType": "MemberAccess", - "referencedDeclaration": 6906, - "src": "1311:14:22", + "referencedDeclaration": 15, + "src": "1306:14:14", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_payable_$", "typeString": "function () view external returns (address payable)" } }, - "id": 637, + "id": 1710, "isConstant": false, "isLValue": false, "isPure": false, @@ -61117,14 +21651,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1311:16:22", + "src": "1306:16:14", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, "nodeType": "VariableDeclarationStatement", - "src": "1287:40:22" + "src": "1282:40:14" }, { "condition": { @@ -61133,19 +21667,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 643, + "id": 1716, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 639, + "id": 1712, "name": "statusNetwork", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "1340:13:22", + "referencedDeclaration": 1707, + "src": "1335:13:14", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61158,14 +21692,14 @@ "arguments": [ { "argumentTypes": null, - "id": 641, + "id": 1714, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9517, - "src": "1365:4:22", + "referencedDeclaration": 5759, + "src": "1360:4:14", "typeDescriptions": { - "typeIdentifier": "t_contract$_TestStatusNetwork_$664", + "typeIdentifier": "t_contract$_TestStatusNetwork_$1737", "typeString": "contract TestStatusNetwork" } } @@ -61173,24 +21707,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_TestStatusNetwork_$664", + "typeIdentifier": "t_contract$_TestStatusNetwork_$1737", "typeString": "contract TestStatusNetwork" } ], - "id": 640, + "id": 1713, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "1357:7:22", + "src": "1352:7:14", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 642, + "id": 1715, "isConstant": false, "isLValue": false, "isPure": false, @@ -61198,22 +21732,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1357:13:22", + "src": "1352:13:14", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1340:30:22", + "src": "1335:30:14", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 660, + "id": 1733, "nodeType": "Block", - "src": "1435:87:22", + "src": "1430:87:14", "statements": [ { "expression": { @@ -61221,12 +21755,12 @@ "arguments": [ { "argumentTypes": null, - "id": 656, + "id": 1729, "name": "_who", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 618, - "src": "1497:4:22", + "referencedDeclaration": 1691, + "src": "1492:4:14", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61234,12 +21768,12 @@ }, { "argumentTypes": null, - "id": 657, + "id": 1730, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 620, - "src": "1503:7:22", + "referencedDeclaration": 1693, + "src": "1498:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61262,12 +21796,12 @@ "arguments": [ { "argumentTypes": null, - "id": 653, + "id": 1726, "name": "statusNetwork", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "1467:13:22", + "referencedDeclaration": 1707, + "src": "1462:13:14", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61281,18 +21815,18 @@ "typeString": "address" } ], - "id": 652, + "id": 1725, "name": "TestStatusNetwork", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 664, - "src": "1449:17:22", + "referencedDeclaration": 1737, + "src": "1444:17:14", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_TestStatusNetwork_$664_$", + "typeIdentifier": "t_type$_t_contract$_TestStatusNetwork_$1737_$", "typeString": "type(contract TestStatusNetwork)" } }, - "id": 654, + "id": 1727, "isConstant": false, "isLValue": false, "isPure": false, @@ -61300,27 +21834,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1449:32:22", + "src": "1444:32:14", "typeDescriptions": { - "typeIdentifier": "t_contract$_TestStatusNetwork_$664", + "typeIdentifier": "t_contract$_TestStatusNetwork_$1737", "typeString": "contract TestStatusNetwork" } }, - "id": 655, + "id": 1728, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "generateTokens", "nodeType": "MemberAccess", - "referencedDeclaration": 587, - "src": "1449:47:22", + "referencedDeclaration": 1660, + "src": "1444:47:14", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 658, + "id": 1731, "isConstant": false, "isLValue": false, "isPure": false, @@ -61328,25 +21862,25 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1449:62:22", + "src": "1444:62:14", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 659, + "id": 1732, "nodeType": "ExpressionStatement", - "src": "1449:62:22" + "src": "1444:62:14" } ] }, - "id": 661, + "id": 1734, "nodeType": "IfStatement", - "src": "1337:185:22", + "src": "1332:185:14", "trueBody": { - "id": 651, + "id": 1724, "nodeType": "Block", - "src": "1371:58:22", + "src": "1366:58:14", "statements": [ { "expression": { @@ -61354,12 +21888,12 @@ "arguments": [ { "argumentTypes": null, - "id": 647, + "id": 1720, "name": "_who", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 618, - "src": "1404:4:22", + "referencedDeclaration": 1691, + "src": "1399:4:14", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61367,12 +21901,12 @@ }, { "argumentTypes": null, - "id": 648, + "id": 1721, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 620, - "src": "1410:7:22", + "referencedDeclaration": 1693, + "src": "1405:7:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61392,32 +21926,32 @@ ], "expression": { "argumentTypes": null, - "id": 644, + "id": 1717, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6711, - "src": "1385:3:22", + "referencedDeclaration": 1417, + "src": "1380:3:14", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$6624", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 646, + "id": 1719, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "generateTokens", "nodeType": "MemberAccess", - "referencedDeclaration": 6219, - "src": "1385:18:22", + "referencedDeclaration": 5212, + "src": "1380:18:14", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 649, + "id": 1722, "isConstant": false, "isLValue": false, "isPure": false, @@ -61425,15 +21959,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1385:33:22", + "src": "1380:33:14", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 650, + "id": 1723, "nodeType": "ExpressionStatement", - "src": "1385:33:22" + "src": "1380:33:14" } ] } @@ -61441,23 +21975,23 @@ ] }, "documentation": null, - "id": 663, + "id": 1736, "implemented": true, "kind": "function", "modifiers": [], "name": "_generateTokens", "nodeType": "FunctionDefinition", "parameters": { - "id": 621, + "id": 1694, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 618, + "id": 1691, "name": "_who", "nodeType": "VariableDeclaration", - "scope": 663, - "src": "1173:12:22", + "scope": 1736, + "src": "1168:12:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61465,10 +21999,10 @@ "typeString": "address" }, "typeName": { - "id": 617, + "id": 1690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1173:7:22", + "src": "1168:7:14", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -61480,11 +22014,11 @@ }, { "constant": false, - "id": 620, + "id": 1693, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 663, - "src": "1187:12:22", + "scope": 1736, + "src": "1182:12:14", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61492,10 +22026,10 @@ "typeString": "uint256" }, "typeName": { - "id": 619, + "id": 1692, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1187:4:22", + "src": "1182:4:14", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61505,39 +22039,39 @@ "visibility": "internal" } ], - "src": "1172:28:22" + "src": "1167:28:14" }, "returnParameters": { - "id": 622, + "id": 1695, "nodeType": "ParameterList", "parameters": [], - "src": "1209:0:22" + "src": "1204:0:14" }, - "scope": 664, - "src": "1148:381:22", + "scope": 1737, + "src": "1143:381:14", "stateMutability": "nonpayable", "superFunction": null, "visibility": "private" } ], - "scope": 665, - "src": "308:1225:22" + "scope": 1738, + "src": "303:1225:14" } ], - "src": "0:1533:22" + "src": "0:1528:14" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\sticker-market\\StickerMarket.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\sticker-market\\StickerMarket.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/sticker-market/StickerMarket.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/sticker-market/StickerMarket.sol", "exportedSymbols": { "StickerMarket": [ - 2136 + 3212 ] }, - "id": 2137, + "id": 3213, "nodeType": "SourceUnit", "nodes": [ { - "id": 666, + "id": 1739, "literals": [ "solidity", ">=", @@ -61548,49 +22082,49 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "0:31:23" + "src": "0:31:15" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/NonfungibleToken.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/NonfungibleToken.sol", - "id": 667, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/nf-token-enumerable.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/nf-token-enumerable.sol", + "id": 1740, "nodeType": "ImportDirective", - "scope": 2137, - "sourceUnit": 7610, - "src": "33:101:23", + "scope": 3213, + "sourceUnit": 713, + "src": "33:104:15", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "id": 668, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Token.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Token.sol", + "id": 1741, "nodeType": "ImportDirective", - "scope": 2137, - "sourceUnit": 5523, - "src": "135:95:23", + "scope": 3213, + "sourceUnit": 4516, + "src": "138:90:15", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", - "id": 669, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", + "id": 1742, "nodeType": "ImportDirective", - "scope": 2137, - "sourceUnit": 6943, - "src": "231:107:23", + "scope": 3213, + "sourceUnit": 4233, + "src": "229:102:15", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol", - "id": 670, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Controlled.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Controlled.sol", + "id": 1743, "nodeType": "ImportDirective", - "scope": 2137, - "sourceUnit": 6929, - "src": "339:96:23", + "scope": 3213, + "sourceUnit": 38, + "src": "332:91:15", "symbolAliases": [], "unitAlias": "" }, @@ -61600,77 +22134,81 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 671, + "id": 1744, "name": "Controlled", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6928, - "src": "681:10:23", + "referencedDeclaration": 37, + "src": "669:10:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_Controlled_$6928", + "typeIdentifier": "t_contract$_Controlled_$37", "typeString": "contract Controlled" } }, - "id": 672, + "id": 1745, "nodeType": "InheritanceSpecifier", - "src": "681:10:23" + "src": "669:10:15" }, { "arguments": null, "baseName": { "contractScope": null, - "id": 673, - "name": "NonfungibleToken", + "id": 1746, + "name": "NFTokenEnumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 7609, - "src": "693:16:23", + "referencedDeclaration": 712, + "src": "681:17:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_NonfungibleToken_$7609", - "typeString": "contract NonfungibleToken" + "typeIdentifier": "t_contract$_NFTokenEnumerable_$712", + "typeString": "contract NFTokenEnumerable" } }, - "id": 674, + "id": 1747, "nodeType": "InheritanceSpecifier", - "src": "693:16:23" + "src": "681:17:15" }, { "arguments": null, "baseName": { "contractScope": null, - "id": 675, + "id": 1748, "name": "ApproveAndCallFallBack", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6942, - "src": "711:22:23", + "referencedDeclaration": 4232, + "src": "700:22:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ApproveAndCallFallBack_$6942", + "typeIdentifier": "t_contract$_ApproveAndCallFallBack_$4232", "typeString": "contract ApproveAndCallFallBack" } }, - "id": 676, + "id": 1749, "nodeType": "InheritanceSpecifier", - "src": "711:22:23" + "src": "700:22:15" } ], "contractDependencies": [ - 6928, - 6942, - 7609, - 9110, - 9159, - 9422 + 37, + 301, + 417, + 712, + 1342, + 1373, + 1405, + 4232 ], "contractKind": "contract", "documentation": "@author Ricardo Guilherme Schmidt (Status Research & Development GmbH) \nStickerMarket allows any address register \"StickerPack\" which can be sold to any address in form of \"StickerPack\", an ERC721 token.", "fullyImplemented": true, - "id": 2136, + "id": 3212, "linearizedBaseContracts": [ - 2136, - 6942, - 7609, - 9422, - 9159, - 9110, - 6928 + 3212, + 4232, + 712, + 301, + 1342, + 1405, + 1373, + 417, + 37 ], "name": "StickerMarket", "nodeType": "ContractDefinition", @@ -61678,21 +22216,21 @@ { "anonymous": false, "documentation": null, - "id": 684, + "id": 1757, "name": "Register", "nodeType": "EventDefinition", "parameters": { - "id": 683, + "id": 1756, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 678, + "id": 1751, "indexed": true, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 684, - "src": "755:22:23", + "scope": 1757, + "src": "744:22:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61700,10 +22238,10 @@ "typeString": "uint256" }, "typeName": { - "id": 677, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "755:7:23", + "src": "744:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61714,12 +22252,12 @@ }, { "constant": false, - "id": 680, + "id": 1753, "indexed": false, "name": "dataPrice", "nodeType": "VariableDeclaration", - "scope": 684, - "src": "779:17:23", + "scope": 1757, + "src": "768:17:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61727,10 +22265,10 @@ "typeString": "uint256" }, "typeName": { - "id": 679, + "id": 1752, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "779:7:23", + "src": "768:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61741,12 +22279,12 @@ }, { "constant": false, - "id": 682, + "id": 1755, "indexed": false, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 684, - "src": "798:18:23", + "scope": 1757, + "src": "787:18:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61754,10 +22292,10 @@ "typeString": "bytes" }, "typeName": { - "id": 681, + "id": 1754, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "798:5:23", + "src": "787:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -61767,28 +22305,28 @@ "visibility": "internal" } ], - "src": "754:63:23" + "src": "743:63:15" }, - "src": "740:78:23" + "src": "729:78:15" }, { "anonymous": false, "documentation": null, - "id": 690, + "id": 1763, "name": "Categorized", "nodeType": "EventDefinition", "parameters": { - "id": 689, + "id": 1762, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 686, + "id": 1759, "indexed": true, "name": "category", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "841:23:23", + "scope": 1763, + "src": "830:23:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61796,10 +22334,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 685, + "id": 1758, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "841:6:23", + "src": "830:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -61810,12 +22348,12 @@ }, { "constant": false, - "id": 688, + "id": 1761, "indexed": true, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "866:22:23", + "scope": 1763, + "src": "855:22:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61823,10 +22361,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 1760, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "866:7:23", + "src": "855:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61836,28 +22374,28 @@ "visibility": "internal" } ], - "src": "840:49:23" + "src": "829:49:15" }, - "src": "823:67:23" + "src": "812:67:15" }, { "anonymous": false, "documentation": null, - "id": 696, + "id": 1769, "name": "Uncategorized", "nodeType": "EventDefinition", "parameters": { - "id": 695, + "id": 1768, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 692, + "id": 1765, "indexed": true, "name": "category", "nodeType": "VariableDeclaration", - "scope": 696, - "src": "915:23:23", + "scope": 1769, + "src": "904:23:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61865,10 +22403,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 691, + "id": 1764, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "915:6:23", + "src": "904:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -61879,12 +22417,12 @@ }, { "constant": false, - "id": 694, + "id": 1767, "indexed": true, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 696, - "src": "940:22:23", + "scope": 1769, + "src": "929:22:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61892,10 +22430,10 @@ "typeString": "uint256" }, "typeName": { - "id": 693, + "id": 1766, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "940:7:23", + "src": "929:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61905,28 +22443,28 @@ "visibility": "internal" } ], - "src": "914:49:23" + "src": "903:49:15" }, - "src": "895:69:23" + "src": "884:69:15" }, { "anonymous": false, "documentation": null, - "id": 700, + "id": 1773, "name": "Unregister", "nodeType": "EventDefinition", "parameters": { - "id": 699, + "id": 1772, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 1771, "indexed": true, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "986:22:23", + "scope": 1773, + "src": "975:22:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61934,10 +22472,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 1770, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "986:7:23", + "src": "975:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61947,28 +22485,28 @@ "visibility": "internal" } ], - "src": "985:24:23" + "src": "974:24:15" }, - "src": "969:41:23" + "src": "958:41:15" }, { "anonymous": false, "documentation": null, - "id": 708, + "id": 1781, "name": "ClaimedTokens", "nodeType": "EventDefinition", "parameters": { - "id": 707, + "id": 1780, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 702, + "id": 1775, "indexed": true, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "1035:22:23", + "scope": 1781, + "src": "1024:22:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61976,10 +22514,10 @@ "typeString": "address" }, "typeName": { - "id": 701, + "id": 1774, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1035:7:23", + "src": "1024:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -61991,12 +22529,12 @@ }, { "constant": false, - "id": 704, + "id": 1777, "indexed": true, "name": "_controller", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "1059:27:23", + "scope": 1781, + "src": "1048:27:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62004,10 +22542,10 @@ "typeString": "address" }, "typeName": { - "id": 703, + "id": 1776, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1059:7:23", + "src": "1048:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -62019,12 +22557,12 @@ }, { "constant": false, - "id": 706, + "id": 1779, "indexed": false, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "1088:15:23", + "scope": 1781, + "src": "1077:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62032,10 +22570,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 1778, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1088:7:23", + "src": "1077:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62045,43 +22583,43 @@ "visibility": "internal" } ], - "src": "1034:70:23" + "src": "1023:70:15" }, - "src": "1015:90:23" + "src": "1004:90:15" }, { "anonymous": false, "documentation": null, - "id": 712, + "id": 1785, "name": "MarketState", "nodeType": "EventDefinition", "parameters": { - "id": 711, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 710, + "id": 1783, "indexed": false, "name": "state", "nodeType": "VariableDeclaration", - "scope": 712, - "src": "1128:11:23", + "scope": 1785, + "src": "1117:11:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" }, "typeName": { "contractScope": null, - "id": 709, + "id": 1782, "name": "State", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 726, - "src": "1128:5:23", + "referencedDeclaration": 1799, + "src": "1117:5:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, @@ -62089,28 +22627,28 @@ "visibility": "internal" } ], - "src": "1127:13:23" + "src": "1116:13:15" }, - "src": "1110:31:23" + "src": "1099:31:15" }, { "anonymous": false, "documentation": null, - "id": 716, + "id": 1789, "name": "RegisterFee", "nodeType": "EventDefinition", "parameters": { - "id": 715, + "id": 1788, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 1787, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", - "scope": 716, - "src": "1164:13:23", + "scope": 1789, + "src": "1153:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62118,10 +22656,10 @@ "typeString": "uint256" }, "typeName": { - "id": 713, + "id": 1786, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1164:7:23", + "src": "1153:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62131,28 +22669,28 @@ "visibility": "internal" } ], - "src": "1163:15:23" + "src": "1152:15:15" }, - "src": "1146:33:23" + "src": "1135:33:15" }, { "anonymous": false, "documentation": null, - "id": 720, + "id": 1793, "name": "BurnRate", "nodeType": "EventDefinition", "parameters": { - "id": 719, + "id": 1792, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 718, + "id": 1791, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", - "scope": 720, - "src": "1199:13:23", + "scope": 1793, + "src": "1188:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62160,10 +22698,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 1790, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1199:7:23", + "src": "1188:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62173,60 +22711,60 @@ "visibility": "internal" } ], - "src": "1198:15:23" + "src": "1187:15:15" }, - "src": "1184:30:23" + "src": "1173:30:15" }, { "canonicalName": "StickerMarket.State", - "id": 726, + "id": 1799, "members": [ { - "id": 721, + "id": 1794, "name": "Invalid", "nodeType": "EnumValue", - "src": "1233:7:23" + "src": "1222:7:15" }, { - "id": 722, + "id": 1795, "name": "Open", "nodeType": "EnumValue", - "src": "1242:4:23" + "src": "1231:4:15" }, { - "id": 723, + "id": 1796, "name": "BuyOnly", "nodeType": "EnumValue", - "src": "1248:7:23" + "src": "1237:7:15" }, { - "id": 724, + "id": 1797, "name": "Controlled", "nodeType": "EnumValue", - "src": "1257:10:23" + "src": "1246:10:15" }, { - "id": 725, + "id": 1798, "name": "Closed", "nodeType": "EnumValue", - "src": "1269:6:23" + "src": "1258:6:15" } ], "name": "State", "nodeType": "EnumDefinition", - "src": "1220:57:23" + "src": "1209:57:15" }, { "canonicalName": "StickerMarket.Pack", - "id": 742, + "id": 1815, "members": [ { "constant": false, - "id": 729, + "id": 1802, "name": "category", "nodeType": "VariableDeclaration", - "scope": 742, - "src": "1305:17:23", + "scope": 1815, + "src": "1294:17:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62235,19 +22773,19 @@ }, "typeName": { "baseType": { - "id": 727, + "id": 1800, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1305:6:23", + "src": "1294:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 728, + "id": 1801, "length": null, "nodeType": "ArrayTypeName", - "src": "1305:8:23", + "src": "1294:8:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -62258,11 +22796,11 @@ }, { "constant": false, - "id": 731, + "id": 1804, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 742, - "src": "1332:13:23", + "scope": 1815, + "src": "1321:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62270,10 +22808,10 @@ "typeString": "address" }, "typeName": { - "id": 730, + "id": 1803, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1332:7:23", + "src": "1321:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -62285,11 +22823,11 @@ }, { "constant": false, - "id": 733, + "id": 1806, "name": "mintable", "nodeType": "VariableDeclaration", - "scope": 742, - "src": "1378:13:23", + "scope": 1815, + "src": "1367:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62297,10 +22835,10 @@ "typeString": "bool" }, "typeName": { - "id": 732, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1378:4:23", + "src": "1367:4:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -62311,11 +22849,11 @@ }, { "constant": false, - "id": 735, + "id": 1808, "name": "timestamp", "nodeType": "VariableDeclaration", - "scope": 742, - "src": "1402:17:23", + "scope": 1815, + "src": "1391:17:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62323,10 +22861,10 @@ "typeString": "uint256" }, "typeName": { - "id": 734, + "id": 1807, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1402:7:23", + "src": "1391:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62337,11 +22875,11 @@ }, { "constant": false, - "id": 737, + "id": 1810, "name": "price", "nodeType": "VariableDeclaration", - "scope": 742, - "src": "1429:13:23", + "scope": 1815, + "src": "1418:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62349,10 +22887,10 @@ "typeString": "uint256" }, "typeName": { - "id": 736, + "id": 1809, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1429:7:23", + "src": "1418:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62363,11 +22901,11 @@ }, { "constant": false, - "id": 739, + "id": 1812, "name": "donate", "nodeType": "VariableDeclaration", - "scope": 742, - "src": "1463:14:23", + "scope": 1815, + "src": "1452:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62375,10 +22913,10 @@ "typeString": "uint256" }, "typeName": { - "id": 738, + "id": 1811, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1463:7:23", + "src": "1452:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62389,11 +22927,11 @@ }, { "constant": false, - "id": 741, + "id": 1814, "name": "contenthash", "nodeType": "VariableDeclaration", - "scope": 742, - "src": "1498:17:23", + "scope": 1815, + "src": "1487:17:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62401,10 +22939,10 @@ "typeString": "bytes" }, "typeName": { - "id": 740, + "id": 1813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1498:5:23", + "src": "1487:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -62416,32 +22954,32 @@ ], "name": "Pack", "nodeType": "StructDefinition", - "scope": 2136, - "src": "1283:239:23", + "scope": 3212, + "src": "1272:239:15", "visibility": "public" }, { "constant": false, - "id": 746, + "id": 1819, "name": "state", "nodeType": "VariableDeclaration", - "scope": 2136, - "src": "1528:31:23", + "scope": 3212, + "src": "1517:31:15", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" }, "typeName": { "contractScope": null, - "id": 743, + "id": 1816, "name": "State", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 726, - "src": "1528:5:23", + "referencedDeclaration": 1799, + "src": "1517:5:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, @@ -62449,18 +22987,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 744, + "id": 1817, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "1549:5:23", + "referencedDeclaration": 1799, + "src": "1538:5:15", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$726_$", + "typeIdentifier": "t_type$_t_enum$_State_$1799_$", "typeString": "type(enum StickerMarket.State)" } }, - "id": 745, + "id": 1818, "isConstant": false, "isLValue": false, "isPure": true, @@ -62468,9 +23006,9 @@ "memberName": "Open", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1549:10:23", + "src": "1538:10:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, @@ -62478,11 +23016,11 @@ }, { "constant": false, - "id": 748, + "id": 1821, "name": "registerFee", "nodeType": "VariableDeclaration", - "scope": 2136, - "src": "1565:19:23", + "scope": 3212, + "src": "1554:19:15", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -62490,10 +23028,10 @@ "typeString": "uint256" }, "typeName": { - "id": 747, + "id": 1820, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1565:7:23", + "src": "1554:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62504,11 +23042,11 @@ }, { "constant": false, - "id": 750, + "id": 1823, "name": "burnRate", "nodeType": "VariableDeclaration", - "scope": 2136, - "src": "1590:16:23", + "scope": 3212, + "src": "1579:16:15", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -62516,10 +23054,10 @@ "typeString": "uint256" }, "typeName": { - "id": 749, + "id": 1822, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1590:7:23", + "src": "1579:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62530,26 +23068,26 @@ }, { "constant": false, - "id": 752, + "id": 1825, "name": "snt", "nodeType": "VariableDeclaration", - "scope": 2136, - "src": "1670:21:23", + "scope": 3212, + "src": "1659:21:15", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 751, + "id": 1824, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "1670:10:23", + "referencedDeclaration": 4515, + "src": "1659:10:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -62558,44 +23096,44 @@ }, { "constant": false, - "id": 756, + "id": 1829, "name": "packs", "nodeType": "VariableDeclaration", - "scope": 2136, - "src": "1713:37:23", + "scope": 3212, + "src": "1702:37:15", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack)" }, "typeName": { - "id": 755, + "id": 1828, "keyType": { - "id": 753, + "id": 1826, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1721:7:23", + "src": "1710:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "1713:24:23", + "src": "1702:24:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack)" }, "valueType": { "contractScope": null, - "id": 754, + "id": 1827, "name": "Pack", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 742, - "src": "1732:4:23", + "referencedDeclaration": 1815, + "src": "1721:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_storage_ptr", "typeString": "struct StickerMarket.Pack" } } @@ -62605,11 +23143,11 @@ }, { "constant": false, - "id": 760, + "id": 1833, "name": "tokenPackId", "nodeType": "VariableDeclaration", - "scope": 2136, - "src": "1756:46:23", + "scope": 3212, + "src": "1745:46:15", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -62617,28 +23155,28 @@ "typeString": "mapping(uint256 => uint256)" }, "typeName": { - "id": 759, + "id": 1832, "keyType": { - "id": 757, + "id": 1830, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1764:7:23", + "src": "1753:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "1756:27:23", + "src": "1745:27:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" }, "valueType": { - "id": 758, + "id": 1831, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1775:7:23", + "src": "1764:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62650,11 +23188,11 @@ }, { "constant": false, - "id": 762, + "id": 1835, "name": "packCount", "nodeType": "VariableDeclaration", - "scope": 2136, - "src": "1817:24:23", + "scope": 3212, + "src": "1806:24:15", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -62662,10 +23200,10 @@ "typeString": "uint256" }, "typeName": { - "id": 761, + "id": 1834, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1817:7:23", + "src": "1806:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62676,11 +23214,11 @@ }, { "constant": false, - "id": 764, + "id": 1837, "name": "tokenCount", "nodeType": "VariableDeclaration", - "scope": 2136, - "src": "1864:25:23", + "scope": 3212, + "src": "1853:25:15", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -62688,10 +23226,10 @@ "typeString": "uint256" }, "typeName": { - "id": 763, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1864:7:23", + "src": "1853:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62702,11 +23240,11 @@ }, { "constant": false, - "id": 769, + "id": 1842, "name": "availablePacks", "nodeType": "VariableDeclaration", - "scope": 2136, - "src": "1933:51:23", + "scope": 3212, + "src": "1922:51:15", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -62714,38 +23252,38 @@ "typeString": "mapping(bytes4 => uint256[])" }, "typeName": { - "id": 768, + "id": 1841, "keyType": { - "id": 765, + "id": 1838, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1941:6:23", + "src": "1930:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "1933:28:23", + "src": "1922:28:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes4 => uint256[])" }, "valueType": { "baseType": { - "id": 766, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1951:7:23", + "src": "1940:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 767, + "id": 1840, "length": null, "nodeType": "ArrayTypeName", - "src": "1951:9:23", + "src": "1940:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -62757,11 +23295,11 @@ }, { "constant": false, - "id": 775, + "id": 1848, "name": "availablePacksIndex", "nodeType": "VariableDeclaration", - "scope": 2136, - "src": "2017:74:23", + "scope": 3212, + "src": "2006:74:15", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -62769,46 +23307,46 @@ "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" }, "typeName": { - "id": 774, + "id": 1847, "keyType": { - "id": 770, + "id": 1843, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "2025:6:23", + "src": "2014:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "2017:46:23", + "src": "2006:46:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_uint256_$_t_uint256_$_$", "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" }, "valueType": { - "id": 773, + "id": 1846, "keyType": { - "id": 771, + "id": 1844, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2043:7:23", + "src": "2032:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "2035:27:23", + "src": "2024:27:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" }, "valueType": { - "id": 772, + "id": 1845, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2054:7:23", + "src": "2043:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62821,11 +23359,11 @@ }, { "constant": false, - "id": 781, + "id": 1854, "name": "packCategoryIndex", "nodeType": "VariableDeclaration", - "scope": 2136, - "src": "2136:72:23", + "scope": 3212, + "src": "2125:72:15", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -62833,46 +23371,46 @@ "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" }, "typeName": { - "id": 780, + "id": 1853, "keyType": { - "id": 776, + "id": 1849, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2144:7:23", + "src": "2133:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "2136:46:23", + "src": "2125:46:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" }, "valueType": { - "id": 779, + "id": 1852, "keyType": { - "id": 777, + "id": 1850, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "2163:6:23", + "src": "2152:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "2155:26:23", + "src": "2144:26:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", "typeString": "mapping(bytes4 => uint256)" }, "valueType": { - "id": 778, + "id": 1851, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2173:7:23", + "src": "2162:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62885,9 +23423,9 @@ }, { "body": { - "id": 803, + "id": 1876, "nodeType": "Block", - "src": "2307:134:23", + "src": "2296:134:15", "statements": [ { "expression": { @@ -62899,7 +23437,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 798, + "id": 1871, "isConstant": false, "isLValue": false, "isPure": false, @@ -62907,24 +23445,24 @@ "leftExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" }, - "id": 787, + "id": 1860, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 784, + "id": 1857, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 746, - "src": "2325:5:23", + "referencedDeclaration": 1819, + "src": "2314:5:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, @@ -62934,18 +23472,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 785, + "id": 1858, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "2334:5:23", + "referencedDeclaration": 1799, + "src": "2323:5:15", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$726_$", + "typeIdentifier": "t_type$_t_enum$_State_$1799_$", "typeString": "type(enum StickerMarket.State)" } }, - "id": 786, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, @@ -62953,13 +23491,13 @@ "memberName": "Open", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2334:10:23", + "src": "2323:10:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, - "src": "2325:19:23", + "src": "2314:19:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -62976,7 +23514,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 796, + "id": 1869, "isConstant": false, "isLValue": false, "isPure": false, @@ -62987,7 +23525,7 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 791, + "id": 1864, "isConstant": false, "isLValue": false, "isPure": false, @@ -62996,18 +23534,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 788, + "id": 1861, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2349:3:23", + "referencedDeclaration": 5707, + "src": "2338:3:15", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 789, + "id": 1862, "isConstant": false, "isLValue": false, "isPure": false, @@ -63015,7 +23553,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2349:10:23", + "src": "2338:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -63025,18 +23563,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 790, + "id": 1863, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "2363:10:23", + "referencedDeclaration": 15, + "src": "2352:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "2349:24:23", + "src": "2338:24:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -63047,24 +23585,24 @@ "rightExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" }, - "id": 795, + "id": 1868, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 792, + "id": 1865, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 746, - "src": "2377:5:23", + "referencedDeclaration": 1819, + "src": "2366:5:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, @@ -63074,18 +23612,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 793, + "id": 1866, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "2386:5:23", + "referencedDeclaration": 1799, + "src": "2375:5:15", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$726_$", + "typeIdentifier": "t_type$_t_enum$_State_$1799_$", "typeString": "type(enum StickerMarket.State)" } }, - "id": 794, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": true, @@ -63093,39 +23631,39 @@ "memberName": "Controlled", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2386:16:23", + "src": "2375:16:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, - "src": "2377:25:23", + "src": "2366:25:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "2349:53:23", + "src": "2338:53:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 797, + "id": 1870, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2348:55:23", + "src": "2337:55:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "2325:78:23", + "src": "2314:78:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -63134,14 +23672,14 @@ { "argumentTypes": null, "hexValue": "4d61726b65742044697361626c6564", - "id": 799, + "id": 1872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2405:17:23", + "src": "2394:17:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_e3c17a455add62b4c563a3a0cb95156eee233fb4f57a0b885805026f8312fed7", @@ -63161,21 +23699,21 @@ "typeString": "literal_string \"Market Disabled\"" } ], - "id": 783, + "id": 1856, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "2317:7:23", + "referencedDeclaration": 5711, + "src": "2306:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 800, + "id": 1873, "isConstant": false, "isLValue": false, "isPure": false, @@ -63183,41 +23721,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2317:106:23", + "src": "2306:106:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 801, + "id": 1874, "nodeType": "ExpressionStatement", - "src": "2317:106:23" + "src": "2306:106:15" }, { - "id": 802, + "id": 1875, "nodeType": "PlaceholderStatement", - "src": "2433:1:23" + "src": "2422:1:15" } ] }, "documentation": "@dev can only be called when market is open", - "id": 804, + "id": 1877, "name": "marketManagement", "nodeType": "ModifierDefinition", "parameters": { - "id": 782, + "id": 1855, "nodeType": "ParameterList", "parameters": [], - "src": "2307:0:23" + "src": "2296:0:15" }, - "src": "2281:160:23", + "src": "2270:160:15", "visibility": "internal" }, { "body": { - "id": 831, + "id": 1904, "nodeType": "Block", - "src": "2534:160:23", + "src": "2523:160:15", "statements": [ { "expression": { @@ -63229,7 +23767,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 826, + "id": 1899, "isConstant": false, "isLValue": false, "isPure": false, @@ -63240,7 +23778,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 815, + "id": 1888, "isConstant": false, "isLValue": false, "isPure": false, @@ -63248,24 +23786,24 @@ "leftExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" }, - "id": 810, + "id": 1883, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 807, + "id": 1880, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 746, - "src": "2552:5:23", + "referencedDeclaration": 1819, + "src": "2541:5:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, @@ -63275,18 +23813,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 808, + "id": 1881, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "2561:5:23", + "referencedDeclaration": 1799, + "src": "2550:5:15", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$726_$", + "typeIdentifier": "t_type$_t_enum$_State_$1799_$", "typeString": "type(enum StickerMarket.State)" } }, - "id": 809, + "id": 1882, "isConstant": false, "isLValue": false, "isPure": true, @@ -63294,13 +23832,13 @@ "memberName": "Open", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2561:10:23", + "src": "2550:10:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, - "src": "2552:19:23", + "src": "2541:19:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -63311,24 +23849,24 @@ "rightExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" }, - "id": 814, + "id": 1887, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 811, + "id": 1884, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 746, - "src": "2575:5:23", + "referencedDeclaration": 1819, + "src": "2564:5:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, @@ -63338,18 +23876,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 812, + "id": 1885, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "2584:5:23", + "referencedDeclaration": 1799, + "src": "2573:5:15", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$726_$", + "typeIdentifier": "t_type$_t_enum$_State_$1799_$", "typeString": "type(enum StickerMarket.State)" } }, - "id": 813, + "id": 1886, "isConstant": false, "isLValue": false, "isPure": true, @@ -63357,19 +23895,19 @@ "memberName": "BuyOnly", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2584:13:23", + "src": "2573:13:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, - "src": "2575:22:23", + "src": "2564:22:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "2552:45:23", + "src": "2541:45:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -63386,7 +23924,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 824, + "id": 1897, "isConstant": false, "isLValue": false, "isPure": false, @@ -63397,7 +23935,7 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 819, + "id": 1892, "isConstant": false, "isLValue": false, "isPure": false, @@ -63406,18 +23944,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 816, + "id": 1889, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2602:3:23", + "referencedDeclaration": 5707, + "src": "2591:3:15", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 817, + "id": 1890, "isConstant": false, "isLValue": false, "isPure": false, @@ -63425,7 +23963,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2602:10:23", + "src": "2591:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -63435,18 +23973,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 818, + "id": 1891, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "2616:10:23", + "referencedDeclaration": 15, + "src": "2605:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "2602:24:23", + "src": "2591:24:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -63457,24 +23995,24 @@ "rightExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" }, - "id": 823, + "id": 1896, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 820, + "id": 1893, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 746, - "src": "2630:5:23", + "referencedDeclaration": 1819, + "src": "2619:5:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, @@ -63484,18 +24022,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 821, + "id": 1894, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "2639:5:23", + "referencedDeclaration": 1799, + "src": "2628:5:15", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$726_$", + "typeIdentifier": "t_type$_t_enum$_State_$1799_$", "typeString": "type(enum StickerMarket.State)" } }, - "id": 822, + "id": 1895, "isConstant": false, "isLValue": false, "isPure": true, @@ -63503,39 +24041,39 @@ "memberName": "Controlled", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2639:16:23", + "src": "2628:16:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, - "src": "2630:25:23", + "src": "2619:25:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "2602:53:23", + "src": "2591:53:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 825, + "id": 1898, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "2601:55:23", + "src": "2590:55:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "2552:104:23", + "src": "2541:104:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -63544,14 +24082,14 @@ { "argumentTypes": null, "hexValue": "4d61726b65742044697361626c6564", - "id": 827, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2658:17:23", + "src": "2647:17:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_e3c17a455add62b4c563a3a0cb95156eee233fb4f57a0b885805026f8312fed7", @@ -63571,21 +24109,21 @@ "typeString": "literal_string \"Market Disabled\"" } ], - "id": 806, + "id": 1879, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "2544:7:23", + "referencedDeclaration": 5711, + "src": "2533:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 828, + "id": 1901, "isConstant": false, "isLValue": false, "isPure": false, @@ -63593,41 +24131,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2544:132:23", + "src": "2533:132:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 829, + "id": 1902, "nodeType": "ExpressionStatement", - "src": "2544:132:23" + "src": "2533:132:15" }, { - "id": 830, + "id": 1903, "nodeType": "PlaceholderStatement", - "src": "2686:1:23" + "src": "2675:1:15" } ] }, "documentation": "@dev can only be called when market is open", - "id": 832, + "id": 1905, "name": "marketSell", "nodeType": "ModifierDefinition", "parameters": { - "id": 805, + "id": 1878, "nodeType": "ParameterList", "parameters": [], - "src": "2534:0:23" + "src": "2523:0:15" }, - "src": "2514:180:23", + "src": "2503:180:15", "visibility": "internal" }, { "body": { - "id": 852, + "id": 1925, "nodeType": "Block", - "src": "2736:99:23", + "src": "2725:99:15", "statements": [ { "expression": { @@ -63639,7 +24177,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 848, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": false, @@ -63650,7 +24188,7 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 840, + "id": 1913, "isConstant": false, "isLValue": false, "isPure": false, @@ -63659,18 +24197,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 837, + "id": 1910, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2754:3:23", + "referencedDeclaration": 5707, + "src": "2743:3:15", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 838, + "id": 1911, "isConstant": false, "isLValue": false, "isPure": false, @@ -63678,7 +24216,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2754:10:23", + "src": "2743:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -63688,18 +24226,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 839, + "id": 1912, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "2768:10:23", + "referencedDeclaration": 15, + "src": "2757:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "2754:24:23", + "src": "2743:24:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -63713,7 +24251,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 847, + "id": 1920, "isConstant": false, "isLValue": false, "isPure": false, @@ -63724,26 +24262,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 841, + "id": 1914, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "2782:5:23", + "referencedDeclaration": 1829, + "src": "2771:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 843, + "id": 1916, "indexExpression": { "argumentTypes": null, - "id": 842, + "id": 1915, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 834, - "src": "2788:7:23", + "referencedDeclaration": 1907, + "src": "2777:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -63754,21 +24292,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2782:14:23", + "src": "2771:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 844, + "id": 1917, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 731, - "src": "2782:20:23", + "referencedDeclaration": 1804, + "src": "2771:20:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63780,18 +24318,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 845, + "id": 1918, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2806:3:23", + "referencedDeclaration": 5707, + "src": "2795:3:15", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 846, + "id": 1919, "isConstant": false, "isLValue": false, "isPure": false, @@ -63799,19 +24337,19 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2806:10:23", + "src": "2795:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "2782:34:23", + "src": "2771:34:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "2754:62:23", + "src": "2743:62:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -63825,21 +24363,21 @@ "typeString": "bool" } ], - "id": 836, + "id": 1909, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9456, - "src": "2746:7:23", + "referencedDeclaration": 5710, + "src": "2735:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 849, + "id": 1922, "isConstant": false, "isLValue": false, "isPure": false, @@ -63847,38 +24385,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2746:71:23", + "src": "2735:71:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 850, + "id": 1923, "nodeType": "ExpressionStatement", - "src": "2746:71:23" + "src": "2735:71:15" }, { - "id": 851, + "id": 1924, "nodeType": "PlaceholderStatement", - "src": "2827:1:23" + "src": "2816:1:15" } ] }, "documentation": null, - "id": 853, + "id": 1926, "name": "packOwner", "nodeType": "ModifierDefinition", "parameters": { - "id": 835, + "id": 1908, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 834, + "id": 1907, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 853, - "src": "2719:15:23", + "scope": 1926, + "src": "2708:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63886,10 +24424,10 @@ "typeString": "uint256" }, "typeName": { - "id": 833, + "id": 1906, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2719:7:23", + "src": "2708:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -63899,35 +24437,35 @@ "visibility": "internal" } ], - "src": "2718:17:23" + "src": "2707:17:15" }, - "src": "2700:135:23", + "src": "2689:135:15", "visibility": "internal" }, { "body": { - "id": 862, + "id": 1935, "nodeType": "Block", - "src": "2949:28:23", + "src": "2938:28:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 860, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 858, + "id": 1931, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 752, - "src": "2960:3:23", + "referencedDeclaration": 1825, + "src": "2949:3:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -63935,62 +24473,62 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 859, + "id": 1932, "name": "_snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 855, - "src": "2966:4:23", + "referencedDeclaration": 1928, + "src": "2955:4:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "src": "2960:10:23", + "src": "2949:10:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 861, + "id": 1934, "nodeType": "ExpressionStatement", - "src": "2960:10:23" + "src": "2949:10:15" } ] }, "documentation": "@param _snt SNT token", - "id": 863, + "id": 1936, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 856, + "id": 1929, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 855, + "id": 1928, "name": "_snt", "nodeType": "VariableDeclaration", - "scope": 863, - "src": "2907:15:23", + "scope": 1936, + "src": "2896:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 854, + "id": 1927, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "2907:10:23", + "referencedDeclaration": 4515, + "src": "2896:10:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -63998,25 +24536,25 @@ "visibility": "internal" } ], - "src": "2897:31:23" + "src": "2886:31:15" }, "returnParameters": { - "id": 857, + "id": 1930, "nodeType": "ParameterList", "parameters": [], - "src": "2949:0:23" + "src": "2938:0:15" }, - "scope": 2136, - "src": "2886:91:23", + "scope": 3212, + "src": "2875:91:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 879, + "id": 1952, "nodeType": "Block", - "src": "3598:62:23", + "src": "3587:62:15", "statements": [ { "expression": { @@ -64026,18 +24564,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 873, + "id": 1946, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "3619:3:23", + "referencedDeclaration": 5707, + "src": "3608:3:15", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 874, + "id": 1947, "isConstant": false, "isLValue": false, "isPure": false, @@ -64045,7 +24583,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3619:10:23", + "src": "3608:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -64053,12 +24591,12 @@ }, { "argumentTypes": null, - "id": 875, + "id": 1948, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 865, - "src": "3631:7:23", + "referencedDeclaration": 1938, + "src": "3620:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64066,12 +24604,12 @@ }, { "argumentTypes": null, - "id": 876, + "id": 1949, "name": "_destination", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 867, - "src": "3640:12:23", + "referencedDeclaration": 1940, + "src": "3629:12:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -64093,18 +24631,18 @@ "typeString": "address" } ], - "id": 872, + "id": 1945, "name": "buy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1853, - "src": "3615:3:23", + "referencedDeclaration": 2929, + "src": "3604:3:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_uint256_$", "typeString": "function (address,uint256,address) returns (uint256)" } }, - "id": 877, + "id": 1950, "isConstant": false, "isLValue": false, "isPure": false, @@ -64112,37 +24650,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3615:38:23", + "src": "3604:38:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 871, - "id": 878, + "functionReturnParameters": 1944, + "id": 1951, "nodeType": "Return", - "src": "3608:45:23" + "src": "3597:45:15" } ] }, "documentation": "@dev Mints NFT StickerPack in `msg.sender` account, and Transfers SNT using user allowance\nemit NonfungibleToken.Transfer(`address(0)`, `msg.sender`, `tokenId`)\n@notice buy a pack from market pack owner, including a StickerPack's token in msg.sender account with same metadata of `_packId` \n@param _packId id of market pack \n@param _destination owner of token being brought\n@return tokenId generated StickerPack token ", - "id": 880, + "id": 1953, "implemented": true, "kind": "function", "modifiers": [], "name": "buyToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 868, + "id": 1941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 865, + "id": 1938, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 880, - "src": "3488:15:23", + "scope": 1953, + "src": "3477:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64150,10 +24688,10 @@ "typeString": "uint256" }, "typeName": { - "id": 864, + "id": 1937, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3488:7:23", + "src": "3477:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64164,11 +24702,11 @@ }, { "constant": false, - "id": 867, + "id": 1940, "name": "_destination", "nodeType": "VariableDeclaration", - "scope": 880, - "src": "3513:20:23", + "scope": 1953, + "src": "3502:20:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64176,10 +24714,10 @@ "typeString": "address" }, "typeName": { - "id": 866, + "id": 1939, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3513:7:23", + "src": "3502:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -64190,19 +24728,19 @@ "visibility": "internal" } ], - "src": "3478:61:23" + "src": "3467:61:15" }, "returnParameters": { - "id": 871, + "id": 1944, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 870, + "id": 1943, "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 880, - "src": "3577:15:23", + "scope": 1953, + "src": "3566:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64210,10 +24748,10 @@ "typeString": "uint256" }, "typeName": { - "id": 869, + "id": 1942, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3577:7:23", + "src": "3566:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64223,36 +24761,36 @@ "visibility": "internal" } ], - "src": "3576:17:23" + "src": "3565:17:15" }, - "scope": 2136, - "src": "3461:199:23", + "scope": 3212, + "src": "3450:199:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 908, + "id": 1981, "nodeType": "Block", - "src": "4444:96:23", + "src": "4433:96:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 906, + "id": 1979, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 896, + "id": 1969, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 894, - "src": "4454:6:23", + "referencedDeclaration": 1967, + "src": "4443:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64267,18 +24805,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 898, + "id": 1971, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "4472:3:23", + "referencedDeclaration": 5707, + "src": "4461:3:15", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 899, + "id": 1972, "isConstant": false, "isLValue": false, "isPure": false, @@ -64286,7 +24824,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "4472:10:23", + "src": "4461:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -64294,12 +24832,12 @@ }, { "argumentTypes": null, - "id": 900, + "id": 1973, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "4484:9:23", + "referencedDeclaration": 1960, + "src": "4473:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_calldata_ptr", "typeString": "bytes4[] calldata" @@ -64307,12 +24845,12 @@ }, { "argumentTypes": null, - "id": 901, + "id": 1974, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 889, - "src": "4495:6:23", + "referencedDeclaration": 1962, + "src": "4484:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -64320,12 +24858,12 @@ }, { "argumentTypes": null, - "id": 902, + "id": 1975, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 882, - "src": "4503:6:23", + "referencedDeclaration": 1955, + "src": "4492:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64333,12 +24871,12 @@ }, { "argumentTypes": null, - "id": 903, + "id": 1976, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 884, - "src": "4511:7:23", + "referencedDeclaration": 1957, + "src": "4500:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64346,12 +24884,12 @@ }, { "argumentTypes": null, - "id": 904, + "id": 1977, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 891, - "src": "4520:12:23", + "referencedDeclaration": 1964, + "src": "4509:12:15", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -64385,21 +24923,21 @@ "typeString": "bytes calldata" } ], - "id": 897, + "id": 1970, "name": "register", "nodeType": "Identifier", "overloadedDeclarations": [ - 1641, - 1710 + 2719, + 2788 ], - "referencedDeclaration": 1641, - "src": "4463:8:23", + "referencedDeclaration": 2719, + "src": "4452:8:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (address,bytes4[] memory,address,uint256,uint256,bytes memory) returns (uint256)" } }, - "id": 905, + "id": 1978, "isConstant": false, "isLValue": false, "isPure": false, @@ -64407,42 +24945,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4463:70:23", + "src": "4452:70:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "4454:79:23", + "src": "4443:79:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 907, + "id": 1980, "nodeType": "ExpressionStatement", - "src": "4454:79:23" + "src": "4443:79:15" } ] }, "documentation": "@dev emits StickerMarket.Register(`packId`, `_urlHash`, `_price`, `_contenthash`)\n@notice Registers to sell a sticker pack \n@param _price cost in wei to users minting with _urlHash metadata\n@param _donate optional amount of `_price` that is donated to StickerMarket at every buy\n@param _category listing category\n@param _owner address of the beneficiary of buys\n@param _contenthash EIP1577 pack contenthash for listings\n@return packId Market position of Sticker Pack data.", - "id": 909, + "id": 1982, "implemented": true, "kind": "function", "modifiers": [], "name": "registerPack", "nodeType": "FunctionDefinition", "parameters": { - "id": 892, + "id": 1965, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 882, + "id": 1955, "name": "_price", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "4243:14:23", + "scope": 1982, + "src": "4232:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64450,10 +24988,10 @@ "typeString": "uint256" }, "typeName": { - "id": 881, + "id": 1954, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4243:7:23", + "src": "4232:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64464,11 +25002,11 @@ }, { "constant": false, - "id": 884, + "id": 1957, "name": "_donate", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "4267:15:23", + "scope": 1982, + "src": "4256:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64476,10 +25014,10 @@ "typeString": "uint256" }, "typeName": { - "id": 883, + "id": 1956, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4267:7:23", + "src": "4256:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64490,11 +25028,11 @@ }, { "constant": false, - "id": 887, + "id": 1960, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "4292:27:23", + "scope": 1982, + "src": "4281:27:15", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -64503,19 +25041,19 @@ }, "typeName": { "baseType": { - "id": 885, + "id": 1958, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "4292:6:23", + "src": "4281:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 886, + "id": 1959, "length": null, "nodeType": "ArrayTypeName", - "src": "4292:8:23", + "src": "4281:8:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -64526,11 +25064,11 @@ }, { "constant": false, - "id": 889, + "id": 1962, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "4330:14:23", + "scope": 1982, + "src": "4319:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64538,10 +25076,10 @@ "typeString": "address" }, "typeName": { - "id": 888, + "id": 1961, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4330:7:23", + "src": "4319:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -64553,11 +25091,11 @@ }, { "constant": false, - "id": 891, + "id": 1964, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "4354:27:23", + "scope": 1982, + "src": "4343:27:15", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -64565,10 +25103,10 @@ "typeString": "bytes" }, "typeName": { - "id": 890, + "id": 1963, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4354:5:23", + "src": "4343:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -64578,19 +25116,19 @@ "visibility": "internal" } ], - "src": "4233:154:23" + "src": "4222:154:15" }, "returnParameters": { - "id": 895, + "id": 1968, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 894, + "id": 1967, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "4424:14:23", + "scope": 1982, + "src": "4413:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64598,10 +25136,10 @@ "typeString": "uint256" }, "typeName": { - "id": 893, + "id": 1966, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4424:7:23", + "src": "4413:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64611,24 +25149,24 @@ "visibility": "internal" } ], - "src": "4423:16:23" + "src": "4412:16:15" }, - "scope": 2136, - "src": "4212:328:23", + "scope": 3212, + "src": "4201:328:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 928, + "id": 2001, "nodeType": "Block", - "src": "4876:43:23", + "src": "4865:43:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 926, + "id": 1999, "isConstant": false, "isLValue": false, "isPure": false, @@ -64639,26 +25177,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 921, + "id": 1994, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "4886:5:23", + "referencedDeclaration": 1829, + "src": "4875:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 923, + "id": 1996, "indexExpression": { "argumentTypes": null, - "id": 922, + "id": 1995, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 911, - "src": "4892:7:23", + "referencedDeclaration": 1984, + "src": "4881:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64669,21 +25207,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "4886:14:23", + "src": "4875:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 924, + "id": 1997, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 731, - "src": "4886:20:23", + "referencedDeclaration": 1804, + "src": "4875:20:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -64693,100 +25231,100 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 925, + "id": 1998, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 913, - "src": "4909:3:23", + "referencedDeclaration": 1986, + "src": "4898:3:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "4886:26:23", + "src": "4875:26:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 927, + "id": 2000, "nodeType": "ExpressionStatement", - "src": "4886:26:23" + "src": "4875:26:15" } ] }, "documentation": "@notice changes beneficiary of `_packId`, can only be called when market is open\n@param _packId which market position is being transfered\n@param _to new beneficiary", - "id": 929, + "id": 2002, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 916, + "id": 1989, "modifierName": { "argumentTypes": null, - "id": 915, + "id": 1988, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 804, - "src": "4827:16:23", + "referencedDeclaration": 1877, + "src": "4816:16:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "4827:16:23" + "src": "4816:16:15" }, { "arguments": [ { "argumentTypes": null, - "id": 918, + "id": 1991, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 911, - "src": "4863:7:23", + "referencedDeclaration": 1984, + "src": "4852:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 919, + "id": 1992, "modifierName": { "argumentTypes": null, - "id": 917, + "id": 1990, "name": "packOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 853, - "src": "4853:9:23", + "referencedDeclaration": 1926, + "src": "4842:9:15", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_uint256_$", "typeString": "modifier (uint256)" } }, "nodeType": "ModifierInvocation", - "src": "4853:18:23" + "src": "4842:18:15" } ], "name": "setPackOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 914, + "id": 1987, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 911, + "id": 1984, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 929, - "src": "4770:15:23", + "scope": 2002, + "src": "4759:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64794,10 +25332,10 @@ "typeString": "uint256" }, "typeName": { - "id": 910, + "id": 1983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4770:7:23", + "src": "4759:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64808,11 +25346,11 @@ }, { "constant": false, - "id": 913, + "id": 1986, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 929, - "src": "4787:11:23", + "scope": 2002, + "src": "4776:11:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64820,10 +25358,10 @@ "typeString": "address" }, "typeName": { - "id": 912, + "id": 1985, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4787:7:23", + "src": "4776:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -64834,25 +25372,25 @@ "visibility": "internal" } ], - "src": "4769:30:23" + "src": "4758:30:15" }, "returnParameters": { - "id": 920, + "id": 1993, "nodeType": "ParameterList", "parameters": [], - "src": "4876:0:23" + "src": "4865:0:15" }, - "scope": 2136, - "src": "4748:171:23", + "scope": 3212, + "src": "4737:171:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 964, + "id": 2037, "nodeType": "Block", - "src": "5266:175:23", + "src": "5255:175:15", "statements": [ { "expression": { @@ -64864,19 +25402,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 946, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 944, + "id": 2017, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 935, - "src": "5284:7:23", + "referencedDeclaration": 2008, + "src": "5273:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64887,14 +25425,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 945, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "5295:5:23", + "src": "5284:5:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -64902,7 +25440,7 @@ }, "value": "10000" }, - "src": "5284:16:23", + "src": "5273:16:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -64911,14 +25449,14 @@ { "argumentTypes": null, "hexValue": "42616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025", - "id": 947, + "id": 2020, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5302:51:23", + "src": "5291:51:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_39b850c1417a175a108276062b1eaa1e5a7ee0a69781dbd9f4a6552a666b086c", @@ -64938,21 +25476,21 @@ "typeString": "literal_string \"Bad argument, _donate cannot be more then 100.00%\"" } ], - "id": 943, + "id": 2016, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "5276:7:23", + "referencedDeclaration": 5711, + "src": "5265:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 948, + "id": 2021, "isConstant": false, "isLValue": false, "isPure": false, @@ -64960,20 +25498,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5276:78:23", + "src": "5265:78:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 949, + "id": 2022, "nodeType": "ExpressionStatement", - "src": "5276:78:23" + "src": "5265:78:15" }, { "expression": { "argumentTypes": null, - "id": 955, + "id": 2028, "isConstant": false, "isLValue": false, "isPure": false, @@ -64984,26 +25522,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 950, + "id": 2023, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "5364:5:23", + "referencedDeclaration": 1829, + "src": "5353:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 952, + "id": 2025, "indexExpression": { "argumentTypes": null, - "id": 951, + "id": 2024, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 931, - "src": "5370:7:23", + "referencedDeclaration": 2004, + "src": "5359:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65014,21 +25552,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5364:14:23", + "src": "5353:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 953, + "id": 2026, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "price", "nodeType": "MemberAccess", - "referencedDeclaration": 737, - "src": "5364:20:23", + "referencedDeclaration": 1810, + "src": "5353:20:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65038,31 +25576,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 954, + "id": 2027, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 933, - "src": "5387:6:23", + "referencedDeclaration": 2006, + "src": "5376:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "5364:29:23", + "src": "5353:29:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 956, + "id": 2029, "nodeType": "ExpressionStatement", - "src": "5364:29:23" + "src": "5353:29:15" }, { "expression": { "argumentTypes": null, - "id": 962, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": false, @@ -65073,26 +25611,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 957, + "id": 2030, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "5403:5:23", + "referencedDeclaration": 1829, + "src": "5392:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 959, + "id": 2032, "indexExpression": { "argumentTypes": null, - "id": 958, + "id": 2031, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 931, - "src": "5409:7:23", + "referencedDeclaration": 2004, + "src": "5398:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65103,21 +25641,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "5403:14:23", + "src": "5392:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 960, + "id": 2033, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "donate", "nodeType": "MemberAccess", - "referencedDeclaration": 739, - "src": "5403:21:23", + "referencedDeclaration": 1812, + "src": "5392:21:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65127,100 +25665,100 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 961, + "id": 2034, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 935, - "src": "5427:7:23", + "referencedDeclaration": 2008, + "src": "5416:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "5403:31:23", + "src": "5392:31:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 963, + "id": 2036, "nodeType": "ExpressionStatement", - "src": "5403:31:23" + "src": "5392:31:15" } ] }, "documentation": "@notice changes price of `_packId`, can only be called when market is open\n@param _packId which market position is being transfered\n@param _price new value", - "id": 965, + "id": 2038, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 938, + "id": 2011, "modifierName": { "argumentTypes": null, - "id": 937, + "id": 2010, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 804, - "src": "5217:16:23", + "referencedDeclaration": 1877, + "src": "5206:16:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5217:16:23" + "src": "5206:16:15" }, { "arguments": [ { "argumentTypes": null, - "id": 940, + "id": 2013, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 931, - "src": "5253:7:23", + "referencedDeclaration": 2004, + "src": "5242:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 941, + "id": 2014, "modifierName": { "argumentTypes": null, - "id": 939, + "id": 2012, "name": "packOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 853, - "src": "5243:9:23", + "referencedDeclaration": 1926, + "src": "5232:9:15", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_uint256_$", "typeString": "modifier (uint256)" } }, "nodeType": "ModifierInvocation", - "src": "5243:18:23" + "src": "5232:18:15" } ], "name": "setPackPrice", "nodeType": "FunctionDefinition", "parameters": { - "id": 936, + "id": 2009, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 931, + "id": 2004, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 965, - "src": "5140:15:23", + "scope": 2038, + "src": "5129:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -65228,10 +25766,10 @@ "typeString": "uint256" }, "typeName": { - "id": 930, + "id": 2003, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5140:7:23", + "src": "5129:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65242,11 +25780,11 @@ }, { "constant": false, - "id": 933, + "id": 2006, "name": "_price", "nodeType": "VariableDeclaration", - "scope": 965, - "src": "5157:14:23", + "scope": 2038, + "src": "5146:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -65254,10 +25792,10 @@ "typeString": "uint256" }, "typeName": { - "id": 932, + "id": 2005, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5157:7:23", + "src": "5146:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65268,11 +25806,11 @@ }, { "constant": false, - "id": 935, + "id": 2008, "name": "_donate", "nodeType": "VariableDeclaration", - "scope": 965, - "src": "5173:15:23", + "scope": 2038, + "src": "5162:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -65280,10 +25818,10 @@ "typeString": "uint256" }, "typeName": { - "id": 934, + "id": 2007, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5173:7:23", + "src": "5162:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65293,25 +25831,25 @@ "visibility": "internal" } ], - "src": "5139:50:23" + "src": "5128:50:15" }, "returnParameters": { - "id": 942, + "id": 2015, "nodeType": "ParameterList", "parameters": [], - "src": "5266:0:23" + "src": "5255:0:15" }, - "scope": 2136, - "src": "5118:323:23", + "scope": 3212, + "src": "5107:323:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 982, + "id": 2055, "nodeType": "Block", - "src": "5785:53:23", + "src": "5774:53:15", "statements": [ { "expression": { @@ -65319,12 +25857,12 @@ "arguments": [ { "argumentTypes": null, - "id": 978, + "id": 2051, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "5812:7:23", + "referencedDeclaration": 2040, + "src": "5801:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65332,12 +25870,12 @@ }, { "argumentTypes": null, - "id": 979, + "id": 2052, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 969, - "src": "5821:9:23", + "referencedDeclaration": 2042, + "src": "5810:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -65355,18 +25893,18 @@ "typeString": "bytes4" } ], - "id": 977, + "id": 2050, "name": "addAvailablePack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1930, - "src": "5795:16:23", + "referencedDeclaration": 3006, + "src": "5784:16:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", "typeString": "function (uint256,bytes4)" } }, - "id": 980, + "id": 2053, "isConstant": false, "isLValue": false, "isPure": false, @@ -65374,89 +25912,89 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5795:36:23", + "src": "5784:36:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 981, + "id": 2054, "nodeType": "ExpressionStatement", - "src": "5795:36:23" + "src": "5784:36:15" } ] }, "documentation": "@notice changes caregory of `_packId`, can only be called when market is open\n@param _packId which market position is being transfered\n@param _category new category", - "id": 983, + "id": 2056, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 972, + "id": 2045, "modifierName": { "argumentTypes": null, - "id": 971, + "id": 2044, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 804, - "src": "5736:16:23", + "referencedDeclaration": 1877, + "src": "5725:16:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5736:16:23" + "src": "5725:16:15" }, { "arguments": [ { "argumentTypes": null, - "id": 974, + "id": 2047, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "5772:7:23", + "referencedDeclaration": 2040, + "src": "5761:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 975, + "id": 2048, "modifierName": { "argumentTypes": null, - "id": 973, + "id": 2046, "name": "packOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 853, - "src": "5762:9:23", + "referencedDeclaration": 1926, + "src": "5751:9:15", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_uint256_$", "typeString": "modifier (uint256)" } }, "nodeType": "ModifierInvocation", - "src": "5762:18:23" + "src": "5751:18:15" } ], "name": "addPackCategory", "nodeType": "FunctionDefinition", "parameters": { - "id": 970, + "id": 2043, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 967, + "id": 2040, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 983, - "src": "5675:15:23", + "scope": 2056, + "src": "5664:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -65464,10 +26002,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 2039, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5675:7:23", + "src": "5664:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65478,11 +26016,11 @@ }, { "constant": false, - "id": 969, + "id": 2042, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 983, - "src": "5692:16:23", + "scope": 2056, + "src": "5681:16:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -65490,10 +26028,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 968, + "id": 2041, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "5692:6:23", + "src": "5681:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -65503,25 +26041,25 @@ "visibility": "internal" } ], - "src": "5674:35:23" + "src": "5663:35:15" }, "returnParameters": { - "id": 976, + "id": 2049, "nodeType": "ParameterList", "parameters": [], - "src": "5785:0:23" + "src": "5774:0:15" }, - "scope": 2136, - "src": "5650:188:23", + "scope": 3212, + "src": "5639:188:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1000, + "id": 2073, "nodeType": "Block", - "src": "6191:56:23", + "src": "6180:56:15", "statements": [ { "expression": { @@ -65529,12 +26067,12 @@ "arguments": [ { "argumentTypes": null, - "id": 996, + "id": 2069, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 985, - "src": "6221:7:23", + "referencedDeclaration": 2058, + "src": "6210:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65542,12 +26080,12 @@ }, { "argumentTypes": null, - "id": 997, + "id": 2070, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "6230:9:23", + "referencedDeclaration": 2060, + "src": "6219:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -65565,18 +26103,18 @@ "typeString": "bytes4" } ], - "id": 995, + "id": 2068, "name": "removeAvailablePack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "6201:19:23", + "referencedDeclaration": 3158, + "src": "6190:19:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", "typeString": "function (uint256,bytes4)" } }, - "id": 998, + "id": 2071, "isConstant": false, "isLValue": false, "isPure": false, @@ -65584,89 +26122,89 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6201:39:23", + "src": "6190:39:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 999, + "id": 2072, "nodeType": "ExpressionStatement", - "src": "6201:39:23" + "src": "6190:39:15" } ] }, "documentation": "@notice changes caregory of `_packId`, can only be called when market is open\n@param _packId which market position is being transfered\n@param _category category to unlist", - "id": 1001, + "id": 2074, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 990, + "id": 2063, "modifierName": { "argumentTypes": null, - "id": 989, + "id": 2062, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 804, - "src": "6142:16:23", + "referencedDeclaration": 1877, + "src": "6131:16:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6142:16:23" + "src": "6131:16:15" }, { "arguments": [ { "argumentTypes": null, - "id": 992, + "id": 2065, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 985, - "src": "6178:7:23", + "referencedDeclaration": 2058, + "src": "6167:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 993, + "id": 2066, "modifierName": { "argumentTypes": null, - "id": 991, + "id": 2064, "name": "packOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 853, - "src": "6168:9:23", + "referencedDeclaration": 1926, + "src": "6157:9:15", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_uint256_$", "typeString": "modifier (uint256)" } }, "nodeType": "ModifierInvocation", - "src": "6168:18:23" + "src": "6157:18:15" } ], "name": "removePackCategory", "nodeType": "FunctionDefinition", "parameters": { - "id": 988, + "id": 2061, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 985, + "id": 2058, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 1001, - "src": "6081:15:23", + "scope": 2074, + "src": "6070:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -65674,10 +26212,10 @@ "typeString": "uint256" }, "typeName": { - "id": 984, + "id": 2057, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6081:7:23", + "src": "6070:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65688,11 +26226,11 @@ }, { "constant": false, - "id": 987, + "id": 2060, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 1001, - "src": "6098:16:23", + "scope": 2074, + "src": "6087:16:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -65700,10 +26238,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 986, + "id": 2059, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "6098:6:23", + "src": "6087:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -65713,30 +26251,30 @@ "visibility": "internal" } ], - "src": "6080:35:23" + "src": "6069:35:15" }, "returnParameters": { - "id": 994, + "id": 2067, "nodeType": "ParameterList", "parameters": [], - "src": "6191:0:23" + "src": "6180:0:15" }, - "scope": 2136, - "src": "6053:194:23", + "scope": 3212, + "src": "6042:194:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1020, + "id": 2093, "nodeType": "Block", - "src": "6456:52:23", + "src": "6445:52:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1018, + "id": 2091, "isConstant": false, "isLValue": false, "isPure": false, @@ -65747,26 +26285,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1013, + "id": 2086, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "6466:5:23", + "referencedDeclaration": 1829, + "src": "6455:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 1015, + "id": 2088, "indexExpression": { "argumentTypes": null, - "id": 1014, + "id": 2087, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1003, - "src": "6472:7:23", + "referencedDeclaration": 2076, + "src": "6461:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65777,21 +26315,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6466:14:23", + "src": "6455:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 1016, + "id": 2089, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "mintable", "nodeType": "MemberAccess", - "referencedDeclaration": 733, - "src": "6466:23:23", + "referencedDeclaration": 1806, + "src": "6455:23:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -65801,100 +26339,100 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1017, + "id": 2090, "name": "_mintable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1005, - "src": "6492:9:23", + "referencedDeclaration": 2078, + "src": "6481:9:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "6466:35:23", + "src": "6455:35:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1019, + "id": 2092, "nodeType": "ExpressionStatement", - "src": "6466:35:23" + "src": "6455:35:15" } ] }, "documentation": "@notice \n@param _packId position edit", - "id": 1021, + "id": 2094, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1008, + "id": 2081, "modifierName": { "argumentTypes": null, - "id": 1007, + "id": 2080, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 804, - "src": "6407:16:23", + "referencedDeclaration": 1877, + "src": "6396:16:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6407:16:23" + "src": "6396:16:15" }, { "arguments": [ { "argumentTypes": null, - "id": 1010, + "id": 2083, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1003, - "src": "6443:7:23", + "referencedDeclaration": 2076, + "src": "6432:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 1011, + "id": 2084, "modifierName": { "argumentTypes": null, - "id": 1009, + "id": 2082, "name": "packOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 853, - "src": "6433:9:23", + "referencedDeclaration": 1926, + "src": "6422:9:15", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_uint256_$", "typeString": "modifier (uint256)" } }, "nodeType": "ModifierInvocation", - "src": "6433:18:23" + "src": "6422:18:15" } ], "name": "setPackState", "nodeType": "FunctionDefinition", "parameters": { - "id": 1006, + "id": 2079, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1003, + "id": 2076, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 1021, - "src": "6347:15:23", + "scope": 2094, + "src": "6336:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -65902,10 +26440,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1002, + "id": 2075, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6347:7:23", + "src": "6336:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -65916,11 +26454,11 @@ }, { "constant": false, - "id": 1005, + "id": 2078, "name": "_mintable", "nodeType": "VariableDeclaration", - "scope": 1021, - "src": "6364:14:23", + "scope": 2094, + "src": "6353:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -65928,10 +26466,10 @@ "typeString": "bool" }, "typeName": { - "id": 1004, + "id": 2077, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "6364:4:23", + "src": "6353:4:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -65941,25 +26479,25 @@ "visibility": "internal" } ], - "src": "6346:33:23" + "src": "6335:33:15" }, "returnParameters": { - "id": 1012, + "id": 2085, "nodeType": "ParameterList", "parameters": [], - "src": "6456:0:23" + "src": "6445:0:15" }, - "scope": 2136, - "src": "6325:183:23", + "scope": 3212, + "src": "6314:183:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1157, + "id": 2230, "nodeType": "Block", - "src": "6911:954:23", + "src": "6900:954:15", "statements": [ { "expression": { @@ -65971,19 +26509,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1037, + "id": 2110, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1033, + "id": 2106, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1027, - "src": "6929:6:23", + "referencedDeclaration": 2100, + "src": "6918:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -65996,14 +26534,14 @@ "arguments": [ { "argumentTypes": null, - "id": 1035, + "id": 2108, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 752, - "src": "6947:3:23", + "referencedDeclaration": 1825, + "src": "6936:3:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } } @@ -66011,24 +26549,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } ], - "id": 1034, + "id": 2107, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6939:7:23", + "src": "6928:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1036, + "id": 2109, "isConstant": false, "isLValue": false, "isPure": false, @@ -66036,13 +26574,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6939:12:23", + "src": "6928:12:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "6929:22:23", + "src": "6918:22:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -66051,14 +26589,14 @@ { "argumentTypes": null, "hexValue": "42616420746f6b656e", - "id": 1038, + "id": 2111, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6953:11:23", + "src": "6942:11:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", @@ -66078,21 +26616,21 @@ "typeString": "literal_string \"Bad token\"" } ], - "id": 1032, + "id": 2105, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "6921:7:23", + "referencedDeclaration": 5711, + "src": "6910:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1039, + "id": 2112, "isConstant": false, "isLValue": false, "isPure": false, @@ -66100,15 +26638,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6921:44:23", + "src": "6910:44:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1040, + "id": 2113, "nodeType": "ExpressionStatement", - "src": "6921:44:23" + "src": "6910:44:15" }, { "expression": { @@ -66120,19 +26658,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1047, + "id": 2120, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1042, + "id": 2115, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1027, - "src": "6983:6:23", + "referencedDeclaration": 2100, + "src": "6972:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -66147,18 +26685,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1044, + "id": 2117, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "7001:3:23", + "referencedDeclaration": 5707, + "src": "6990:3:15", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1045, + "id": 2118, "isConstant": false, "isLValue": false, "isPure": false, @@ -66166,7 +26704,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7001:10:23", + "src": "6990:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -66180,20 +26718,20 @@ "typeString": "address payable" } ], - "id": 1043, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6993:7:23", + "src": "6982:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1046, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": false, @@ -66201,13 +26739,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6993:19:23", + "src": "6982:19:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "6983:29:23", + "src": "6972:29:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -66216,14 +26754,14 @@ { "argumentTypes": null, "hexValue": "4261642063616c6c", - "id": 1048, + "id": 2121, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "7014:10:23", + "src": "7003:10:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_11e86317ecef0ef1d4dc4ecf70d8a0b385ff39eae3fc5821024576536c47ad15", @@ -66243,21 +26781,21 @@ "typeString": "literal_string \"Bad call\"" } ], - "id": 1041, + "id": 2114, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "6975:7:23", + "referencedDeclaration": 5711, + "src": "6964:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1049, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": false, @@ -66265,28 +26803,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6975:50:23", + "src": "6964:50:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1050, + "id": 2123, "nodeType": "ExpressionStatement", - "src": "6975:50:23" + "src": "6964:50:15" }, { "assignments": [ - 1052 + 2125 ], "declarations": [ { "constant": false, - "id": 1052, + "id": 2125, "name": "sig", "nodeType": "VariableDeclaration", - "scope": 1157, - "src": "7035:10:23", + "scope": 2230, + "src": "7024:10:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -66294,10 +26832,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 1051, + "id": 2124, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "7035:6:23", + "src": "7024:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -66307,18 +26845,18 @@ "visibility": "internal" } ], - "id": 1056, + "id": 2129, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1054, + "id": 2127, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1029, - "src": "7061:5:23", + "referencedDeclaration": 2102, + "src": "7050:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -66332,18 +26870,18 @@ "typeString": "bytes calldata" } ], - "id": 1053, + "id": 2126, "name": "abiDecodeSig", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2107, - "src": "7048:12:23", + "referencedDeclaration": 3183, + "src": "7037:12:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (bytes memory) pure returns (bytes4)" } }, - "id": 1055, + "id": 2128, "isConstant": false, "isLValue": false, "isPure": false, @@ -66351,27 +26889,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7048:19:23", + "src": "7037:19:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "VariableDeclarationStatement", - "src": "7035:32:23" + "src": "7024:32:15" }, { "assignments": [ - 1058 + 2131 ], "declarations": [ { "constant": false, - "id": 1058, + "id": 2131, "name": "cdata", "nodeType": "VariableDeclaration", - "scope": 1157, - "src": "7077:18:23", + "scope": 2230, + "src": "7066:18:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -66379,10 +26917,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1057, + "id": 2130, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7077:5:23", + "src": "7066:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -66392,18 +26930,18 @@ "visibility": "internal" } ], - "id": 1067, + "id": 2140, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1060, + "id": 2133, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1029, - "src": "7104:5:23", + "referencedDeclaration": 2102, + "src": "7093:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -66412,14 +26950,14 @@ { "argumentTypes": null, "hexValue": "34", - "id": 1061, + "id": 2134, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7110:1:23", + "src": "7099:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_4_by_1", @@ -66433,7 +26971,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1065, + "id": 2138, "isConstant": false, "isLValue": false, "isPure": false, @@ -66442,18 +26980,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1062, + "id": 2135, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1029, - "src": "7112:5:23", + "referencedDeclaration": 2102, + "src": "7101:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "id": 1063, + "id": 2136, "isConstant": false, "isLValue": false, "isPure": false, @@ -66461,7 +26999,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7112:12:23", + "src": "7101:12:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -66472,14 +27010,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "34", - "id": 1064, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7125:1:23", + "src": "7114:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_4_by_1", @@ -66487,7 +27025,7 @@ }, "value": "4" }, - "src": "7112:14:23", + "src": "7101:14:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -66509,18 +27047,18 @@ "typeString": "uint256" } ], - "id": 1059, + "id": 2132, "name": "slice", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2135, - "src": "7098:5:23", + "referencedDeclaration": 3211, + "src": "7087:5:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256,uint256) pure returns (bytes memory)" } }, - "id": 1066, + "id": 2139, "isConstant": false, "isLValue": false, "isPure": false, @@ -66528,14 +27066,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7098:29:23", + "src": "7087:29:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", - "src": "7077:50:23" + "src": "7066:50:15" }, { "condition": { @@ -66544,19 +27082,19 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 1074, + "id": 2147, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1068, + "id": 2141, "name": "sig", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1052, - "src": "7140:3:23", + "referencedDeclaration": 2125, + "src": "7129:3:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -66573,14 +27111,14 @@ { "argumentTypes": null, "hexValue": "627579546f6b656e2875696e743235362c6164647265737329", - "id": 1071, + "id": 2144, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "7164:27:23", + "src": "7153:27:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_9134709ead558f970d5d64e4453410deb0602fc5980e3682017ae827b19af8a0", @@ -66596,18 +27134,18 @@ "typeString": "literal_string \"buyToken(uint256,address)\"" } ], - "id": 1070, + "id": 2143, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9447, - "src": "7154:9:23", + "referencedDeclaration": 5701, + "src": "7143:9:15", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1072, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": true, @@ -66615,7 +27153,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7154:38:23", + "src": "7143:38:15", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -66629,20 +27167,20 @@ "typeString": "bytes32" } ], - "id": 1069, + "id": 2142, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7147:6:23", + "src": "7136:6:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": "bytes4" }, - "id": 1073, + "id": 2146, "isConstant": false, "isLValue": false, "isPure": true, @@ -66650,13 +27188,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7147:46:23", + "src": "7136:46:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "7140:53:23", + "src": "7129:53:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -66669,19 +27207,19 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 1108, + "id": 2181, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1102, + "id": 2175, "name": "sig", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1052, - "src": "7398:3:23", + "referencedDeclaration": 2125, + "src": "7387:3:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -66698,14 +27236,14 @@ { "argumentTypes": null, "hexValue": "72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c627974657329", - "id": 1105, + "id": 2178, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "7422:54:23", + "src": "7411:54:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_12d02502d26a169bd0d0988364d0e9ee5f5a71b26464fe5fcb5cdd27f910d720", @@ -66721,18 +27259,18 @@ "typeString": "literal_string \"registerPack(uint256,uint256,bytes4[],address,bytes)\"" } ], - "id": 1104, + "id": 2177, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9447, - "src": "7412:9:23", + "referencedDeclaration": 5701, + "src": "7401:9:15", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 1106, + "id": 2179, "isConstant": false, "isLValue": false, "isPure": true, @@ -66740,7 +27278,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7412:65:23", + "src": "7401:65:15", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -66754,20 +27292,20 @@ "typeString": "bytes32" } ], - "id": 1103, + "id": 2176, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7405:6:23", + "src": "7394:6:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": "bytes4" }, - "id": 1107, + "id": 2180, "isConstant": false, "isLValue": false, "isPure": true, @@ -66775,22 +27313,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7405:73:23", + "src": "7394:73:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "7398:80:23", + "src": "7387:80:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1154, + "id": 2227, "nodeType": "Block", - "src": "7816:43:23", + "src": "7805:43:15", "statements": [ { "expression": { @@ -66799,14 +27337,14 @@ { "argumentTypes": null, "hexValue": "4261642063616c6c", - "id": 1151, + "id": 2224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "7837:10:23", + "src": "7826:10:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_11e86317ecef0ef1d4dc4ecf70d8a0b385ff39eae3fc5821024576536c47ad15", @@ -66822,21 +27360,21 @@ "typeString": "literal_string \"Bad call\"" } ], - "id": 1150, + "id": 2223, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 9458, - 9459 + 5712, + 5713 ], - "referencedDeclaration": 9459, - "src": "7830:6:23", + "referencedDeclaration": 5713, + "src": "7819:6:15", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1152, + "id": 2225, "isConstant": false, "isLValue": false, "isPure": false, @@ -66844,25 +27382,25 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7830:18:23", + "src": "7819:18:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1153, + "id": 2226, "nodeType": "ExpressionStatement", - "src": "7830:18:23" + "src": "7819:18:15" } ] }, - "id": 1155, + "id": 2228, "nodeType": "IfStatement", - "src": "7395:464:23", + "src": "7384:464:15", "trueBody": { - "id": 1149, + "id": 2222, "nodeType": "Block", - "src": "7480:330:23", + "src": "7469:330:15", "statements": [ { "expression": { @@ -66874,7 +27412,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1113, + "id": 2186, "isConstant": false, "isLValue": false, "isPure": false, @@ -66883,18 +27421,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1110, + "id": 2183, "name": "cdata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1058, - "src": "7502:5:23", + "referencedDeclaration": 2131, + "src": "7491:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1111, + "id": 2184, "isConstant": false, "isLValue": false, "isPure": false, @@ -66902,7 +27440,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7502:12:23", + "src": "7491:12:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -66913,14 +27451,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "313536", - "id": 1112, + "id": 2185, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7518:3:23", + "src": "7507:3:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_156_by_1", @@ -66928,7 +27466,7 @@ }, "value": "156" }, - "src": "7502:19:23", + "src": "7491:19:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -66937,14 +27475,14 @@ { "argumentTypes": null, "hexValue": "4261642064617461206c656e677468", - "id": 1114, + "id": 2187, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "7523:17:23", + "src": "7512:17:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_bc489818cbebbc3d6eb74f6890940e7f6a9971f27be02bbf6f2b8c186e9ca19a", @@ -66964,21 +27502,21 @@ "typeString": "literal_string \"Bad data length\"" } ], - "id": 1109, + "id": 2182, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "7494:7:23", + "referencedDeclaration": 5711, + "src": "7483:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1115, + "id": 2188, "isConstant": false, "isLValue": false, "isPure": false, @@ -66986,32 +27524,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7494:47:23", + "src": "7483:47:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1116, + "id": 2189, "nodeType": "ExpressionStatement", - "src": "7494:47:23" + "src": "7483:47:15" }, { "assignments": [ - 1118, - 1120, - 1123, - 1125, - 1127 + 2191, + 2193, + 2196, + 2198, + 2200 ], "declarations": [ { "constant": false, - "id": 1118, + "id": 2191, "name": "_price", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "7556:14:23", + "scope": 2222, + "src": "7545:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -67019,10 +27557,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1117, + "id": 2190, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7556:7:23", + "src": "7545:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -67033,11 +27571,11 @@ }, { "constant": false, - "id": 1120, + "id": 2193, "name": "_donate", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "7572:15:23", + "scope": 2222, + "src": "7561:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -67045,10 +27583,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 2192, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7572:7:23", + "src": "7561:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -67059,11 +27597,11 @@ }, { "constant": false, - "id": 1123, + "id": 2196, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "7589:25:23", + "scope": 2222, + "src": "7578:25:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -67072,19 +27610,19 @@ }, "typeName": { "baseType": { - "id": 1121, + "id": 2194, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "7589:6:23", + "src": "7578:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 1122, + "id": 2195, "length": null, "nodeType": "ArrayTypeName", - "src": "7589:8:23", + "src": "7578:8:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -67095,11 +27633,11 @@ }, { "constant": false, - "id": 1125, + "id": 2198, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "7616:14:23", + "scope": 2222, + "src": "7605:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -67107,10 +27645,10 @@ "typeString": "address" }, "typeName": { - "id": 1124, + "id": 2197, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7616:7:23", + "src": "7605:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -67122,11 +27660,11 @@ }, { "constant": false, - "id": 1127, + "id": 2200, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 1149, - "src": "7632:25:23", + "scope": 2222, + "src": "7621:25:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -67134,10 +27672,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1126, + "id": 2199, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7632:5:23", + "src": "7621:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -67147,18 +27685,18 @@ "visibility": "internal" } ], - "id": 1139, + "id": 2212, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1130, + "id": 2203, "name": "cdata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1058, - "src": "7672:5:23", + "referencedDeclaration": 2131, + "src": "7661:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -67169,13 +27707,13 @@ "components": [ { "argumentTypes": null, - "id": 1131, + "id": 2204, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7680:7:23", + "src": "7669:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" @@ -67184,13 +27722,13 @@ }, { "argumentTypes": null, - "id": 1132, + "id": 2205, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7688:7:23", + "src": "7677:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" @@ -67201,27 +27739,27 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1133, + "id": 2206, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7696:6:23", + "src": "7685:6:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": "bytes4" }, - "id": 1134, + "id": 2207, "indexExpression": null, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7696:8:23", + "src": "7685:8:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_array$_t_bytes4_$dyn_memory_ptr_$", "typeString": "type(bytes4[] memory)" @@ -67229,13 +27767,13 @@ }, { "argumentTypes": null, - "id": 1135, + "id": 2208, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7705:7:23", + "src": "7694:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" @@ -67244,13 +27782,13 @@ }, { "argumentTypes": null, - "id": 1136, + "id": 2209, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7713:5:23", + "src": "7702:5:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" @@ -67258,14 +27796,14 @@ "typeName": "bytes" } ], - "id": 1137, + "id": 2210, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "7679:40:23", + "src": "7668:40:15", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_type$_t_uint256_$_$_t_type$_t_uint256_$_$_t_type$_t_array$_t_bytes4_$dyn_memory_ptr_$_$_t_type$_t_address_$_$_t_type$_t_bytes_storage_ptr_$_$", "typeString": "tuple(type(uint256),type(uint256),type(bytes4[] memory),type(address),type(bytes storage pointer))" @@ -67285,18 +27823,18 @@ ], "expression": { "argumentTypes": null, - "id": 1128, + "id": 2201, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9440, - "src": "7661:3:23", + "referencedDeclaration": 5694, + "src": "7650:3:15", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 1129, + "id": 2202, "isConstant": false, "isLValue": false, "isPure": true, @@ -67304,13 +27842,13 @@ "memberName": "decode", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7661:10:23", + "src": "7650:10:15", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 1138, + "id": 2211, "isConstant": false, "isLValue": false, "isPure": false, @@ -67318,14 +27856,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7661:59:23", + "src": "7650:59:15", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$_t_array$_t_bytes4_$dyn_memory_$_t_address_payable_$_t_bytes_memory_$", "typeString": "tuple(uint256,uint256,bytes4[] memory,address payable,bytes memory)" } }, "nodeType": "VariableDeclarationStatement", - "src": "7555:165:23" + "src": "7544:165:15" }, { "expression": { @@ -67333,12 +27871,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1141, + "id": 2214, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "7743:5:23", + "referencedDeclaration": 2096, + "src": "7732:5:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -67346,12 +27884,12 @@ }, { "argumentTypes": null, - "id": 1142, + "id": 2215, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1123, - "src": "7750:9:23", + "referencedDeclaration": 2196, + "src": "7739:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", "typeString": "bytes4[] memory" @@ -67359,12 +27897,12 @@ }, { "argumentTypes": null, - "id": 1143, + "id": 2216, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1125, - "src": "7761:6:23", + "referencedDeclaration": 2198, + "src": "7750:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -67372,12 +27910,12 @@ }, { "argumentTypes": null, - "id": 1144, + "id": 2217, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1118, - "src": "7769:6:23", + "referencedDeclaration": 2191, + "src": "7758:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -67385,12 +27923,12 @@ }, { "argumentTypes": null, - "id": 1145, + "id": 2218, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1120, - "src": "7777:7:23", + "referencedDeclaration": 2193, + "src": "7766:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -67398,12 +27936,12 @@ }, { "argumentTypes": null, - "id": 1146, + "id": 2219, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1127, - "src": "7786:12:23", + "referencedDeclaration": 2200, + "src": "7775:12:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -67437,21 +27975,21 @@ "typeString": "bytes memory" } ], - "id": 1140, + "id": 2213, "name": "register", "nodeType": "Identifier", "overloadedDeclarations": [ - 1641, - 1710 + 2719, + 2788 ], - "referencedDeclaration": 1641, - "src": "7734:8:23", + "referencedDeclaration": 2719, + "src": "7723:8:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (address,bytes4[] memory,address,uint256,uint256,bytes memory) returns (uint256)" } }, - "id": 1147, + "id": 2220, "isConstant": false, "isLValue": false, "isPure": false, @@ -67459,26 +27997,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7734:65:23", + "src": "7723:65:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1148, + "id": 2221, "nodeType": "ExpressionStatement", - "src": "7734:65:23" + "src": "7723:65:15" } ] } }, - "id": 1156, + "id": 2229, "nodeType": "IfStatement", - "src": "7137:722:23", + "src": "7126:722:15", "trueBody": { - "id": 1101, + "id": 2174, "nodeType": "Block", - "src": "7194:195:23", + "src": "7183:195:15", "statements": [ { "expression": { @@ -67490,7 +28028,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1079, + "id": 2152, "isConstant": false, "isLValue": false, "isPure": false, @@ -67499,18 +28037,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1076, + "id": 2149, "name": "cdata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1058, - "src": "7216:5:23", + "referencedDeclaration": 2131, + "src": "7205:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1077, + "id": 2150, "isConstant": false, "isLValue": false, "isPure": false, @@ -67518,7 +28056,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7216:12:23", + "src": "7205:12:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -67529,14 +28067,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3634", - "id": 1078, + "id": 2151, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7232:2:23", + "src": "7221:2:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_64_by_1", @@ -67544,7 +28082,7 @@ }, "value": "64" }, - "src": "7216:18:23", + "src": "7205:18:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -67553,14 +28091,14 @@ { "argumentTypes": null, "hexValue": "4261642064617461206c656e677468", - "id": 1080, + "id": 2153, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "7236:17:23", + "src": "7225:17:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_bc489818cbebbc3d6eb74f6890940e7f6a9971f27be02bbf6f2b8c186e9ca19a", @@ -67580,21 +28118,21 @@ "typeString": "literal_string \"Bad data length\"" } ], - "id": 1075, + "id": 2148, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "7208:7:23", + "referencedDeclaration": 5711, + "src": "7197:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1081, + "id": 2154, "isConstant": false, "isLValue": false, "isPure": false, @@ -67602,29 +28140,29 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7208:46:23", + "src": "7197:46:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1082, + "id": 2155, "nodeType": "ExpressionStatement", - "src": "7208:46:23" + "src": "7197:46:15" }, { "assignments": [ - 1084, - 1086 + 2157, + 2159 ], "declarations": [ { "constant": false, - "id": 1084, + "id": 2157, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 1101, - "src": "7269:14:23", + "scope": 2174, + "src": "7258:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -67632,10 +28170,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1083, + "id": 2156, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7269:7:23", + "src": "7258:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -67646,11 +28184,11 @@ }, { "constant": false, - "id": 1086, + "id": 2159, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1101, - "src": "7285:13:23", + "scope": 2174, + "src": "7274:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -67658,10 +28196,10 @@ "typeString": "address" }, "typeName": { - "id": 1085, + "id": 2158, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7285:7:23", + "src": "7274:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -67672,18 +28210,18 @@ "visibility": "internal" } ], - "id": 1094, + "id": 2167, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1089, + "id": 2162, "name": "cdata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1058, - "src": "7313:5:23", + "referencedDeclaration": 2131, + "src": "7302:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -67694,13 +28232,13 @@ "components": [ { "argumentTypes": null, - "id": 1090, + "id": 2163, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7321:7:23", + "src": "7310:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" @@ -67709,13 +28247,13 @@ }, { "argumentTypes": null, - "id": 1091, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7330:7:23", + "src": "7319:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" @@ -67723,14 +28261,14 @@ "typeName": "address" } ], - "id": 1092, + "id": 2165, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "7320:18:23", + "src": "7309:18:15", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_type$_t_uint256_$_$_t_type$_t_address_$_$", "typeString": "tuple(type(uint256),type(address))" @@ -67750,18 +28288,18 @@ ], "expression": { "argumentTypes": null, - "id": 1087, + "id": 2160, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9440, - "src": "7302:3:23", + "referencedDeclaration": 5694, + "src": "7291:3:15", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 1088, + "id": 2161, "isConstant": false, "isLValue": false, "isPure": true, @@ -67769,13 +28307,13 @@ "memberName": "decode", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7302:10:23", + "src": "7291:10:15", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 1093, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": false, @@ -67783,14 +28321,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7302:37:23", + "src": "7291:37:15", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, "nodeType": "VariableDeclarationStatement", - "src": "7268:71:23" + "src": "7257:71:15" }, { "expression": { @@ -67798,12 +28336,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1096, + "id": 2169, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "7357:5:23", + "referencedDeclaration": 2096, + "src": "7346:5:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -67811,12 +28349,12 @@ }, { "argumentTypes": null, - "id": 1097, + "id": 2170, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1084, - "src": "7364:6:23", + "referencedDeclaration": 2157, + "src": "7353:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -67824,12 +28362,12 @@ }, { "argumentTypes": null, - "id": 1098, + "id": 2171, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1086, - "src": "7372:5:23", + "referencedDeclaration": 2159, + "src": "7361:5:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -67851,18 +28389,18 @@ "typeString": "address" } ], - "id": 1095, + "id": 2168, "name": "buy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1853, - "src": "7353:3:23", + "referencedDeclaration": 2929, + "src": "7342:3:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_uint256_$", "typeString": "function (address,uint256,address) returns (uint256)" } }, - "id": 1099, + "id": 2172, "isConstant": false, "isLValue": false, "isPure": false, @@ -67870,15 +28408,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7353:25:23", + "src": "7342:25:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1100, + "id": 2173, "nodeType": "ExpressionStatement", - "src": "7353:25:23" + "src": "7342:25:15" } ] } @@ -67886,23 +28424,23 @@ ] }, "documentation": "@notice MiniMeToken ApproveAndCallFallBack forwarder for registerPack and buyToken\n@param _from account calling \"approve and buy\" \n@param _token must be exactly SNT contract\n@param _data abi encoded call ", - "id": 1158, + "id": 2231, "implemented": true, "kind": "function", "modifiers": [], "name": "receiveApproval", "nodeType": "FunctionDefinition", "parameters": { - "id": 1030, + "id": 2103, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1023, + "id": 2096, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 1158, - "src": "6797:13:23", + "scope": 2231, + "src": "6786:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -67910,10 +28448,10 @@ "typeString": "address" }, "typeName": { - "id": 1022, + "id": 2095, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6797:7:23", + "src": "6786:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -67925,11 +28463,11 @@ }, { "constant": false, - "id": 1025, + "id": 2098, "name": "", "nodeType": "VariableDeclaration", - "scope": 1158, - "src": "6820:7:23", + "scope": 2231, + "src": "6809:7:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -67937,10 +28475,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1024, + "id": 2097, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6820:7:23", + "src": "6809:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -67951,11 +28489,11 @@ }, { "constant": false, - "id": 1027, + "id": 2100, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 1158, - "src": "6837:14:23", + "scope": 2231, + "src": "6826:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -67963,10 +28501,10 @@ "typeString": "address" }, "typeName": { - "id": 1026, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6837:7:23", + "src": "6826:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -67978,11 +28516,11 @@ }, { "constant": false, - "id": 1029, + "id": 2102, "name": "_data", "nodeType": "VariableDeclaration", - "scope": 1158, - "src": "6861:20:23", + "scope": 2231, + "src": "6850:20:15", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -67990,10 +28528,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1028, + "id": 2101, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6861:5:23", + "src": "6850:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -68003,30 +28541,30 @@ "visibility": "internal" } ], - "src": "6787:100:23" + "src": "6776:100:15" }, "returnParameters": { - "id": 1031, + "id": 2104, "nodeType": "ParameterList", "parameters": [], - "src": "6911:0:23" + "src": "6900:0:15" }, - "scope": 2136, - "src": "6763:1102:23", + "scope": 3212, + "src": "6752:1102:15", "stateMutability": "nonpayable", - "superFunction": 6941, + "superFunction": 4231, "visibility": "external" }, { "body": { - "id": 1174, + "id": 2247, "nodeType": "Block", - "src": "8194:58:23", + "src": "8183:58:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1172, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, @@ -68037,26 +28575,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1167, + "id": 2240, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "8204:5:23", + "referencedDeclaration": 1829, + "src": "8193:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 1169, + "id": 2242, "indexExpression": { "argumentTypes": null, - "id": 1168, + "id": 2241, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1160, - "src": "8210:7:23", + "referencedDeclaration": 2233, + "src": "8199:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68067,21 +28605,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8204:14:23", + "src": "8193:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 1170, + "id": 2243, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "contenthash", "nodeType": "MemberAccess", - "referencedDeclaration": 741, - "src": "8204:26:23", + "referencedDeclaration": 1814, + "src": "8193:26:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", "typeString": "bytes storage ref" @@ -68091,67 +28629,67 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1171, + "id": 2244, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1162, - "src": "8233:12:23", + "referencedDeclaration": 2235, + "src": "8222:12:15", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "src": "8204:41:23", + "src": "8193:41:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage", "typeString": "bytes storage ref" } }, - "id": 1173, + "id": 2246, "nodeType": "ExpressionStatement", - "src": "8204:41:23" + "src": "8193:41:15" } ] }, "documentation": "@notice changes contenthash of `_packId`, can only be called by controller\n@param _packId which market position is being altered\n@param _contenthash new contenthash", - "id": 1175, + "id": 2248, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1165, + "id": 2238, "modifierName": { "argumentTypes": null, - "id": 1164, + "id": 2237, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "8174:14:23", + "referencedDeclaration": 13, + "src": "8163:14:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8174:14:23" + "src": "8163:14:15" } ], "name": "setPackContenthash", "nodeType": "FunctionDefinition", "parameters": { - "id": 1163, + "id": 2236, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1160, + "id": 2233, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 1175, - "src": "8101:15:23", + "scope": 2248, + "src": "8090:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -68159,10 +28697,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1159, + "id": 2232, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8101:7:23", + "src": "8090:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68173,11 +28711,11 @@ }, { "constant": false, - "id": 1162, + "id": 2235, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 1175, - "src": "8118:27:23", + "scope": 2248, + "src": "8107:27:15", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -68185,10 +28723,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1161, + "id": 2234, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8118:5:23", + "src": "8107:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -68198,38 +28736,38 @@ "visibility": "internal" } ], - "src": "8100:46:23" + "src": "8089:46:15" }, "returnParameters": { - "id": 1166, + "id": 2239, "nodeType": "ParameterList", "parameters": [], - "src": "8194:0:23" + "src": "8183:0:15" }, - "scope": 2136, - "src": "8073:179:23", + "scope": 3212, + "src": "8062:179:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1271, + "id": 2344, "nodeType": "Block", - "src": "8564:621:23", + "src": "8553:621:15", "statements": [ { "assignments": [ - 1187 + 2260 ], "declarations": [ { "constant": false, - "id": 1187, + "id": 2260, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 1271, - "src": "8574:25:23", + "scope": 2344, + "src": "8563:25:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -68238,19 +28776,19 @@ }, "typeName": { "baseType": { - "id": 1185, + "id": 2258, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8574:6:23", + "src": "8563:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 1186, + "id": 2259, "length": null, "nodeType": "ArrayTypeName", - "src": "8574:8:23", + "src": "8563:8:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -68260,33 +28798,33 @@ "visibility": "internal" } ], - "id": 1192, + "id": 2265, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1188, + "id": 2261, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "8602:5:23", + "referencedDeclaration": 1829, + "src": "8591:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 1190, + "id": 2263, "indexExpression": { "argumentTypes": null, - "id": 1189, + "id": 2262, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1177, - "src": "8608:7:23", + "referencedDeclaration": 2250, + "src": "8597:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68297,41 +28835,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8602:14:23", + "src": "8591:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 1191, + "id": 2264, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "category", "nodeType": "MemberAccess", - "referencedDeclaration": 729, - "src": "8602:23:23", + "referencedDeclaration": 1802, + "src": "8591:23:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", "typeString": "bytes4[] storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "8574:51:23" + "src": "8563:51:15" }, { "assignments": [ - 1194 + 2267 ], "declarations": [ { "constant": false, - "id": 1194, + "id": 2267, "name": "limit", "nodeType": "VariableDeclaration", - "scope": 1271, - "src": "8635:10:23", + "scope": 2344, + "src": "8624:10:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -68339,10 +28877,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1193, + "id": 2266, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8635:4:23", + "src": "8624:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68352,10 +28890,10 @@ "visibility": "internal" } ], - "id": 1195, + "id": 2268, "initialValue": null, "nodeType": "VariableDeclarationStatement", - "src": "8635:10:23" + "src": "8624:10:15" }, { "condition": { @@ -68364,19 +28902,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1198, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1196, + "id": 2269, "name": "_limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1179, - "src": "8658:6:23", + "referencedDeclaration": 2252, + "src": "8647:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68387,14 +28925,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1197, + "id": 2270, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8668:1:23", + "src": "8657:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -68402,16 +28940,16 @@ }, "value": "0" }, - "src": "8658:11:23", + "src": "8647:11:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1217, + "id": 2290, "nodeType": "Block", - "src": "8726:101:23", + "src": "8715:101:15", "statements": [ { "expression": { @@ -68423,19 +28961,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1209, + "id": 2282, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1206, + "id": 2279, "name": "_limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1179, - "src": "8748:6:23", + "referencedDeclaration": 2252, + "src": "8737:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68447,18 +28985,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1207, + "id": 2280, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1187, - "src": "8758:9:23", + "referencedDeclaration": 2260, + "src": "8747:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", "typeString": "bytes4[] memory" } }, - "id": 1208, + "id": 2281, "isConstant": false, "isLValue": false, "isPure": false, @@ -68466,13 +29004,13 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8758:16:23", + "src": "8747:16:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8748:26:23", + "src": "8737:26:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -68481,14 +29019,14 @@ { "argumentTypes": null, "hexValue": "426164206c696d6974", - "id": 1210, + "id": 2283, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "8776:11:23", + "src": "8765:11:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_e9e0788e15b319eaf489ee21c80200377a11ed9c6324f83e5d13b7b4b0fe61fa", @@ -68508,21 +29046,21 @@ "typeString": "literal_string \"Bad limit\"" } ], - "id": 1205, + "id": 2278, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "8740:7:23", + "referencedDeclaration": 5711, + "src": "8729:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1211, + "id": 2284, "isConstant": false, "isLValue": false, "isPure": false, @@ -68530,32 +29068,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8740:48:23", + "src": "8729:48:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1212, + "id": 2285, "nodeType": "ExpressionStatement", - "src": "8740:48:23" + "src": "8729:48:15" }, { "expression": { "argumentTypes": null, - "id": 1215, + "id": 2288, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1213, + "id": 2286, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "8802:5:23", + "referencedDeclaration": 2267, + "src": "8791:5:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68565,53 +29103,53 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1214, + "id": 2287, "name": "_limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1179, - "src": "8810:6:23", + "referencedDeclaration": 2252, + "src": "8799:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8802:14:23", + "src": "8791:14:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1216, + "id": 2289, "nodeType": "ExpressionStatement", - "src": "8802:14:23" + "src": "8791:14:15" } ] }, - "id": 1218, + "id": 2291, "nodeType": "IfStatement", - "src": "8655:172:23", + "src": "8644:172:15", "trueBody": { - "id": 1204, + "id": 2277, "nodeType": "Block", - "src": "8671:49:23", + "src": "8660:49:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1202, + "id": 2275, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1199, + "id": 2272, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "8685:5:23", + "referencedDeclaration": 2267, + "src": "8674:5:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68623,18 +29161,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1200, + "id": 2273, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1187, - "src": "8693:9:23", + "referencedDeclaration": 2260, + "src": "8682:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", "typeString": "bytes4[] memory" } }, - "id": 1201, + "id": 2274, "isConstant": false, "isLValue": false, "isPure": false, @@ -68642,37 +29180,37 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8693:16:23", + "src": "8682:16:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8685:24:23", + "src": "8674:24:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1203, + "id": 2276, "nodeType": "ExpressionStatement", - "src": "8685:24:23" + "src": "8674:24:15" } ] } }, { "assignments": [ - 1220 + 2293 ], "declarations": [ { "constant": false, - "id": 1220, + "id": 2293, "name": "len", "nodeType": "VariableDeclaration", - "scope": 1271, - "src": "8845:11:23", + "scope": 2344, + "src": "8834:11:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -68680,10 +29218,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1219, + "id": 2292, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8845:7:23", + "src": "8834:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68693,23 +29231,23 @@ "visibility": "internal" } ], - "id": 1223, + "id": 2296, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1221, + "id": 2294, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1187, - "src": "8859:9:23", + "referencedDeclaration": 2260, + "src": "8848:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", "typeString": "bytes4[] memory" } }, - "id": 1222, + "id": 2295, "isConstant": false, "isLValue": false, "isPure": false, @@ -68717,14 +29255,14 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8859:16:23", + "src": "8848:16:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "8845:30:23" + "src": "8834:30:15" }, { "condition": { @@ -68733,19 +29271,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1226, + "id": 2299, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1224, + "id": 2297, "name": "len", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1220, - "src": "8888:3:23", + "referencedDeclaration": 2293, + "src": "8877:3:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68756,14 +29294,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1225, + "id": 2298, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8894:1:23", + "src": "8883:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -68771,25 +29309,25 @@ }, "value": "0" }, - "src": "8888:7:23", + "src": "8877:7:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1231, + "id": 2304, "nodeType": "IfStatement", - "src": "8885:41:23", + "src": "8874:41:15", "trueBody": { - "id": 1230, + "id": 2303, "nodeType": "Block", - "src": "8896:30:23", + "src": "8885:30:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1228, + "id": 2301, "isConstant": false, "isLValue": false, "isPure": false, @@ -68797,15 +29335,15 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "8910:5:23", + "src": "8899:5:15", "subExpression": { "argumentTypes": null, - "id": 1227, + "id": 2300, "name": "len", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1220, - "src": "8910:3:23", + "referencedDeclaration": 2293, + "src": "8899:3:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68816,18 +29354,18 @@ "typeString": "uint256" } }, - "id": 1229, + "id": 2302, "nodeType": "ExpressionStatement", - "src": "8910:5:23" + "src": "8899:5:15" } ] } }, { "body": { - "id": 1251, + "id": 2324, "nodeType": "Block", - "src": "8966:71:23", + "src": "8955:71:15", "statements": [ { "expression": { @@ -68835,12 +29373,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1243, + "id": 2316, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1177, - "src": "9000:7:23", + "referencedDeclaration": 2250, + "src": "8989:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68850,37 +29388,37 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1244, + "id": 2317, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1187, - "src": "9009:9:23", + "referencedDeclaration": 2260, + "src": "8998:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", "typeString": "bytes4[] memory" } }, - "id": 1248, + "id": 2321, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1247, + "id": 2320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1245, + "id": 2318, "name": "len", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1220, - "src": "9019:3:23", + "referencedDeclaration": 2293, + "src": "9008:3:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68890,18 +29428,18 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 1246, + "id": 2319, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1233, - "src": "9023:1:23", + "referencedDeclaration": 2306, + "src": "9012:1:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9019:5:23", + "src": "9008:5:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68912,7 +29450,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9009:16:23", + "src": "8998:16:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -68930,18 +29468,18 @@ "typeString": "bytes4" } ], - "id": 1242, + "id": 2315, "name": "removeAvailablePack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "8980:19:23", + "referencedDeclaration": 3158, + "src": "8969:19:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", "typeString": "function (uint256,bytes4)" } }, - "id": 1249, + "id": 2322, "isConstant": false, "isLValue": false, "isPure": false, @@ -68949,15 +29487,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8980:46:23", + "src": "8969:46:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1250, + "id": 2323, "nodeType": "ExpressionStatement", - "src": "8980:46:23" + "src": "8969:46:15" } ] }, @@ -68967,19 +29505,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1238, + "id": 2311, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1236, + "id": 2309, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1233, - "src": "8951:1:23", + "referencedDeclaration": 2306, + "src": "8940:1:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -68989,36 +29527,36 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 1237, + "id": 2310, "name": "limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1194, - "src": "8955:5:23", + "referencedDeclaration": 2267, + "src": "8944:5:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8951:9:23", + "src": "8940:9:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1252, + "id": 2325, "initializationExpression": { "assignments": [ - 1233 + 2306 ], "declarations": [ { "constant": false, - "id": 1233, + "id": 2306, "name": "i", "nodeType": "VariableDeclaration", - "scope": 1252, - "src": "8939:6:23", + "scope": 2325, + "src": "8928:6:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -69026,10 +29564,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1232, + "id": 2305, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "8939:4:23", + "src": "8928:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69039,18 +29577,18 @@ "visibility": "internal" } ], - "id": 1235, + "id": 2308, "initialValue": { "argumentTypes": null, "hexValue": "30", - "id": 1234, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8948:1:23", + "src": "8937:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -69059,12 +29597,12 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "8939:10:23" + "src": "8928:10:15" }, "loopExpression": { "expression": { "argumentTypes": null, - "id": 1240, + "id": 2313, "isConstant": false, "isLValue": false, "isPure": false, @@ -69072,15 +29610,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "8962:3:23", + "src": "8951:3:15", "subExpression": { "argumentTypes": null, - "id": 1239, + "id": 2312, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1233, - "src": "8962:1:23", + "referencedDeclaration": 2306, + "src": "8951:1:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69091,12 +29629,12 @@ "typeString": "uint256" } }, - "id": 1241, + "id": 2314, "nodeType": "ExpressionStatement", - "src": "8962:3:23" + "src": "8951:3:15" }, "nodeType": "ForStatement", - "src": "8935:102:23" + "src": "8924:102:15" }, { "condition": { @@ -69105,7 +29643,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1259, + "id": 2332, "isConstant": false, "isLValue": false, "isPure": false, @@ -69118,26 +29656,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1253, + "id": 2326, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "9050:5:23", + "referencedDeclaration": 1829, + "src": "9039:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 1255, + "id": 2328, "indexExpression": { "argumentTypes": null, - "id": 1254, + "id": 2327, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1177, - "src": "9056:7:23", + "referencedDeclaration": 2250, + "src": "9045:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69148,27 +29686,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9050:14:23", + "src": "9039:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 1256, + "id": 2329, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "category", "nodeType": "MemberAccess", - "referencedDeclaration": 729, - "src": "9050:23:23", + "referencedDeclaration": 1802, + "src": "9039:23:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", "typeString": "bytes4[] storage ref" } }, - "id": 1257, + "id": 2330, "isConstant": false, "isLValue": true, "isPure": false, @@ -69176,7 +29714,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "9050:30:23", + "src": "9039:30:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69187,14 +29725,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1258, + "id": 2331, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9084:1:23", + "src": "9073:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -69202,25 +29740,25 @@ }, "value": "0" }, - "src": "9050:35:23", + "src": "9039:35:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1270, + "id": 2343, "nodeType": "IfStatement", - "src": "9047:123:23", + "src": "9036:123:15", "trueBody": { - "id": 1269, + "id": 2342, "nodeType": "Block", - "src": "9086:84:23", + "src": "9075:84:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1263, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -69228,31 +29766,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "9100:21:23", + "src": "9089:21:15", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1260, + "id": 2333, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "9107:5:23", + "referencedDeclaration": 1829, + "src": "9096:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 1262, + "id": 2335, "indexExpression": { "argumentTypes": null, - "id": 1261, + "id": 2334, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1177, - "src": "9113:7:23", + "referencedDeclaration": 2250, + "src": "9102:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69263,9 +29801,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "9107:14:23", + "src": "9096:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, @@ -69274,9 +29812,9 @@ "typeString": "tuple()" } }, - "id": 1264, + "id": 2337, "nodeType": "ExpressionStatement", - "src": "9100:21:23" + "src": "9089:21:15" }, { "eventCall": { @@ -69284,12 +29822,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1266, + "id": 2339, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1177, - "src": "9151:7:23", + "referencedDeclaration": 2250, + "src": "9140:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69303,18 +29841,18 @@ "typeString": "uint256" } ], - "id": 1265, + "id": 2338, "name": "Unregister", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 700, - "src": "9140:10:23", + "referencedDeclaration": 1773, + "src": "9129:10:15", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 1267, + "id": 2340, "isConstant": false, "isLValue": false, "isPure": false, @@ -69322,15 +29860,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9140:19:23", + "src": "9129:19:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1268, + "id": 2341, "nodeType": "EmitStatement", - "src": "9135:24:23" + "src": "9124:24:15" } ] } @@ -69338,43 +29876,43 @@ ] }, "documentation": "@notice removes all market data about a marketed pack, can only be called by listing owner or market controller, and when market is open\n@param _packId position to be deleted", - "id": 1272, + "id": 2345, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1182, + "id": 2255, "modifierName": { "argumentTypes": null, - "id": 1181, + "id": 2254, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "8544:14:23", + "referencedDeclaration": 13, + "src": "8533:14:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8544:14:23" + "src": "8533:14:15" } ], "name": "purgePack", "nodeType": "FunctionDefinition", "parameters": { - "id": 1180, + "id": 2253, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1177, + "id": 2250, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 1272, - "src": "8486:15:23", + "scope": 2345, + "src": "8475:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -69382,10 +29920,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1176, + "id": 2249, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8486:7:23", + "src": "8475:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69396,11 +29934,11 @@ }, { "constant": false, - "id": 1179, + "id": 2252, "name": "_limit", "nodeType": "VariableDeclaration", - "scope": 1272, - "src": "8503:14:23", + "scope": 2345, + "src": "8492:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -69408,10 +29946,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1178, + "id": 2251, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8503:7:23", + "src": "8492:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69421,44 +29959,44 @@ "visibility": "internal" } ], - "src": "8485:33:23" + "src": "8474:33:15" }, "returnParameters": { - "id": 1183, + "id": 2256, "nodeType": "ParameterList", "parameters": [], - "src": "8564:0:23" + "src": "8553:0:15" }, - "scope": 2136, - "src": "8467:718:23", + "scope": 3212, + "src": "8456:718:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1287, + "id": 2360, "nodeType": "Block", - "src": "9384:65:23", + "src": "9373:65:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1281, + "id": 2354, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1279, + "id": 2352, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 746, - "src": "9394:5:23", + "referencedDeclaration": 1819, + "src": "9383:5:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, @@ -69466,26 +30004,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1280, + "id": 2353, "name": "_state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1274, - "src": "9402:6:23", + "referencedDeclaration": 2347, + "src": "9391:6:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, - "src": "9394:14:23", + "src": "9383:14:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, - "id": 1282, + "id": 2355, "nodeType": "ExpressionStatement", - "src": "9394:14:23" + "src": "9383:14:15" }, { "eventCall": { @@ -69493,14 +30031,14 @@ "arguments": [ { "argumentTypes": null, - "id": 1284, + "id": 2357, "name": "_state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1274, - "src": "9435:6:23", + "referencedDeclaration": 2347, + "src": "9424:6:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } } @@ -69508,22 +30046,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } ], - "id": 1283, + "id": 2356, "name": "MarketState", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 712, - "src": "9423:11:23", + "referencedDeclaration": 1785, + "src": "9412:11:15", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_State_$726_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_State_$1799_$returns$__$", "typeString": "function (enum StickerMarket.State)" } }, - "id": 1285, + "id": 2358, "isConstant": false, "isLValue": false, "isPure": false, @@ -69531,71 +30069,71 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9423:19:23", + "src": "9412:19:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1286, + "id": 2359, "nodeType": "EmitStatement", - "src": "9418:24:23" + "src": "9407:24:15" } ] }, "documentation": "@notice changes market state, only controller can call.\n@param _state new state", - "id": 1288, + "id": 2361, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1277, + "id": 2350, "modifierName": { "argumentTypes": null, - "id": 1276, + "id": 2349, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "9364:14:23", + "referencedDeclaration": 13, + "src": "9353:14:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "9364:14:23" + "src": "9353:14:15" } ], "name": "setMarketState", "nodeType": "FunctionDefinition", "parameters": { - "id": 1275, + "id": 2348, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1274, + "id": 2347, "name": "_state", "nodeType": "VariableDeclaration", - "scope": 1288, - "src": "9325:12:23", + "scope": 2361, + "src": "9314:12:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" }, "typeName": { "contractScope": null, - "id": 1273, + "id": 2346, "name": "State", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 726, - "src": "9325:5:23", + "referencedDeclaration": 1799, + "src": "9314:5:15", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$726", + "typeIdentifier": "t_enum$_State_$1799", "typeString": "enum StickerMarket.State" } }, @@ -69603,42 +30141,42 @@ "visibility": "internal" } ], - "src": "9324:14:23" + "src": "9313:14:15" }, "returnParameters": { - "id": 1278, + "id": 2351, "nodeType": "ParameterList", "parameters": [], - "src": "9384:0:23" + "src": "9373:0:15" }, - "scope": 2136, - "src": "9301:148:23", + "scope": 3212, + "src": "9290:148:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1303, + "id": 2376, "nodeType": "Block", - "src": "9657:71:23", + "src": "9646:71:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1297, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1295, + "id": 2368, "name": "registerFee", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, - "src": "9667:11:23", + "referencedDeclaration": 1821, + "src": "9656:11:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69648,26 +30186,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1296, + "id": 2369, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1290, - "src": "9681:6:23", + "referencedDeclaration": 2363, + "src": "9670:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9667:20:23", + "src": "9656:20:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1298, + "id": 2371, "nodeType": "ExpressionStatement", - "src": "9667:20:23" + "src": "9656:20:15" }, { "eventCall": { @@ -69675,12 +30213,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1300, + "id": 2373, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1290, - "src": "9714:6:23", + "referencedDeclaration": 2363, + "src": "9703:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69694,18 +30232,18 @@ "typeString": "uint256" } ], - "id": 1299, + "id": 2372, "name": "RegisterFee", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 716, - "src": "9702:11:23", + "referencedDeclaration": 1789, + "src": "9691:11:15", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 1301, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -69713,56 +30251,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9702:19:23", + "src": "9691:19:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1302, + "id": 2375, "nodeType": "EmitStatement", - "src": "9697:24:23" + "src": "9686:24:15" } ] }, "documentation": "@notice changes register fee, only controller can call.\n@param _value new register fee", - "id": 1304, + "id": 2377, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1293, + "id": 2366, "modifierName": { "argumentTypes": null, - "id": 1292, + "id": 2365, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "9637:14:23", + "referencedDeclaration": 13, + "src": "9626:14:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "9637:14:23" + "src": "9626:14:15" } ], "name": "setRegisterFee", "nodeType": "FunctionDefinition", "parameters": { - "id": 1291, + "id": 2364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1290, + "id": 2363, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1304, - "src": "9596:14:23", + "scope": 2377, + "src": "9585:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -69770,10 +30308,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1289, + "id": 2362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "9596:7:23", + "src": "9585:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69783,42 +30321,42 @@ "visibility": "internal" } ], - "src": "9595:16:23" + "src": "9584:16:15" }, "returnParameters": { - "id": 1294, + "id": 2367, "nodeType": "ParameterList", "parameters": [], - "src": "9657:0:23" + "src": "9646:0:15" }, - "scope": 2136, - "src": "9572:156:23", + "scope": 3212, + "src": "9561:156:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1326, + "id": 2399, "nodeType": "Block", - "src": "9927:130:23", + "src": "9916:130:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1313, + "id": 2386, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1311, + "id": 2384, "name": "burnRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 750, - "src": "9937:8:23", + "referencedDeclaration": 1823, + "src": "9926:8:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69828,26 +30366,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1312, + "id": 2385, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1306, - "src": "9948:6:23", + "referencedDeclaration": 2379, + "src": "9937:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9937:17:23", + "src": "9926:17:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1314, + "id": 2387, "nodeType": "ExpressionStatement", - "src": "9937:17:23" + "src": "9926:17:15" }, { "expression": { @@ -69859,19 +30397,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1318, + "id": 2391, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1316, + "id": 2389, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1306, - "src": "9972:6:23", + "referencedDeclaration": 2379, + "src": "9961:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69882,14 +30420,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1317, + "id": 2390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9982:5:23", + "src": "9971:5:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -69897,7 +30435,7 @@ }, "value": "10000" }, - "src": "9972:15:23", + "src": "9961:15:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -69906,14 +30444,14 @@ { "argumentTypes": null, "hexValue": "63616e6e6f74206265206d6f7265207468656e203130302e303025", - "id": 1319, + "id": 2392, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "9989:29:23", + "src": "9978:29:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_b5e17047a6001f4b7865928b596b514a6e42ece919129231b06fe85b3de9d8a1", @@ -69933,21 +30471,21 @@ "typeString": "literal_string \"cannot be more then 100.00%\"" } ], - "id": 1315, + "id": 2388, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "9964:7:23", + "referencedDeclaration": 5711, + "src": "9953:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1320, + "id": 2393, "isConstant": false, "isLValue": false, "isPure": false, @@ -69955,15 +30493,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9964:55:23", + "src": "9953:55:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1321, + "id": 2394, "nodeType": "ExpressionStatement", - "src": "9964:55:23" + "src": "9953:55:15" }, { "eventCall": { @@ -69971,12 +30509,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1323, + "id": 2396, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1306, - "src": "10043:6:23", + "referencedDeclaration": 2379, + "src": "10032:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -69990,18 +30528,18 @@ "typeString": "uint256" } ], - "id": 1322, + "id": 2395, "name": "BurnRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 720, - "src": "10034:8:23", + "referencedDeclaration": 1793, + "src": "10023:8:15", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 1324, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -70009,56 +30547,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10034:16:23", + "src": "10023:16:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1325, + "id": 2398, "nodeType": "EmitStatement", - "src": "10029:21:23" + "src": "10018:21:15" } ] }, "documentation": "@notice changes burn rate, only controller can call.\n@param _value new burn rate", - "id": 1327, + "id": 2400, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1309, + "id": 2382, "modifierName": { "argumentTypes": null, - "id": 1308, + "id": 2381, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "9907:14:23", + "referencedDeclaration": 13, + "src": "9896:14:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "9907:14:23" + "src": "9896:14:15" } ], "name": "setBurnRate", "nodeType": "FunctionDefinition", "parameters": { - "id": 1307, + "id": 2380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1306, + "id": 2379, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1327, - "src": "9866:14:23", + "scope": 2400, + "src": "9855:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -70066,10 +30604,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1305, + "id": 2378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "9866:7:23", + "src": "9855:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -70079,42 +30617,42 @@ "visibility": "internal" } ], - "src": "9865:16:23" + "src": "9854:16:15" }, "returnParameters": { - "id": 1310, + "id": 2383, "nodeType": "ParameterList", "parameters": [], - "src": "9927:0:23" + "src": "9916:0:15" }, - "scope": 2136, - "src": "9845:212:23", + "scope": 3212, + "src": "9834:212:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1355, + "id": 2428, "nodeType": "Block", - "src": "10784:84:23", + "src": "10773:84:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1353, + "id": 2426, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1345, + "id": 2418, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1343, - "src": "10794:6:23", + "referencedDeclaration": 2416, + "src": "10783:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -70127,12 +30665,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1347, + "id": 2420, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "10812:9:23", + "referencedDeclaration": 2407, + "src": "10801:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_calldata_ptr", "typeString": "bytes4[] calldata" @@ -70140,12 +30678,12 @@ }, { "argumentTypes": null, - "id": 1348, + "id": 2421, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1336, - "src": "10823:6:23", + "referencedDeclaration": 2409, + "src": "10812:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -70153,12 +30691,12 @@ }, { "argumentTypes": null, - "id": 1349, + "id": 2422, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1329, - "src": "10831:6:23", + "referencedDeclaration": 2402, + "src": "10820:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -70166,12 +30704,12 @@ }, { "argumentTypes": null, - "id": 1350, + "id": 2423, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1331, - "src": "10839:7:23", + "referencedDeclaration": 2404, + "src": "10828:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -70179,12 +30717,12 @@ }, { "argumentTypes": null, - "id": 1351, + "id": 2424, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1338, - "src": "10848:12:23", + "referencedDeclaration": 2411, + "src": "10837:12:15", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -70214,21 +30752,21 @@ "typeString": "bytes calldata" } ], - "id": 1346, + "id": 2419, "name": "register", "nodeType": "Identifier", "overloadedDeclarations": [ - 1641, - 1710 + 2719, + 2788 ], - "referencedDeclaration": 1710, - "src": "10803:8:23", + "referencedDeclaration": 2788, + "src": "10792:8:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes4[] memory,address,uint256,uint256,bytes memory) returns (uint256)" } }, - "id": 1352, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -70236,62 +30774,62 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10803:58:23", + "src": "10792:58:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10794:67:23", + "src": "10783:67:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1354, + "id": 2427, "nodeType": "ExpressionStatement", - "src": "10794:67:23" + "src": "10783:67:15" } ] }, "documentation": "@notice controller can generate packs at will\n@param _price cost in wei to users minting with _urlHash metadata\n@param _donate optional amount of `_price` that is donated to StickerMarket at every buy\n@param _category listing category\n@param _owner address of the beneficiary of buys\n@param _contenthash EIP1577 pack contenthash for listings\n@return packId Market position of Sticker Pack data.", - "id": 1356, + "id": 2429, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1341, + "id": 2414, "modifierName": { "argumentTypes": null, - "id": 1340, + "id": 2413, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "10733:14:23", + "referencedDeclaration": 13, + "src": "10722:14:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "10733:14:23" + "src": "10722:14:15" } ], "name": "generatePack", "nodeType": "FunctionDefinition", "parameters": { - "id": 1339, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1329, + "id": 2402, "name": "_price", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "10560:14:23", + "scope": 2429, + "src": "10549:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -70299,10 +30837,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1328, + "id": 2401, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "10560:7:23", + "src": "10549:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -70313,11 +30851,11 @@ }, { "constant": false, - "id": 1331, + "id": 2404, "name": "_donate", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "10584:15:23", + "scope": 2429, + "src": "10573:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -70325,10 +30863,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1330, + "id": 2403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "10584:7:23", + "src": "10573:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -70339,11 +30877,11 @@ }, { "constant": false, - "id": 1334, + "id": 2407, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "10609:27:23", + "scope": 2429, + "src": "10598:27:15", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -70352,19 +30890,19 @@ }, "typeName": { "baseType": { - "id": 1332, + "id": 2405, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10609:6:23", + "src": "10598:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 1333, + "id": 2406, "length": null, "nodeType": "ArrayTypeName", - "src": "10609:8:23", + "src": "10598:8:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -70375,11 +30913,11 @@ }, { "constant": false, - "id": 1336, + "id": 2409, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "10647:14:23", + "scope": 2429, + "src": "10636:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -70387,10 +30925,10 @@ "typeString": "address" }, "typeName": { - "id": 1335, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "10647:7:23", + "src": "10636:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -70402,11 +30940,11 @@ }, { "constant": false, - "id": 1338, + "id": 2411, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "10671:27:23", + "scope": 2429, + "src": "10660:27:15", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -70414,10 +30952,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1337, + "id": 2410, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "10671:5:23", + "src": "10660:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -70427,19 +30965,19 @@ "visibility": "internal" } ], - "src": "10550:154:23" + "src": "10539:154:15" }, "returnParameters": { - "id": 1344, + "id": 2417, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1343, + "id": 2416, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 1356, - "src": "10764:14:23", + "scope": 2429, + "src": "10753:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -70447,10 +30985,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1342, + "id": 2415, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "10764:7:23", + "src": "10753:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -70460,19 +30998,19 @@ "visibility": "internal" } ], - "src": "10763:16:23" + "src": "10752:16:15" }, - "scope": 2136, - "src": "10529:339:23", + "scope": 3212, + "src": "10518:339:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1372, + "id": 2445, "nodeType": "Block", - "src": "11205:56:23", + "src": "11194:56:15", "statements": [ { "expression": { @@ -70480,12 +31018,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1368, + "id": 2441, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1358, - "src": "11238:6:23", + "referencedDeclaration": 2431, + "src": "11227:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -70493,12 +31031,12 @@ }, { "argumentTypes": null, - "id": 1369, + "id": 2442, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1360, - "src": "11246:7:23", + "referencedDeclaration": 2433, + "src": "11235:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -70516,18 +31054,18 @@ "typeString": "uint256" } ], - "id": 1367, + "id": 2440, "name": "mintStickerPack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1879, - "src": "11222:15:23", + "referencedDeclaration": 2955, + "src": "11211:15:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) returns (uint256)" } }, - "id": 1370, + "id": 2443, "isConstant": false, "isLValue": false, "isPure": false, @@ -70535,57 +31073,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11222:32:23", + "src": "11211:32:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1366, - "id": 1371, + "functionReturnParameters": 2439, + "id": 2444, "nodeType": "Return", - "src": "11215:39:23" + "src": "11204:39:15" } ] }, "documentation": "@notice controller can generate tokens at will\n@param _owner account being included new token\n@param _packId pack being minted\n@return tokenId created", - "id": 1373, + "id": 2446, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1363, + "id": 2436, "modifierName": { "argumentTypes": null, - "id": 1362, + "id": 2435, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "11151:14:23", + "referencedDeclaration": 13, + "src": "11140:14:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "11151:14:23" + "src": "11140:14:15" } ], "name": "generateToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 1361, + "id": 2434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1358, + "id": 2431, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 1373, - "src": "11092:14:23", + "scope": 2446, + "src": "11081:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -70593,10 +31131,10 @@ "typeString": "address" }, "typeName": { - "id": 1357, + "id": 2430, "name": "address", "nodeType": "ElementaryTypeName", - "src": "11092:7:23", + "src": "11081:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -70608,11 +31146,11 @@ }, { "constant": false, - "id": 1360, + "id": 2433, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 1373, - "src": "11108:15:23", + "scope": 2446, + "src": "11097:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -70620,10 +31158,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1359, + "id": 2432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11108:7:23", + "src": "11097:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -70633,19 +31171,19 @@ "visibility": "internal" } ], - "src": "11091:33:23" + "src": "11080:33:15" }, "returnParameters": { - "id": 1366, + "id": 2439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1365, + "id": 2438, "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 1373, - "src": "11184:15:23", + "scope": 2446, + "src": "11173:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -70653,10 +31191,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1364, + "id": 2437, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11184:7:23", + "src": "11173:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -70666,20 +31204,57 @@ "visibility": "internal" } ], - "src": "11183:17:23" + "src": "11172:17:15" }, - "scope": 2136, - "src": "11069:192:23", + "scope": 3212, + "src": "11058:192:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1426, + "id": 2506, "nodeType": "Block", - "src": "11615:345:23", + "src": "11604:402:15", "statements": [ + { + "assignments": [ + 2454 + ], + "declarations": [ + { + "constant": false, + "id": 2454, + "name": "balance", + "nodeType": "VariableDeclaration", + "scope": 2506, + "src": "11614:15:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2453, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "11614:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 2455, + "initialValue": null, + "nodeType": "VariableDeclarationStatement", + "src": "11614:15:15" + }, { "condition": { "argumentTypes": null, @@ -70687,19 +31262,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1384, + "id": 2460, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1380, + "id": 2456, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1375, - "src": "11629:6:23", + "referencedDeclaration": 2448, + "src": "11643:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -70713,14 +31288,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 1382, + "id": 2458, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11647:1:23", + "src": "11661:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -70736,20 +31311,20 @@ "typeString": "int_const 0" } ], - "id": 1381, + "id": 2457, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "11639:7:23", + "src": "11653:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1383, + "id": 2459, "isConstant": false, "isLValue": false, "isPure": true, @@ -70757,46 +31332,149 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11639:10:23", + "src": "11653:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "11629:20:23", + "src": "11643:20:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "falseBody": null, - "id": 1397, - "nodeType": "IfStatement", - "src": "11625:122:23", - "trueBody": { - "id": 1396, + "falseBody": { + "id": 2498, "nodeType": "Block", - "src": "11651:96:23", + "src": "11778:165:15", "statements": [ { - "expression": { + "assignments": [ + 2477 + ], + "declarations": [ + { + "constant": false, + "id": 2477, + "name": "token", + "nodeType": "VariableDeclaration", + "scope": 2498, + "src": "11792:16:15", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ERC20Token_$4515", + "typeString": "contract ERC20Token" + }, + "typeName": { + "contractScope": null, + "id": 2476, + "name": "ERC20Token", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 4515, + "src": "11792:10:15", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ERC20Token_$4515", + "typeString": "contract ERC20Token" + } + }, + "value": null, + "visibility": "internal" + } + ], + "id": 2481, + "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "expression": { + "id": 2479, + "name": "_token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2448, + "src": "11822:6:15", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 2478, + "name": "ERC20Token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4515, + "src": "11811:10:15", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_ERC20Token_$4515_$", + "typeString": "type(contract ERC20Token)" + } + }, + "id": 2480, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "11811:18:15", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ERC20Token_$4515", + "typeString": "contract ERC20Token" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "11792:37:15" + }, + { + "expression": { + "argumentTypes": null, + "id": 2489, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 2482, + "name": "balance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2454, + "src": "11843:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "arguments": [ + { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1390, + "id": 2486, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9519, - "src": "11702:4:23", + "referencedDeclaration": 5761, + "src": "11877:4:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$2136", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } } @@ -70804,24 +31482,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_StickerMarket_$2136", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } ], - "id": 1389, + "id": 2485, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "11694:7:23", + "src": "11869:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1391, + "id": 2487, "isConstant": false, "isLValue": false, "isPure": false, @@ -70829,21 +31507,280 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11694:13:23", + "src": "11869:13:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "argumentTypes": null, + "id": 2483, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2477, + "src": "11853:5:15", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ERC20Token_$4515", + "typeString": "contract ERC20Token" + } }, - "id": 1392, + "id": 2484, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberName": "balance", + "memberName": "balanceOf", "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11694:21:23", + "referencedDeclaration": 4484, + "src": "11853:15:15", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", + "typeString": "function (address) view external returns (uint256)" + } + }, + "id": 2488, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "11853:30:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "11843:40:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2490, + "nodeType": "ExpressionStatement", + "src": "11843:40:15" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 2494, + "name": "controller", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 15, + "src": "11912:10:15", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + { + "argumentTypes": null, + "id": 2495, + "name": "balance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2454, + "src": "11924:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "argumentTypes": null, + "id": 2491, + "name": "token", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2477, + "src": "11897:5:15", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ERC20Token_$4515", + "typeString": "contract ERC20Token" + } + }, + "id": 2493, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "transfer", + "nodeType": "MemberAccess", + "referencedDeclaration": 4457, + "src": "11897:14:15", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", + "typeString": "function (address,uint256) external returns (bool)" + } + }, + "id": 2496, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "11897:35:15", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2497, + "nodeType": "ExpressionStatement", + "src": "11897:35:15" + } + ] + }, + "id": 2499, + "nodeType": "IfStatement", + "src": "11639:304:15", + "trueBody": { + "id": 2475, + "nodeType": "Block", + "src": "11665:107:15", + "statements": [ + { + "expression": { + "argumentTypes": null, + "id": 2466, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "argumentTypes": null, + "id": 2461, + "name": "balance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2454, + "src": "11679:7:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 2463, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 5761, + "src": "11697:4:15", + "typeDescriptions": { + "typeIdentifier": "t_contract$_StickerMarket_$3212", + "typeString": "contract StickerMarket" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_StickerMarket_$3212", + "typeString": "contract StickerMarket" + } + ], + "id": 2462, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "11689:7:15", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": "address" + }, + "id": 2464, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "11689:13:15", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 2465, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "balance", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "11689:21:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "11679:31:15", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2467, + "nodeType": "ExpressionStatement", + "src": "11679:31:15" + }, + { + "expression": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "id": 2472, + "name": "balance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2454, + "src": "11753:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -70862,12 +31799,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1386, + "id": 2469, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "11673:10:23", + "referencedDeclaration": 15, + "src": "11732:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -70881,20 +31818,20 @@ "typeString": "address payable" } ], - "id": 1385, + "id": 2468, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "11665:7:23", + "src": "11724:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1387, + "id": 2470, "isConstant": false, "isLValue": false, "isPure": false, @@ -70902,13 +31839,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11665:19:23", + "src": "11724:19:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1388, + "id": 2471, "isConstant": false, "isLValue": false, "isPure": false, @@ -70916,13 +31853,13 @@ "memberName": "transfer", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11665:28:23", + "src": "11724:28:15", "typeDescriptions": { "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 1393, + "id": 2473, "isConstant": false, "isLValue": false, "isPure": false, @@ -70930,351 +31867,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11665:51:23", + "src": "11724:37:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1394, + "id": 2474, "nodeType": "ExpressionStatement", - "src": "11665:51:23" - }, - { - "expression": null, - "functionReturnParameters": 1379, - "id": 1395, - "nodeType": "Return", - "src": "11730:7:23" + "src": "11724:37:15" } ] } }, - { - "assignments": [ - 1399 - ], - "declarations": [ - { - "constant": false, - "id": 1399, - "name": "token", - "nodeType": "VariableDeclaration", - "scope": 1426, - "src": "11756:16:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - }, - "typeName": { - "contractScope": null, - "id": 1398, - "name": "ERC20Token", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "11756:10:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1403, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1401, - "name": "_token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1375, - "src": "11786:6:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 1400, - "name": "ERC20Token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5522, - "src": "11775:10:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC20Token_$5522_$", - "typeString": "type(contract ERC20Token)" - } - }, - "id": 1402, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11775:18:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11756:37:23" - }, - { - "assignments": [ - 1405 - ], - "declarations": [ - { - "constant": false, - "id": 1405, - "name": "balance", - "nodeType": "VariableDeclaration", - "scope": 1426, - "src": "11803:15:23", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 1404, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11803:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 1412, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1409, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9519, - "src": "11845:4:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$2136", - "typeString": "contract StickerMarket" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StickerMarket_$2136", - "typeString": "contract StickerMarket" - } - ], - "id": 1408, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11837:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 1410, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11837:13:23", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "expression": { - "argumentTypes": null, - "id": 1406, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1399, - "src": "11821:5:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 1407, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "balanceOf", - "nodeType": "MemberAccess", - "referencedDeclaration": 5491, - "src": "11821:15:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", - "typeString": "function (address) view external returns (uint256)" - } - }, - "id": 1411, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11821:30:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11803:48:23" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1416, - "name": "controller", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "11876:10:23", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 1417, - "name": "balance", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "11888:7:23", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 1413, - "name": "token", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 1399, - "src": "11861:5:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", - "typeString": "contract ERC20Token" - } - }, - "id": 1415, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "transfer", - "nodeType": "MemberAccess", - "referencedDeclaration": 5464, - "src": "11861:14:23", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", - "typeString": "function (address,uint256) external returns (bool)" - } - }, - "id": 1418, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11861:35:23", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 1419, - "nodeType": "ExpressionStatement", - "src": "11861:35:23" - }, { "eventCall": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1421, + "id": 2501, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1375, - "src": "11925:6:23", + "referencedDeclaration": 2448, + "src": "11971:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -71282,12 +31899,12 @@ }, { "argumentTypes": null, - "id": 1422, + "id": 2502, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "11933:10:23", + "referencedDeclaration": 15, + "src": "11979:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -71295,12 +31912,12 @@ }, { "argumentTypes": null, - "id": 1423, + "id": 2503, "name": "balance", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "11945:7:23", + "referencedDeclaration": 2454, + "src": "11991:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -71322,18 +31939,18 @@ "typeString": "uint256" } ], - "id": 1420, + "id": 2500, "name": "ClaimedTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 708, - "src": "11911:13:23", + "referencedDeclaration": 1781, + "src": "11957:13:15", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 1424, + "id": 2504, "isConstant": false, "isLValue": false, "isPure": false, @@ -71341,56 +31958,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11911:42:23", + "src": "11957:42:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1425, + "id": 2505, "nodeType": "EmitStatement", - "src": "11906:47:23" + "src": "11952:47:15" } ] }, "documentation": "@notice This method can be used by the controller to extract mistakenly\n sent tokens to this contract.\n@param _token The address of the token contract that you want to recover\n set to 0 in case you want to extract ether.", - "id": 1427, + "id": 2507, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1378, + "id": 2451, "modifierName": { "argumentTypes": null, - "id": 1377, + "id": 2450, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "11595:14:23", + "referencedDeclaration": 13, + "src": "11584:14:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "11595:14:23" + "src": "11584:14:15" } ], "name": "claimTokens", "nodeType": "FunctionDefinition", "parameters": { - "id": 1376, + "id": 2449, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1375, + "id": 2448, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 1427, - "src": "11553:14:23", + "scope": 2507, + "src": "11542:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -71398,10 +32015,10 @@ "typeString": "address" }, "typeName": { - "id": 1374, + "id": 2447, "name": "address", "nodeType": "ElementaryTypeName", - "src": "11553:7:23", + "src": "11542:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -71412,51 +32029,51 @@ "visibility": "internal" } ], - "src": "11552:16:23" + "src": "11541:16:15" }, "returnParameters": { - "id": 1379, + "id": 2452, "nodeType": "ParameterList", "parameters": [], - "src": "11615:0:23" + "src": "11604:0:15" }, - "scope": 2136, - "src": "11532:428:23", + "scope": 3212, + "src": "11521:485:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1439, + "id": 2519, "nodeType": "Block", - "src": "12232:49:23", + "src": "12278:49:15", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1435, + "id": 2515, "name": "availablePacks", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 769, - "src": "12249:14:23", + "referencedDeclaration": 1842, + "src": "12295:14:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes4 => uint256[] storage ref)" } }, - "id": 1437, + "id": 2517, "indexExpression": { "argumentTypes": null, - "id": 1436, + "id": 2516, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "12264:9:23", + "referencedDeclaration": 2509, + "src": "12310:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -71467,37 +32084,37 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12249:25:23", + "src": "12295:25:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "functionReturnParameters": 1434, - "id": 1438, + "functionReturnParameters": 2514, + "id": 2518, "nodeType": "Return", - "src": "12242:32:23" + "src": "12288:32:15" } ] }, "documentation": "@notice read available market ids in a category (might be slow)\n@return array of market id registered", - "id": 1440, + "id": 2520, "implemented": true, "kind": "function", "modifiers": [], "name": "getAvailablePacks", "nodeType": "FunctionDefinition", "parameters": { - "id": 1430, + "id": 2510, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1429, + "id": 2509, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12129:16:23", + "scope": 2520, + "src": "12175:16:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -71505,10 +32122,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 1428, + "id": 2508, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "12129:6:23", + "src": "12175:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -71518,19 +32135,19 @@ "visibility": "internal" } ], - "src": "12128:18:23" + "src": "12174:18:15" }, "returnParameters": { - "id": 1434, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1433, + "id": 2513, "name": "availableIds", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12197:29:23", + "scope": 2520, + "src": "12243:29:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -71539,19 +32156,19 @@ }, "typeName": { "baseType": { - "id": 1431, + "id": 2511, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12197:7:23", + "src": "12243:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1432, + "id": 2512, "length": null, "nodeType": "ArrayTypeName", - "src": "12197:9:23", + "src": "12243:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -71561,36 +32178,36 @@ "visibility": "internal" } ], - "src": "12196:31:23" + "src": "12242:31:15" }, - "scope": 2136, - "src": "12102:179:23", + "scope": 3212, + "src": "12148:179:15", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1454, + "id": 2534, "nodeType": "Block", - "src": "12485:56:23", + "src": "12531:56:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1452, + "id": 2532, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1447, + "id": 2527, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "12495:4:23", + "referencedDeclaration": 2525, + "src": "12541:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -71604,26 +32221,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1448, + "id": 2528, "name": "availablePacks", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 769, - "src": "12502:14:23", + "referencedDeclaration": 1842, + "src": "12548:14:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes4 => uint256[] storage ref)" } }, - "id": 1450, + "id": 2530, "indexExpression": { "argumentTypes": null, - "id": 1449, + "id": 2529, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12517:9:23", + "referencedDeclaration": 2522, + "src": "12563:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -71634,13 +32251,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12502:25:23", + "src": "12548:25:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 1451, + "id": 2531, "isConstant": false, "isLValue": true, "isPure": false, @@ -71648,42 +32265,42 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "12502:32:23", + "src": "12548:32:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12495:39:23", + "src": "12541:39:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1453, + "id": 2533, "nodeType": "ExpressionStatement", - "src": "12495:39:23" + "src": "12541:39:15" } ] }, "documentation": "@notice count total packs in a category\n@return lenght", - "id": 1455, + "id": 2535, "implemented": true, "kind": "function", "modifiers": [], "name": "getCategoryLength", "nodeType": "FunctionDefinition", "parameters": { - "id": 1443, + "id": 2523, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1442, + "id": 2522, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 1455, - "src": "12399:16:23", + "scope": 2535, + "src": "12445:16:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -71691,10 +32308,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 1441, + "id": 2521, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "12399:6:23", + "src": "12445:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -71704,19 +32321,19 @@ "visibility": "internal" } ], - "src": "12398:18:23" + "src": "12444:18:15" }, "returnParameters": { - "id": 1446, + "id": 2526, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1445, + "id": 2525, "name": "size", "nodeType": "VariableDeclaration", - "scope": 1455, - "src": "12467:12:23", + "scope": 2535, + "src": "12513:12:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -71724,10 +32341,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1444, + "id": 2524, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12467:7:23", + "src": "12513:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -71737,36 +32354,36 @@ "visibility": "internal" } ], - "src": "12466:14:23" + "src": "12512:14:15" }, - "scope": 2136, - "src": "12372:169:23", + "scope": 3212, + "src": "12418:169:15", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1472, + "id": 2552, "nodeType": "Block", - "src": "12761:59:23", + "src": "12807:59:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1470, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1464, + "id": 2544, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1462, - "src": "12771:6:23", + "referencedDeclaration": 2542, + "src": "12817:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -71780,26 +32397,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1465, + "id": 2545, "name": "availablePacks", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 769, - "src": "12780:14:23", + "referencedDeclaration": 1842, + "src": "12826:14:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes4 => uint256[] storage ref)" } }, - "id": 1467, + "id": 2547, "indexExpression": { "argumentTypes": null, - "id": 1466, + "id": 2546, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1457, - "src": "12795:9:23", + "referencedDeclaration": 2537, + "src": "12841:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -71810,21 +32427,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12780:25:23", + "src": "12826:25:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 1469, + "id": 2549, "indexExpression": { "argumentTypes": null, - "id": 1468, + "id": 2548, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1459, - "src": "12806:6:23", + "referencedDeclaration": 2539, + "src": "12852:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -71835,42 +32452,42 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12780:33:23", + "src": "12826:33:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12771:42:23", + "src": "12817:42:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1471, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "12771:42:23" + "src": "12817:42:15" } ] }, "documentation": "@notice read packId of a category index\n@return packId", - "id": 1473, + "id": 2553, "implemented": true, "kind": "function", "modifiers": [], "name": "getCategoryPack", "nodeType": "FunctionDefinition", "parameters": { - "id": 1460, + "id": 2540, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1457, + "id": 2537, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 1473, - "src": "12657:16:23", + "scope": 2553, + "src": "12703:16:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -71878,10 +32495,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 1456, + "id": 2536, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "12657:6:23", + "src": "12703:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -71892,11 +32509,11 @@ }, { "constant": false, - "id": 1459, + "id": 2539, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 1473, - "src": "12675:14:23", + "scope": 2553, + "src": "12721:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -71904,10 +32521,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1458, + "id": 2538, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12675:7:23", + "src": "12721:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -71917,19 +32534,19 @@ "visibility": "internal" } ], - "src": "12656:34:23" + "src": "12702:34:15" }, "returnParameters": { - "id": 1463, + "id": 2543, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1462, + "id": 2542, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 1473, - "src": "12741:14:23", + "scope": 2553, + "src": "12787:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -71937,10 +32554,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1461, + "id": 2541, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12741:7:23", + "src": "12787:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -71950,19 +32567,19 @@ "visibility": "internal" } ], - "src": "12740:16:23" + "src": "12786:16:15" }, - "scope": 2136, - "src": "12632:188:23", + "scope": 3212, + "src": "12678:188:15", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1489, + "id": 2569, "nodeType": "Block", - "src": "13021:54:23", + "src": "13067:54:15", "statements": [ { "expression": { @@ -71971,7 +32588,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1487, + "id": 2567, "isConstant": false, "isLValue": false, "isPure": false, @@ -71982,26 +32599,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1482, + "id": 2562, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "13038:5:23", + "referencedDeclaration": 1829, + "src": "13084:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 1484, + "id": 2564, "indexExpression": { "argumentTypes": null, - "id": 1483, + "id": 2563, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1475, - "src": "13044:7:23", + "referencedDeclaration": 2555, + "src": "13090:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -72012,21 +32629,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13038:14:23", + "src": "13084:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 1485, + "id": 2565, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 731, - "src": "13038:20:23", + "referencedDeclaration": 1804, + "src": "13084:20:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -72036,48 +32653,48 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1486, + "id": 2566, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1477, - "src": "13062:6:23", + "referencedDeclaration": 2557, + "src": "13108:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "13038:30:23", + "src": "13084:30:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1481, - "id": 1488, + "functionReturnParameters": 2561, + "id": 2568, "nodeType": "Return", - "src": "13031:37:23" + "src": "13077:37:15" } ] }, "documentation": "@notice returns pack ownership for migrated contract", - "id": 1490, + "id": 2570, "implemented": true, "kind": "function", "modifiers": [], "name": "isPackOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 1478, + "id": 2558, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1475, + "id": 2555, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 1490, - "src": "12927:15:23", + "scope": 2570, + "src": "12973:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -72085,10 +32702,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1474, + "id": 2554, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12927:7:23", + "src": "12973:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -72099,11 +32716,11 @@ }, { "constant": false, - "id": 1477, + "id": 2557, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 1490, - "src": "12944:14:23", + "scope": 2570, + "src": "12990:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -72111,10 +32728,10 @@ "typeString": "address" }, "typeName": { - "id": 1476, + "id": 2556, "name": "address", "nodeType": "ElementaryTypeName", - "src": "12944:7:23", + "src": "12990:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -72125,19 +32742,19 @@ "visibility": "internal" } ], - "src": "12926:33:23" + "src": "12972:33:15" }, "returnParameters": { - "id": 1481, + "id": 2561, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1480, + "id": 2560, "name": "", "nodeType": "VariableDeclaration", - "scope": 1490, - "src": "13010:4:23", + "scope": 2570, + "src": "13056:4:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -72145,10 +32762,10 @@ "typeString": "bool" }, "typeName": { - "id": 1479, + "id": 2559, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13010:4:23", + "src": "13056:4:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -72158,47 +32775,47 @@ "visibility": "internal" } ], - "src": "13009:6:23" + "src": "13055:6:15" }, - "scope": 2136, - "src": "12906:169:23", + "scope": 3212, + "src": "12952:169:15", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1528, + "id": 2608, "nodeType": "Block", - "src": "13440:237:23", + "src": "13486:237:15", "statements": [ { "assignments": [ - 1509 + 2589 ], "declarations": [ { "constant": false, - "id": 1509, + "id": 2589, "name": "pack", "nodeType": "VariableDeclaration", - "scope": 1528, - "src": "13450:16:23", + "scope": 2608, + "src": "13496:16:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack" }, "typeName": { "contractScope": null, - "id": 1508, + "id": 2588, "name": "Pack", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 742, - "src": "13450:4:23", + "referencedDeclaration": 1815, + "src": "13496:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_storage_ptr", "typeString": "struct StickerMarket.Pack" } }, @@ -72206,31 +32823,31 @@ "visibility": "internal" } ], - "id": 1513, + "id": 2593, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1510, + "id": 2590, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "13469:5:23", + "referencedDeclaration": 1829, + "src": "13515:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 1512, + "id": 2592, "indexExpression": { "argumentTypes": null, - "id": 1511, + "id": 2591, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "13475:7:23", + "referencedDeclaration": 2572, + "src": "13521:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -72241,14 +32858,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13469:14:23", + "src": "13515:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "13450:33:23" + "src": "13496:33:15" }, { "expression": { @@ -72258,26 +32875,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1514, + "id": 2594, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1509, - "src": "13514:4:23", + "referencedDeclaration": 2589, + "src": "13560:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1515, + "id": 2595, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "category", "nodeType": "MemberAccess", - "referencedDeclaration": 729, - "src": "13514:13:23", + "referencedDeclaration": 1802, + "src": "13560:13:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory", "typeString": "bytes4[] memory" @@ -72287,26 +32904,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1516, + "id": 2596, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1509, - "src": "13541:4:23", + "referencedDeclaration": 2589, + "src": "13587:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1517, + "id": 2597, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 731, - "src": "13541:10:23", + "referencedDeclaration": 1804, + "src": "13587:10:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -72316,26 +32933,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1518, + "id": 2598, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1509, - "src": "13565:4:23", + "referencedDeclaration": 2589, + "src": "13611:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1519, + "id": 2599, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "mintable", "nodeType": "MemberAccess", - "referencedDeclaration": 733, - "src": "13565:13:23", + "referencedDeclaration": 1806, + "src": "13611:13:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -72345,26 +32962,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1520, + "id": 2600, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1509, - "src": "13592:4:23", + "referencedDeclaration": 2589, + "src": "13638:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1521, + "id": 2601, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "timestamp", "nodeType": "MemberAccess", - "referencedDeclaration": 735, - "src": "13592:14:23", + "referencedDeclaration": 1808, + "src": "13638:14:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -72374,26 +32991,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1522, + "id": 2602, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1509, - "src": "13620:4:23", + "referencedDeclaration": 2589, + "src": "13666:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1523, + "id": 2603, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "price", "nodeType": "MemberAccess", - "referencedDeclaration": 737, - "src": "13620:10:23", + "referencedDeclaration": 1810, + "src": "13666:10:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -72403,70 +33020,70 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1524, + "id": 2604, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1509, - "src": "13644:4:23", + "referencedDeclaration": 2589, + "src": "13690:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1525, + "id": 2605, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contenthash", "nodeType": "MemberAccess", - "referencedDeclaration": 741, - "src": "13644:16:23", + "referencedDeclaration": 1814, + "src": "13690:16:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } } ], - "id": 1526, + "id": 2606, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13500:170:23", + "src": "13546:170:15", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_array$_t_bytes4_$dyn_memory_$_t_address_$_t_bool_$_t_uint256_$_t_uint256_$_t_bytes_memory_$", "typeString": "tuple(bytes4[] memory,address,bool,uint256,uint256,bytes memory)" } }, - "functionReturnParameters": 1507, - "id": 1527, + "functionReturnParameters": 2587, + "id": 2607, "nodeType": "Return", - "src": "13493:177:23" + "src": "13539:177:15" } ] }, "documentation": "@notice returns all data from pack in market", - "id": 1529, + "id": 2609, "implemented": true, "kind": "function", "modifiers": [], "name": "getPackData", "nodeType": "FunctionDefinition", "parameters": { - "id": 1493, + "id": 2573, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1492, + "id": 2572, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 1529, - "src": "13170:15:23", + "scope": 2609, + "src": "13216:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -72474,10 +33091,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 2571, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13170:7:23", + "src": "13216:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -72487,19 +33104,19 @@ "visibility": "internal" } ], - "src": "13169:17:23" + "src": "13215:17:15" }, "returnParameters": { - "id": 1507, + "id": 2587, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1496, + "id": 2576, "name": "category", "nodeType": "VariableDeclaration", - "scope": 1529, - "src": "13250:24:23", + "scope": 2609, + "src": "13296:24:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -72508,19 +33125,19 @@ }, "typeName": { "baseType": { - "id": 1494, + "id": 2574, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "13250:6:23", + "src": "13296:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 1495, + "id": 2575, "length": null, "nodeType": "ArrayTypeName", - "src": "13250:8:23", + "src": "13296:8:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -72531,11 +33148,11 @@ }, { "constant": false, - "id": 1498, + "id": 2578, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1529, - "src": "13288:13:23", + "scope": 2609, + "src": "13334:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -72543,10 +33160,10 @@ "typeString": "address" }, "typeName": { - "id": 1497, + "id": 2577, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13288:7:23", + "src": "13334:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -72558,11 +33175,11 @@ }, { "constant": false, - "id": 1500, + "id": 2580, "name": "mintable", "nodeType": "VariableDeclaration", - "scope": 1529, - "src": "13315:13:23", + "scope": 2609, + "src": "13361:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -72570,10 +33187,10 @@ "typeString": "bool" }, "typeName": { - "id": 1499, + "id": 2579, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13315:4:23", + "src": "13361:4:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -72584,11 +33201,11 @@ }, { "constant": false, - "id": 1502, + "id": 2582, "name": "timestamp", "nodeType": "VariableDeclaration", - "scope": 1529, - "src": "13342:17:23", + "scope": 2609, + "src": "13388:17:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -72596,10 +33213,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13342:7:23", + "src": "13388:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -72610,11 +33227,11 @@ }, { "constant": false, - "id": 1504, + "id": 2584, "name": "price", "nodeType": "VariableDeclaration", - "scope": 1529, - "src": "13373:13:23", + "scope": 2609, + "src": "13419:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -72622,10 +33239,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1503, + "id": 2583, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:23", + "src": "13419:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -72636,11 +33253,11 @@ }, { "constant": false, - "id": 1506, + "id": 2586, "name": "contenthash", "nodeType": "VariableDeclaration", - "scope": 1529, - "src": "13400:24:23", + "scope": 2609, + "src": "13446:24:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -72648,10 +33265,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1505, + "id": 2585, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "13400:5:23", + "src": "13446:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -72661,47 +33278,47 @@ "visibility": "internal" } ], - "src": "13236:198:23" + "src": "13282:198:15" }, - "scope": 2136, - "src": "13149:528:23", + "scope": 3212, + "src": "13195:528:15", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1558, + "id": 2638, "nodeType": "Block", - "src": "13972:177:23", + "src": "14018:177:15", "statements": [ { "assignments": [ - 1543 + 2623 ], "declarations": [ { "constant": false, - "id": 1543, + "id": 2623, "name": "pack", "nodeType": "VariableDeclaration", - "scope": 1558, - "src": "13982:16:23", + "scope": 2638, + "src": "14028:16:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack" }, "typeName": { "contractScope": null, - "id": 1542, + "id": 2622, "name": "Pack", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 742, - "src": "13982:4:23", + "referencedDeclaration": 1815, + "src": "14028:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_storage_ptr", "typeString": "struct StickerMarket.Pack" } }, @@ -72709,31 +33326,31 @@ "visibility": "internal" } ], - "id": 1547, + "id": 2627, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1544, + "id": 2624, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "14001:5:23", + "referencedDeclaration": 1829, + "src": "14047:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 1546, + "id": 2626, "indexExpression": { "argumentTypes": null, - "id": 1545, + "id": 2625, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1531, - "src": "14007:7:23", + "referencedDeclaration": 2611, + "src": "14053:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -72744,14 +33361,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14001:14:23", + "src": "14047:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "13982:33:23" + "src": "14028:33:15" }, { "expression": { @@ -72761,26 +33378,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1548, + "id": 2628, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1543, - "src": "14046:4:23", + "referencedDeclaration": 2623, + "src": "14092:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1549, + "id": 2629, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 731, - "src": "14046:10:23", + "referencedDeclaration": 1804, + "src": "14092:10:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -72790,26 +33407,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1550, + "id": 2630, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1543, - "src": "14070:4:23", + "referencedDeclaration": 2623, + "src": "14116:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1551, + "id": 2631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "mintable", "nodeType": "MemberAccess", - "referencedDeclaration": 733, - "src": "14070:13:23", + "referencedDeclaration": 1806, + "src": "14116:13:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -72819,26 +33436,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1552, + "id": 2632, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1543, - "src": "14097:4:23", + "referencedDeclaration": 2623, + "src": "14143:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1553, + "id": 2633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "price", "nodeType": "MemberAccess", - "referencedDeclaration": 737, - "src": "14097:10:23", + "referencedDeclaration": 1810, + "src": "14143:10:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -72848,70 +33465,70 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1554, + "id": 2634, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1543, - "src": "14121:4:23", + "referencedDeclaration": 2623, + "src": "14167:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1555, + "id": 2635, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "donate", "nodeType": "MemberAccess", - "referencedDeclaration": 739, - "src": "14121:11:23", + "referencedDeclaration": 1812, + "src": "14167:11:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 1556, + "id": 2636, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "14032:110:23", + "src": "14078:110:15", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_address_$_t_bool_$_t_uint256_$_t_uint256_$", "typeString": "tuple(address,bool,uint256,uint256)" } }, - "functionReturnParameters": 1541, - "id": 1557, + "functionReturnParameters": 2621, + "id": 2637, "nodeType": "Return", - "src": "14025:117:23" + "src": "14071:117:15" } ] }, "documentation": "@notice returns payment data for migrated contract", - "id": 1559, + "id": 2639, "implemented": true, "kind": "function", "modifiers": [], "name": "getPaymentData", "nodeType": "FunctionDefinition", "parameters": { - "id": 1532, + "id": 2612, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1531, + "id": 2611, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 1559, - "src": "13781:15:23", + "scope": 2639, + "src": "13827:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -72919,10 +33536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1530, + "id": 2610, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13781:7:23", + "src": "13827:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -72932,19 +33549,19 @@ "visibility": "internal" } ], - "src": "13780:17:23" + "src": "13826:17:15" }, "returnParameters": { - "id": 1541, + "id": 2621, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1534, + "id": 2614, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 1559, - "src": "13861:13:23", + "scope": 2639, + "src": "13907:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -72952,10 +33569,10 @@ "typeString": "address" }, "typeName": { - "id": 1533, + "id": 2613, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13861:7:23", + "src": "13907:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -72967,11 +33584,11 @@ }, { "constant": false, - "id": 1536, + "id": 2616, "name": "mintable", "nodeType": "VariableDeclaration", - "scope": 1559, - "src": "13888:13:23", + "scope": 2639, + "src": "13934:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -72979,10 +33596,10 @@ "typeString": "bool" }, "typeName": { - "id": 1535, + "id": 2615, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13888:4:23", + "src": "13934:4:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -72993,11 +33610,11 @@ }, { "constant": false, - "id": 1538, + "id": 2618, "name": "price", "nodeType": "VariableDeclaration", - "scope": 1559, - "src": "13915:13:23", + "scope": 2639, + "src": "13961:13:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -73005,10 +33622,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1537, + "id": 2617, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13915:7:23", + "src": "13961:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73019,11 +33636,11 @@ }, { "constant": false, - "id": 1540, + "id": 2620, "name": "donate", "nodeType": "VariableDeclaration", - "scope": 1559, - "src": "13942:14:23", + "scope": 2639, + "src": "13988:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -73031,10 +33648,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1539, + "id": 2619, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13942:7:23", + "src": "13988:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73044,47 +33661,47 @@ "visibility": "internal" } ], - "src": "13847:119:23" + "src": "13893:119:15" }, - "scope": 2136, - "src": "13757:392:23", + "scope": 3212, + "src": "13803:392:15", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1585, + "id": 2665, "nodeType": "Block", - "src": "14426:170:23", + "src": "14472:170:15", "statements": [ { "assignments": [ - 1572 + 2652 ], "declarations": [ { "constant": false, - "id": 1572, + "id": 2652, "name": "pack", "nodeType": "VariableDeclaration", - "scope": 1585, - "src": "14436:16:23", + "scope": 2665, + "src": "14482:16:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack" }, "typeName": { "contractScope": null, - "id": 1571, + "id": 2651, "name": "Pack", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 742, - "src": "14436:4:23", + "referencedDeclaration": 1815, + "src": "14482:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_storage_ptr", "typeString": "struct StickerMarket.Pack" } }, @@ -73092,18 +33709,18 @@ "visibility": "internal" } ], - "id": 1576, + "id": 2656, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1574, + "id": 2654, "name": "_tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "14468:8:23", + "referencedDeclaration": 2641, + "src": "14514:8:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73117,18 +33734,18 @@ "typeString": "uint256" } ], - "id": 1573, + "id": 2653, "name": "getTokenPack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2098, - "src": "14455:12:23", + "referencedDeclaration": 3174, + "src": "14501:12:15", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_Pack_$742_memory_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_struct$_Pack_$1815_memory_ptr_$", "typeString": "function (uint256) view returns (struct StickerMarket.Pack memory)" } }, - "id": 1575, + "id": 2655, "isConstant": false, "isLValue": false, "isPure": false, @@ -73136,14 +33753,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14455:22:23", + "src": "14501:22:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, "nodeType": "VariableDeclarationStatement", - "src": "14436:41:23" + "src": "14482:41:15" }, { "expression": { @@ -73153,26 +33770,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1577, + "id": 2657, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1572, - "src": "14508:4:23", + "referencedDeclaration": 2652, + "src": "14554:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1578, + "id": 2658, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "category", "nodeType": "MemberAccess", - "referencedDeclaration": 729, - "src": "14508:13:23", + "referencedDeclaration": 1802, + "src": "14554:13:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory", "typeString": "bytes4[] memory" @@ -73182,26 +33799,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1579, + "id": 2659, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1572, - "src": "14535:4:23", + "referencedDeclaration": 2652, + "src": "14581:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1580, + "id": 2660, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "timestamp", "nodeType": "MemberAccess", - "referencedDeclaration": 735, - "src": "14535:14:23", + "referencedDeclaration": 1808, + "src": "14581:14:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73211,70 +33828,70 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1581, + "id": 2661, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1572, - "src": "14563:4:23", + "referencedDeclaration": 2652, + "src": "14609:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1582, + "id": 2662, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contenthash", "nodeType": "MemberAccess", - "referencedDeclaration": 741, - "src": "14563:16:23", + "referencedDeclaration": 1814, + "src": "14609:16:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory", "typeString": "bytes memory" } } ], - "id": 1583, + "id": 2663, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "14494:95:23", + "src": "14540:95:15", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_array$_t_bytes4_$dyn_memory_$_t_uint256_$_t_bytes_memory_$", "typeString": "tuple(bytes4[] memory,uint256,bytes memory)" } }, - "functionReturnParameters": 1570, - "id": 1584, + "functionReturnParameters": 2650, + "id": 2664, "nodeType": "Return", - "src": "14487:102:23" + "src": "14533:102:15" } ] }, "documentation": "@notice returns relevant token data", - "id": 1586, + "id": 2666, "implemented": true, "kind": "function", "modifiers": [], "name": "getTokenData", "nodeType": "FunctionDefinition", "parameters": { - "id": 1562, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1561, + "id": 2641, "name": "_tokenId", "nodeType": "VariableDeclaration", - "scope": 1586, - "src": "14236:16:23", + "scope": 2666, + "src": "14282:16:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -73282,10 +33899,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1560, + "id": 2640, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14236:7:23", + "src": "14282:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73295,19 +33912,19 @@ "visibility": "internal" } ], - "src": "14235:18:23" + "src": "14281:18:15" }, "returnParameters": { - "id": 1570, + "id": 2650, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1565, + "id": 2645, "name": "category", "nodeType": "VariableDeclaration", - "scope": 1586, - "src": "14317:24:23", + "scope": 2666, + "src": "14363:24:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -73316,19 +33933,19 @@ }, "typeName": { "baseType": { - "id": 1563, + "id": 2643, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "14317:6:23", + "src": "14363:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 1564, + "id": 2644, "length": null, "nodeType": "ArrayTypeName", - "src": "14317:8:23", + "src": "14363:8:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -73339,11 +33956,11 @@ }, { "constant": false, - "id": 1567, + "id": 2647, "name": "timestamp", "nodeType": "VariableDeclaration", - "scope": 1586, - "src": "14355:17:23", + "scope": 2666, + "src": "14401:17:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -73351,10 +33968,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1566, + "id": 2646, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14355:7:23", + "src": "14401:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73365,11 +33982,11 @@ }, { "constant": false, - "id": 1569, + "id": 2649, "name": "contenthash", "nodeType": "VariableDeclaration", - "scope": 1586, - "src": "14386:24:23", + "scope": 2666, + "src": "14432:24:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -73377,10 +33994,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1568, + "id": 2648, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "14386:5:23", + "src": "14432:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -73390,19 +34007,19 @@ "visibility": "internal" } ], - "src": "14303:117:23" + "src": "14349:117:15" }, - "scope": 2136, - "src": "14214:382:23", + "scope": 3212, + "src": "14260:382:15", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1640, + "id": 2718, "nodeType": "Block", - "src": "14931:307:23", + "src": "15001:304:15", "statements": [ { "condition": { @@ -73411,19 +34028,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1608, + "id": 2688, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1606, + "id": 2686, "name": "registerFee", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, - "src": "14944:11:23", + "referencedDeclaration": 1821, + "src": "15014:11:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73434,14 +34051,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1607, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14958:1:23", + "src": "15028:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -73449,20 +34066,20 @@ }, "value": "0" }, - "src": "14944:15:23", + "src": "15014:15:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1622, + "id": 2700, "nodeType": "IfStatement", - "src": "14941:121:23", + "src": "15011:118:15", "trueBody": { - "id": 1621, + "id": 2699, "nodeType": "Block", - "src": "14960:102:23", + "src": "15030:99:15", "statements": [ { "expression": { @@ -73473,12 +34090,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1612, + "id": 2692, "name": "_caller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1588, - "src": "14999:7:23", + "referencedDeclaration": 2668, + "src": "15069:7:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -73486,63 +34103,25 @@ }, { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1614, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9519, - "src": "15016:4:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$2136", - "typeString": "contract StickerMarket" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StickerMarket_$2136", - "typeString": "contract StickerMarket" - } - ], - "id": 1613, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "15008:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 1615, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "15008:13:23", + "id": 2693, + "name": "controller", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 15, + "src": "15078:10:15", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" } }, { "argumentTypes": null, - "id": 1616, + "id": 2694, "name": "registerFee", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 748, - "src": "15023:11:23", + "referencedDeclaration": 1821, + "src": "15090:11:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73556,8 +34135,8 @@ "typeString": "address" }, { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" }, { "typeIdentifier": "t_uint256", @@ -73566,32 +34145,32 @@ ], "expression": { "argumentTypes": null, - "id": 1610, + "id": 2690, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 752, - "src": "14982:3:23", + "referencedDeclaration": 1825, + "src": "15052:3:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 1611, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transferFrom", "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "14982:16:23", + "referencedDeclaration": 4477, + "src": "15052:16:15", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) external returns (bool)" } }, - "id": 1617, + "id": 2695, "isConstant": false, "isLValue": false, "isPure": false, @@ -73599,7 +34178,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14982:53:23", + "src": "15052:50:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -73608,14 +34187,14 @@ { "argumentTypes": null, "hexValue": "426164207061796d656e74", - "id": 1618, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15037:13:23", + "src": "15104:13:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_2f706041c82808b9d33018cf7aa052a4df71fcbd86a2e2b0fb54f9a089aa7894", @@ -73635,21 +34214,21 @@ "typeString": "literal_string \"Bad payment\"" } ], - "id": 1609, + "id": 2689, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "14974:7:23", + "referencedDeclaration": 5711, + "src": "15044:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1619, + "id": 2697, "isConstant": false, "isLValue": false, "isPure": false, @@ -73657,15 +34236,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14974:77:23", + "src": "15044:74:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1620, + "id": 2698, "nodeType": "ExpressionStatement", - "src": "14974:77:23" + "src": "15044:74:15" } ] } @@ -73680,19 +34259,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1626, + "id": 2704, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1624, + "id": 2702, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "15079:7:23", + "referencedDeclaration": 2677, + "src": "15146:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73703,14 +34282,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1625, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15090:5:23", + "src": "15157:5:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -73718,7 +34297,7 @@ }, "value": "10000" }, - "src": "15079:16:23", + "src": "15146:16:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -73727,14 +34306,14 @@ { "argumentTypes": null, "hexValue": "42616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025", - "id": 1627, + "id": 2705, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15097:51:23", + "src": "15164:51:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_39b850c1417a175a108276062b1eaa1e5a7ee0a69781dbd9f4a6552a666b086c", @@ -73754,21 +34333,21 @@ "typeString": "literal_string \"Bad argument, _donate cannot be more then 100.00%\"" } ], - "id": 1623, + "id": 2701, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "15071:7:23", + "referencedDeclaration": 5711, + "src": "15138:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1628, + "id": 2706, "isConstant": false, "isLValue": false, "isPure": false, @@ -73776,32 +34355,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15071:78:23", + "src": "15138:78:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1629, + "id": 2707, "nodeType": "ExpressionStatement", - "src": "15071:78:23" + "src": "15138:78:15" }, { "expression": { "argumentTypes": null, - "id": 1638, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1630, + "id": 2708, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1604, - "src": "15159:6:23", + "referencedDeclaration": 2684, + "src": "15226:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73814,12 +34393,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1632, + "id": 2710, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1591, - "src": "15177:9:23", + "referencedDeclaration": 2671, + "src": "15244:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", "typeString": "bytes4[] memory" @@ -73827,12 +34406,12 @@ }, { "argumentTypes": null, - "id": 1633, + "id": 2711, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1593, - "src": "15188:6:23", + "referencedDeclaration": 2673, + "src": "15255:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -73840,12 +34419,12 @@ }, { "argumentTypes": null, - "id": 1634, + "id": 2712, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "15196:6:23", + "referencedDeclaration": 2675, + "src": "15263:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73853,12 +34432,12 @@ }, { "argumentTypes": null, - "id": 1635, + "id": 2713, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "15204:7:23", + "referencedDeclaration": 2677, + "src": "15271:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -73866,12 +34445,12 @@ }, { "argumentTypes": null, - "id": 1636, + "id": 2714, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1599, - "src": "15213:12:23", + "referencedDeclaration": 2679, + "src": "15280:12:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -73901,21 +34480,21 @@ "typeString": "bytes memory" } ], - "id": 1631, + "id": 2709, "name": "register", "nodeType": "Identifier", "overloadedDeclarations": [ - 1641, - 1710 + 2719, + 2788 ], - "referencedDeclaration": 1710, - "src": "15168:8:23", + "referencedDeclaration": 2788, + "src": "15235:8:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (bytes4[] memory,address,uint256,uint256,bytes memory) returns (uint256)" } }, - "id": 1637, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": false, @@ -73923,62 +34502,62 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15168:58:23", + "src": "15235:58:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15159:67:23", + "src": "15226:67:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1639, + "id": 2717, "nodeType": "ExpressionStatement", - "src": "15159:67:23" + "src": "15226:67:15" } ] }, - "documentation": "@dev register new pack to owner", - "id": 1641, + "documentation": "@dev charges registerFee and register new pack to owner", + "id": 2719, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1602, + "id": 2682, "modifierName": { "argumentTypes": null, - "id": 1601, + "id": 2681, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 804, - "src": "14877:16:23", + "referencedDeclaration": 1877, + "src": "14947:16:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "14877:16:23" + "src": "14947:16:15" } ], "name": "register", "nodeType": "FunctionDefinition", "parameters": { - "id": 1600, + "id": 2680, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1588, + "id": 2668, "name": "_caller", "nodeType": "VariableDeclaration", - "scope": 1641, - "src": "14685:15:23", + "scope": 2719, + "src": "14755:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -73986,10 +34565,10 @@ "typeString": "address" }, "typeName": { - "id": 1587, + "id": 2667, "name": "address", "nodeType": "ElementaryTypeName", - "src": "14685:7:23", + "src": "14755:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -74001,11 +34580,11 @@ }, { "constant": false, - "id": 1591, + "id": 2671, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 1641, - "src": "14710:25:23", + "scope": 2719, + "src": "14780:25:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -74014,19 +34593,19 @@ }, "typeName": { "baseType": { - "id": 1589, + "id": 2669, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "14710:6:23", + "src": "14780:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 1590, + "id": 2670, "length": null, "nodeType": "ArrayTypeName", - "src": "14710:8:23", + "src": "14780:8:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -74037,11 +34616,11 @@ }, { "constant": false, - "id": 1593, + "id": 2673, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 1641, - "src": "14745:14:23", + "scope": 2719, + "src": "14815:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -74049,10 +34628,10 @@ "typeString": "address" }, "typeName": { - "id": 1592, + "id": 2672, "name": "address", "nodeType": "ElementaryTypeName", - "src": "14745:7:23", + "src": "14815:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -74064,11 +34643,11 @@ }, { "constant": false, - "id": 1595, + "id": 2675, "name": "_price", "nodeType": "VariableDeclaration", - "scope": 1641, - "src": "14769:14:23", + "scope": 2719, + "src": "14839:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -74076,10 +34655,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1594, + "id": 2674, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14769:7:23", + "src": "14839:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74090,11 +34669,11 @@ }, { "constant": false, - "id": 1597, + "id": 2677, "name": "_donate", "nodeType": "VariableDeclaration", - "scope": 1641, - "src": "14793:15:23", + "scope": 2719, + "src": "14863:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -74102,10 +34681,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 2676, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14793:7:23", + "src": "14863:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74116,11 +34695,11 @@ }, { "constant": false, - "id": 1599, + "id": 2679, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 1641, - "src": "14818:25:23", + "scope": 2719, + "src": "14888:25:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -74128,10 +34707,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1598, + "id": 2678, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "14818:5:23", + "src": "14888:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -74141,19 +34720,19 @@ "visibility": "internal" } ], - "src": "14675:174:23" + "src": "14745:174:15" }, "returnParameters": { - "id": 1605, + "id": 2685, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1604, + "id": 2684, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 1641, - "src": "14910:14:23", + "scope": 2719, + "src": "14980:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -74161,10 +34740,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1603, + "id": 2683, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14910:7:23", + "src": "14980:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74174,36 +34753,36 @@ "visibility": "internal" } ], - "src": "14909:16:23" + "src": "14979:16:15" }, - "scope": 2136, - "src": "14658:580:23", + "scope": 3212, + "src": "14728:577:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1709, + "id": 2787, "nodeType": "Block", - "src": "15546:312:23", + "src": "15613:312:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1662, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1659, + "id": 2737, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "15556:6:23", + "referencedDeclaration": 2735, + "src": "15623:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74213,7 +34792,7 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1661, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": false, @@ -74221,15 +34800,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "15565:11:23", + "src": "15632:11:15", "subExpression": { "argumentTypes": null, - "id": 1660, + "id": 2738, "name": "packCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 762, - "src": "15565:9:23", + "referencedDeclaration": 1835, + "src": "15632:9:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74240,20 +34819,20 @@ "typeString": "uint256" } }, - "src": "15556:20:23", + "src": "15623:20:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1663, + "id": 2741, "nodeType": "ExpressionStatement", - "src": "15556:20:23" + "src": "15623:20:15" }, { "expression": { "argumentTypes": null, - "id": 1681, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": false, @@ -74262,26 +34841,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1664, + "id": 2742, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "15586:5:23", + "referencedDeclaration": 1829, + "src": "15653:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 1666, + "id": 2744, "indexExpression": { "argumentTypes": null, - "id": 1665, + "id": 2743, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "15592:6:23", + "referencedDeclaration": 2735, + "src": "15659:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74292,9 +34871,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "15586:13:23", + "src": "15653:13:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, @@ -74309,14 +34888,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 1671, + "id": 2749, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15620:1:23", + "src": "15687:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -74332,39 +34911,39 @@ "typeString": "int_const 0" } ], - "id": 1670, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "15607:12:23", + "src": "15674:12:15", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes4_$dyn_memory_$", "typeString": "function (uint256) pure returns (bytes4[] memory)" }, "typeName": { "baseType": { - "id": 1668, + "id": 2746, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "15611:6:23", + "src": "15678:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 1669, + "id": 2747, "length": null, "nodeType": "ArrayTypeName", - "src": "15611:8:23", + "src": "15678:8:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" } } }, - "id": 1672, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": true, @@ -74372,7 +34951,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15607:15:23", + "src": "15674:15:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory", "typeString": "bytes4[] memory" @@ -74380,12 +34959,12 @@ }, { "argumentTypes": null, - "id": 1673, + "id": 2751, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1646, - "src": "15624:6:23", + "referencedDeclaration": 2724, + "src": "15691:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -74394,14 +34973,14 @@ { "argumentTypes": null, "hexValue": "74727565", - "id": 1674, + "id": 2752, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "15632:4:23", + "src": "15699:4:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -74413,18 +34992,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1675, + "id": 2753, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "15638:5:23", + "referencedDeclaration": 5697, + "src": "15705:5:15", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 1676, + "id": 2754, "isConstant": false, "isLValue": false, "isPure": false, @@ -74432,7 +35011,7 @@ "memberName": "timestamp", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15638:15:23", + "src": "15705:15:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74440,12 +35019,12 @@ }, { "argumentTypes": null, - "id": 1677, + "id": 2755, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1648, - "src": "15655:6:23", + "referencedDeclaration": 2726, + "src": "15722:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74453,12 +35032,12 @@ }, { "argumentTypes": null, - "id": 1678, + "id": 2756, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1650, - "src": "15663:7:23", + "referencedDeclaration": 2728, + "src": "15730:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74466,12 +35045,12 @@ }, { "argumentTypes": null, - "id": 1679, + "id": 2757, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1652, - "src": "15672:12:23", + "referencedDeclaration": 2730, + "src": "15739:12:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -74509,18 +35088,18 @@ "typeString": "bytes memory" } ], - "id": 1667, + "id": 2745, "name": "Pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 742, - "src": "15602:4:23", + "referencedDeclaration": 1815, + "src": "15669:4:15", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Pack_$742_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_Pack_$1815_storage_ptr_$", "typeString": "type(struct StickerMarket.Pack storage pointer)" } }, - "id": 1680, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, @@ -74528,21 +35107,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15602:83:23", + "src": "15669:83:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory", + "typeIdentifier": "t_struct$_Pack_$1815_memory", "typeString": "struct StickerMarket.Pack memory" } }, - "src": "15586:99:23", + "src": "15653:99:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 1682, + "id": 2760, "nodeType": "ExpressionStatement", - "src": "15586:99:23" + "src": "15653:99:15" }, { "eventCall": { @@ -74550,12 +35129,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1684, + "id": 2762, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "15709:6:23", + "referencedDeclaration": 2735, + "src": "15776:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74563,12 +35142,12 @@ }, { "argumentTypes": null, - "id": 1685, + "id": 2763, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1648, - "src": "15717:6:23", + "referencedDeclaration": 2726, + "src": "15784:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74576,12 +35155,12 @@ }, { "argumentTypes": null, - "id": 1686, + "id": 2764, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1652, - "src": "15725:12:23", + "referencedDeclaration": 2730, + "src": "15792:12:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -74603,18 +35182,18 @@ "typeString": "bytes memory" } ], - "id": 1683, + "id": 2761, "name": "Register", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 684, - "src": "15700:8:23", + "referencedDeclaration": 1757, + "src": "15767:8:15", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (uint256,uint256,bytes memory)" } }, - "id": 1687, + "id": 2765, "isConstant": false, "isLValue": false, "isPure": false, @@ -74622,21 +35201,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15700:38:23", + "src": "15767:38:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1688, + "id": 2766, "nodeType": "EmitStatement", - "src": "15695:43:23" + "src": "15762:43:15" }, { "body": { - "id": 1707, + "id": 2785, "nodeType": "Block", - "src": "15789:63:23", + "src": "15856:63:15", "statements": [ { "expression": { @@ -74644,12 +35223,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1701, + "id": 2779, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "15820:6:23", + "referencedDeclaration": 2735, + "src": "15887:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74659,26 +35238,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1702, + "id": 2780, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1644, - "src": "15828:9:23", + "referencedDeclaration": 2722, + "src": "15895:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", "typeString": "bytes4[] memory" } }, - "id": 1704, + "id": 2782, "indexExpression": { "argumentTypes": null, - "id": 1703, + "id": 2781, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "15838:1:23", + "referencedDeclaration": 2768, + "src": "15905:1:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74689,7 +35268,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15828:12:23", + "src": "15895:12:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -74707,18 +35286,18 @@ "typeString": "bytes4" } ], - "id": 1700, + "id": 2778, "name": "addAvailablePack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1930, - "src": "15803:16:23", + "referencedDeclaration": 3006, + "src": "15870:16:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", "typeString": "function (uint256,bytes4)" } }, - "id": 1705, + "id": 2783, "isConstant": false, "isLValue": false, "isPure": false, @@ -74726,15 +35305,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15803:38:23", + "src": "15870:38:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1706, + "id": 2784, "nodeType": "ExpressionStatement", - "src": "15803:38:23" + "src": "15870:38:15" } ] }, @@ -74744,19 +35323,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1696, + "id": 2774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1693, + "id": 2771, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "15763:1:23", + "referencedDeclaration": 2768, + "src": "15830:1:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74768,18 +35347,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1694, + "id": 2772, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1644, - "src": "15767:9:23", + "referencedDeclaration": 2722, + "src": "15834:9:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", "typeString": "bytes4[] memory" } }, - "id": 1695, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -74787,31 +35366,31 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15767:16:23", + "src": "15834:16:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15763:20:23", + "src": "15830:20:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1708, + "id": 2786, "initializationExpression": { "assignments": [ - 1690 + 2768 ], "declarations": [ { "constant": false, - "id": 1690, + "id": 2768, "name": "i", "nodeType": "VariableDeclaration", - "scope": 1708, - "src": "15752:6:23", + "scope": 2786, + "src": "15819:6:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -74819,10 +35398,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 2767, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "15752:4:23", + "src": "15819:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74832,18 +35411,18 @@ "visibility": "internal" } ], - "id": 1692, + "id": 2770, "initialValue": { "argumentTypes": null, "hexValue": "30", - "id": 1691, + "id": 2769, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15761:1:23", + "src": "15828:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -74852,12 +35431,12 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "15752:10:23" + "src": "15819:10:15" }, "loopExpression": { "expression": { "argumentTypes": null, - "id": 1698, + "id": 2776, "isConstant": false, "isLValue": false, "isPure": false, @@ -74865,15 +35444,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "15785:3:23", + "src": "15852:3:15", "subExpression": { "argumentTypes": null, - "id": 1697, + "id": 2775, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "15785:1:23", + "referencedDeclaration": 2768, + "src": "15852:1:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -74884,53 +35463,53 @@ "typeString": "uint256" } }, - "id": 1699, + "id": 2777, "nodeType": "ExpressionStatement", - "src": "15785:3:23" + "src": "15852:3:15" }, "nodeType": "ForStatement", - "src": "15748:104:23" + "src": "15815:104:15" } ] }, "documentation": "@dev register new pack to owner", - "id": 1710, + "id": 2788, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1655, + "id": 2733, "modifierName": { "argumentTypes": null, - "id": 1654, + "id": 2732, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 804, - "src": "15492:16:23", + "referencedDeclaration": 1877, + "src": "15559:16:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "15492:16:23" + "src": "15559:16:15" } ], "name": "register", "nodeType": "FunctionDefinition", "parameters": { - "id": 1653, + "id": 2731, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1644, + "id": 2722, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 1710, - "src": "15326:25:23", + "scope": 2788, + "src": "15393:25:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -74939,19 +35518,19 @@ }, "typeName": { "baseType": { - "id": 1642, + "id": 2720, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "15326:6:23", + "src": "15393:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 1643, + "id": 2721, "length": null, "nodeType": "ArrayTypeName", - "src": "15326:8:23", + "src": "15393:8:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -74962,11 +35541,11 @@ }, { "constant": false, - "id": 1646, + "id": 2724, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 1710, - "src": "15361:14:23", + "scope": 2788, + "src": "15428:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -74974,10 +35553,10 @@ "typeString": "address" }, "typeName": { - "id": 1645, + "id": 2723, "name": "address", "nodeType": "ElementaryTypeName", - "src": "15361:7:23", + "src": "15428:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -74989,11 +35568,11 @@ }, { "constant": false, - "id": 1648, + "id": 2726, "name": "_price", "nodeType": "VariableDeclaration", - "scope": 1710, - "src": "15385:14:23", + "scope": 2788, + "src": "15452:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -75001,10 +35580,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1647, + "id": 2725, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15385:7:23", + "src": "15452:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75015,11 +35594,11 @@ }, { "constant": false, - "id": 1650, + "id": 2728, "name": "_donate", "nodeType": "VariableDeclaration", - "scope": 1710, - "src": "15409:15:23", + "scope": 2788, + "src": "15476:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -75027,10 +35606,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1649, + "id": 2727, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15409:7:23", + "src": "15476:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75041,11 +35620,11 @@ }, { "constant": false, - "id": 1652, + "id": 2730, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 1710, - "src": "15434:25:23", + "scope": 2788, + "src": "15501:25:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -75053,10 +35632,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1651, + "id": 2729, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "15434:5:23", + "src": "15501:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -75066,19 +35645,19 @@ "visibility": "internal" } ], - "src": "15316:149:23" + "src": "15383:149:15" }, "returnParameters": { - "id": 1658, + "id": 2736, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 2735, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 1710, - "src": "15525:14:23", + "scope": 2788, + "src": "15592:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -75086,10 +35665,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1656, + "id": 2734, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15525:7:23", + "src": "15592:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75099,47 +35678,47 @@ "visibility": "internal" } ], - "src": "15524:16:23" + "src": "15591:16:15" }, - "scope": 2136, - "src": "15299:559:23", + "scope": 3212, + "src": "15366:559:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "private" }, { "body": { - "id": 1852, + "id": 2928, "nodeType": "Block", - "src": "16139:888:23", + "src": "16206:885:15", "statements": [ { "assignments": [ - 1724 + 2802 ], "declarations": [ { "constant": false, - "id": 1724, + "id": 2802, "name": "_pack", "nodeType": "VariableDeclaration", - "scope": 1852, - "src": "16149:17:23", + "scope": 2928, + "src": "16216:17:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack" }, "typeName": { "contractScope": null, - "id": 1723, + "id": 2801, "name": "Pack", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 742, - "src": "16149:4:23", + "referencedDeclaration": 1815, + "src": "16216:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_storage_ptr", "typeString": "struct StickerMarket.Pack" } }, @@ -75147,31 +35726,31 @@ "visibility": "internal" } ], - "id": 1728, + "id": 2806, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1725, + "id": 2803, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "16169:5:23", + "referencedDeclaration": 1829, + "src": "16236:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 1727, + "id": 2805, "indexExpression": { "argumentTypes": null, - "id": 1726, + "id": 2804, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1714, - "src": "16175:7:23", + "referencedDeclaration": 2792, + "src": "16242:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75182,14 +35761,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16169:14:23", + "src": "16236:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "16149:34:23" + "src": "16216:34:15" }, { "expression": { @@ -75201,7 +35780,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1735, + "id": 2813, "isConstant": false, "isLValue": false, "isPure": false, @@ -75210,26 +35789,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1730, + "id": 2808, "name": "_pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1724, - "src": "16201:5:23", + "referencedDeclaration": 2802, + "src": "16268:5:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1731, + "id": 2809, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 731, - "src": "16201:11:23", + "referencedDeclaration": 1804, + "src": "16268:11:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -75243,14 +35822,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 1733, + "id": 2811, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16224:1:23", + "src": "16291:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -75266,20 +35845,20 @@ "typeString": "int_const 0" } ], - "id": 1732, + "id": 2810, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "16216:7:23", + "src": "16283:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1734, + "id": 2812, "isConstant": false, "isLValue": false, "isPure": true, @@ -75287,13 +35866,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16216:10:23", + "src": "16283:10:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "16201:25:23", + "src": "16268:25:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -75302,14 +35881,14 @@ { "argumentTypes": null, "hexValue": "426164207061636b", - "id": 1736, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "16228:10:23", + "src": "16295:10:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_3e58bfd29a4a4451ac5b3b2575ffc19d4e60379d241da7d37eaadf6c75fbb203", @@ -75329,21 +35908,21 @@ "typeString": "literal_string \"Bad pack\"" } ], - "id": 1729, + "id": 2807, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "16193:7:23", + "referencedDeclaration": 5711, + "src": "16260:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1737, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": false, @@ -75351,15 +35930,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16193:46:23", + "src": "16260:46:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1738, + "id": 2816, "nodeType": "ExpressionStatement", - "src": "16193:46:23" + "src": "16260:46:15" }, { "expression": { @@ -75369,26 +35948,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1740, + "id": 2818, "name": "_pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1724, - "src": "16257:5:23", + "referencedDeclaration": 2802, + "src": "16324:5:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1741, + "id": 2819, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "mintable", "nodeType": "MemberAccess", - "referencedDeclaration": 733, - "src": "16257:14:23", + "referencedDeclaration": 1806, + "src": "16324:14:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -75397,14 +35976,14 @@ { "argumentTypes": null, "hexValue": "44697361626c6564", - "id": 1742, + "id": 2820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "16273:10:23", + "src": "16340:10:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc706b0562d4d0480fd55e80d6bbe5abb3f248e31fb8d00e56119227634d3ed3", @@ -75424,21 +36003,21 @@ "typeString": "literal_string \"Disabled\"" } ], - "id": 1739, + "id": 2817, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "16249:7:23", + "referencedDeclaration": 5711, + "src": "16316:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1743, + "id": 2821, "isConstant": false, "isLValue": false, "isPure": false, @@ -75446,28 +36025,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16249:35:23", + "src": "16316:35:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1744, + "id": 2822, "nodeType": "ExpressionStatement", - "src": "16249:35:23" + "src": "16316:35:15" }, { "assignments": [ - 1746 + 2824 ], "declarations": [ { "constant": false, - "id": 1746, + "id": 2824, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1852, - "src": "16294:14:23", + "scope": 2928, + "src": "16361:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -75475,10 +36054,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1745, + "id": 2823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16294:7:23", + "src": "16361:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75488,38 +36067,38 @@ "visibility": "internal" } ], - "id": 1749, + "id": 2827, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1747, + "id": 2825, "name": "_pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1724, - "src": "16311:5:23", + "referencedDeclaration": 2802, + "src": "16378:5:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1748, + "id": 2826, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "price", "nodeType": "MemberAccess", - "referencedDeclaration": 737, - "src": "16311:11:23", + "referencedDeclaration": 1810, + "src": "16378:11:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16294:28:23" + "src": "16361:28:15" }, { "expression": { @@ -75531,19 +36110,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1753, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1751, + "id": 2829, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1746, - "src": "16340:6:23", + "referencedDeclaration": 2824, + "src": "16407:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75554,14 +36133,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1752, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16349:1:23", + "src": "16416:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -75569,7 +36148,7 @@ }, "value": "0" }, - "src": "16340:10:23", + "src": "16407:10:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -75578,14 +36157,14 @@ { "argumentTypes": null, "hexValue": "556e617574686f72697a6564", - "id": 1754, + "id": 2832, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "16352:14:23", + "src": "16419:14:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", @@ -75605,21 +36184,21 @@ "typeString": "literal_string \"Unauthorized\"" } ], - "id": 1750, + "id": 2828, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "16332:7:23", + "referencedDeclaration": 5711, + "src": "16399:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1755, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -75627,15 +36206,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16332:35:23", + "src": "16399:35:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1756, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "16332:35:23" + "src": "16399:35:15" }, { "condition": { @@ -75644,7 +36223,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1763, + "id": 2841, "isConstant": false, "isLValue": false, "isPure": false, @@ -75655,19 +36234,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1759, + "id": 2837, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1757, + "id": 2835, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1746, - "src": "16380:6:23", + "referencedDeclaration": 2824, + "src": "16447:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75678,14 +36257,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1758, + "id": 2836, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16389:1:23", + "src": "16456:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -75693,7 +36272,7 @@ }, "value": "0" }, - "src": "16380:10:23", + "src": "16447:10:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -75707,19 +36286,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1762, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1760, + "id": 2838, "name": "burnRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 750, - "src": "16394:8:23", + "referencedDeclaration": 1823, + "src": "16461:8:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75730,14 +36309,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1761, + "id": 2839, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16405:1:23", + "src": "16472:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -75745,39 +36324,39 @@ }, "value": "0" }, - "src": "16394:12:23", + "src": "16461:12:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "16380:26:23", + "src": "16447:26:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1794, + "id": 2872, "nodeType": "IfStatement", - "src": "16377:237:23", + "src": "16444:237:15", "trueBody": { - "id": 1793, + "id": 2871, "nodeType": "Block", - "src": "16408:206:23", + "src": "16475:206:15", "statements": [ { "assignments": [ - 1765 + 2843 ], "declarations": [ { "constant": false, - "id": 1765, + "id": 2843, "name": "burned", "nodeType": "VariableDeclaration", - "scope": 1793, - "src": "16422:14:23", + "scope": 2871, + "src": "16489:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -75785,10 +36364,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1764, + "id": 2842, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16422:7:23", + "src": "16489:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75798,14 +36377,14 @@ "visibility": "internal" } ], - "id": 1772, + "id": 2850, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1771, + "id": 2849, "isConstant": false, "isLValue": false, "isPure": false, @@ -75819,19 +36398,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1768, + "id": 2846, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1766, + "id": 2844, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1746, - "src": "16440:6:23", + "referencedDeclaration": 2824, + "src": "16507:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75841,32 +36420,32 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 1767, + "id": 2845, "name": "burnRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 750, - "src": "16449:8:23", + "referencedDeclaration": 1823, + "src": "16516:8:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16440:17:23", + "src": "16507:17:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 1769, + "id": 2847, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "16439:19:23", + "src": "16506:19:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75877,14 +36456,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1770, + "id": 2848, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16461:5:23", + "src": "16528:5:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -75892,31 +36471,31 @@ }, "value": "10000" }, - "src": "16439:27:23", + "src": "16506:27:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16422:44:23" + "src": "16489:44:15" }, { "expression": { "argumentTypes": null, - "id": 1775, + "id": 2853, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1773, + "id": 2851, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1746, - "src": "16480:6:23", + "referencedDeclaration": 2824, + "src": "16547:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -75926,26 +36505,26 @@ "operator": "-=", "rightHandSide": { "argumentTypes": null, - "id": 1774, + "id": 2852, "name": "burned", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1765, - "src": "16490:6:23", + "referencedDeclaration": 2843, + "src": "16557:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16480:16:23", + "src": "16547:16:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1776, + "id": 2854, "nodeType": "ExpressionStatement", - "src": "16480:16:23" + "src": "16547:16:15" }, { "expression": { @@ -75956,12 +36535,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1780, + "id": 2858, "name": "_caller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1712, - "src": "16535:7:23", + "referencedDeclaration": 2790, + "src": "16602:7:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -75980,14 +36559,14 @@ "arguments": [ { "argumentTypes": null, - "id": 1783, + "id": 2861, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 752, - "src": "16563:3:23", + "referencedDeclaration": 1825, + "src": "16630:3:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } } @@ -75995,24 +36574,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } ], - "id": 1782, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "16555:7:23", + "src": "16622:7:15", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1784, + "id": 2862, "isConstant": false, "isLValue": false, "isPure": false, @@ -76020,7 +36599,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16555:12:23", + "src": "16622:12:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -76034,18 +36613,18 @@ "typeString": "address" } ], - "id": 1781, + "id": 2859, "name": "Controlled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6928, - "src": "16544:10:23", + "referencedDeclaration": 37, + "src": "16611:10:15", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Controlled_$6928_$", + "typeIdentifier": "t_type$_t_contract$_Controlled_$37_$", "typeString": "type(contract Controlled)" } }, - "id": 1785, + "id": 2863, "isConstant": false, "isLValue": false, "isPure": false, @@ -76053,27 +36632,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16544:24:23", + "src": "16611:24:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_Controlled_$6928", + "typeIdentifier": "t_contract$_Controlled_$37", "typeString": "contract Controlled" } }, - "id": 1786, + "id": 2864, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "controller", "nodeType": "MemberAccess", - "referencedDeclaration": 6906, - "src": "16544:35:23", + "referencedDeclaration": 15, + "src": "16611:35:15", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_payable_$", "typeString": "function () view external returns (address payable)" } }, - "id": 1787, + "id": 2865, "isConstant": false, "isLValue": false, "isPure": false, @@ -76081,7 +36660,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16544:37:23", + "src": "16611:37:15", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -76089,12 +36668,12 @@ }, { "argumentTypes": null, - "id": 1788, + "id": 2866, "name": "burned", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1765, - "src": "16583:6:23", + "referencedDeclaration": 2843, + "src": "16650:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -76118,32 +36697,32 @@ ], "expression": { "argumentTypes": null, - "id": 1778, + "id": 2856, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 752, - "src": "16518:3:23", + "referencedDeclaration": 1825, + "src": "16585:3:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 1779, + "id": 2857, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transferFrom", "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "16518:16:23", + "referencedDeclaration": 4477, + "src": "16585:16:15", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) external returns (bool)" } }, - "id": 1789, + "id": 2867, "isConstant": false, "isLValue": false, "isPure": false, @@ -76151,7 +36730,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16518:72:23", + "src": "16585:72:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -76160,14 +36739,14 @@ { "argumentTypes": null, "hexValue": "426164206275726e", - "id": 1790, + "id": 2868, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "16592:10:23", + "src": "16659:10:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_0c050d504fa558928633bc22c6c49b73039c150b7c9071ad81c275d9b4040644", @@ -76187,21 +36766,21 @@ "typeString": "literal_string \"Bad burn\"" } ], - "id": 1777, + "id": 2855, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "16510:7:23", + "referencedDeclaration": 5711, + "src": "16577:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1791, + "id": 2869, "isConstant": false, "isLValue": false, "isPure": false, @@ -76209,15 +36788,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16510:93:23", + "src": "16577:93:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1792, + "id": 2870, "nodeType": "ExpressionStatement", - "src": "16510:93:23" + "src": "16577:93:15" } ] } @@ -76229,7 +36808,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1802, + "id": 2880, "isConstant": false, "isLValue": false, "isPure": false, @@ -76240,19 +36819,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1797, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1795, + "id": 2873, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1746, - "src": "16626:6:23", + "referencedDeclaration": 2824, + "src": "16693:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -76263,14 +36842,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1796, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16635:1:23", + "src": "16702:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -76278,7 +36857,7 @@ }, "value": "0" }, - "src": "16626:10:23", + "src": "16693:10:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -76292,7 +36871,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1801, + "id": 2879, "isConstant": false, "isLValue": false, "isPure": false, @@ -76301,26 +36880,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1798, + "id": 2876, "name": "_pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1724, - "src": "16640:5:23", + "referencedDeclaration": 2802, + "src": "16707:5:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1799, + "id": 2877, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "donate", "nodeType": "MemberAccess", - "referencedDeclaration": 739, - "src": "16640:12:23", + "referencedDeclaration": 1812, + "src": "16707:12:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -76331,14 +36910,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1800, + "id": 2878, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16655:1:23", + "src": "16722:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -76346,39 +36925,39 @@ }, "value": "0" }, - "src": "16640:16:23", + "src": "16707:16:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "16626:30:23", + "src": "16693:30:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1830, + "id": 2906, "nodeType": "IfStatement", - "src": "16623:223:23", + "src": "16690:220:15", "trueBody": { - "id": 1829, + "id": 2905, "nodeType": "Block", - "src": "16658:188:23", + "src": "16725:185:15", "statements": [ { "assignments": [ - 1804 + 2882 ], "declarations": [ { "constant": false, - "id": 1804, + "id": 2882, "name": "donate", "nodeType": "VariableDeclaration", - "scope": 1829, - "src": "16672:14:23", + "scope": 2905, + "src": "16739:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -76386,10 +36965,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1803, + "id": 2881, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16672:7:23", + "src": "16739:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -76399,14 +36978,14 @@ "visibility": "internal" } ], - "id": 1812, + "id": 2890, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1811, + "id": 2889, "isConstant": false, "isLValue": false, "isPure": false, @@ -76420,19 +36999,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1808, + "id": 2886, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1805, + "id": 2883, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1746, - "src": "16690:6:23", + "referencedDeclaration": 2824, + "src": "16757:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -76444,46 +37023,46 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1806, + "id": 2884, "name": "_pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1724, - "src": "16699:5:23", + "referencedDeclaration": 2802, + "src": "16766:5:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1807, + "id": 2885, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "donate", "nodeType": "MemberAccess", - "referencedDeclaration": 739, - "src": "16699:12:23", + "referencedDeclaration": 1812, + "src": "16766:12:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16690:21:23", + "src": "16757:21:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 1809, + "id": 2887, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "16689:23:23", + "src": "16756:23:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -76494,14 +37073,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1810, + "id": 2888, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16715:5:23", + "src": "16782:5:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -76509,31 +37088,31 @@ }, "value": "10000" }, - "src": "16689:31:23", + "src": "16756:31:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16672:48:23" + "src": "16739:48:15" }, { "expression": { "argumentTypes": null, - "id": 1815, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1813, + "id": 2891, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1746, - "src": "16734:6:23", + "referencedDeclaration": 2824, + "src": "16801:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -76543,26 +37122,26 @@ "operator": "-=", "rightHandSide": { "argumentTypes": null, - "id": 1814, + "id": 2892, "name": "donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1804, - "src": "16744:6:23", + "referencedDeclaration": 2882, + "src": "16811:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16734:16:23", + "src": "16801:16:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1816, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "16734:16:23" + "src": "16801:16:15" }, { "expression": { @@ -76573,12 +37152,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1820, + "id": 2898, "name": "_caller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1712, - "src": "16789:7:23", + "referencedDeclaration": 2790, + "src": "16856:7:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -76586,63 +37165,25 @@ }, { "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 1822, - "name": "this", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9519, - "src": "16806:4:23", - "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$2136", - "typeString": "contract StickerMarket" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_contract$_StickerMarket_$2136", - "typeString": "contract StickerMarket" - } - ], - "id": 1821, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "16798:7:23", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 1823, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "16798:13:23", + "id": 2899, + "name": "controller", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 15, + "src": "16865:10:15", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" } }, { "argumentTypes": null, - "id": 1824, + "id": 2900, "name": "donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1804, - "src": "16813:6:23", + "referencedDeclaration": 2882, + "src": "16877:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -76656,8 +37197,8 @@ "typeString": "address" }, { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_address_payable", + "typeString": "address payable" }, { "typeIdentifier": "t_uint256", @@ -76666,32 +37207,32 @@ ], "expression": { "argumentTypes": null, - "id": 1818, + "id": 2896, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 752, - "src": "16772:3:23", + "referencedDeclaration": 1825, + "src": "16839:3:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 1819, + "id": 2897, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transferFrom", "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "16772:16:23", + "referencedDeclaration": 4477, + "src": "16839:16:15", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) external returns (bool)" } }, - "id": 1825, + "id": 2901, "isConstant": false, "isLValue": false, "isPure": false, @@ -76699,7 +37240,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16772:48:23", + "src": "16839:45:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -76708,14 +37249,14 @@ { "argumentTypes": null, "hexValue": "42616420646f6e617465", - "id": 1826, + "id": 2902, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "16822:12:23", + "src": "16886:12:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_d56da49bc135b8907aa2d9f54a7670ff78a057ec1d75a7dcae7e4d20757d7b03", @@ -76735,21 +37276,21 @@ "typeString": "literal_string \"Bad donate\"" } ], - "id": 1817, + "id": 2895, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "16764:7:23", + "referencedDeclaration": 5711, + "src": "16831:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1827, + "id": 2903, "isConstant": false, "isLValue": false, "isPure": false, @@ -76757,15 +37298,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16764:71:23", + "src": "16831:68:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1828, + "id": 2904, "nodeType": "ExpressionStatement", - "src": "16764:71:23" + "src": "16831:68:15" } ] } @@ -76777,19 +37318,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1833, + "id": 2909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1831, + "id": 2907, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1746, - "src": "16859:6:23", + "referencedDeclaration": 2824, + "src": "16923:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -76800,14 +37341,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1832, + "id": 2908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16868:1:23", + "src": "16932:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -76815,20 +37356,20 @@ }, "value": "0" }, - "src": "16859:10:23", + "src": "16923:10:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1846, + "id": 2922, "nodeType": "IfStatement", - "src": "16856:110:23", + "src": "16920:110:15", "trueBody": { - "id": 1845, + "id": 2921, "nodeType": "Block", - "src": "16871:95:23", + "src": "16935:95:15", "statements": [ { "expression": { @@ -76839,12 +37380,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1837, + "id": 2913, "name": "_caller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1712, - "src": "16910:7:23", + "referencedDeclaration": 2790, + "src": "16974:7:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -76854,26 +37395,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1838, + "id": 2914, "name": "_pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1724, - "src": "16919:5:23", + "referencedDeclaration": 2802, + "src": "16983:5:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 1839, + "id": 2915, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "owner", "nodeType": "MemberAccess", - "referencedDeclaration": 731, - "src": "16919:11:23", + "referencedDeclaration": 1804, + "src": "16983:11:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -76881,12 +37422,12 @@ }, { "argumentTypes": null, - "id": 1840, + "id": 2916, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1746, - "src": "16932:6:23", + "referencedDeclaration": 2824, + "src": "16996:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -76910,32 +37451,32 @@ ], "expression": { "argumentTypes": null, - "id": 1835, + "id": 2911, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 752, - "src": "16893:3:23", + "referencedDeclaration": 1825, + "src": "16957:3:15", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 1836, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transferFrom", "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "16893:16:23", + "referencedDeclaration": 4477, + "src": "16957:16:15", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) external returns (bool)" } }, - "id": 1841, + "id": 2917, "isConstant": false, "isLValue": false, "isPure": false, @@ -76943,7 +37484,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16893:46:23", + "src": "16957:46:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -76952,14 +37493,14 @@ { "argumentTypes": null, "hexValue": "426164207061796d656e74", - "id": 1842, + "id": 2918, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "16941:13:23", + "src": "17005:13:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_2f706041c82808b9d33018cf7aa052a4df71fcbd86a2e2b0fb54f9a089aa7894", @@ -76979,21 +37520,21 @@ "typeString": "literal_string \"Bad payment\"" } ], - "id": 1834, + "id": 2910, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "16885:7:23", + "referencedDeclaration": 5711, + "src": "16949:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1843, + "id": 2919, "isConstant": false, "isLValue": false, "isPure": false, @@ -77001,15 +37542,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16885:70:23", + "src": "16949:70:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1844, + "id": 2920, "nodeType": "ExpressionStatement", - "src": "16885:70:23" + "src": "16949:70:15" } ] } @@ -77020,12 +37561,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1848, + "id": 2924, "name": "_destination", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1716, - "src": "16998:12:23", + "referencedDeclaration": 2794, + "src": "17062:12:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -77033,12 +37574,12 @@ }, { "argumentTypes": null, - "id": 1849, + "id": 2925, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1714, - "src": "17012:7:23", + "referencedDeclaration": 2792, + "src": "17076:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77056,18 +37597,18 @@ "typeString": "uint256" } ], - "id": 1847, + "id": 2923, "name": "mintStickerPack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1879, - "src": "16982:15:23", + "referencedDeclaration": 2955, + "src": "17046:15:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) returns (uint256)" } }, - "id": 1850, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -77075,57 +37616,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16982:38:23", + "src": "17046:38:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1722, - "id": 1851, + "functionReturnParameters": 2800, + "id": 2927, "nodeType": "Return", - "src": "16975:45:23" + "src": "17039:45:15" } ] }, "documentation": "@dev transfer SNT from buyer to pack owner and mint sticker pack token ", - "id": 1853, + "id": 2929, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 1719, + "id": 2797, "modifierName": { "argumentTypes": null, - "id": 1718, + "id": 2796, "name": "marketSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 832, - "src": "16090:10:23", + "referencedDeclaration": 1905, + "src": "16157:10:15", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "16090:10:23" + "src": "16157:10:15" } ], "name": "buy", "nodeType": "FunctionDefinition", "parameters": { - "id": 1717, + "id": 2795, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1712, + "id": 2790, "name": "_caller", "nodeType": "VariableDeclaration", - "scope": 1853, - "src": "15986:15:23", + "scope": 2929, + "src": "16053:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -77133,10 +37674,10 @@ "typeString": "address" }, "typeName": { - "id": 1711, + "id": 2789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "15986:7:23", + "src": "16053:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -77148,11 +37689,11 @@ }, { "constant": false, - "id": 1714, + "id": 2792, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 1853, - "src": "16011:15:23", + "scope": 2929, + "src": "16078:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -77160,10 +37701,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1713, + "id": 2791, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16011:7:23", + "src": "16078:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77174,11 +37715,11 @@ }, { "constant": false, - "id": 1716, + "id": 2794, "name": "_destination", "nodeType": "VariableDeclaration", - "scope": 1853, - "src": "16036:20:23", + "scope": 2929, + "src": "16103:20:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -77186,10 +37727,10 @@ "typeString": "address" }, "typeName": { - "id": 1715, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16036:7:23", + "src": "16103:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -77200,19 +37741,19 @@ "visibility": "internal" } ], - "src": "15976:86:23" + "src": "16043:86:15" }, "returnParameters": { - "id": 1722, + "id": 2800, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1721, + "id": 2799, "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 1853, - "src": "16118:15:23", + "scope": 2929, + "src": "16185:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -77220,10 +37761,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1720, + "id": 2798, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16118:7:23", + "src": "16185:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77233,36 +37774,36 @@ "visibility": "internal" } ], - "src": "16117:17:23" + "src": "16184:17:15" }, - "scope": 2136, - "src": "15964:1063:23", + "scope": 3212, + "src": "16031:1060:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1878, + "id": 2954, "nodeType": "Block", - "src": "17217:110:23", + "src": "17281:111:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 1865, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1862, + "id": 2938, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1860, - "src": "17227:7:23", + "referencedDeclaration": 2936, + "src": "17291:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77272,7 +37813,7 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1864, + "id": 2940, "isConstant": false, "isLValue": false, "isPure": false, @@ -77280,15 +37821,15 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "17237:12:23", + "src": "17301:12:15", "subExpression": { "argumentTypes": null, - "id": 1863, + "id": 2939, "name": "tokenCount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 764, - "src": "17237:10:23", + "referencedDeclaration": 1837, + "src": "17301:10:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77299,20 +37840,20 @@ "typeString": "uint256" } }, - "src": "17227:22:23", + "src": "17291:22:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1866, + "id": 2942, "nodeType": "ExpressionStatement", - "src": "17227:22:23" + "src": "17291:22:15" }, { "expression": { "argumentTypes": null, - "id": 1871, + "id": 2947, "isConstant": false, "isLValue": false, "isPure": false, @@ -77321,26 +37862,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1867, + "id": 2943, "name": "tokenPackId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 760, - "src": "17259:11:23", + "referencedDeclaration": 1833, + "src": "17323:11:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" } }, - "id": 1869, + "id": 2945, "indexExpression": { "argumentTypes": null, - "id": 1868, + "id": 2944, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1860, - "src": "17271:7:23", + "referencedDeclaration": 2936, + "src": "17335:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77351,7 +37892,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17259:20:23", + "src": "17323:20:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77361,26 +37902,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1870, + "id": 2946, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1857, - "src": "17282:7:23", + "referencedDeclaration": 2933, + "src": "17346:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17259:30:23", + "src": "17323:30:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1872, + "id": 2948, "nodeType": "ExpressionStatement", - "src": "17259:30:23" + "src": "17323:30:15" }, { "expression": { @@ -77388,12 +37929,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1874, + "id": 2950, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1855, - "src": "17304:6:23", + "referencedDeclaration": 2931, + "src": "17369:6:15", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -77401,12 +37942,12 @@ }, { "argumentTypes": null, - "id": 1875, + "id": 2951, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1860, - "src": "17312:7:23", + "referencedDeclaration": 2936, + "src": "17377:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77424,18 +37965,20 @@ "typeString": "uint256" } ], - "id": 1873, - "name": "mint", + "id": 2949, + "name": "_mint", "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 7394, - "src": "17299:4:23", + "overloadedDeclarations": [ + 534 + ], + "referencedDeclaration": 534, + "src": "17363:5:15", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 1876, + "id": 2952, "isConstant": false, "isLValue": false, "isPure": false, @@ -77443,36 +37986,36 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17299:21:23", + "src": "17363:22:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1877, + "id": 2953, "nodeType": "ExpressionStatement", - "src": "17299:21:23" + "src": "17363:22:15" } ] }, "documentation": "@dev creates new NFT", - "id": 1879, + "id": 2955, "implemented": true, "kind": "function", "modifiers": [], "name": "mintStickerPack", "nodeType": "FunctionDefinition", "parameters": { - "id": 1858, + "id": 2934, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1855, + "id": 2931, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 1879, - "src": "17115:14:23", + "scope": 2955, + "src": "17179:14:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -77480,10 +38023,10 @@ "typeString": "address" }, "typeName": { - "id": 1854, + "id": 2930, "name": "address", "nodeType": "ElementaryTypeName", - "src": "17115:7:23", + "src": "17179:7:15", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -77495,11 +38038,11 @@ }, { "constant": false, - "id": 1857, + "id": 2933, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 1879, - "src": "17139:15:23", + "scope": 2955, + "src": "17203:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -77507,10 +38050,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1856, + "id": 2932, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17139:7:23", + "src": "17203:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77520,19 +38063,19 @@ "visibility": "internal" } ], - "src": "17105:55:23" + "src": "17169:55:15" }, "returnParameters": { - "id": 1861, + "id": 2937, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1860, + "id": 2936, "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 1879, - "src": "17196:15:23", + "scope": 2955, + "src": "17260:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -77540,10 +38083,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1859, + "id": 2935, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17196:7:23", + "src": "17260:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77553,19 +38096,19 @@ "visibility": "internal" } ], - "src": "17195:17:23" + "src": "17259:17:15" }, - "scope": 2136, - "src": "17081:246:23", + "scope": 3212, + "src": "17145:247:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 1929, + "id": 3005, "nodeType": "Block", - "src": "17466:322:23", + "src": "17531:322:15", "statements": [ { "expression": { @@ -77577,7 +38120,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1893, + "id": 2969, "isConstant": false, "isLValue": false, "isPure": false, @@ -77588,26 +38131,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1887, + "id": 2963, "name": "packCategoryIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "17484:17:23", + "referencedDeclaration": 1854, + "src": "17549:17:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" } }, - "id": 1889, + "id": 2965, "indexExpression": { "argumentTypes": null, - "id": 1888, + "id": 2964, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1881, - "src": "17502:7:23", + "referencedDeclaration": 2957, + "src": "17567:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77618,21 +38161,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17484:26:23", + "src": "17549:26:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", "typeString": "mapping(bytes4 => uint256)" } }, - "id": 1891, + "id": 2967, "indexExpression": { "argumentTypes": null, - "id": 1890, + "id": 2966, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1883, - "src": "17511:9:23", + "referencedDeclaration": 2959, + "src": "17576:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -77643,7 +38186,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17484:37:23", + "src": "17549:37:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77654,14 +38197,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1892, + "id": 2968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17525:1:23", + "src": "17590:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -77669,7 +38212,7 @@ }, "value": "0" }, - "src": "17484:42:23", + "src": "17549:42:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -77678,14 +38221,14 @@ { "argumentTypes": null, "hexValue": "4475706c69636174652063617465676f72697a6174696f6e", - "id": 1894, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "17528:26:23", + "src": "17593:26:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_c83d2973cc591dde449b8c5a090823f74e998d0c93fa8477e15d43645c3535d6", @@ -77705,21 +38248,21 @@ "typeString": "literal_string \"Duplicate categorization\"" } ], - "id": 1886, + "id": 2962, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "17476:7:23", + "referencedDeclaration": 5711, + "src": "17541:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1895, + "id": 2971, "isConstant": false, "isLValue": false, "isPure": false, @@ -77727,20 +38270,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17476:79:23", + "src": "17541:79:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1896, + "id": 2972, "nodeType": "ExpressionStatement", - "src": "17476:79:23" + "src": "17541:79:15" }, { "expression": { "argumentTypes": null, - "id": 1908, + "id": 2984, "isConstant": false, "isLValue": false, "isPure": false, @@ -77751,26 +38294,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1897, + "id": 2973, "name": "availablePacksIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, - "src": "17565:19:23", + "referencedDeclaration": 1848, + "src": "17630:19:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_uint256_$_t_uint256_$_$", "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" } }, - "id": 1900, + "id": 2976, "indexExpression": { "argumentTypes": null, - "id": 1898, + "id": 2974, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1883, - "src": "17585:9:23", + "referencedDeclaration": 2959, + "src": "17650:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -77781,21 +38324,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17565:30:23", + "src": "17630:30:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" } }, - "id": 1901, + "id": 2977, "indexExpression": { "argumentTypes": null, - "id": 1899, + "id": 2975, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1881, - "src": "17596:7:23", + "referencedDeclaration": 2957, + "src": "17661:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77806,7 +38349,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17565:39:23", + "src": "17630:39:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77819,12 +38362,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1906, + "id": 2982, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1881, - "src": "17638:7:23", + "referencedDeclaration": 2957, + "src": "17703:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77842,26 +38385,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1902, + "id": 2978, "name": "availablePacks", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 769, - "src": "17607:14:23", + "referencedDeclaration": 1842, + "src": "17672:14:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes4 => uint256[] storage ref)" } }, - "id": 1904, + "id": 2980, "indexExpression": { "argumentTypes": null, - "id": 1903, + "id": 2979, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1883, - "src": "17622:9:23", + "referencedDeclaration": 2959, + "src": "17687:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -77872,13 +38415,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17607:25:23", + "src": "17672:25:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 1905, + "id": 2981, "isConstant": false, "isLValue": false, "isPure": false, @@ -77886,13 +38429,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17607:30:23", + "src": "17672:30:15", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) returns (uint256)" } }, - "id": 1907, + "id": 2983, "isConstant": false, "isLValue": false, "isPure": false, @@ -77900,26 +38443,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17607:39:23", + "src": "17672:39:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17565:81:23", + "src": "17630:81:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1909, + "id": 2985, "nodeType": "ExpressionStatement", - "src": "17565:81:23" + "src": "17630:81:15" }, { "expression": { "argumentTypes": null, - "id": 1922, + "id": 2998, "isConstant": false, "isLValue": false, "isPure": false, @@ -77930,26 +38473,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1910, + "id": 2986, "name": "packCategoryIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "17656:17:23", + "referencedDeclaration": 1854, + "src": "17721:17:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" } }, - "id": 1913, + "id": 2989, "indexExpression": { "argumentTypes": null, - "id": 1911, + "id": 2987, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1881, - "src": "17674:7:23", + "referencedDeclaration": 2957, + "src": "17739:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77960,21 +38503,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17656:26:23", + "src": "17721:26:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", "typeString": "mapping(bytes4 => uint256)" } }, - "id": 1914, + "id": 2990, "indexExpression": { "argumentTypes": null, - "id": 1912, + "id": 2988, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1883, - "src": "17683:9:23", + "referencedDeclaration": 2959, + "src": "17748:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -77985,7 +38528,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17656:37:23", + "src": "17721:37:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -77998,12 +38541,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1920, + "id": 2996, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1883, - "src": "17725:9:23", + "referencedDeclaration": 2959, + "src": "17790:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -78023,26 +38566,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1915, + "id": 2991, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "17696:5:23", + "referencedDeclaration": 1829, + "src": "17761:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 1917, + "id": 2993, "indexExpression": { "argumentTypes": null, - "id": 1916, + "id": 2992, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1881, - "src": "17702:7:23", + "referencedDeclaration": 2957, + "src": "17767:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78053,27 +38596,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17696:14:23", + "src": "17761:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 1918, + "id": 2994, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "category", "nodeType": "MemberAccess", - "referencedDeclaration": 729, - "src": "17696:23:23", + "referencedDeclaration": 1802, + "src": "17761:23:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", "typeString": "bytes4[] storage ref" } }, - "id": 1919, + "id": 2995, "isConstant": false, "isLValue": false, "isPure": false, @@ -78081,13 +38624,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17696:28:23", + "src": "17761:28:15", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes4_$returns$_t_uint256_$", "typeString": "function (bytes4) returns (uint256)" } }, - "id": 1921, + "id": 2997, "isConstant": false, "isLValue": false, "isPure": false, @@ -78095,21 +38638,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17696:39:23", + "src": "17761:39:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17656:79:23", + "src": "17721:79:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1923, + "id": 2999, "nodeType": "ExpressionStatement", - "src": "17656:79:23" + "src": "17721:79:15" }, { "eventCall": { @@ -78117,12 +38660,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1925, + "id": 3001, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1883, - "src": "17762:9:23", + "referencedDeclaration": 2959, + "src": "17827:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -78130,12 +38673,12 @@ }, { "argumentTypes": null, - "id": 1926, + "id": 3002, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1881, - "src": "17773:7:23", + "referencedDeclaration": 2957, + "src": "17838:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78153,18 +38696,18 @@ "typeString": "uint256" } ], - "id": 1924, + "id": 3000, "name": "Categorized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "17750:11:23", + "referencedDeclaration": 1763, + "src": "17815:11:15", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes4_$_t_uint256_$returns$__$", "typeString": "function (bytes4,uint256)" } }, - "id": 1927, + "id": 3003, "isConstant": false, "isLValue": false, "isPure": false, @@ -78172,36 +38715,36 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17750:31:23", + "src": "17815:31:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1928, + "id": 3004, "nodeType": "EmitStatement", - "src": "17745:36:23" + "src": "17810:36:15" } ] }, "documentation": "@dev adds id from \"available list\" ", - "id": 1930, + "id": 3006, "implemented": true, "kind": "function", "modifiers": [], "name": "addAvailablePack", "nodeType": "FunctionDefinition", "parameters": { - "id": 1884, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1881, + "id": 2957, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 1930, - "src": "17423:15:23", + "scope": 3006, + "src": "17488:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -78209,10 +38752,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1880, + "id": 2956, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17423:7:23", + "src": "17488:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78223,11 +38766,11 @@ }, { "constant": false, - "id": 1883, + "id": 2959, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 1930, - "src": "17440:16:23", + "scope": 3006, + "src": "17505:16:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -78235,10 +38778,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 1882, + "id": 2958, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "17440:6:23", + "src": "17505:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -78248,38 +38791,38 @@ "visibility": "internal" } ], - "src": "17422:35:23" + "src": "17487:35:15" }, "returnParameters": { - "id": 1885, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "17466:0:23" + "src": "17531:0:15" }, - "scope": 2136, - "src": "17397:391:23", + "scope": 3212, + "src": "17462:391:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "private" }, { "body": { - "id": 2081, + "id": 3157, "nodeType": "Block", - "src": "17932:1058:23", + "src": "17997:1058:15", "statements": [ { "assignments": [ - 1938 + 3014 ], "declarations": [ { "constant": false, - "id": 1938, + "id": 3014, "name": "pos", "nodeType": "VariableDeclaration", - "scope": 2081, - "src": "17942:8:23", + "scope": 3157, + "src": "18007:8:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -78287,10 +38830,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1937, + "id": 3013, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17942:4:23", + "src": "18007:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78300,33 +38843,33 @@ "visibility": "internal" } ], - "id": 1944, + "id": 3020, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1939, + "id": 3015, "name": "availablePacksIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, - "src": "17953:19:23", + "referencedDeclaration": 1848, + "src": "18018:19:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_uint256_$_t_uint256_$_$", "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" } }, - "id": 1941, + "id": 3017, "indexExpression": { "argumentTypes": null, - "id": 1940, + "id": 3016, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1934, - "src": "17973:9:23", + "referencedDeclaration": 3010, + "src": "18038:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -78337,21 +38880,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17953:30:23", + "src": "18018:30:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" } }, - "id": 1943, + "id": 3019, "indexExpression": { "argumentTypes": null, - "id": 1942, + "id": 3018, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1932, - "src": "17984:7:23", + "referencedDeclaration": 3008, + "src": "18049:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78362,14 +38905,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17953:39:23", + "src": "18018:39:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17942:50:23" + "src": "18007:50:15" }, { "expression": { @@ -78381,19 +38924,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1948, + "id": 3024, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1946, + "id": 3022, "name": "pos", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1938, - "src": "18010:3:23", + "referencedDeclaration": 3014, + "src": "18075:3:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78404,14 +38947,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1947, + "id": 3023, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18016:1:23", + "src": "18081:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -78419,7 +38962,7 @@ }, "value": "0" }, - "src": "18010:7:23", + "src": "18075:7:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -78428,14 +38971,14 @@ { "argumentTypes": null, "hexValue": "4e6f742063617465676f72697a6564205b315d", - "id": 1949, + "id": 3025, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "18019:21:23", + "src": "18084:21:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_52e471c96dcc4fb75018b7745234a45676b2c7ed7adb1172568d14fb284eb937", @@ -78455,21 +38998,21 @@ "typeString": "literal_string \"Not categorized [1]\"" } ], - "id": 1945, + "id": 3021, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "18002:7:23", + "referencedDeclaration": 5711, + "src": "18067:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1950, + "id": 3026, "isConstant": false, "isLValue": false, "isPure": false, @@ -78477,20 +39020,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18002:39:23", + "src": "18067:39:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1951, + "id": 3027, "nodeType": "ExpressionStatement", - "src": "18002:39:23" + "src": "18067:39:15" }, { "expression": { "argumentTypes": null, - "id": 1957, + "id": 3033, "isConstant": false, "isLValue": false, "isPure": false, @@ -78498,33 +39041,33 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "18051:46:23", + "src": "18116:46:15", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1952, + "id": 3028, "name": "availablePacksIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, - "src": "18058:19:23", + "referencedDeclaration": 1848, + "src": "18123:19:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_uint256_$_t_uint256_$_$", "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" } }, - "id": 1954, + "id": 3030, "indexExpression": { "argumentTypes": null, - "id": 1953, + "id": 3029, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1934, - "src": "18078:9:23", + "referencedDeclaration": 3010, + "src": "18143:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -78535,21 +39078,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18058:30:23", + "src": "18123:30:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" } }, - "id": 1956, + "id": 3032, "indexExpression": { "argumentTypes": null, - "id": 1955, + "id": 3031, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1932, - "src": "18089:7:23", + "referencedDeclaration": 3008, + "src": "18154:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78560,7 +39103,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18058:39:23", + "src": "18123:39:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78571,9 +39114,9 @@ "typeString": "tuple()" } }, - "id": 1958, + "id": 3034, "nodeType": "ExpressionStatement", - "src": "18051:46:23" + "src": "18116:46:15" }, { "condition": { @@ -78582,19 +39125,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1964, + "id": 3040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1959, + "id": 3035, "name": "pos", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1938, - "src": "18110:3:23", + "referencedDeclaration": 3014, + "src": "18175:3:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78608,26 +39151,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1960, + "id": 3036, "name": "availablePacks", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 769, - "src": "18117:14:23", + "referencedDeclaration": 1842, + "src": "18182:14:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes4 => uint256[] storage ref)" } }, - "id": 1962, + "id": 3038, "indexExpression": { "argumentTypes": null, - "id": 1961, + "id": 3037, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1934, - "src": "18132:9:23", + "referencedDeclaration": 3010, + "src": "18197:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -78638,13 +39181,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18117:25:23", + "src": "18182:25:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 1963, + "id": 3039, "isConstant": false, "isLValue": true, "isPure": false, @@ -78652,39 +39195,39 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18117:32:23", + "src": "18182:32:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18110:39:23", + "src": "18175:39:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1997, + "id": 3073, "nodeType": "IfStatement", - "src": "18107:288:23", + "src": "18172:288:15", "trueBody": { - "id": 1996, + "id": 3072, "nodeType": "Block", - "src": "18150:245:23", + "src": "18215:245:15", "statements": [ { "assignments": [ - 1966 + 3042 ], "declarations": [ { "constant": false, - "id": 1966, + "id": 3042, "name": "movedElement", "nodeType": "VariableDeclaration", - "scope": 1996, - "src": "18164:20:23", + "scope": 3072, + "src": "18229:20:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -78692,10 +39235,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1965, + "id": 3041, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18164:7:23", + "src": "18229:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78705,33 +39248,33 @@ "visibility": "internal" } ], - "id": 1977, + "id": 3053, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1967, + "id": 3043, "name": "availablePacks", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 769, - "src": "18187:14:23", + "referencedDeclaration": 1842, + "src": "18252:14:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes4 => uint256[] storage ref)" } }, - "id": 1969, + "id": 3045, "indexExpression": { "argumentTypes": null, - "id": 1968, + "id": 3044, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1934, - "src": "18202:9:23", + "referencedDeclaration": 3010, + "src": "18267:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -78742,20 +39285,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18187:25:23", + "src": "18252:25:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 1976, + "id": 3052, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1975, + "id": 3051, "isConstant": false, "isLValue": false, "isPure": false, @@ -78766,26 +39309,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1970, + "id": 3046, "name": "availablePacks", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 769, - "src": "18213:14:23", + "referencedDeclaration": 1842, + "src": "18278:14:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes4 => uint256[] storage ref)" } }, - "id": 1972, + "id": 3048, "indexExpression": { "argumentTypes": null, - "id": 1971, + "id": 3047, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1934, - "src": "18228:9:23", + "referencedDeclaration": 3010, + "src": "18293:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -78796,13 +39339,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18213:25:23", + "src": "18278:25:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 1973, + "id": 3049, "isConstant": false, "isLValue": true, "isPure": false, @@ -78810,7 +39353,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18213:32:23", + "src": "18278:32:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78821,14 +39364,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1974, + "id": 3050, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18246:1:23", + "src": "18311:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -78836,7 +39379,7 @@ }, "value": "1" }, - "src": "18213:34:23", + "src": "18278:34:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78847,19 +39390,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18187:61:23", + "src": "18252:61:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "18164:84:23" + "src": "18229:84:15" }, { "expression": { "argumentTypes": null, - "id": 1986, + "id": 3062, "isConstant": false, "isLValue": false, "isPure": false, @@ -78870,26 +39413,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1978, + "id": 3054, "name": "availablePacks", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 769, - "src": "18273:14:23", + "referencedDeclaration": 1842, + "src": "18338:14:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes4 => uint256[] storage ref)" } }, - "id": 1983, + "id": 3059, "indexExpression": { "argumentTypes": null, - "id": 1979, + "id": 3055, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1934, - "src": "18288:9:23", + "referencedDeclaration": 3010, + "src": "18353:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -78900,32 +39443,32 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18273:25:23", + "src": "18338:25:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 1984, + "id": 3060, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1982, + "id": 3058, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1980, + "id": 3056, "name": "pos", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1938, - "src": "18299:3:23", + "referencedDeclaration": 3014, + "src": "18364:3:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78936,14 +39479,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1981, + "id": 3057, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18303:1:23", + "src": "18368:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -78951,7 +39494,7 @@ }, "value": "1" }, - "src": "18299:5:23", + "src": "18364:5:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78962,7 +39505,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18273:32:23", + "src": "18338:32:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -78972,31 +39515,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1985, + "id": 3061, "name": "movedElement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1966, - "src": "18308:12:23", + "referencedDeclaration": 3042, + "src": "18373:12:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18273:47:23", + "src": "18338:47:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1987, + "id": 3063, "nodeType": "ExpressionStatement", - "src": "18273:47:23" + "src": "18338:47:15" }, { "expression": { "argumentTypes": null, - "id": 1994, + "id": 3070, "isConstant": false, "isLValue": false, "isPure": false, @@ -79007,26 +39550,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1988, + "id": 3064, "name": "availablePacksIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 775, - "src": "18334:19:23", + "referencedDeclaration": 1848, + "src": "18399:19:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_mapping$_t_uint256_$_t_uint256_$_$", "typeString": "mapping(bytes4 => mapping(uint256 => uint256))" } }, - "id": 1991, + "id": 3067, "indexExpression": { "argumentTypes": null, - "id": 1989, + "id": 3065, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1934, - "src": "18354:9:23", + "referencedDeclaration": 3010, + "src": "18419:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -79037,21 +39580,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18334:30:23", + "src": "18399:30:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" } }, - "id": 1992, + "id": 3068, "indexExpression": { "argumentTypes": null, - "id": 1990, + "id": 3066, "name": "movedElement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1966, - "src": "18365:12:23", + "referencedDeclaration": 3042, + "src": "18430:12:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79062,7 +39605,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18334:44:23", + "src": "18399:44:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79072,26 +39615,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1993, + "id": 3069, "name": "pos", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1938, - "src": "18381:3:23", + "referencedDeclaration": 3014, + "src": "18446:3:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18334:50:23", + "src": "18399:50:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1995, + "id": 3071, "nodeType": "ExpressionStatement", - "src": "18334:50:23" + "src": "18399:50:15" } ] } @@ -79099,7 +39642,7 @@ { "expression": { "argumentTypes": null, - "id": 2002, + "id": 3078, "isConstant": false, "isLValue": false, "isPure": false, @@ -79107,33 +39650,33 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "18404:34:23", + "src": "18469:34:15", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1998, + "id": 3074, "name": "availablePacks", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 769, - "src": "18404:14:23", + "referencedDeclaration": 1842, + "src": "18469:14:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_array$_t_uint256_$dyn_storage_$", "typeString": "mapping(bytes4 => uint256[] storage ref)" } }, - "id": 2000, + "id": 3076, "indexExpression": { "argumentTypes": null, - "id": 1999, + "id": 3075, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1934, - "src": "18419:9:23", + "referencedDeclaration": 3010, + "src": "18484:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -79144,13 +39687,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18404:25:23", + "src": "18469:25:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage", "typeString": "uint256[] storage ref" } }, - "id": 2001, + "id": 3077, "isConstant": false, "isLValue": true, "isPure": false, @@ -79158,7 +39701,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18404:32:23", + "src": "18469:32:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79169,22 +39712,22 @@ "typeString": "uint256" } }, - "id": 2003, + "id": 3079, "nodeType": "ExpressionStatement", - "src": "18404:34:23" + "src": "18469:34:15" }, { "assignments": [ - 2005 + 3081 ], "declarations": [ { "constant": false, - "id": 2005, + "id": 3081, "name": "pos2", "nodeType": "VariableDeclaration", - "scope": 2081, - "src": "18449:9:23", + "scope": 3157, + "src": "18514:9:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -79192,10 +39735,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2004, + "id": 3080, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "18449:4:23", + "src": "18514:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79205,33 +39748,33 @@ "visibility": "internal" } ], - "id": 2011, + "id": 3087, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2006, + "id": 3082, "name": "packCategoryIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "18461:17:23", + "referencedDeclaration": 1854, + "src": "18526:17:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" } }, - "id": 2008, + "id": 3084, "indexExpression": { "argumentTypes": null, - "id": 2007, + "id": 3083, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1932, - "src": "18479:7:23", + "referencedDeclaration": 3008, + "src": "18544:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79242,21 +39785,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18461:26:23", + "src": "18526:26:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", "typeString": "mapping(bytes4 => uint256)" } }, - "id": 2010, + "id": 3086, "indexExpression": { "argumentTypes": null, - "id": 2009, + "id": 3085, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1934, - "src": "18488:9:23", + "referencedDeclaration": 3010, + "src": "18553:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -79267,14 +39810,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18461:37:23", + "src": "18526:37:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "18449:49:23" + "src": "18514:49:15" }, { "expression": { @@ -79286,19 +39829,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2015, + "id": 3091, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2013, + "id": 3089, "name": "pos2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2005, - "src": "18516:4:23", + "referencedDeclaration": 3081, + "src": "18581:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79309,14 +39852,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 2014, + "id": 3090, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18523:1:23", + "src": "18588:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -79324,7 +39867,7 @@ }, "value": "0" }, - "src": "18516:8:23", + "src": "18581:8:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -79333,14 +39876,14 @@ { "argumentTypes": null, "hexValue": "4e6f742063617465676f72697a6564205b325d", - "id": 2016, + "id": 3092, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "18526:21:23", + "src": "18591:21:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_dda8097b5e15d0631087cb303e1a590cdc98e2f966c409b3879fd9125fda9919", @@ -79360,21 +39903,21 @@ "typeString": "literal_string \"Not categorized [2]\"" } ], - "id": 2012, + "id": 3088, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "18508:7:23", + "referencedDeclaration": 5711, + "src": "18573:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2017, + "id": 3093, "isConstant": false, "isLValue": false, "isPure": false, @@ -79382,20 +39925,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18508:40:23", + "src": "18573:40:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2018, + "id": 3094, "nodeType": "ExpressionStatement", - "src": "18508:40:23" + "src": "18573:40:15" }, { "expression": { "argumentTypes": null, - "id": 2024, + "id": 3100, "isConstant": false, "isLValue": false, "isPure": false, @@ -79403,33 +39946,33 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "18558:44:23", + "src": "18623:44:15", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2019, + "id": 3095, "name": "packCategoryIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "18565:17:23", + "referencedDeclaration": 1854, + "src": "18630:17:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" } }, - "id": 2021, + "id": 3097, "indexExpression": { "argumentTypes": null, - "id": 2020, + "id": 3096, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1932, - "src": "18583:7:23", + "referencedDeclaration": 3008, + "src": "18648:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79440,21 +39983,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18565:26:23", + "src": "18630:26:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", "typeString": "mapping(bytes4 => uint256)" } }, - "id": 2023, + "id": 3099, "indexExpression": { "argumentTypes": null, - "id": 2022, + "id": 3098, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1934, - "src": "18592:9:23", + "referencedDeclaration": 3010, + "src": "18657:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -79465,7 +40008,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18565:37:23", + "src": "18630:37:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79476,9 +40019,9 @@ "typeString": "tuple()" } }, - "id": 2025, + "id": 3101, "nodeType": "ExpressionStatement", - "src": "18558:44:23" + "src": "18623:44:15" }, { "condition": { @@ -79487,19 +40030,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2032, + "id": 3108, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2026, + "id": 3102, "name": "pos2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2005, - "src": "18615:4:23", + "referencedDeclaration": 3081, + "src": "18680:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79515,26 +40058,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2027, + "id": 3103, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "18623:5:23", + "referencedDeclaration": 1829, + "src": "18688:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 2029, + "id": 3105, "indexExpression": { "argumentTypes": null, - "id": 2028, + "id": 3104, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1932, - "src": "18629:7:23", + "referencedDeclaration": 3008, + "src": "18694:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79545,27 +40088,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18623:14:23", + "src": "18688:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 2030, + "id": 3106, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "category", "nodeType": "MemberAccess", - "referencedDeclaration": 729, - "src": "18623:23:23", + "referencedDeclaration": 1802, + "src": "18688:23:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", "typeString": "bytes4[] storage ref" } }, - "id": 2031, + "id": 3107, "isConstant": false, "isLValue": true, "isPure": false, @@ -79573,39 +40116,39 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18623:30:23", + "src": "18688:30:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18615:38:23", + "src": "18680:38:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 2068, + "id": 3144, "nodeType": "IfStatement", - "src": "18612:281:23", + "src": "18677:281:15", "trueBody": { - "id": 2067, + "id": 3143, "nodeType": "Block", - "src": "18654:239:23", + "src": "18719:239:15", "statements": [ { "assignments": [ - 2034 + 3110 ], "declarations": [ { "constant": false, - "id": 2034, + "id": 3110, "name": "movedElement2", "nodeType": "VariableDeclaration", - "scope": 2067, - "src": "18668:20:23", + "scope": 3143, + "src": "18733:20:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -79613,10 +40156,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2033, + "id": 3109, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "18668:6:23", + "src": "18733:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -79626,7 +40169,7 @@ "visibility": "internal" } ], - "id": 2047, + "id": 3123, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -79635,26 +40178,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2035, + "id": 3111, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "18691:5:23", + "referencedDeclaration": 1829, + "src": "18756:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 2037, + "id": 3113, "indexExpression": { "argumentTypes": null, - "id": 2036, + "id": 3112, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1932, - "src": "18697:7:23", + "referencedDeclaration": 3008, + "src": "18762:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79665,34 +40208,34 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18691:14:23", + "src": "18756:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 2038, + "id": 3114, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "category", "nodeType": "MemberAccess", - "referencedDeclaration": 729, - "src": "18691:23:23", + "referencedDeclaration": 1802, + "src": "18756:23:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", "typeString": "bytes4[] storage ref" } }, - "id": 2046, + "id": 3122, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2045, + "id": 3121, "isConstant": false, "isLValue": false, "isPure": false, @@ -79705,26 +40248,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2039, + "id": 3115, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "18715:5:23", + "referencedDeclaration": 1829, + "src": "18780:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 2041, + "id": 3117, "indexExpression": { "argumentTypes": null, - "id": 2040, + "id": 3116, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1932, - "src": "18721:7:23", + "referencedDeclaration": 3008, + "src": "18786:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79735,27 +40278,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18715:14:23", + "src": "18780:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 2042, + "id": 3118, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "category", "nodeType": "MemberAccess", - "referencedDeclaration": 729, - "src": "18715:23:23", + "referencedDeclaration": 1802, + "src": "18780:23:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", "typeString": "bytes4[] storage ref" } }, - "id": 2043, + "id": 3119, "isConstant": false, "isLValue": true, "isPure": false, @@ -79763,7 +40306,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18715:30:23", + "src": "18780:30:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79774,14 +40317,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2044, + "id": 3120, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18746:1:23", + "src": "18811:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -79789,7 +40332,7 @@ }, "value": "1" }, - "src": "18715:32:23", + "src": "18780:32:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79800,19 +40343,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18691:57:23", + "src": "18756:57:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "VariableDeclarationStatement", - "src": "18668:80:23" + "src": "18733:80:15" }, { "expression": { "argumentTypes": null, - "id": 2057, + "id": 3133, "isConstant": false, "isLValue": false, "isPure": false, @@ -79825,26 +40368,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2048, + "id": 3124, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "18773:5:23", + "referencedDeclaration": 1829, + "src": "18838:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 2050, + "id": 3126, "indexExpression": { "argumentTypes": null, - "id": 2049, + "id": 3125, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1932, - "src": "18779:7:23", + "referencedDeclaration": 3008, + "src": "18844:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79855,46 +40398,46 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18773:14:23", + "src": "18838:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 2051, + "id": 3127, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "category", "nodeType": "MemberAccess", - "referencedDeclaration": 729, - "src": "18773:23:23", + "referencedDeclaration": 1802, + "src": "18838:23:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", "typeString": "bytes4[] storage ref" } }, - "id": 2055, + "id": 3131, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2054, + "id": 3130, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2052, + "id": 3128, "name": "pos2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2005, - "src": "18797:4:23", + "referencedDeclaration": 3081, + "src": "18862:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79905,14 +40448,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2053, + "id": 3129, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18802:1:23", + "src": "18867:1:15", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -79920,7 +40463,7 @@ }, "value": "1" }, - "src": "18797:6:23", + "src": "18862:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -79931,7 +40474,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18773:31:23", + "src": "18838:31:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -79941,31 +40484,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2056, + "id": 3132, "name": "movedElement2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2034, - "src": "18807:13:23", + "referencedDeclaration": 3110, + "src": "18872:13:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "18773:47:23", + "src": "18838:47:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 2058, + "id": 3134, "nodeType": "ExpressionStatement", - "src": "18773:47:23" + "src": "18838:47:15" }, { "expression": { "argumentTypes": null, - "id": 2065, + "id": 3141, "isConstant": false, "isLValue": false, "isPure": false, @@ -79976,26 +40519,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2059, + "id": 3135, "name": "packCategoryIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 781, - "src": "18834:17:23", + "referencedDeclaration": 1854, + "src": "18899:17:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes4_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes4 => uint256))" } }, - "id": 2062, + "id": 3138, "indexExpression": { "argumentTypes": null, - "id": 2060, + "id": 3136, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1932, - "src": "18852:7:23", + "referencedDeclaration": 3008, + "src": "18917:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -80006,21 +40549,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18834:26:23", + "src": "18899:26:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_uint256_$", "typeString": "mapping(bytes4 => uint256)" } }, - "id": 2063, + "id": 3139, "indexExpression": { "argumentTypes": null, - "id": 2061, + "id": 3137, "name": "movedElement2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2034, - "src": "18861:13:23", + "referencedDeclaration": 3110, + "src": "18926:13:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -80031,7 +40574,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18834:41:23", + "src": "18899:41:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -80041,26 +40584,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2064, + "id": 3140, "name": "pos2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2005, - "src": "18878:4:23", + "referencedDeclaration": 3081, + "src": "18943:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18834:48:23", + "src": "18899:48:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2066, + "id": 3142, "nodeType": "ExpressionStatement", - "src": "18834:48:23" + "src": "18899:48:15" } ] } @@ -80068,7 +40611,7 @@ { "expression": { "argumentTypes": null, - "id": 2074, + "id": 3150, "isConstant": false, "isLValue": false, "isPure": false, @@ -80076,7 +40619,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "18902:32:23", + "src": "18967:32:15", "subExpression": { "argumentTypes": null, "expression": { @@ -80085,26 +40628,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2069, + "id": 3145, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "18902:5:23", + "referencedDeclaration": 1829, + "src": "18967:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 2071, + "id": 3147, "indexExpression": { "argumentTypes": null, - "id": 2070, + "id": 3146, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1932, - "src": "18908:7:23", + "referencedDeclaration": 3008, + "src": "18973:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -80115,27 +40658,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18902:14:23", + "src": "18967:14:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "id": 2072, + "id": 3148, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "category", "nodeType": "MemberAccess", - "referencedDeclaration": 729, - "src": "18902:23:23", + "referencedDeclaration": 1802, + "src": "18967:23:15", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage", "typeString": "bytes4[] storage ref" } }, - "id": 2073, + "id": 3149, "isConstant": false, "isLValue": true, "isPure": false, @@ -80143,7 +40686,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18902:30:23", + "src": "18967:30:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -80154,9 +40697,9 @@ "typeString": "uint256" } }, - "id": 2075, + "id": 3151, "nodeType": "ExpressionStatement", - "src": "18902:32:23" + "src": "18967:32:15" }, { "eventCall": { @@ -80164,12 +40707,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2077, + "id": 3153, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1934, - "src": "18963:9:23", + "referencedDeclaration": 3010, + "src": "19028:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -80177,12 +40720,12 @@ }, { "argumentTypes": null, - "id": 2078, + "id": 3154, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1932, - "src": "18974:7:23", + "referencedDeclaration": 3008, + "src": "19039:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -80200,18 +40743,18 @@ "typeString": "uint256" } ], - "id": 2076, + "id": 3152, "name": "Uncategorized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 696, - "src": "18949:13:23", + "referencedDeclaration": 1769, + "src": "19014:13:15", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes4_$_t_uint256_$returns$__$", "typeString": "function (bytes4,uint256)" } }, - "id": 2079, + "id": 3155, "isConstant": false, "isLValue": false, "isPure": false, @@ -80219,36 +40762,36 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18949:33:23", + "src": "19014:33:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2080, + "id": 3156, "nodeType": "EmitStatement", - "src": "18944:38:23" + "src": "19009:38:15" } ] }, "documentation": "@dev remove id from \"available list\" ", - "id": 2082, + "id": 3158, "implemented": true, "kind": "function", "modifiers": [], "name": "removeAvailablePack", "nodeType": "FunctionDefinition", "parameters": { - "id": 1935, + "id": 3011, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1932, + "id": 3008, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2082, - "src": "17889:15:23", + "scope": 3158, + "src": "17954:15:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -80256,10 +40799,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1931, + "id": 3007, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17889:7:23", + "src": "17954:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -80270,11 +40813,11 @@ }, { "constant": false, - "id": 1934, + "id": 3010, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 2082, - "src": "17906:16:23", + "scope": 3158, + "src": "17971:16:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -80282,10 +40825,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 1933, + "id": 3009, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "17906:6:23", + "src": "17971:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -80295,44 +40838,44 @@ "visibility": "internal" } ], - "src": "17888:35:23" + "src": "17953:35:15" }, "returnParameters": { - "id": 1936, + "id": 3012, "nodeType": "ParameterList", "parameters": [], - "src": "17932:0:23" + "src": "17997:0:15" }, - "scope": 2136, - "src": "17860:1130:23", + "scope": 3212, + "src": "17925:1130:15", "stateMutability": "nonpayable", "superFunction": null, "visibility": "private" }, { "body": { - "id": 2097, + "id": 3173, "nodeType": "Block", - "src": "19124:52:23", + "src": "19189:52:15", "statements": [ { "expression": { "argumentTypes": null, - "id": 2095, + "id": 3171, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2089, + "id": 3165, "name": "pack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2087, - "src": "19134:4:23", + "referencedDeclaration": 3163, + "src": "19199:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, @@ -80342,42 +40885,42 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2090, + "id": 3166, "name": "packs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 756, - "src": "19141:5:23", + "referencedDeclaration": 1829, + "src": "19206:5:15", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$742_storage_$", + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_Pack_$1815_storage_$", "typeString": "mapping(uint256 => struct StickerMarket.Pack storage ref)" } }, - "id": 2094, + "id": 3170, "indexExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2091, + "id": 3167, "name": "tokenPackId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 760, - "src": "19147:11:23", + "referencedDeclaration": 1833, + "src": "19212:11:15", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", "typeString": "mapping(uint256 => uint256)" } }, - "id": 2093, + "id": 3169, "indexExpression": { "argumentTypes": null, - "id": 2092, + "id": 3168, "name": "_tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "19159:8:23", + "referencedDeclaration": 3160, + "src": "19224:8:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -80388,7 +40931,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19147:21:23", + "src": "19212:21:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -80399,42 +40942,42 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19141:28:23", + "src": "19206:28:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage", + "typeIdentifier": "t_struct$_Pack_$1815_storage", "typeString": "struct StickerMarket.Pack storage ref" } }, - "src": "19134:35:23", + "src": "19199:35:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack memory" } }, - "id": 2096, + "id": 3172, "nodeType": "ExpressionStatement", - "src": "19134:35:23" + "src": "19199:35:15" } ] }, "documentation": "@dev reads token pack data", - "id": 2098, + "id": 3174, "implemented": true, "kind": "function", "modifiers": [], "name": "getTokenPack", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 3161, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2084, + "id": 3160, "name": "_tokenId", "nodeType": "VariableDeclaration", - "scope": 2098, - "src": "19068:16:23", + "scope": 3174, + "src": "19133:16:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -80442,10 +40985,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2083, + "id": 3159, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "19068:7:23", + "src": "19133:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -80455,34 +40998,34 @@ "visibility": "internal" } ], - "src": "19067:18:23" + "src": "19132:18:15" }, "returnParameters": { - "id": 2088, + "id": 3164, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 3163, "name": "pack", "nodeType": "VariableDeclaration", - "scope": 2098, - "src": "19107:16:23", + "scope": 3174, + "src": "19172:16:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_memory_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_memory_ptr", "typeString": "struct StickerMarket.Pack" }, "typeName": { "contractScope": null, - "id": 2086, + "id": 3162, "name": "Pack", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 742, - "src": "19107:4:23", + "referencedDeclaration": 1815, + "src": "19172:4:15", "typeDescriptions": { - "typeIdentifier": "t_struct$_Pack_$742_storage_ptr", + "typeIdentifier": "t_struct$_Pack_$1815_storage_ptr", "typeString": "struct StickerMarket.Pack" } }, @@ -80490,66 +41033,66 @@ "visibility": "internal" } ], - "src": "19106:18:23" + "src": "19171:18:15" }, - "scope": 2136, - "src": "19046:130:23", + "scope": 3212, + "src": "19111:130:15", "stateMutability": "view", "superFunction": null, "visibility": "private" }, { "body": { - "id": 2106, + "id": 3182, "nodeType": "Block", - "src": "19257:87:23", + "src": "19322:87:15", "statements": [ { "externalReferences": [ { "sig": { - "declaration": 2103, + "declaration": 3179, "isOffset": false, "isSlot": false, - "src": "19290:3:23", + "src": "19355:3:15", "valueSize": 1 } }, { "_data": { - "declaration": 2100, + "declaration": 3176, "isOffset": false, "isSlot": false, - "src": "19307:5:23", + "src": "19372:5:15", "valueSize": 1 } } ], - "id": 2105, + "id": 3181, "nodeType": "InlineAssembly", "operations": "{\n sig := mload(add(_data, add(0x20, 0)))\n}", - "src": "19267:77:23" + "src": "19332:77:15" } ] }, "documentation": null, - "id": 2107, + "id": 3183, "implemented": true, "kind": "function", "modifiers": [], "name": "abiDecodeSig", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 3177, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 3176, "name": "_data", "nodeType": "VariableDeclaration", - "scope": 2107, - "src": "19205:18:23", + "scope": 3183, + "src": "19270:18:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -80557,10 +41100,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2099, + "id": 3175, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "19205:5:23", + "src": "19270:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -80570,19 +41113,19 @@ "visibility": "internal" } ], - "src": "19204:20:23" + "src": "19269:20:15" }, "returnParameters": { - "id": 2104, + "id": 3180, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 3179, "name": "sig", "nodeType": "VariableDeclaration", - "scope": 2107, - "src": "19246:10:23", + "scope": 3183, + "src": "19311:10:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -80590,10 +41133,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2102, + "id": 3178, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "19246:6:23", + "src": "19311:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -80603,19 +41146,19 @@ "visibility": "internal" } ], - "src": "19245:12:23" + "src": "19310:12:15" }, - "scope": 2136, - "src": "19183:161:23", + "scope": 3212, + "src": "19248:161:15", "stateMutability": "pure", "superFunction": null, "visibility": "private" }, { "body": { - "id": 2134, + "id": 3210, "nodeType": "Block", - "src": "19449:2378:23", + "src": "19514:2378:15", "statements": [ { "expression": { @@ -80627,7 +41170,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2125, + "id": 3201, "isConstant": false, "isLValue": false, "isPure": false, @@ -80636,18 +41179,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2119, + "id": 3195, "name": "_bytes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2109, - "src": "19467:6:23", + "referencedDeclaration": 3185, + "src": "19532:6:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2120, + "id": 3196, "isConstant": false, "isLValue": false, "isPure": false, @@ -80655,7 +41198,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19467:13:23", + "src": "19532:13:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -80672,19 +41215,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2123, + "id": 3199, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2121, + "id": 3197, "name": "_start", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2111, - "src": "19485:6:23", + "referencedDeclaration": 3187, + "src": "19550:6:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -80694,38 +41237,38 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 2122, + "id": 3198, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "19494:7:23", + "referencedDeclaration": 3189, + "src": "19559:7:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "19485:16:23", + "src": "19550:16:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 2124, + "id": 3200, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "19484:18:23", + "src": "19549:18:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "19467:35:23", + "src": "19532:35:15", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -80739,21 +41282,21 @@ "typeString": "bool" } ], - "id": 2118, + "id": 3194, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9456, - "src": "19459:7:23", + "referencedDeclaration": 5710, + "src": "19524:7:15", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2126, + "id": 3202, "isConstant": false, "isLValue": false, "isPure": false, @@ -80761,28 +41304,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19459:44:23", + "src": "19524:44:15", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2127, + "id": 3203, "nodeType": "ExpressionStatement", - "src": "19459:44:23" + "src": "19524:44:15" }, { "assignments": [ - 2129 + 3205 ], "declarations": [ { "constant": false, - "id": 2129, + "id": 3205, "name": "tempBytes", "nodeType": "VariableDeclaration", - "scope": 2134, - "src": "19514:22:23", + "scope": 3210, + "src": "19579:22:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -80790,10 +41333,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2128, + "id": 3204, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "19514:5:23", + "src": "19579:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -80803,157 +41346,157 @@ "visibility": "internal" } ], - "id": 2130, + "id": 3206, "initialValue": null, "nodeType": "VariableDeclarationStatement", - "src": "19514:22:23" + "src": "19579:22:15" }, { "externalReferences": [ { "_length": { - "declaration": 2113, + "declaration": 3189, "isOffset": false, "isSlot": false, - "src": "19584:7:23", + "src": "19649:7:15", "valueSize": 1 } }, { "tempBytes": { - "declaration": 2129, + "declaration": 3205, "isOffset": false, "isSlot": false, - "src": "19768:9:23", + "src": "19833:9:15", "valueSize": 1 } }, { "_length": { - "declaration": 2113, + "declaration": 3189, "isOffset": false, "isSlot": false, - "src": "20437:7:23", + "src": "20502:7:15", "valueSize": 1 } }, { "tempBytes": { - "declaration": 2129, + "declaration": 3205, "isOffset": false, "isSlot": false, - "src": "20788:9:23", + "src": "20853:9:15", "valueSize": 1 } }, { "tempBytes": { - "declaration": 2129, + "declaration": 3205, "isOffset": false, "isSlot": false, - "src": "21352:9:23", + "src": "21417:9:15", "valueSize": 1 } }, { "_length": { - "declaration": 2113, + "declaration": 3189, "isOffset": false, "isSlot": false, - "src": "21363:7:23", + "src": "21428:7:15", "valueSize": 1 } }, { "_length": { - "declaration": 2113, + "declaration": 3189, "isOffset": false, "isSlot": false, - "src": "20876:7:23", + "src": "20941:7:15", "valueSize": 1 } }, { "_bytes": { - "declaration": 2109, + "declaration": 3185, "isOffset": false, "isSlot": false, - "src": "21077:6:23", + "src": "21142:6:15", "valueSize": 1 } }, { "_start": { - "declaration": 2111, + "declaration": 3187, "isOffset": false, "isSlot": false, - "src": "21128:6:23", + "src": "21193:6:15", "valueSize": 1 } }, { "tempBytes": { - "declaration": 2129, + "declaration": 3205, "isOffset": false, "isSlot": false, - "src": "21694:9:23", + "src": "21759:9:15", "valueSize": 1 } }, { "tempBytes": { - "declaration": 2129, + "declaration": 3205, "isOffset": false, "isSlot": false, - "src": "21753:9:23", + "src": "21818:9:15", "valueSize": 1 } } ], - "id": 2131, + "id": 3207, "nodeType": "InlineAssembly", "operations": "{\n switch iszero(_length)\n case 0 {\n tempBytes := mload(0x40)\n let lengthmod := and(_length, 31)\n let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\n let end := add(mc, _length)\n for {\n let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\n }\n lt(mc, end)\n {\n mc := add(mc, 0x20)\n cc := add(cc, 0x20)\n }\n {\n mstore(mc, mload(cc))\n }\n mstore(tempBytes, _length)\n mstore(0x40, and(add(mc, 31), not(31)))\n }\n default {\n tempBytes := mload(0x40)\n mstore(0x40, add(tempBytes, 0x20))\n }\n}", - "src": "19547:2263:23" + "src": "19612:2263:15" }, { "expression": { "argumentTypes": null, - "id": 2132, + "id": 3208, "name": "tempBytes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2129, - "src": "21811:9:23", + "referencedDeclaration": 3205, + "src": "21876:9:15", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 2117, - "id": 2133, + "functionReturnParameters": 3193, + "id": 3209, "nodeType": "Return", - "src": "21804:16:23" + "src": "21869:16:15" } ] }, "documentation": null, - "id": 2135, + "id": 3211, "implemented": true, "kind": "function", "modifiers": [], "name": "slice", "nodeType": "FunctionDefinition", "parameters": { - "id": 2114, + "id": 3190, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2109, + "id": 3185, "name": "_bytes", "nodeType": "VariableDeclaration", - "scope": 2135, - "src": "19365:19:23", + "scope": 3211, + "src": "19430:19:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -80961,10 +41504,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2108, + "id": 3184, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "19365:5:23", + "src": "19430:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -80975,11 +41518,11 @@ }, { "constant": false, - "id": 2111, + "id": 3187, "name": "_start", "nodeType": "VariableDeclaration", - "scope": 2135, - "src": "19386:11:23", + "scope": 3211, + "src": "19451:11:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -80987,10 +41530,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2110, + "id": 3186, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19386:4:23", + "src": "19451:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81001,11 +41544,11 @@ }, { "constant": false, - "id": 2113, + "id": 3189, "name": "_length", "nodeType": "VariableDeclaration", - "scope": 2135, - "src": "19399:12:23", + "scope": 3211, + "src": "19464:12:15", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81013,10 +41556,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2112, + "id": 3188, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19399:4:23", + "src": "19464:4:15", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81026,19 +41569,19 @@ "visibility": "internal" } ], - "src": "19364:48:23" + "src": "19429:48:15" }, "returnParameters": { - "id": 2117, + "id": 3193, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2116, + "id": 3192, "name": "", "nodeType": "VariableDeclaration", - "scope": 2135, - "src": "19435:12:23", + "scope": 3211, + "src": "19500:12:15", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -81046,10 +41589,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2115, + "id": 3191, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "19435:5:23", + "src": "19500:5:15", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -81059,33 +41602,33 @@ "visibility": "internal" } ], - "src": "19434:14:23" + "src": "19499:14:15" }, - "scope": 2136, - "src": "19350:2477:23", + "scope": 3212, + "src": "19415:2477:15", "stateMutability": "pure", "superFunction": null, "visibility": "private" } ], - "scope": 2137, - "src": "655:21176:23" + "scope": 3213, + "src": "643:21253:15" } ], - "src": "0:21831:23" + "src": "0:21896:15" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\sticker-market\\StickerMarketMigrated.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\sticker-market\\StickerMarketMigrated.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/sticker-market/StickerMarketMigrated.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/sticker-market/StickerMarketMigrated.sol", "exportedSymbols": { "StickerMarketMigrated": [ - 3142 + 4218 ] }, - "id": 3143, + "id": 4219, "nodeType": "SourceUnit", "nodes": [ { - "id": 2138, + "id": 3214, "literals": [ "solidity", ">=", @@ -81096,49 +41639,49 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "0:31:24" + "src": "0:31:16" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/sticker-market/StickerMarket.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/sticker-market/StickerMarket.sol", - "id": 2139, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/sticker-market/StickerMarket.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/sticker-market/StickerMarket.sol", + "id": 3215, "nodeType": "ImportDirective", - "scope": 3143, - "sourceUnit": 9082, - "src": "33:114:24", + "scope": 4219, + "sourceUnit": 3213, + "src": "33:109:16", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "id": 2140, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Token.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Token.sol", + "id": 3216, "nodeType": "ImportDirective", - "scope": 3143, - "sourceUnit": 5523, - "src": "148:95:24", + "scope": 4219, + "sourceUnit": 4516, + "src": "143:90:16", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", - "id": 2141, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", + "id": 3217, "nodeType": "ImportDirective", - "scope": 3143, - "sourceUnit": 6943, - "src": "244:107:24", + "scope": 4219, + "sourceUnit": 4233, + "src": "234:102:16", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol", - "id": 2142, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Controlled.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Controlled.sol", + "id": 3218, "nodeType": "ImportDirective", - "scope": 3143, - "sourceUnit": 6929, - "src": "352:96:24", + "scope": 4219, + "sourceUnit": 38, + "src": "337:91:16", "symbolAliases": [], "unitAlias": "" }, @@ -81148,51 +41691,51 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 2143, + "id": 3219, "name": "Controlled", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6928, - "src": "702:10:24", + "referencedDeclaration": 37, + "src": "682:10:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_Controlled_$6928", + "typeIdentifier": "t_contract$_Controlled_$37", "typeString": "contract Controlled" } }, - "id": 2144, + "id": 3220, "nodeType": "InheritanceSpecifier", - "src": "702:10:24" + "src": "682:10:16" }, { "arguments": null, "baseName": { "contractScope": null, - "id": 2145, + "id": 3221, "name": "ApproveAndCallFallBack", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6942, - "src": "714:22:24", + "referencedDeclaration": 4232, + "src": "694:22:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ApproveAndCallFallBack_$6942", + "typeIdentifier": "t_contract$_ApproveAndCallFallBack_$4232", "typeString": "contract ApproveAndCallFallBack" } }, - "id": 2146, + "id": 3222, "nodeType": "InheritanceSpecifier", - "src": "714:22:24" + "src": "694:22:16" } ], "contractDependencies": [ - 6928, - 6942 + 37, + 4232 ], "contractKind": "contract", "documentation": "@author Ricardo Guilherme Schmidt (Status Research & Development GmbH) \nStickerMarket allows any address register \"StickerPack\" which can be sold to any address in form of \"StickerPack\", an ERC721 token.", "fullyImplemented": true, - "id": 3142, + "id": 4218, "linearizedBaseContracts": [ - 3142, - 6942, - 6928 + 4218, + 4232, + 37 ], "name": "StickerMarketMigrated", "nodeType": "ContractDefinition", @@ -81200,21 +41743,21 @@ { "anonymous": false, "documentation": null, - "id": 2154, + "id": 3230, "name": "Register", "nodeType": "EventDefinition", "parameters": { - "id": 2153, + "id": 3229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 3224, "indexed": true, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 2154, - "src": "758:22:24", + "scope": 3230, + "src": "738:22:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81222,10 +41765,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2147, + "id": 3223, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "758:7:24", + "src": "738:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81236,12 +41779,12 @@ }, { "constant": false, - "id": 2150, + "id": 3226, "indexed": false, "name": "dataPrice", "nodeType": "VariableDeclaration", - "scope": 2154, - "src": "782:17:24", + "scope": 3230, + "src": "762:17:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81249,10 +41792,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2149, + "id": 3225, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "782:7:24", + "src": "762:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81263,12 +41806,12 @@ }, { "constant": false, - "id": 2152, + "id": 3228, "indexed": false, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 2154, - "src": "801:18:24", + "scope": 3230, + "src": "781:18:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81276,10 +41819,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2151, + "id": 3227, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "801:5:24", + "src": "781:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -81289,28 +41832,28 @@ "visibility": "internal" } ], - "src": "757:63:24" + "src": "737:63:16" }, - "src": "743:78:24" + "src": "723:78:16" }, { "anonymous": false, "documentation": null, - "id": 2160, + "id": 3236, "name": "Categorized", "nodeType": "EventDefinition", "parameters": { - "id": 2159, + "id": 3235, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2156, + "id": 3232, "indexed": true, "name": "category", "nodeType": "VariableDeclaration", - "scope": 2160, - "src": "844:23:24", + "scope": 3236, + "src": "824:23:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81318,10 +41861,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2155, + "id": 3231, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "844:6:24", + "src": "824:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -81332,12 +41875,12 @@ }, { "constant": false, - "id": 2158, + "id": 3234, "indexed": true, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 2160, - "src": "869:22:24", + "scope": 3236, + "src": "849:22:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81345,10 +41888,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 3233, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "869:7:24", + "src": "849:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81358,28 +41901,28 @@ "visibility": "internal" } ], - "src": "843:49:24" + "src": "823:49:16" }, - "src": "826:67:24" + "src": "806:67:16" }, { "anonymous": false, "documentation": null, - "id": 2166, + "id": 3242, "name": "Uncategorized", "nodeType": "EventDefinition", "parameters": { - "id": 2165, + "id": 3241, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2162, + "id": 3238, "indexed": true, "name": "category", "nodeType": "VariableDeclaration", - "scope": 2166, - "src": "918:23:24", + "scope": 3242, + "src": "898:23:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81387,10 +41930,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2161, + "id": 3237, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "918:6:24", + "src": "898:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -81401,12 +41944,12 @@ }, { "constant": false, - "id": 2164, + "id": 3240, "indexed": true, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 2166, - "src": "943:22:24", + "scope": 3242, + "src": "923:22:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81414,10 +41957,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2163, + "id": 3239, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "943:7:24", + "src": "923:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81427,28 +41970,28 @@ "visibility": "internal" } ], - "src": "917:49:24" + "src": "897:49:16" }, - "src": "898:69:24" + "src": "878:69:16" }, { "anonymous": false, "documentation": null, - "id": 2170, + "id": 3246, "name": "Unregister", "nodeType": "EventDefinition", "parameters": { - "id": 2169, + "id": 3245, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2168, + "id": 3244, "indexed": true, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 2170, - "src": "989:22:24", + "scope": 3246, + "src": "969:22:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81456,10 +41999,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2167, + "id": 3243, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "989:7:24", + "src": "969:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81469,28 +42012,28 @@ "visibility": "internal" } ], - "src": "988:24:24" + "src": "968:24:16" }, - "src": "972:41:24" + "src": "952:41:16" }, { "anonymous": false, "documentation": null, - "id": 2178, + "id": 3254, "name": "ClaimedTokens", "nodeType": "EventDefinition", "parameters": { - "id": 2177, + "id": 3253, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2172, + "id": 3248, "indexed": true, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 2178, - "src": "1038:22:24", + "scope": 3254, + "src": "1018:22:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81498,10 +42041,10 @@ "typeString": "address" }, "typeName": { - "id": 2171, + "id": 3247, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1038:7:24", + "src": "1018:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -81513,12 +42056,12 @@ }, { "constant": false, - "id": 2174, + "id": 3250, "indexed": true, "name": "_controller", "nodeType": "VariableDeclaration", - "scope": 2178, - "src": "1062:27:24", + "scope": 3254, + "src": "1042:27:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81526,10 +42069,10 @@ "typeString": "address" }, "typeName": { - "id": 2173, + "id": 3249, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1062:7:24", + "src": "1042:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -81541,12 +42084,12 @@ }, { "constant": false, - "id": 2176, + "id": 3252, "indexed": false, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 2178, - "src": "1091:15:24", + "scope": 3254, + "src": "1071:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81554,10 +42097,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2175, + "id": 3251, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1091:7:24", + "src": "1071:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81567,43 +42110,43 @@ "visibility": "internal" } ], - "src": "1037:70:24" + "src": "1017:70:16" }, - "src": "1018:90:24" + "src": "998:90:16" }, { "anonymous": false, "documentation": null, - "id": 2182, + "id": 3258, "name": "MarketState", "nodeType": "EventDefinition", "parameters": { - "id": 2181, + "id": 3257, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2180, + "id": 3256, "indexed": false, "name": "state", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "1131:11:24", + "scope": 3258, + "src": "1111:11:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" }, "typeName": { "contractScope": null, - "id": 2179, + "id": 3255, "name": "State", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2196, - "src": "1131:5:24", + "referencedDeclaration": 3272, + "src": "1111:5:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, @@ -81611,28 +42154,28 @@ "visibility": "internal" } ], - "src": "1130:13:24" + "src": "1110:13:16" }, - "src": "1113:31:24" + "src": "1093:31:16" }, { "anonymous": false, "documentation": null, - "id": 2186, + "id": 3262, "name": "RegisterFee", "nodeType": "EventDefinition", "parameters": { - "id": 2185, + "id": 3261, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2184, + "id": 3260, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", - "scope": 2186, - "src": "1167:13:24", + "scope": 3262, + "src": "1147:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81640,10 +42183,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2183, + "id": 3259, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1167:7:24", + "src": "1147:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81653,28 +42196,28 @@ "visibility": "internal" } ], - "src": "1166:15:24" + "src": "1146:15:16" }, - "src": "1149:33:24" + "src": "1129:33:16" }, { "anonymous": false, "documentation": null, - "id": 2190, + "id": 3266, "name": "BurnRate", "nodeType": "EventDefinition", "parameters": { - "id": 2189, + "id": 3265, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2188, + "id": 3264, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", - "scope": 2190, - "src": "1202:13:24", + "scope": 3266, + "src": "1182:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -81682,10 +42225,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2187, + "id": 3263, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1202:7:24", + "src": "1182:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81695,71 +42238,71 @@ "visibility": "internal" } ], - "src": "1201:15:24" + "src": "1181:15:16" }, - "src": "1187:30:24" + "src": "1167:30:16" }, { "canonicalName": "StickerMarketMigrated.State", - "id": 2196, + "id": 3272, "members": [ { - "id": 2191, + "id": 3267, "name": "Invalid", "nodeType": "EnumValue", - "src": "1236:7:24" + "src": "1216:7:16" }, { - "id": 2192, + "id": 3268, "name": "Open", "nodeType": "EnumValue", - "src": "1245:4:24" + "src": "1225:4:16" }, { - "id": 2193, + "id": 3269, "name": "BuyOnly", "nodeType": "EnumValue", - "src": "1251:7:24" + "src": "1231:7:16" }, { - "id": 2194, + "id": 3270, "name": "Controlled", "nodeType": "EnumValue", - "src": "1260:10:24" + "src": "1240:10:16" }, { - "id": 2195, + "id": 3271, "name": "Closed", "nodeType": "EnumValue", - "src": "1272:6:24" + "src": "1252:6:16" } ], "name": "State", "nodeType": "EnumDefinition", - "src": "1223:57:24" + "src": "1203:57:16" }, { "constant": false, - "id": 2200, + "id": 3276, "name": "state", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "1286:31:24", + "scope": 4218, + "src": "1266:31:16", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" }, "typeName": { "contractScope": null, - "id": 2197, + "id": 3273, "name": "State", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2196, - "src": "1286:5:24", + "referencedDeclaration": 3272, + "src": "1266:5:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, @@ -81767,18 +42310,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2198, + "id": 3274, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2196, - "src": "1307:5:24", + "referencedDeclaration": 3272, + "src": "1287:5:16", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$2196_$", + "typeIdentifier": "t_type$_t_enum$_State_$3272_$", "typeString": "type(enum StickerMarketMigrated.State)" } }, - "id": 2199, + "id": 3275, "isConstant": false, "isLValue": false, "isPure": true, @@ -81786,9 +42329,9 @@ "memberName": "Open", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1307:10:24", + "src": "1287:10:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, @@ -81796,11 +42339,11 @@ }, { "constant": false, - "id": 2202, + "id": 3278, "name": "registerFee", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "1323:19:24", + "scope": 4218, + "src": "1303:19:16", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -81808,10 +42351,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2201, + "id": 3277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1323:7:24", + "src": "1303:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81822,11 +42365,11 @@ }, { "constant": false, - "id": 2204, + "id": 3280, "name": "burnRate", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "1348:16:24", + "scope": 4218, + "src": "1328:16:16", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -81834,10 +42377,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2203, + "id": 3279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1348:7:24", + "src": "1328:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -81848,26 +42391,26 @@ }, { "constant": false, - "id": 2206, + "id": 3282, "name": "snt", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "1428:21:24", + "scope": 4218, + "src": "1408:21:16", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 2205, + "id": 3281, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "1428:10:24", + "referencedDeclaration": 4515, + "src": "1408:10:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -81876,26 +42419,26 @@ }, { "constant": false, - "id": 2208, + "id": 3284, "name": "registry", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "1471:29:24", + "scope": 4218, + "src": "1451:29:16", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" }, "typeName": { "contractScope": null, - "id": 2207, + "id": 3283, "name": "StickerMarket", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9081, - "src": "1471:13:24", + "referencedDeclaration": 3212, + "src": "1451:13:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, @@ -81904,9 +42447,9 @@ }, { "body": { - "id": 2230, + "id": 3306, "nodeType": "Block", - "src": "1600:134:24", + "src": "1580:134:16", "statements": [ { "expression": { @@ -81918,7 +42461,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2225, + "id": 3301, "isConstant": false, "isLValue": false, "isPure": false, @@ -81926,24 +42469,24 @@ "leftExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" }, - "id": 2214, + "id": 3290, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2211, + "id": 3287, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2200, - "src": "1618:5:24", + "referencedDeclaration": 3276, + "src": "1598:5:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, @@ -81953,18 +42496,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2212, + "id": 3288, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2196, - "src": "1627:5:24", + "referencedDeclaration": 3272, + "src": "1607:5:16", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$2196_$", + "typeIdentifier": "t_type$_t_enum$_State_$3272_$", "typeString": "type(enum StickerMarketMigrated.State)" } }, - "id": 2213, + "id": 3289, "isConstant": false, "isLValue": false, "isPure": true, @@ -81972,13 +42515,13 @@ "memberName": "Open", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1627:10:24", + "src": "1607:10:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, - "src": "1618:19:24", + "src": "1598:19:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -81995,7 +42538,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2223, + "id": 3299, "isConstant": false, "isLValue": false, "isPure": false, @@ -82006,7 +42549,7 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 2218, + "id": 3294, "isConstant": false, "isLValue": false, "isPure": false, @@ -82015,18 +42558,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2215, + "id": 3291, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "1642:3:24", + "referencedDeclaration": 5707, + "src": "1622:3:16", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2216, + "id": 3292, "isConstant": false, "isLValue": false, "isPure": false, @@ -82034,7 +42577,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1642:10:24", + "src": "1622:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -82044,18 +42587,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 2217, + "id": 3293, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "1656:10:24", + "referencedDeclaration": 15, + "src": "1636:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "1642:24:24", + "src": "1622:24:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -82066,24 +42609,24 @@ "rightExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" }, - "id": 2222, + "id": 3298, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2219, + "id": 3295, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2200, - "src": "1670:5:24", + "referencedDeclaration": 3276, + "src": "1650:5:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, @@ -82093,18 +42636,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2220, + "id": 3296, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2196, - "src": "1679:5:24", + "referencedDeclaration": 3272, + "src": "1659:5:16", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$2196_$", + "typeIdentifier": "t_type$_t_enum$_State_$3272_$", "typeString": "type(enum StickerMarketMigrated.State)" } }, - "id": 2221, + "id": 3297, "isConstant": false, "isLValue": false, "isPure": true, @@ -82112,39 +42655,39 @@ "memberName": "Controlled", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1679:16:24", + "src": "1659:16:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, - "src": "1670:25:24", + "src": "1650:25:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1642:53:24", + "src": "1622:53:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 2224, + "id": 3300, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "1641:55:24", + "src": "1621:55:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1618:78:24", + "src": "1598:78:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -82153,14 +42696,14 @@ { "argumentTypes": null, "hexValue": "4d61726b65742044697361626c6564", - "id": 2226, + "id": 3302, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1698:17:24", + "src": "1678:17:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_e3c17a455add62b4c563a3a0cb95156eee233fb4f57a0b885805026f8312fed7", @@ -82180,21 +42723,21 @@ "typeString": "literal_string \"Market Disabled\"" } ], - "id": 2210, + "id": 3286, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "1610:7:24", + "referencedDeclaration": 5711, + "src": "1590:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2227, + "id": 3303, "isConstant": false, "isLValue": false, "isPure": false, @@ -82202,41 +42745,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1610:106:24", + "src": "1590:106:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2228, + "id": 3304, "nodeType": "ExpressionStatement", - "src": "1610:106:24" + "src": "1590:106:16" }, { - "id": 2229, + "id": 3305, "nodeType": "PlaceholderStatement", - "src": "1726:1:24" + "src": "1706:1:16" } ] }, "documentation": "@dev can only be called when market is open", - "id": 2231, + "id": 3307, "name": "marketManagement", "nodeType": "ModifierDefinition", "parameters": { - "id": 2209, + "id": 3285, "nodeType": "ParameterList", "parameters": [], - "src": "1600:0:24" + "src": "1580:0:16" }, - "src": "1574:160:24", + "src": "1554:160:16", "visibility": "internal" }, { "body": { - "id": 2258, + "id": 3334, "nodeType": "Block", - "src": "1827:160:24", + "src": "1807:160:16", "statements": [ { "expression": { @@ -82248,7 +42791,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2253, + "id": 3329, "isConstant": false, "isLValue": false, "isPure": false, @@ -82259,7 +42802,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2242, + "id": 3318, "isConstant": false, "isLValue": false, "isPure": false, @@ -82267,24 +42810,24 @@ "leftExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" }, - "id": 2237, + "id": 3313, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2234, + "id": 3310, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2200, - "src": "1845:5:24", + "referencedDeclaration": 3276, + "src": "1825:5:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, @@ -82294,18 +42837,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2235, + "id": 3311, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2196, - "src": "1854:5:24", + "referencedDeclaration": 3272, + "src": "1834:5:16", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$2196_$", + "typeIdentifier": "t_type$_t_enum$_State_$3272_$", "typeString": "type(enum StickerMarketMigrated.State)" } }, - "id": 2236, + "id": 3312, "isConstant": false, "isLValue": false, "isPure": true, @@ -82313,13 +42856,13 @@ "memberName": "Open", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1854:10:24", + "src": "1834:10:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, - "src": "1845:19:24", + "src": "1825:19:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -82330,24 +42873,24 @@ "rightExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" }, - "id": 2241, + "id": 3317, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2238, + "id": 3314, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2200, - "src": "1868:5:24", + "referencedDeclaration": 3276, + "src": "1848:5:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, @@ -82357,18 +42900,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2239, + "id": 3315, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2196, - "src": "1877:5:24", + "referencedDeclaration": 3272, + "src": "1857:5:16", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$2196_$", + "typeIdentifier": "t_type$_t_enum$_State_$3272_$", "typeString": "type(enum StickerMarketMigrated.State)" } }, - "id": 2240, + "id": 3316, "isConstant": false, "isLValue": false, "isPure": true, @@ -82376,19 +42919,19 @@ "memberName": "BuyOnly", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1877:13:24", + "src": "1857:13:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, - "src": "1868:22:24", + "src": "1848:22:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1845:45:24", + "src": "1825:45:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -82405,7 +42948,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2251, + "id": 3327, "isConstant": false, "isLValue": false, "isPure": false, @@ -82416,7 +42959,7 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 2246, + "id": 3322, "isConstant": false, "isLValue": false, "isPure": false, @@ -82425,18 +42968,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2243, + "id": 3319, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "1895:3:24", + "referencedDeclaration": 5707, + "src": "1875:3:16", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2244, + "id": 3320, "isConstant": false, "isLValue": false, "isPure": false, @@ -82444,7 +42987,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1895:10:24", + "src": "1875:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -82454,18 +42997,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 2245, + "id": 3321, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "1909:10:24", + "referencedDeclaration": 15, + "src": "1889:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "1895:24:24", + "src": "1875:24:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -82476,24 +43019,24 @@ "rightExpression": { "argumentTypes": null, "commonType": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" }, - "id": 2250, + "id": 3326, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2247, + "id": 3323, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2200, - "src": "1923:5:24", + "referencedDeclaration": 3276, + "src": "1903:5:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, @@ -82503,18 +43046,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2248, + "id": 3324, "name": "State", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2196, - "src": "1932:5:24", + "referencedDeclaration": 3272, + "src": "1912:5:16", "typeDescriptions": { - "typeIdentifier": "t_type$_t_enum$_State_$2196_$", + "typeIdentifier": "t_type$_t_enum$_State_$3272_$", "typeString": "type(enum StickerMarketMigrated.State)" } }, - "id": 2249, + "id": 3325, "isConstant": false, "isLValue": false, "isPure": true, @@ -82522,39 +43065,39 @@ "memberName": "Controlled", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1932:16:24", + "src": "1912:16:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, - "src": "1923:25:24", + "src": "1903:25:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1895:53:24", + "src": "1875:53:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 2252, + "id": 3328, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "1894:55:24", + "src": "1874:55:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "1845:104:24", + "src": "1825:104:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -82563,14 +43106,14 @@ { "argumentTypes": null, "hexValue": "4d61726b65742044697361626c6564", - "id": 2254, + "id": 3330, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1951:17:24", + "src": "1931:17:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_e3c17a455add62b4c563a3a0cb95156eee233fb4f57a0b885805026f8312fed7", @@ -82590,21 +43133,21 @@ "typeString": "literal_string \"Market Disabled\"" } ], - "id": 2233, + "id": 3309, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "1837:7:24", + "referencedDeclaration": 5711, + "src": "1817:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2255, + "id": 3331, "isConstant": false, "isLValue": false, "isPure": false, @@ -82612,41 +43155,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1837:132:24", + "src": "1817:132:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2256, + "id": 3332, "nodeType": "ExpressionStatement", - "src": "1837:132:24" + "src": "1817:132:16" }, { - "id": 2257, + "id": 3333, "nodeType": "PlaceholderStatement", - "src": "1979:1:24" + "src": "1959:1:16" } ] }, "documentation": "@dev can only be called when market is open", - "id": 2259, + "id": 3335, "name": "marketSell", "nodeType": "ModifierDefinition", "parameters": { - "id": 2232, + "id": 3308, "nodeType": "ParameterList", "parameters": [], - "src": "1827:0:24" + "src": "1807:0:16" }, - "src": "1807:180:24", + "src": "1787:180:16", "visibility": "internal" }, { "body": { - "id": 2278, + "id": 3354, "nodeType": "Block", - "src": "2029:106:24", + "src": "2009:106:16", "statements": [ { "expression": { @@ -82658,7 +43201,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2274, + "id": 3350, "isConstant": false, "isLValue": false, "isPure": false, @@ -82669,7 +43212,7 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 2267, + "id": 3343, "isConstant": false, "isLValue": false, "isPure": false, @@ -82678,18 +43221,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2264, + "id": 3340, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2047:3:24", + "referencedDeclaration": 5707, + "src": "2027:3:16", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2265, + "id": 3341, "isConstant": false, "isLValue": false, "isPure": false, @@ -82697,7 +43240,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2047:10:24", + "src": "2027:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -82707,18 +43250,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 2266, + "id": 3342, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "2061:10:24", + "referencedDeclaration": 15, + "src": "2041:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "2047:24:24", + "src": "2027:24:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -82731,12 +43274,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2270, + "id": 3346, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "2096:7:24", + "referencedDeclaration": 3337, + "src": "2076:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -82746,18 +43289,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2271, + "id": 3347, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2105:3:24", + "referencedDeclaration": 5707, + "src": "2085:3:16", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2272, + "id": 3348, "isConstant": false, "isLValue": false, "isPure": false, @@ -82765,7 +43308,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2105:10:24", + "src": "2085:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -82785,32 +43328,32 @@ ], "expression": { "argumentTypes": null, - "id": 2268, + "id": 3344, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "2075:8:24", + "referencedDeclaration": 3284, + "src": "2055:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2269, + "id": 3345, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isPackOwner", "nodeType": "MemberAccess", - "referencedDeclaration": 8435, - "src": "2075:20:24", + "referencedDeclaration": 2570, + "src": "2055:20:16", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_uint256_$_t_address_$returns$_t_bool_$", "typeString": "function (uint256,address) view external returns (bool)" } }, - "id": 2273, + "id": 3349, "isConstant": false, "isLValue": false, "isPure": false, @@ -82818,13 +43361,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2075:41:24", + "src": "2055:41:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "2047:69:24", + "src": "2027:69:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -82838,21 +43381,21 @@ "typeString": "bool" } ], - "id": 2263, + "id": 3339, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9456, - "src": "2039:7:24", + "referencedDeclaration": 5710, + "src": "2019:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2275, + "id": 3351, "isConstant": false, "isLValue": false, "isPure": false, @@ -82860,38 +43403,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2039:78:24", + "src": "2019:78:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2276, + "id": 3352, "nodeType": "ExpressionStatement", - "src": "2039:78:24" + "src": "2019:78:16" }, { - "id": 2277, + "id": 3353, "nodeType": "PlaceholderStatement", - "src": "2127:1:24" + "src": "2107:1:16" } ] }, "documentation": null, - "id": 2279, + "id": 3355, "name": "packOwner", "nodeType": "ModifierDefinition", "parameters": { - "id": 2262, + "id": 3338, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2261, + "id": 3337, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2279, - "src": "2012:15:24", + "scope": 3355, + "src": "1992:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -82899,10 +43442,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2260, + "id": 3336, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2012:7:24", + "src": "1992:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -82912,35 +43455,35 @@ "visibility": "internal" } ], - "src": "2011:17:24" + "src": "1991:17:16" }, - "src": "1993:142:24", + "src": "1973:142:16", "visibility": "internal" }, { "body": { - "id": 2294, + "id": 3370, "nodeType": "Block", - "src": "2282:58:24", + "src": "2262:58:16", "statements": [ { "expression": { "argumentTypes": null, - "id": 2288, + "id": 3364, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2286, + "id": 3362, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2206, - "src": "2293:3:24", + "referencedDeclaration": 3282, + "src": "2273:3:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -82948,45 +43491,45 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2287, + "id": 3363, "name": "_snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2281, - "src": "2299:4:24", + "referencedDeclaration": 3357, + "src": "2279:4:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "src": "2293:10:24", + "src": "2273:10:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 2289, + "id": 3365, "nodeType": "ExpressionStatement", - "src": "2293:10:24" + "src": "2273:10:16" }, { "expression": { "argumentTypes": null, - "id": 2292, + "id": 3368, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2290, + "id": 3366, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "2313:8:24", + "referencedDeclaration": 3284, + "src": "2293:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, @@ -82994,62 +43537,62 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2291, + "id": 3367, "name": "_registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2283, - "src": "2324:9:24", + "referencedDeclaration": 3359, + "src": "2304:9:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "src": "2313:20:24", + "src": "2293:20:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2293, + "id": 3369, "nodeType": "ExpressionStatement", - "src": "2313:20:24" + "src": "2293:20:16" } ] }, "documentation": "@param _snt SNT token", - "id": 2295, + "id": 3371, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2284, + "id": 3360, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2281, + "id": 3357, "name": "_snt", "nodeType": "VariableDeclaration", - "scope": 2295, - "src": "2207:15:24", + "scope": 3371, + "src": "2187:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 2280, + "id": 3356, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "2207:10:24", + "referencedDeclaration": 4515, + "src": "2187:10:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -83058,26 +43601,26 @@ }, { "constant": false, - "id": 2283, + "id": 3359, "name": "_registry", "nodeType": "VariableDeclaration", - "scope": 2295, - "src": "2232:23:24", + "scope": 3371, + "src": "2212:23:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" }, "typeName": { "contractScope": null, - "id": 2282, + "id": 3358, "name": "StickerMarket", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9081, - "src": "2232:13:24", + "referencedDeclaration": 3212, + "src": "2212:13:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, @@ -83085,25 +43628,25 @@ "visibility": "internal" } ], - "src": "2197:64:24" + "src": "2177:64:16" }, "returnParameters": { - "id": 2285, + "id": 3361, "nodeType": "ParameterList", "parameters": [], - "src": "2282:0:24" + "src": "2262:0:16" }, - "scope": 3142, - "src": "2186:154:24", + "scope": 4218, + "src": "2166:154:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2311, + "id": 3387, "nodeType": "Block", - "src": "2966:62:24", + "src": "2946:62:16", "statements": [ { "expression": { @@ -83113,18 +43656,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2305, + "id": 3381, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2987:3:24", + "referencedDeclaration": 5707, + "src": "2967:3:16", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2306, + "id": 3382, "isConstant": false, "isLValue": false, "isPure": false, @@ -83132,7 +43675,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2987:10:24", + "src": "2967:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -83140,12 +43683,12 @@ }, { "argumentTypes": null, - "id": 2307, + "id": 3383, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2297, - "src": "2999:7:24", + "referencedDeclaration": 3373, + "src": "2979:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83153,12 +43696,12 @@ }, { "argumentTypes": null, - "id": 2308, + "id": 3384, "name": "_destination", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2299, - "src": "3008:12:24", + "referencedDeclaration": 3375, + "src": "2988:12:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -83180,18 +43723,18 @@ "typeString": "address" } ], - "id": 2304, + "id": 3380, "name": "buy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "2983:3:24", + "referencedDeclaration": 4150, + "src": "2963:3:16", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_uint256_$", "typeString": "function (address,uint256,address) returns (uint256)" } }, - "id": 2309, + "id": 3385, "isConstant": false, "isLValue": false, "isPure": false, @@ -83199,37 +43742,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2983:38:24", + "src": "2963:38:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2303, - "id": 2310, + "functionReturnParameters": 3379, + "id": 3386, "nodeType": "Return", - "src": "2976:45:24" + "src": "2956:45:16" } ] }, "documentation": "@dev Mints registry StickerPack in `msg.sender` account, and Transfers SNT using user allowance\nemit NonfungibleToken.Transfer(`address(0)`, `msg.sender`, `tokenId`)\n@notice buy a pack from market pack owner, including a StickerPack's token in msg.sender account with same metadata of `_packId` \n@param _packId id of market pack \n@param _destination owner of token being brought\n@return tokenId generated StickerPack token ", - "id": 2312, + "id": 3388, "implemented": true, "kind": "function", "modifiers": [], "name": "buyToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 2300, + "id": 3376, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2297, + "id": 3373, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2312, - "src": "2856:15:24", + "scope": 3388, + "src": "2836:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -83237,10 +43780,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2296, + "id": 3372, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2856:7:24", + "src": "2836:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83251,11 +43794,11 @@ }, { "constant": false, - "id": 2299, + "id": 3375, "name": "_destination", "nodeType": "VariableDeclaration", - "scope": 2312, - "src": "2881:20:24", + "scope": 3388, + "src": "2861:20:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -83263,10 +43806,10 @@ "typeString": "address" }, "typeName": { - "id": 2298, + "id": 3374, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2881:7:24", + "src": "2861:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -83277,19 +43820,19 @@ "visibility": "internal" } ], - "src": "2846:61:24" + "src": "2826:61:16" }, "returnParameters": { - "id": 2303, + "id": 3379, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2302, + "id": 3378, "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2312, - "src": "2945:15:24", + "scope": 3388, + "src": "2925:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -83297,10 +43840,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2301, + "id": 3377, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2945:7:24", + "src": "2925:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83310,36 +43853,36 @@ "visibility": "internal" } ], - "src": "2944:17:24" + "src": "2924:17:16" }, - "scope": 3142, - "src": "2829:199:24", + "scope": 4218, + "src": "2809:199:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2340, + "id": 3416, "nodeType": "Block", - "src": "3812:96:24", + "src": "3792:96:16", "statements": [ { "expression": { "argumentTypes": null, - "id": 2338, + "id": 3414, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2328, + "id": 3404, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2326, - "src": "3822:6:24", + "referencedDeclaration": 3402, + "src": "3802:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83354,18 +43897,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2330, + "id": 3406, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "3840:3:24", + "referencedDeclaration": 5707, + "src": "3820:3:16", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2331, + "id": 3407, "isConstant": false, "isLValue": false, "isPure": false, @@ -83373,7 +43916,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "3840:10:24", + "src": "3820:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -83381,12 +43924,12 @@ }, { "argumentTypes": null, - "id": 2332, + "id": 3408, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2319, - "src": "3852:9:24", + "referencedDeclaration": 3395, + "src": "3832:9:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_calldata_ptr", "typeString": "bytes4[] calldata" @@ -83394,12 +43937,12 @@ }, { "argumentTypes": null, - "id": 2333, + "id": 3409, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2321, - "src": "3863:6:24", + "referencedDeclaration": 3397, + "src": "3843:6:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -83407,12 +43950,12 @@ }, { "argumentTypes": null, - "id": 2334, + "id": 3410, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2314, - "src": "3871:6:24", + "referencedDeclaration": 3390, + "src": "3851:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83420,12 +43963,12 @@ }, { "argumentTypes": null, - "id": 2335, + "id": 3411, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2316, - "src": "3879:7:24", + "referencedDeclaration": 3392, + "src": "3859:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83433,12 +43976,12 @@ }, { "argumentTypes": null, - "id": 2336, + "id": 3412, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2323, - "src": "3888:12:24", + "referencedDeclaration": 3399, + "src": "3868:12:16", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -83472,18 +44015,18 @@ "typeString": "bytes calldata" } ], - "id": 2329, + "id": 3405, "name": "register", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2936, - "src": "3831:8:24", + "referencedDeclaration": 4012, + "src": "3811:8:16", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (address,bytes4[] memory,address,uint256,uint256,bytes memory) returns (uint256)" } }, - "id": 2337, + "id": 3413, "isConstant": false, "isLValue": false, "isPure": false, @@ -83491,42 +44034,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3831:70:24", + "src": "3811:70:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3822:79:24", + "src": "3802:79:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2339, + "id": 3415, "nodeType": "ExpressionStatement", - "src": "3822:79:24" + "src": "3802:79:16" } ] }, "documentation": "@dev emits StickerMarket.Register(`packId`, `_urlHash`, `_price`, `_contenthash`)\n@notice Registers to sell a sticker pack \n@param _price cost in wei to users minting with _urlHash metadata\n@param _donate optional amount of `_price` that is donated to StickerMarket at every buy\n@param _category listing category\n@param _owner address of the beneficiary of buys\n@param _contenthash EIP1577 pack contenthash for listings\n@return packId Market position of Sticker Pack data.", - "id": 2341, + "id": 3417, "implemented": true, "kind": "function", "modifiers": [], "name": "registerPack", "nodeType": "FunctionDefinition", "parameters": { - "id": 2324, + "id": 3400, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 3390, "name": "_price", "nodeType": "VariableDeclaration", - "scope": 2341, - "src": "3611:14:24", + "scope": 3417, + "src": "3591:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -83534,10 +44077,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2313, + "id": 3389, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3611:7:24", + "src": "3591:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83548,11 +44091,11 @@ }, { "constant": false, - "id": 2316, + "id": 3392, "name": "_donate", "nodeType": "VariableDeclaration", - "scope": 2341, - "src": "3635:15:24", + "scope": 3417, + "src": "3615:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -83560,10 +44103,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2315, + "id": 3391, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3635:7:24", + "src": "3615:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83574,11 +44117,11 @@ }, { "constant": false, - "id": 2319, + "id": 3395, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 2341, - "src": "3660:27:24", + "scope": 3417, + "src": "3640:27:16", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -83587,19 +44130,19 @@ }, "typeName": { "baseType": { - "id": 2317, + "id": 3393, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "3660:6:24", + "src": "3640:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 2318, + "id": 3394, "length": null, "nodeType": "ArrayTypeName", - "src": "3660:8:24", + "src": "3640:8:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -83610,11 +44153,11 @@ }, { "constant": false, - "id": 2321, + "id": 3397, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 2341, - "src": "3698:14:24", + "scope": 3417, + "src": "3678:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -83622,10 +44165,10 @@ "typeString": "address" }, "typeName": { - "id": 2320, + "id": 3396, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3698:7:24", + "src": "3678:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -83637,11 +44180,11 @@ }, { "constant": false, - "id": 2323, + "id": 3399, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 2341, - "src": "3722:27:24", + "scope": 3417, + "src": "3702:27:16", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -83649,10 +44192,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2322, + "id": 3398, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3722:5:24", + "src": "3702:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -83662,19 +44205,19 @@ "visibility": "internal" } ], - "src": "3601:154:24" + "src": "3581:154:16" }, "returnParameters": { - "id": 2327, + "id": 3403, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2326, + "id": 3402, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 2341, - "src": "3792:14:24", + "scope": 3417, + "src": "3772:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -83682,10 +44225,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2325, + "id": 3401, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3792:7:24", + "src": "3772:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83695,19 +44238,19 @@ "visibility": "internal" } ], - "src": "3791:16:24" + "src": "3771:16:16" }, - "scope": 3142, - "src": "3580:328:24", + "scope": 4218, + "src": "3560:328:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2360, + "id": 3436, "nodeType": "Block", - "src": "4244:52:24", + "src": "4224:52:16", "statements": [ { "expression": { @@ -83715,12 +44258,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2356, + "id": 3432, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "4276:7:24", + "referencedDeclaration": 3419, + "src": "4256:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83728,12 +44271,12 @@ }, { "argumentTypes": null, - "id": 2357, + "id": 3433, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "4285:3:24", + "referencedDeclaration": 3421, + "src": "4265:3:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -83753,32 +44296,32 @@ ], "expression": { "argumentTypes": null, - "id": 2353, + "id": 3429, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "4254:8:24", + "referencedDeclaration": 3284, + "src": "4234:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2355, + "id": 3431, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "setPackOwner", "nodeType": "MemberAccess", - "referencedDeclaration": 7874, - "src": "4254:21:24", + "referencedDeclaration": 2002, + "src": "4234:21:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_address_$returns$__$", "typeString": "function (uint256,address) external" } }, - "id": 2358, + "id": 3434, "isConstant": false, "isLValue": false, "isPure": false, @@ -83786,89 +44329,89 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4254:35:24", + "src": "4234:35:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2359, + "id": 3435, "nodeType": "ExpressionStatement", - "src": "4254:35:24" + "src": "4234:35:16" } ] }, "documentation": "@notice changes beneficiary of `_packId`, can only be called when market is open\n@param _packId which market position is being transfered\n@param _to new beneficiary", - "id": 2361, + "id": 3437, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2348, + "id": 3424, "modifierName": { "argumentTypes": null, - "id": 2347, + "id": 3423, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2231, - "src": "4195:16:24", + "referencedDeclaration": 3307, + "src": "4175:16:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "4195:16:24" + "src": "4175:16:16" }, { "arguments": [ { "argumentTypes": null, - "id": 2350, + "id": 3426, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "4231:7:24", + "referencedDeclaration": 3419, + "src": "4211:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 2351, + "id": 3427, "modifierName": { "argumentTypes": null, - "id": 2349, + "id": 3425, "name": "packOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2279, - "src": "4221:9:24", + "referencedDeclaration": 3355, + "src": "4201:9:16", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_uint256_$", "typeString": "modifier (uint256)" } }, "nodeType": "ModifierInvocation", - "src": "4221:18:24" + "src": "4201:18:16" } ], "name": "setPackOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 3422, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 3419, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2361, - "src": "4138:15:24", + "scope": 3437, + "src": "4118:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -83876,10 +44419,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2342, + "id": 3418, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4138:7:24", + "src": "4118:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83890,11 +44433,11 @@ }, { "constant": false, - "id": 2345, + "id": 3421, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 2361, - "src": "4155:11:24", + "scope": 3437, + "src": "4135:11:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -83902,10 +44445,10 @@ "typeString": "address" }, "typeName": { - "id": 2344, + "id": 3420, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4155:7:24", + "src": "4135:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -83916,25 +44459,25 @@ "visibility": "internal" } ], - "src": "4137:30:24" + "src": "4117:30:16" }, "returnParameters": { - "id": 2352, + "id": 3428, "nodeType": "ParameterList", "parameters": [], - "src": "4244:0:24" + "src": "4224:0:16" }, - "scope": 3142, - "src": "4116:180:24", + "scope": 4218, + "src": "4096:180:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2383, + "id": 3459, "nodeType": "Block", - "src": "4643:64:24", + "src": "4623:64:16", "statements": [ { "expression": { @@ -83942,12 +44485,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2378, + "id": 3454, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2363, - "src": "4675:7:24", + "referencedDeclaration": 3439, + "src": "4655:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83955,12 +44498,12 @@ }, { "argumentTypes": null, - "id": 2379, + "id": 3455, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2365, - "src": "4684:6:24", + "referencedDeclaration": 3441, + "src": "4664:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83968,12 +44511,12 @@ }, { "argumentTypes": null, - "id": 2380, + "id": 3456, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2367, - "src": "4692:7:24", + "referencedDeclaration": 3443, + "src": "4672:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -83997,32 +44540,32 @@ ], "expression": { "argumentTypes": null, - "id": 2375, + "id": 3451, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "4653:8:24", + "referencedDeclaration": 3284, + "src": "4633:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2377, + "id": 3453, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "setPackPrice", "nodeType": "MemberAccess", - "referencedDeclaration": 7910, - "src": "4653:21:24", + "referencedDeclaration": 2038, + "src": "4633:21:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256,uint256) external" } }, - "id": 2381, + "id": 3457, "isConstant": false, "isLValue": false, "isPure": false, @@ -84030,89 +44573,89 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4653:47:24", + "src": "4633:47:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2382, + "id": 3458, "nodeType": "ExpressionStatement", - "src": "4653:47:24" + "src": "4633:47:16" } ] }, "documentation": "@notice changes price of `_packId`, can only be called when market is open\n@param _packId which market position is being transfered\n@param _price new value", - "id": 2384, + "id": 3460, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2370, + "id": 3446, "modifierName": { "argumentTypes": null, - "id": 2369, + "id": 3445, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2231, - "src": "4594:16:24", + "referencedDeclaration": 3307, + "src": "4574:16:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "4594:16:24" + "src": "4574:16:16" }, { "arguments": [ { "argumentTypes": null, - "id": 2372, + "id": 3448, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2363, - "src": "4630:7:24", + "referencedDeclaration": 3439, + "src": "4610:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 2373, + "id": 3449, "modifierName": { "argumentTypes": null, - "id": 2371, + "id": 3447, "name": "packOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2279, - "src": "4620:9:24", + "referencedDeclaration": 3355, + "src": "4600:9:16", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_uint256_$", "typeString": "modifier (uint256)" } }, "nodeType": "ModifierInvocation", - "src": "4620:18:24" + "src": "4600:18:16" } ], "name": "setPackPrice", "nodeType": "FunctionDefinition", "parameters": { - "id": 2368, + "id": 3444, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2363, + "id": 3439, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2384, - "src": "4517:15:24", + "scope": 3460, + "src": "4497:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -84120,10 +44663,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2362, + "id": 3438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4517:7:24", + "src": "4497:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -84134,11 +44677,11 @@ }, { "constant": false, - "id": 2365, + "id": 3441, "name": "_price", "nodeType": "VariableDeclaration", - "scope": 2384, - "src": "4534:14:24", + "scope": 3460, + "src": "4514:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -84146,10 +44689,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2364, + "id": 3440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4534:7:24", + "src": "4514:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -84160,11 +44703,11 @@ }, { "constant": false, - "id": 2367, + "id": 3443, "name": "_donate", "nodeType": "VariableDeclaration", - "scope": 2384, - "src": "4550:15:24", + "scope": 3460, + "src": "4530:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -84172,10 +44715,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2366, + "id": 3442, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4550:7:24", + "src": "4530:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -84185,25 +44728,25 @@ "visibility": "internal" } ], - "src": "4516:50:24" + "src": "4496:50:16" }, "returnParameters": { - "id": 2374, + "id": 3450, "nodeType": "ParameterList", "parameters": [], - "src": "4643:0:24" + "src": "4623:0:16" }, - "scope": 3142, - "src": "4495:212:24", + "scope": 4218, + "src": "4475:212:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2403, + "id": 3479, "nodeType": "Block", - "src": "5051:61:24", + "src": "5031:61:16", "statements": [ { "expression": { @@ -84211,12 +44754,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2399, + "id": 3475, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2386, - "src": "5086:7:24", + "referencedDeclaration": 3462, + "src": "5066:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -84224,12 +44767,12 @@ }, { "argumentTypes": null, - "id": 2400, + "id": 3476, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2388, - "src": "5095:9:24", + "referencedDeclaration": 3464, + "src": "5075:9:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -84249,32 +44792,32 @@ ], "expression": { "argumentTypes": null, - "id": 2396, + "id": 3472, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "5061:8:24", + "referencedDeclaration": 3284, + "src": "5041:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2398, + "id": 3474, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "addPackCategory", "nodeType": "MemberAccess", - "referencedDeclaration": 7928, - "src": "5061:24:24", + "referencedDeclaration": 2056, + "src": "5041:24:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", "typeString": "function (uint256,bytes4) external" } }, - "id": 2401, + "id": 3477, "isConstant": false, "isLValue": false, "isPure": false, @@ -84282,89 +44825,89 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5061:44:24", + "src": "5041:44:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2402, + "id": 3478, "nodeType": "ExpressionStatement", - "src": "5061:44:24" + "src": "5041:44:16" } ] }, "documentation": "@notice changes caregory of `_packId`, can only be called when market is open\n@param _packId which market position is being transfered\n@param _category new category", - "id": 2404, + "id": 3480, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2391, + "id": 3467, "modifierName": { "argumentTypes": null, - "id": 2390, + "id": 3466, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2231, - "src": "5002:16:24", + "referencedDeclaration": 3307, + "src": "4982:16:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5002:16:24" + "src": "4982:16:16" }, { "arguments": [ { "argumentTypes": null, - "id": 2393, + "id": 3469, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2386, - "src": "5038:7:24", + "referencedDeclaration": 3462, + "src": "5018:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 2394, + "id": 3470, "modifierName": { "argumentTypes": null, - "id": 2392, + "id": 3468, "name": "packOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2279, - "src": "5028:9:24", + "referencedDeclaration": 3355, + "src": "5008:9:16", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_uint256_$", "typeString": "modifier (uint256)" } }, "nodeType": "ModifierInvocation", - "src": "5028:18:24" + "src": "5008:18:16" } ], "name": "addPackCategory", "nodeType": "FunctionDefinition", "parameters": { - "id": 2389, + "id": 3465, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2386, + "id": 3462, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2404, - "src": "4941:15:24", + "scope": 3480, + "src": "4921:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -84372,10 +44915,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2385, + "id": 3461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4941:7:24", + "src": "4921:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -84386,11 +44929,11 @@ }, { "constant": false, - "id": 2388, + "id": 3464, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 2404, - "src": "4958:16:24", + "scope": 3480, + "src": "4938:16:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -84398,10 +44941,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2387, + "id": 3463, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "4958:6:24", + "src": "4938:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -84411,25 +44954,25 @@ "visibility": "internal" } ], - "src": "4940:35:24" + "src": "4920:35:16" }, "returnParameters": { - "id": 2395, + "id": 3471, "nodeType": "ParameterList", "parameters": [], - "src": "5051:0:24" + "src": "5031:0:16" }, - "scope": 3142, - "src": "4916:196:24", + "scope": 4218, + "src": "4896:196:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2423, + "id": 3499, "nodeType": "Block", - "src": "5465:64:24", + "src": "5445:64:16", "statements": [ { "expression": { @@ -84437,12 +44980,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2419, + "id": 3495, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2406, - "src": "5503:7:24", + "referencedDeclaration": 3482, + "src": "5483:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -84450,12 +44993,12 @@ }, { "argumentTypes": null, - "id": 2420, + "id": 3496, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2408, - "src": "5512:9:24", + "referencedDeclaration": 3484, + "src": "5492:9:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -84475,32 +45018,32 @@ ], "expression": { "argumentTypes": null, - "id": 2416, + "id": 3492, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "5475:8:24", + "referencedDeclaration": 3284, + "src": "5455:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2418, + "id": 3494, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "removePackCategory", "nodeType": "MemberAccess", - "referencedDeclaration": 7946, - "src": "5475:27:24", + "referencedDeclaration": 2074, + "src": "5455:27:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", "typeString": "function (uint256,bytes4) external" } }, - "id": 2421, + "id": 3497, "isConstant": false, "isLValue": false, "isPure": false, @@ -84508,89 +45051,89 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5475:47:24", + "src": "5455:47:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2422, + "id": 3498, "nodeType": "ExpressionStatement", - "src": "5475:47:24" + "src": "5455:47:16" } ] }, "documentation": "@notice changes caregory of `_packId`, can only be called when market is open\n@param _packId which market position is being transfered\n@param _category category to unlist", - "id": 2424, + "id": 3500, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2411, + "id": 3487, "modifierName": { "argumentTypes": null, - "id": 2410, + "id": 3486, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2231, - "src": "5416:16:24", + "referencedDeclaration": 3307, + "src": "5396:16:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5416:16:24" + "src": "5396:16:16" }, { "arguments": [ { "argumentTypes": null, - "id": 2413, + "id": 3489, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2406, - "src": "5452:7:24", + "referencedDeclaration": 3482, + "src": "5432:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 2414, + "id": 3490, "modifierName": { "argumentTypes": null, - "id": 2412, + "id": 3488, "name": "packOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2279, - "src": "5442:9:24", + "referencedDeclaration": 3355, + "src": "5422:9:16", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_uint256_$", "typeString": "modifier (uint256)" } }, "nodeType": "ModifierInvocation", - "src": "5442:18:24" + "src": "5422:18:16" } ], "name": "removePackCategory", "nodeType": "FunctionDefinition", "parameters": { - "id": 2409, + "id": 3485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2406, + "id": 3482, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2424, - "src": "5355:15:24", + "scope": 3500, + "src": "5335:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -84598,10 +45141,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2405, + "id": 3481, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5355:7:24", + "src": "5335:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -84612,11 +45155,11 @@ }, { "constant": false, - "id": 2408, + "id": 3484, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 2424, - "src": "5372:16:24", + "scope": 3500, + "src": "5352:16:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -84624,10 +45167,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2407, + "id": 3483, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "5372:6:24", + "src": "5352:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -84637,25 +45180,25 @@ "visibility": "internal" } ], - "src": "5354:35:24" + "src": "5334:35:16" }, "returnParameters": { - "id": 2415, + "id": 3491, "nodeType": "ParameterList", "parameters": [], - "src": "5465:0:24" + "src": "5445:0:16" }, - "scope": 3142, - "src": "5327:202:24", + "scope": 4218, + "src": "5307:202:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2443, + "id": 3519, "nodeType": "Block", - "src": "5738:57:24", + "src": "5718:57:16", "statements": [ { "expression": { @@ -84663,12 +45206,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2439, + "id": 3515, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2426, - "src": "5770:7:24", + "referencedDeclaration": 3502, + "src": "5750:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -84676,12 +45219,12 @@ }, { "argumentTypes": null, - "id": 2440, + "id": 3516, "name": "_mintable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2428, - "src": "5778:9:24", + "referencedDeclaration": 3504, + "src": "5758:9:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -84701,32 +45244,32 @@ ], "expression": { "argumentTypes": null, - "id": 2436, + "id": 3512, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "5748:8:24", + "referencedDeclaration": 3284, + "src": "5728:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2438, + "id": 3514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "setPackState", "nodeType": "MemberAccess", - "referencedDeclaration": 7966, - "src": "5748:21:24", + "referencedDeclaration": 2094, + "src": "5728:21:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bool_$returns$__$", "typeString": "function (uint256,bool) external" } }, - "id": 2441, + "id": 3517, "isConstant": false, "isLValue": false, "isPure": false, @@ -84734,89 +45277,89 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5748:40:24", + "src": "5728:40:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2442, + "id": 3518, "nodeType": "ExpressionStatement", - "src": "5748:40:24" + "src": "5728:40:16" } ] }, "documentation": "@notice \n@param _packId position edit", - "id": 2444, + "id": 3520, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2431, + "id": 3507, "modifierName": { "argumentTypes": null, - "id": 2430, + "id": 3506, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2231, - "src": "5689:16:24", + "referencedDeclaration": 3307, + "src": "5669:16:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5689:16:24" + "src": "5669:16:16" }, { "arguments": [ { "argumentTypes": null, - "id": 2433, + "id": 3509, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2426, - "src": "5725:7:24", + "referencedDeclaration": 3502, + "src": "5705:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 2434, + "id": 3510, "modifierName": { "argumentTypes": null, - "id": 2432, + "id": 3508, "name": "packOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2279, - "src": "5715:9:24", + "referencedDeclaration": 3355, + "src": "5695:9:16", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_uint256_$", "typeString": "modifier (uint256)" } }, "nodeType": "ModifierInvocation", - "src": "5715:18:24" + "src": "5695:18:16" } ], "name": "setPackState", "nodeType": "FunctionDefinition", "parameters": { - "id": 2429, + "id": 3505, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 3502, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2444, - "src": "5629:15:24", + "scope": 3520, + "src": "5609:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -84824,10 +45367,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2425, + "id": 3501, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5629:7:24", + "src": "5609:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -84838,11 +45381,11 @@ }, { "constant": false, - "id": 2428, + "id": 3504, "name": "_mintable", "nodeType": "VariableDeclaration", - "scope": 2444, - "src": "5646:14:24", + "scope": 3520, + "src": "5626:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -84850,10 +45393,10 @@ "typeString": "bool" }, "typeName": { - "id": 2427, + "id": 3503, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5646:4:24", + "src": "5626:4:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -84863,25 +45406,25 @@ "visibility": "internal" } ], - "src": "5628:33:24" + "src": "5608:33:16" }, "returnParameters": { - "id": 2435, + "id": 3511, "nodeType": "ParameterList", "parameters": [], - "src": "5738:0:24" + "src": "5718:0:16" }, - "scope": 3142, - "src": "5607:188:24", + "scope": 4218, + "src": "5587:188:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2580, + "id": 3656, "nodeType": "Block", - "src": "6198:954:24", + "src": "6178:954:16", "statements": [ { "expression": { @@ -84893,19 +45436,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2460, + "id": 3536, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2456, + "id": 3532, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "6216:6:24", + "referencedDeclaration": 3526, + "src": "6196:6:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -84918,14 +45461,14 @@ "arguments": [ { "argumentTypes": null, - "id": 2458, + "id": 3534, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2206, - "src": "6234:3:24", + "referencedDeclaration": 3282, + "src": "6214:3:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } } @@ -84933,24 +45476,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } ], - "id": 2457, + "id": 3533, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6226:7:24", + "src": "6206:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 2459, + "id": 3535, "isConstant": false, "isLValue": false, "isPure": false, @@ -84958,13 +45501,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6226:12:24", + "src": "6206:12:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "6216:22:24", + "src": "6196:22:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -84973,14 +45516,14 @@ { "argumentTypes": null, "hexValue": "42616420746f6b656e", - "id": 2461, + "id": 3537, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6240:11:24", + "src": "6220:11:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", @@ -85000,21 +45543,21 @@ "typeString": "literal_string \"Bad token\"" } ], - "id": 2455, + "id": 3531, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "6208:7:24", + "referencedDeclaration": 5711, + "src": "6188:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2462, + "id": 3538, "isConstant": false, "isLValue": false, "isPure": false, @@ -85022,15 +45565,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6208:44:24", + "src": "6188:44:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2463, + "id": 3539, "nodeType": "ExpressionStatement", - "src": "6208:44:24" + "src": "6188:44:16" }, { "expression": { @@ -85042,19 +45585,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2470, + "id": 3546, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2465, + "id": 3541, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "6270:6:24", + "referencedDeclaration": 3526, + "src": "6250:6:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -85069,18 +45612,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2467, + "id": 3543, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "6288:3:24", + "referencedDeclaration": 5707, + "src": "6268:3:16", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2468, + "id": 3544, "isConstant": false, "isLValue": false, "isPure": false, @@ -85088,7 +45631,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6288:10:24", + "src": "6268:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -85102,20 +45645,20 @@ "typeString": "address payable" } ], - "id": 2466, + "id": 3542, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6280:7:24", + "src": "6260:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 2469, + "id": 3545, "isConstant": false, "isLValue": false, "isPure": false, @@ -85123,13 +45666,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6280:19:24", + "src": "6260:19:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "6270:29:24", + "src": "6250:29:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -85138,14 +45681,14 @@ { "argumentTypes": null, "hexValue": "4261642063616c6c", - "id": 2471, + "id": 3547, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6301:10:24", + "src": "6281:10:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_11e86317ecef0ef1d4dc4ecf70d8a0b385ff39eae3fc5821024576536c47ad15", @@ -85165,21 +45708,21 @@ "typeString": "literal_string \"Bad call\"" } ], - "id": 2464, + "id": 3540, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "6262:7:24", + "referencedDeclaration": 5711, + "src": "6242:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2472, + "id": 3548, "isConstant": false, "isLValue": false, "isPure": false, @@ -85187,28 +45730,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6262:50:24", + "src": "6242:50:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2473, + "id": 3549, "nodeType": "ExpressionStatement", - "src": "6262:50:24" + "src": "6242:50:16" }, { "assignments": [ - 2475 + 3551 ], "declarations": [ { "constant": false, - "id": 2475, + "id": 3551, "name": "sig", "nodeType": "VariableDeclaration", - "scope": 2580, - "src": "6322:10:24", + "scope": 3656, + "src": "6302:10:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -85216,10 +45759,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2474, + "id": 3550, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "6322:6:24", + "src": "6302:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -85229,18 +45772,18 @@ "visibility": "internal" } ], - "id": 2479, + "id": 3555, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 2477, + "id": 3553, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "6348:5:24", + "referencedDeclaration": 3528, + "src": "6328:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -85254,18 +45797,18 @@ "typeString": "bytes calldata" } ], - "id": 2476, + "id": 3552, "name": "abiDecodeSig", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3113, - "src": "6335:12:24", + "referencedDeclaration": 4189, + "src": "6315:12:16", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (bytes memory) pure returns (bytes4)" } }, - "id": 2478, + "id": 3554, "isConstant": false, "isLValue": false, "isPure": false, @@ -85273,27 +45816,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6335:19:24", + "src": "6315:19:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "VariableDeclarationStatement", - "src": "6322:32:24" + "src": "6302:32:16" }, { "assignments": [ - 2481 + 3557 ], "declarations": [ { "constant": false, - "id": 2481, + "id": 3557, "name": "cdata", "nodeType": "VariableDeclaration", - "scope": 2580, - "src": "6364:18:24", + "scope": 3656, + "src": "6344:18:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -85301,10 +45844,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2480, + "id": 3556, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6364:5:24", + "src": "6344:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -85314,18 +45857,18 @@ "visibility": "internal" } ], - "id": 2490, + "id": 3566, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 2483, + "id": 3559, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "6391:5:24", + "referencedDeclaration": 3528, + "src": "6371:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -85334,14 +45877,14 @@ { "argumentTypes": null, "hexValue": "34", - "id": 2484, + "id": 3560, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6397:1:24", + "src": "6377:1:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_4_by_1", @@ -85355,7 +45898,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2488, + "id": 3564, "isConstant": false, "isLValue": false, "isPure": false, @@ -85364,18 +45907,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2485, + "id": 3561, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "6399:5:24", + "referencedDeclaration": 3528, + "src": "6379:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "id": 2486, + "id": 3562, "isConstant": false, "isLValue": false, "isPure": false, @@ -85383,7 +45926,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6399:12:24", + "src": "6379:12:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -85394,14 +45937,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "34", - "id": 2487, + "id": 3563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6412:1:24", + "src": "6392:1:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_4_by_1", @@ -85409,7 +45952,7 @@ }, "value": "4" }, - "src": "6399:14:24", + "src": "6379:14:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -85431,18 +45974,18 @@ "typeString": "uint256" } ], - "id": 2482, + "id": 3558, "name": "slice", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3141, - "src": "6385:5:24", + "referencedDeclaration": 4217, + "src": "6365:5:16", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256,uint256) pure returns (bytes memory)" } }, - "id": 2489, + "id": 3565, "isConstant": false, "isLValue": false, "isPure": false, @@ -85450,14 +45993,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6385:29:24", + "src": "6365:29:16", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, "nodeType": "VariableDeclarationStatement", - "src": "6364:50:24" + "src": "6344:50:16" }, { "condition": { @@ -85466,19 +46009,19 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 2497, + "id": 3573, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2491, + "id": 3567, "name": "sig", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2475, - "src": "6427:3:24", + "referencedDeclaration": 3551, + "src": "6407:3:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -85495,14 +46038,14 @@ { "argumentTypes": null, "hexValue": "627579546f6b656e2875696e743235362c6164647265737329", - "id": 2494, + "id": 3570, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6451:27:24", + "src": "6431:27:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_9134709ead558f970d5d64e4453410deb0602fc5980e3682017ae827b19af8a0", @@ -85518,18 +46061,18 @@ "typeString": "literal_string \"buyToken(uint256,address)\"" } ], - "id": 2493, + "id": 3569, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9447, - "src": "6441:9:24", + "referencedDeclaration": 5701, + "src": "6421:9:16", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 2495, + "id": 3571, "isConstant": false, "isLValue": false, "isPure": true, @@ -85537,7 +46080,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6441:38:24", + "src": "6421:38:16", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -85551,20 +46094,20 @@ "typeString": "bytes32" } ], - "id": 2492, + "id": 3568, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6434:6:24", + "src": "6414:6:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": "bytes4" }, - "id": 2496, + "id": 3572, "isConstant": false, "isLValue": false, "isPure": true, @@ -85572,13 +46115,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6434:46:24", + "src": "6414:46:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "6427:53:24", + "src": "6407:53:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -85591,19 +46134,19 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 2531, + "id": 3607, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2525, + "id": 3601, "name": "sig", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2475, - "src": "6685:3:24", + "referencedDeclaration": 3551, + "src": "6665:3:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -85620,14 +46163,14 @@ { "argumentTypes": null, "hexValue": "72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c627974657329", - "id": 2528, + "id": 3604, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6709:54:24", + "src": "6689:54:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_12d02502d26a169bd0d0988364d0e9ee5f5a71b26464fe5fcb5cdd27f910d720", @@ -85643,18 +46186,18 @@ "typeString": "literal_string \"registerPack(uint256,uint256,bytes4[],address,bytes)\"" } ], - "id": 2527, + "id": 3603, "name": "keccak256", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9447, - "src": "6699:9:24", + "referencedDeclaration": 5701, + "src": "6679:9:16", "typeDescriptions": { "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (bytes memory) pure returns (bytes32)" } }, - "id": 2529, + "id": 3605, "isConstant": false, "isLValue": false, "isPure": true, @@ -85662,7 +46205,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6699:65:24", + "src": "6679:65:16", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -85676,20 +46219,20 @@ "typeString": "bytes32" } ], - "id": 2526, + "id": 3602, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6692:6:24", + "src": "6672:6:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": "bytes4" }, - "id": 2530, + "id": 3606, "isConstant": false, "isLValue": false, "isPure": true, @@ -85697,22 +46240,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6692:73:24", + "src": "6672:73:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "6685:80:24", + "src": "6665:80:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2577, + "id": 3653, "nodeType": "Block", - "src": "7103:43:24", + "src": "7083:43:16", "statements": [ { "expression": { @@ -85721,14 +46264,14 @@ { "argumentTypes": null, "hexValue": "4261642063616c6c", - "id": 2574, + "id": 3650, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "7124:10:24", + "src": "7104:10:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_11e86317ecef0ef1d4dc4ecf70d8a0b385ff39eae3fc5821024576536c47ad15", @@ -85744,21 +46287,21 @@ "typeString": "literal_string \"Bad call\"" } ], - "id": 2573, + "id": 3649, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ - 9458, - 9459 + 5712, + 5713 ], - "referencedDeclaration": 9459, - "src": "7117:6:24", + "referencedDeclaration": 5713, + "src": "7097:6:16", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 2575, + "id": 3651, "isConstant": false, "isLValue": false, "isPure": false, @@ -85766,25 +46309,25 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7117:18:24", + "src": "7097:18:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2576, + "id": 3652, "nodeType": "ExpressionStatement", - "src": "7117:18:24" + "src": "7097:18:16" } ] }, - "id": 2578, + "id": 3654, "nodeType": "IfStatement", - "src": "6682:464:24", + "src": "6662:464:16", "trueBody": { - "id": 2572, + "id": 3648, "nodeType": "Block", - "src": "6767:330:24", + "src": "6747:330:16", "statements": [ { "expression": { @@ -85796,7 +46339,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2536, + "id": 3612, "isConstant": false, "isLValue": false, "isPure": false, @@ -85805,18 +46348,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2533, + "id": 3609, "name": "cdata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2481, - "src": "6789:5:24", + "referencedDeclaration": 3557, + "src": "6769:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2534, + "id": 3610, "isConstant": false, "isLValue": false, "isPure": false, @@ -85824,7 +46367,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6789:12:24", + "src": "6769:12:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -85835,14 +46378,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "313536", - "id": 2535, + "id": 3611, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6805:3:24", + "src": "6785:3:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_156_by_1", @@ -85850,7 +46393,7 @@ }, "value": "156" }, - "src": "6789:19:24", + "src": "6769:19:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -85859,14 +46402,14 @@ { "argumentTypes": null, "hexValue": "4261642064617461206c656e677468", - "id": 2537, + "id": 3613, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6810:17:24", + "src": "6790:17:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_bc489818cbebbc3d6eb74f6890940e7f6a9971f27be02bbf6f2b8c186e9ca19a", @@ -85886,21 +46429,21 @@ "typeString": "literal_string \"Bad data length\"" } ], - "id": 2532, + "id": 3608, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "6781:7:24", + "referencedDeclaration": 5711, + "src": "6761:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2538, + "id": 3614, "isConstant": false, "isLValue": false, "isPure": false, @@ -85908,32 +46451,32 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6781:47:24", + "src": "6761:47:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2539, + "id": 3615, "nodeType": "ExpressionStatement", - "src": "6781:47:24" + "src": "6761:47:16" }, { "assignments": [ - 2541, - 2543, - 2546, - 2548, - 2550 + 3617, + 3619, + 3622, + 3624, + 3626 ], "declarations": [ { "constant": false, - "id": 2541, + "id": 3617, "name": "_price", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "6843:14:24", + "scope": 3648, + "src": "6823:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -85941,10 +46484,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2540, + "id": 3616, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6843:7:24", + "src": "6823:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -85955,11 +46498,11 @@ }, { "constant": false, - "id": 2543, + "id": 3619, "name": "_donate", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "6859:15:24", + "scope": 3648, + "src": "6839:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -85967,10 +46510,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2542, + "id": 3618, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6859:7:24", + "src": "6839:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -85981,11 +46524,11 @@ }, { "constant": false, - "id": 2546, + "id": 3622, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "6876:25:24", + "scope": 3648, + "src": "6856:25:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -85994,19 +46537,19 @@ }, "typeName": { "baseType": { - "id": 2544, + "id": 3620, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "6876:6:24", + "src": "6856:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 2545, + "id": 3621, "length": null, "nodeType": "ArrayTypeName", - "src": "6876:8:24", + "src": "6856:8:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -86017,11 +46560,11 @@ }, { "constant": false, - "id": 2548, + "id": 3624, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "6903:14:24", + "scope": 3648, + "src": "6883:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -86029,10 +46572,10 @@ "typeString": "address" }, "typeName": { - "id": 2547, + "id": 3623, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6903:7:24", + "src": "6883:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -86044,11 +46587,11 @@ }, { "constant": false, - "id": 2550, + "id": 3626, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "6919:25:24", + "scope": 3648, + "src": "6899:25:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -86056,10 +46599,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2549, + "id": 3625, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6919:5:24", + "src": "6899:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -86069,18 +46612,18 @@ "visibility": "internal" } ], - "id": 2562, + "id": 3638, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 2553, + "id": 3629, "name": "cdata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2481, - "src": "6959:5:24", + "referencedDeclaration": 3557, + "src": "6939:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -86091,13 +46634,13 @@ "components": [ { "argumentTypes": null, - "id": 2554, + "id": 3630, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6967:7:24", + "src": "6947:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" @@ -86106,13 +46649,13 @@ }, { "argumentTypes": null, - "id": 2555, + "id": 3631, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6975:7:24", + "src": "6955:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" @@ -86123,27 +46666,27 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2556, + "id": 3632, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6983:6:24", + "src": "6963:6:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": "bytes4" }, - "id": 2557, + "id": 3633, "indexExpression": null, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6983:8:24", + "src": "6963:8:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_array$_t_bytes4_$dyn_memory_ptr_$", "typeString": "type(bytes4[] memory)" @@ -86151,13 +46694,13 @@ }, { "argumentTypes": null, - "id": 2558, + "id": 3634, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6992:7:24", + "src": "6972:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" @@ -86166,13 +46709,13 @@ }, { "argumentTypes": null, - "id": 2559, + "id": 3635, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7000:5:24", + "src": "6980:5:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" @@ -86180,14 +46723,14 @@ "typeName": "bytes" } ], - "id": 2560, + "id": 3636, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "6966:40:24", + "src": "6946:40:16", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_type$_t_uint256_$_$_t_type$_t_uint256_$_$_t_type$_t_array$_t_bytes4_$dyn_memory_ptr_$_$_t_type$_t_address_$_$_t_type$_t_bytes_storage_ptr_$_$", "typeString": "tuple(type(uint256),type(uint256),type(bytes4[] memory),type(address),type(bytes storage pointer))" @@ -86207,18 +46750,18 @@ ], "expression": { "argumentTypes": null, - "id": 2551, + "id": 3627, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9440, - "src": "6948:3:24", + "referencedDeclaration": 5694, + "src": "6928:3:16", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2552, + "id": 3628, "isConstant": false, "isLValue": false, "isPure": true, @@ -86226,13 +46769,13 @@ "memberName": "decode", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6948:10:24", + "src": "6928:10:16", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 2561, + "id": 3637, "isConstant": false, "isLValue": false, "isPure": false, @@ -86240,14 +46783,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6948:59:24", + "src": "6928:59:16", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_uint256_$_t_array$_t_bytes4_$dyn_memory_$_t_address_payable_$_t_bytes_memory_$", "typeString": "tuple(uint256,uint256,bytes4[] memory,address payable,bytes memory)" } }, "nodeType": "VariableDeclarationStatement", - "src": "6842:165:24" + "src": "6822:165:16" }, { "expression": { @@ -86255,12 +46798,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2564, + "id": 3640, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2446, - "src": "7030:5:24", + "referencedDeclaration": 3522, + "src": "7010:5:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -86268,12 +46811,12 @@ }, { "argumentTypes": null, - "id": 2565, + "id": 3641, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2546, - "src": "7037:9:24", + "referencedDeclaration": 3622, + "src": "7017:9:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", "typeString": "bytes4[] memory" @@ -86281,12 +46824,12 @@ }, { "argumentTypes": null, - "id": 2566, + "id": 3642, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2548, - "src": "7048:6:24", + "referencedDeclaration": 3624, + "src": "7028:6:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -86294,12 +46837,12 @@ }, { "argumentTypes": null, - "id": 2567, + "id": 3643, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2541, - "src": "7056:6:24", + "referencedDeclaration": 3617, + "src": "7036:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -86307,12 +46850,12 @@ }, { "argumentTypes": null, - "id": 2568, + "id": 3644, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2543, - "src": "7064:7:24", + "referencedDeclaration": 3619, + "src": "7044:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -86320,12 +46863,12 @@ }, { "argumentTypes": null, - "id": 2569, + "id": 3645, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2550, - "src": "7073:12:24", + "referencedDeclaration": 3626, + "src": "7053:12:16", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -86359,18 +46902,18 @@ "typeString": "bytes memory" } ], - "id": 2563, + "id": 3639, "name": "register", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2936, - "src": "7021:8:24", + "referencedDeclaration": 4012, + "src": "7001:8:16", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (address,bytes4[] memory,address,uint256,uint256,bytes memory) returns (uint256)" } }, - "id": 2570, + "id": 3646, "isConstant": false, "isLValue": false, "isPure": false, @@ -86378,26 +46921,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7021:65:24", + "src": "7001:65:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2571, + "id": 3647, "nodeType": "ExpressionStatement", - "src": "7021:65:24" + "src": "7001:65:16" } ] } }, - "id": 2579, + "id": 3655, "nodeType": "IfStatement", - "src": "6424:722:24", + "src": "6404:722:16", "trueBody": { - "id": 2524, + "id": 3600, "nodeType": "Block", - "src": "6481:195:24", + "src": "6461:195:16", "statements": [ { "expression": { @@ -86409,7 +46952,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2502, + "id": 3578, "isConstant": false, "isLValue": false, "isPure": false, @@ -86418,18 +46961,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2499, + "id": 3575, "name": "cdata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2481, - "src": "6503:5:24", + "referencedDeclaration": 3557, + "src": "6483:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2500, + "id": 3576, "isConstant": false, "isLValue": false, "isPure": false, @@ -86437,7 +46980,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6503:12:24", + "src": "6483:12:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -86448,14 +46991,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3634", - "id": 2501, + "id": 3577, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6519:2:24", + "src": "6499:2:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_64_by_1", @@ -86463,7 +47006,7 @@ }, "value": "64" }, - "src": "6503:18:24", + "src": "6483:18:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -86472,14 +47015,14 @@ { "argumentTypes": null, "hexValue": "4261642064617461206c656e677468", - "id": 2503, + "id": 3579, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6523:17:24", + "src": "6503:17:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_bc489818cbebbc3d6eb74f6890940e7f6a9971f27be02bbf6f2b8c186e9ca19a", @@ -86499,21 +47042,21 @@ "typeString": "literal_string \"Bad data length\"" } ], - "id": 2498, + "id": 3574, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "6495:7:24", + "referencedDeclaration": 5711, + "src": "6475:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2504, + "id": 3580, "isConstant": false, "isLValue": false, "isPure": false, @@ -86521,29 +47064,29 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6495:46:24", + "src": "6475:46:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2505, + "id": 3581, "nodeType": "ExpressionStatement", - "src": "6495:46:24" + "src": "6475:46:16" }, { "assignments": [ - 2507, - 2509 + 3583, + 3585 ], "declarations": [ { "constant": false, - "id": 2507, + "id": 3583, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 2524, - "src": "6556:14:24", + "scope": 3600, + "src": "6536:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -86551,10 +47094,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2506, + "id": 3582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6556:7:24", + "src": "6536:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -86565,11 +47108,11 @@ }, { "constant": false, - "id": 2509, + "id": 3585, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2524, - "src": "6572:13:24", + "scope": 3600, + "src": "6552:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -86577,10 +47120,10 @@ "typeString": "address" }, "typeName": { - "id": 2508, + "id": 3584, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6572:7:24", + "src": "6552:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -86591,18 +47134,18 @@ "visibility": "internal" } ], - "id": 2517, + "id": 3593, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 2512, + "id": 3588, "name": "cdata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2481, - "src": "6600:5:24", + "referencedDeclaration": 3557, + "src": "6580:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -86613,13 +47156,13 @@ "components": [ { "argumentTypes": null, - "id": 2513, + "id": 3589, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6608:7:24", + "src": "6588:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" @@ -86628,13 +47171,13 @@ }, { "argumentTypes": null, - "id": 2514, + "id": 3590, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6617:7:24", + "src": "6597:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" @@ -86642,14 +47185,14 @@ "typeName": "address" } ], - "id": 2515, + "id": 3591, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "6607:18:24", + "src": "6587:18:16", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_type$_t_uint256_$_$_t_type$_t_address_$_$", "typeString": "tuple(type(uint256),type(address))" @@ -86669,18 +47212,18 @@ ], "expression": { "argumentTypes": null, - "id": 2510, + "id": 3586, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9440, - "src": "6589:3:24", + "referencedDeclaration": 5694, + "src": "6569:3:16", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2511, + "id": 3587, "isConstant": false, "isLValue": false, "isPure": true, @@ -86688,13 +47231,13 @@ "memberName": "decode", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6589:10:24", + "src": "6569:10:16", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 2516, + "id": 3592, "isConstant": false, "isLValue": false, "isPure": false, @@ -86702,14 +47245,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6589:37:24", + "src": "6569:37:16", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, "nodeType": "VariableDeclarationStatement", - "src": "6555:71:24" + "src": "6535:71:16" }, { "expression": { @@ -86717,12 +47260,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2519, + "id": 3595, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2446, - "src": "6644:5:24", + "referencedDeclaration": 3522, + "src": "6624:5:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -86730,12 +47273,12 @@ }, { "argumentTypes": null, - "id": 2520, + "id": 3596, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2507, - "src": "6651:6:24", + "referencedDeclaration": 3583, + "src": "6631:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -86743,12 +47286,12 @@ }, { "argumentTypes": null, - "id": 2521, + "id": 3597, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2509, - "src": "6659:5:24", + "referencedDeclaration": 3585, + "src": "6639:5:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -86770,18 +47313,18 @@ "typeString": "address" } ], - "id": 2518, + "id": 3594, "name": "buy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "6640:3:24", + "referencedDeclaration": 4150, + "src": "6620:3:16", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_uint256_$", "typeString": "function (address,uint256,address) returns (uint256)" } }, - "id": 2522, + "id": 3598, "isConstant": false, "isLValue": false, "isPure": false, @@ -86789,15 +47332,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6640:25:24", + "src": "6620:25:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2523, + "id": 3599, "nodeType": "ExpressionStatement", - "src": "6640:25:24" + "src": "6620:25:16" } ] } @@ -86805,23 +47348,23 @@ ] }, "documentation": "@notice MiniMeToken ApproveAndCallFallBack forwarder for registerPack and buyToken\n@param _from account calling \"approve and buy\" \n@param _token must be exactly SNT contract\n@param _data abi encoded call ", - "id": 2581, + "id": 3657, "implemented": true, "kind": "function", "modifiers": [], "name": "receiveApproval", "nodeType": "FunctionDefinition", "parameters": { - "id": 2453, + "id": 3529, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2446, + "id": 3522, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 2581, - "src": "6084:13:24", + "scope": 3657, + "src": "6064:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -86829,10 +47372,10 @@ "typeString": "address" }, "typeName": { - "id": 2445, + "id": 3521, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6084:7:24", + "src": "6064:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -86844,11 +47387,11 @@ }, { "constant": false, - "id": 2448, + "id": 3524, "name": "", "nodeType": "VariableDeclaration", - "scope": 2581, - "src": "6107:7:24", + "scope": 3657, + "src": "6087:7:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -86856,10 +47399,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2447, + "id": 3523, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6107:7:24", + "src": "6087:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -86870,11 +47413,11 @@ }, { "constant": false, - "id": 2450, + "id": 3526, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 2581, - "src": "6124:14:24", + "scope": 3657, + "src": "6104:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -86882,10 +47425,10 @@ "typeString": "address" }, "typeName": { - "id": 2449, + "id": 3525, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6124:7:24", + "src": "6104:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -86897,11 +47440,11 @@ }, { "constant": false, - "id": 2452, + "id": 3528, "name": "_data", "nodeType": "VariableDeclaration", - "scope": 2581, - "src": "6148:20:24", + "scope": 3657, + "src": "6128:20:16", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -86909,10 +47452,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2451, + "id": 3527, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6148:5:24", + "src": "6128:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -86922,25 +47465,25 @@ "visibility": "internal" } ], - "src": "6074:100:24" + "src": "6054:100:16" }, "returnParameters": { - "id": 2454, + "id": 3530, "nodeType": "ParameterList", "parameters": [], - "src": "6198:0:24" + "src": "6178:0:16" }, - "scope": 3142, - "src": "6050:1102:24", + "scope": 4218, + "src": "6030:1102:16", "stateMutability": "nonpayable", - "superFunction": 6941, + "superFunction": 4231, "visibility": "external" }, { "body": { - "id": 2597, + "id": 3673, "nodeType": "Block", - "src": "7481:67:24", + "src": "7461:67:16", "statements": [ { "expression": { @@ -86948,12 +47491,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2593, + "id": 3669, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2583, - "src": "7519:7:24", + "referencedDeclaration": 3659, + "src": "7499:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -86961,12 +47504,12 @@ }, { "argumentTypes": null, - "id": 2594, + "id": 3670, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2585, - "src": "7528:12:24", + "referencedDeclaration": 3661, + "src": "7508:12:16", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -86986,32 +47529,32 @@ ], "expression": { "argumentTypes": null, - "id": 2590, + "id": 3666, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "7491:8:24", + "referencedDeclaration": 3284, + "src": "7471:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2592, + "id": 3668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "setPackContenthash", "nodeType": "MemberAccess", - "referencedDeclaration": 8120, - "src": "7491:27:24", + "referencedDeclaration": 2248, + "src": "7471:27:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (uint256,bytes memory) external" } }, - "id": 2595, + "id": 3671, "isConstant": false, "isLValue": false, "isPure": false, @@ -87019,56 +47562,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7491:50:24", + "src": "7471:50:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2596, + "id": 3672, "nodeType": "ExpressionStatement", - "src": "7491:50:24" + "src": "7471:50:16" } ] }, "documentation": "@notice changes contenthash of `_packId`, can only be called by controller\n@param _packId which market position is being altered\n@param _contenthash new contenthash", - "id": 2598, + "id": 3674, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2588, + "id": 3664, "modifierName": { "argumentTypes": null, - "id": 2587, + "id": 3663, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "7461:14:24", + "referencedDeclaration": 13, + "src": "7441:14:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "7461:14:24" + "src": "7441:14:16" } ], "name": "setPackContenthash", "nodeType": "FunctionDefinition", "parameters": { - "id": 2586, + "id": 3662, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2583, + "id": 3659, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2598, - "src": "7388:15:24", + "scope": 3674, + "src": "7368:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -87076,10 +47619,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2582, + "id": 3658, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7388:7:24", + "src": "7368:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87090,11 +47633,11 @@ }, { "constant": false, - "id": 2585, + "id": 3661, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 2598, - "src": "7405:27:24", + "scope": 3674, + "src": "7385:27:16", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -87102,10 +47645,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2584, + "id": 3660, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7405:5:24", + "src": "7385:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -87115,25 +47658,25 @@ "visibility": "internal" } ], - "src": "7387:46:24" + "src": "7367:46:16" }, "returnParameters": { - "id": 2589, + "id": 3665, "nodeType": "ParameterList", "parameters": [], - "src": "7481:0:24" + "src": "7461:0:16" }, - "scope": 3142, - "src": "7360:188:24", + "scope": 4218, + "src": "7340:188:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2614, + "id": 3690, "nodeType": "Block", - "src": "7860:52:24", + "src": "7840:52:16", "statements": [ { "expression": { @@ -87141,12 +47684,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2610, + "id": 3686, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "7889:7:24", + "referencedDeclaration": 3676, + "src": "7869:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87154,12 +47697,12 @@ }, { "argumentTypes": null, - "id": 2611, + "id": 3687, "name": "_limit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "7898:6:24", + "referencedDeclaration": 3678, + "src": "7878:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87179,32 +47722,32 @@ ], "expression": { "argumentTypes": null, - "id": 2607, + "id": 3683, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "7870:8:24", + "referencedDeclaration": 3284, + "src": "7850:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2609, + "id": 3685, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "purgePack", "nodeType": "MemberAccess", - "referencedDeclaration": 8217, - "src": "7870:18:24", + "referencedDeclaration": 2345, + "src": "7850:18:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$returns$__$", "typeString": "function (uint256,uint256) external" } }, - "id": 2612, + "id": 3688, "isConstant": false, "isLValue": false, "isPure": false, @@ -87212,56 +47755,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7870:35:24", + "src": "7850:35:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2613, + "id": 3689, "nodeType": "ExpressionStatement", - "src": "7870:35:24" + "src": "7850:35:16" } ] }, "documentation": "@notice removes all market data about a marketed pack, can only be called by listing owner or market controller, and when market is open\n@param _packId position to be deleted", - "id": 2615, + "id": 3691, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2605, + "id": 3681, "modifierName": { "argumentTypes": null, - "id": 2604, + "id": 3680, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "7840:14:24", + "referencedDeclaration": 13, + "src": "7820:14:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "7840:14:24" + "src": "7820:14:16" } ], "name": "purgePack", "nodeType": "FunctionDefinition", "parameters": { - "id": 2603, + "id": 3679, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2600, + "id": 3676, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2615, - "src": "7782:15:24", + "scope": 3691, + "src": "7762:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -87269,10 +47812,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2599, + "id": 3675, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7782:7:24", + "src": "7762:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87283,11 +47826,11 @@ }, { "constant": false, - "id": 2602, + "id": 3678, "name": "_limit", "nodeType": "VariableDeclaration", - "scope": 2615, - "src": "7799:14:24", + "scope": 3691, + "src": "7779:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -87295,10 +47838,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2601, + "id": 3677, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7799:7:24", + "src": "7779:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87308,44 +47851,44 @@ "visibility": "internal" } ], - "src": "7781:33:24" + "src": "7761:33:16" }, "returnParameters": { - "id": 2606, + "id": 3682, "nodeType": "ParameterList", "parameters": [], - "src": "7860:0:24" + "src": "7840:0:16" }, - "scope": 3142, - "src": "7763:149:24", + "scope": 4218, + "src": "7743:149:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2630, + "id": 3706, "nodeType": "Block", - "src": "8111:65:24", + "src": "8091:65:16", "statements": [ { "expression": { "argumentTypes": null, - "id": 2624, + "id": 3700, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2622, + "id": 3698, "name": "state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2200, - "src": "8121:5:24", + "referencedDeclaration": 3276, + "src": "8101:5:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, @@ -87353,26 +47896,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2623, + "id": 3699, "name": "_state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2617, - "src": "8129:6:24", + "referencedDeclaration": 3693, + "src": "8109:6:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, - "src": "8121:14:24", + "src": "8101:14:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, - "id": 2625, + "id": 3701, "nodeType": "ExpressionStatement", - "src": "8121:14:24" + "src": "8101:14:16" }, { "eventCall": { @@ -87380,14 +47923,14 @@ "arguments": [ { "argumentTypes": null, - "id": 2627, + "id": 3703, "name": "_state", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2617, - "src": "8162:6:24", + "referencedDeclaration": 3693, + "src": "8142:6:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } } @@ -87395,22 +47938,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } ], - "id": 2626, + "id": 3702, "name": "MarketState", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2182, - "src": "8150:11:24", + "referencedDeclaration": 3258, + "src": "8130:11:16", "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_enum$_State_$2196_$returns$__$", + "typeIdentifier": "t_function_event_nonpayable$_t_enum$_State_$3272_$returns$__$", "typeString": "function (enum StickerMarketMigrated.State)" } }, - "id": 2628, + "id": 3704, "isConstant": false, "isLValue": false, "isPure": false, @@ -87418,71 +47961,71 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8150:19:24", + "src": "8130:19:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2629, + "id": 3705, "nodeType": "EmitStatement", - "src": "8145:24:24" + "src": "8125:24:16" } ] }, "documentation": "@notice changes market state, only controller can call.\n@param _state new state", - "id": 2631, + "id": 3707, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2620, + "id": 3696, "modifierName": { "argumentTypes": null, - "id": 2619, + "id": 3695, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "8091:14:24", + "referencedDeclaration": 13, + "src": "8071:14:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8091:14:24" + "src": "8071:14:16" } ], "name": "setMarketState", "nodeType": "FunctionDefinition", "parameters": { - "id": 2618, + "id": 3694, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2617, + "id": 3693, "name": "_state", "nodeType": "VariableDeclaration", - "scope": 2631, - "src": "8052:12:24", + "scope": 3707, + "src": "8032:12:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" }, "typeName": { "contractScope": null, - "id": 2616, + "id": 3692, "name": "State", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2196, - "src": "8052:5:24", + "referencedDeclaration": 3272, + "src": "8032:5:16", "typeDescriptions": { - "typeIdentifier": "t_enum$_State_$2196", + "typeIdentifier": "t_enum$_State_$3272", "typeString": "enum StickerMarketMigrated.State" } }, @@ -87490,42 +48033,42 @@ "visibility": "internal" } ], - "src": "8051:14:24" + "src": "8031:14:16" }, "returnParameters": { - "id": 2621, + "id": 3697, "nodeType": "ParameterList", "parameters": [], - "src": "8111:0:24" + "src": "8091:0:16" }, - "scope": 3142, - "src": "8028:148:24", + "scope": 4218, + "src": "8008:148:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2646, + "id": 3722, "nodeType": "Block", - "src": "8384:71:24", + "src": "8364:71:16", "statements": [ { "expression": { "argumentTypes": null, - "id": 2640, + "id": 3716, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2638, + "id": 3714, "name": "registerFee", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2202, - "src": "8394:11:24", + "referencedDeclaration": 3278, + "src": "8374:11:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87535,26 +48078,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2639, + "id": 3715, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2633, - "src": "8408:6:24", + "referencedDeclaration": 3709, + "src": "8388:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8394:20:24", + "src": "8374:20:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2641, + "id": 3717, "nodeType": "ExpressionStatement", - "src": "8394:20:24" + "src": "8374:20:16" }, { "eventCall": { @@ -87562,12 +48105,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2643, + "id": 3719, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2633, - "src": "8441:6:24", + "referencedDeclaration": 3709, + "src": "8421:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87581,18 +48124,18 @@ "typeString": "uint256" } ], - "id": 2642, + "id": 3718, "name": "RegisterFee", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "8429:11:24", + "referencedDeclaration": 3262, + "src": "8409:11:16", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 2644, + "id": 3720, "isConstant": false, "isLValue": false, "isPure": false, @@ -87600,56 +48143,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8429:19:24", + "src": "8409:19:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2645, + "id": 3721, "nodeType": "EmitStatement", - "src": "8424:24:24" + "src": "8404:24:16" } ] }, "documentation": "@notice changes register fee, only controller can call.\n@param _value new register fee", - "id": 2647, + "id": 3723, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2636, + "id": 3712, "modifierName": { "argumentTypes": null, - "id": 2635, + "id": 3711, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "8364:14:24", + "referencedDeclaration": 13, + "src": "8344:14:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8364:14:24" + "src": "8344:14:16" } ], "name": "setRegisterFee", "nodeType": "FunctionDefinition", "parameters": { - "id": 2634, + "id": 3710, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2633, + "id": 3709, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 2647, - "src": "8323:14:24", + "scope": 3723, + "src": "8303:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -87657,10 +48200,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2632, + "id": 3708, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8323:7:24", + "src": "8303:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87670,42 +48213,42 @@ "visibility": "internal" } ], - "src": "8322:16:24" + "src": "8302:16:16" }, "returnParameters": { - "id": 2637, + "id": 3713, "nodeType": "ParameterList", "parameters": [], - "src": "8384:0:24" + "src": "8364:0:16" }, - "scope": 3142, - "src": "8299:156:24", + "scope": 4218, + "src": "8279:156:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2669, + "id": 3745, "nodeType": "Block", - "src": "8658:130:24", + "src": "8638:130:16", "statements": [ { "expression": { "argumentTypes": null, - "id": 2656, + "id": 3732, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2654, + "id": 3730, "name": "burnRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2204, - "src": "8668:8:24", + "referencedDeclaration": 3280, + "src": "8648:8:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87715,26 +48258,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2655, + "id": 3731, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2649, - "src": "8679:6:24", + "referencedDeclaration": 3725, + "src": "8659:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8668:17:24", + "src": "8648:17:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2657, + "id": 3733, "nodeType": "ExpressionStatement", - "src": "8668:17:24" + "src": "8648:17:16" }, { "expression": { @@ -87746,19 +48289,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2661, + "id": 3737, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2659, + "id": 3735, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2649, - "src": "8703:6:24", + "referencedDeclaration": 3725, + "src": "8683:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87769,14 +48312,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 2660, + "id": 3736, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8713:5:24", + "src": "8693:5:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -87784,7 +48327,7 @@ }, "value": "10000" }, - "src": "8703:15:24", + "src": "8683:15:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -87793,14 +48336,14 @@ { "argumentTypes": null, "hexValue": "63616e6e6f74206265206d6f7265207468656e203130302e303025", - "id": 2662, + "id": 3738, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "8720:29:24", + "src": "8700:29:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_b5e17047a6001f4b7865928b596b514a6e42ece919129231b06fe85b3de9d8a1", @@ -87820,21 +48363,21 @@ "typeString": "literal_string \"cannot be more then 100.00%\"" } ], - "id": 2658, + "id": 3734, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "8695:7:24", + "referencedDeclaration": 5711, + "src": "8675:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2663, + "id": 3739, "isConstant": false, "isLValue": false, "isPure": false, @@ -87842,15 +48385,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8695:55:24", + "src": "8675:55:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2664, + "id": 3740, "nodeType": "ExpressionStatement", - "src": "8695:55:24" + "src": "8675:55:16" }, { "eventCall": { @@ -87858,12 +48401,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2666, + "id": 3742, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2649, - "src": "8774:6:24", + "referencedDeclaration": 3725, + "src": "8754:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87877,18 +48420,18 @@ "typeString": "uint256" } ], - "id": 2665, + "id": 3741, "name": "BurnRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2190, - "src": "8765:8:24", + "referencedDeclaration": 3266, + "src": "8745:8:16", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 2667, + "id": 3743, "isConstant": false, "isLValue": false, "isPure": false, @@ -87896,56 +48439,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8765:16:24", + "src": "8745:16:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2668, + "id": 3744, "nodeType": "EmitStatement", - "src": "8760:21:24" + "src": "8740:21:16" } ] }, "documentation": "@notice changes burn rate, only controller can call.\n@param _value new burn rate", - "id": 2670, + "id": 3746, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2652, + "id": 3728, "modifierName": { "argumentTypes": null, - "id": 2651, + "id": 3727, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "8638:14:24", + "referencedDeclaration": 13, + "src": "8618:14:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "8638:14:24" + "src": "8618:14:16" } ], "name": "setBurnRate", "nodeType": "FunctionDefinition", "parameters": { - "id": 2650, + "id": 3726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2649, + "id": 3725, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 2670, - "src": "8597:14:24", + "scope": 3746, + "src": "8577:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -87953,10 +48496,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2648, + "id": 3724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8597:7:24", + "src": "8577:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -87966,25 +48509,25 @@ "visibility": "internal" } ], - "src": "8596:16:24" + "src": "8576:16:16" }, "returnParameters": { - "id": 2653, + "id": 3729, "nodeType": "ParameterList", "parameters": [], - "src": "8658:0:24" + "src": "8638:0:16" }, - "scope": 3142, - "src": "8576:212:24", + "scope": 4218, + "src": "8556:212:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2687, + "id": 3763, "nodeType": "Block", - "src": "9125:63:24", + "src": "9105:63:16", "statements": [ { "expression": { @@ -87992,12 +48535,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2683, + "id": 3759, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2672, - "src": "9165:6:24", + "referencedDeclaration": 3748, + "src": "9145:6:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -88005,12 +48548,12 @@ }, { "argumentTypes": null, - "id": 2684, + "id": 3760, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2674, - "src": "9173:7:24", + "referencedDeclaration": 3750, + "src": "9153:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -88030,32 +48573,32 @@ ], "expression": { "argumentTypes": null, - "id": 2681, + "id": 3757, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "9142:8:24", + "referencedDeclaration": 3284, + "src": "9122:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2682, + "id": 3758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "generateToken", "nodeType": "MemberAccess", - "referencedDeclaration": 8318, - "src": "9142:22:24", + "referencedDeclaration": 2446, + "src": "9122:22:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) external returns (uint256)" } }, - "id": 2685, + "id": 3761, "isConstant": false, "isLValue": false, "isPure": false, @@ -88063,57 +48606,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9142:39:24", + "src": "9122:39:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2680, - "id": 2686, + "functionReturnParameters": 3756, + "id": 3762, "nodeType": "Return", - "src": "9135:46:24" + "src": "9115:46:16" } ] }, "documentation": "@notice controller can generate tokens at will\n@param _owner account being included new token\n@param _packId pack being minted\n@return tokenId created", - "id": 2688, + "id": 3764, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2677, + "id": 3753, "modifierName": { "argumentTypes": null, - "id": 2676, + "id": 3752, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "9071:14:24", + "referencedDeclaration": 13, + "src": "9051:14:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "9071:14:24" + "src": "9051:14:16" } ], "name": "generateToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 2675, + "id": 3751, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2672, + "id": 3748, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 2688, - "src": "9012:14:24", + "scope": 3764, + "src": "8992:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -88121,10 +48664,10 @@ "typeString": "address" }, "typeName": { - "id": 2671, + "id": 3747, "name": "address", "nodeType": "ElementaryTypeName", - "src": "9012:7:24", + "src": "8992:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -88136,11 +48679,11 @@ }, { "constant": false, - "id": 2674, + "id": 3750, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2688, - "src": "9028:15:24", + "scope": 3764, + "src": "9008:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -88148,10 +48691,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2673, + "id": 3749, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "9028:7:24", + "src": "9008:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -88161,19 +48704,19 @@ "visibility": "internal" } ], - "src": "9011:33:24" + "src": "8991:33:16" }, "returnParameters": { - "id": 2680, + "id": 3756, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2679, + "id": 3755, "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2688, - "src": "9104:15:24", + "scope": 3764, + "src": "9084:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -88181,10 +48724,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2678, + "id": 3754, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "9104:7:24", + "src": "9084:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -88194,19 +48737,19 @@ "visibility": "internal" } ], - "src": "9103:17:24" + "src": "9083:17:16" }, - "scope": 3142, - "src": "8989:199:24", + "scope": 4218, + "src": "8969:199:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2715, + "id": 3791, "nodeType": "Block", - "src": "9910:95:24", + "src": "9890:95:16", "statements": [ { "expression": { @@ -88214,12 +48757,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2708, + "id": 3784, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2690, - "src": "9949:6:24", + "referencedDeclaration": 3766, + "src": "9929:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -88227,12 +48770,12 @@ }, { "argumentTypes": null, - "id": 2709, + "id": 3785, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2692, - "src": "9957:7:24", + "referencedDeclaration": 3768, + "src": "9937:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -88240,12 +48783,12 @@ }, { "argumentTypes": null, - "id": 2710, + "id": 3786, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2695, - "src": "9966:9:24", + "referencedDeclaration": 3771, + "src": "9946:9:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_calldata_ptr", "typeString": "bytes4[] calldata" @@ -88253,12 +48796,12 @@ }, { "argumentTypes": null, - "id": 2711, + "id": 3787, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2697, - "src": "9977:6:24", + "referencedDeclaration": 3773, + "src": "9957:6:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -88266,12 +48809,12 @@ }, { "argumentTypes": null, - "id": 2712, + "id": 3788, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2699, - "src": "9985:12:24", + "referencedDeclaration": 3775, + "src": "9965:12:16", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" @@ -88303,32 +48846,32 @@ ], "expression": { "argumentTypes": null, - "id": 2706, + "id": 3782, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "9927:8:24", + "referencedDeclaration": 3284, + "src": "9907:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2707, + "id": 3783, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "generatePack", "nodeType": "MemberAccess", - "referencedDeclaration": 8301, - "src": "9927:21:24", + "referencedDeclaration": 2429, + "src": "9907:21:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (uint256,uint256,bytes4[] memory,address,bytes memory) external returns (uint256)" } }, - "id": 2713, + "id": 3789, "isConstant": false, "isLValue": false, "isPure": false, @@ -88336,57 +48879,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9927:71:24", + "src": "9907:71:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2705, - "id": 2714, + "functionReturnParameters": 3781, + "id": 3790, "nodeType": "Return", - "src": "9920:78:24" + "src": "9900:78:16" } ] }, "documentation": "@notice controller can generate packs at will\n@param _price cost in wei to users minting with _urlHash metadata\n@param _donate optional amount of `_price` that is donated to StickerMarket at every buy\n@param _category listing category\n@param _owner address of the beneficiary of buys\n@param _contenthash EIP1577 pack contenthash for listings\n@return packId Market position of Sticker Pack data.", - "id": 2716, + "id": 3792, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2702, + "id": 3778, "modifierName": { "argumentTypes": null, - "id": 2701, + "id": 3777, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "9859:14:24", + "referencedDeclaration": 13, + "src": "9839:14:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "9859:14:24" + "src": "9839:14:16" } ], "name": "generatePack", "nodeType": "FunctionDefinition", "parameters": { - "id": 2700, + "id": 3776, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2690, + "id": 3766, "name": "_price", "nodeType": "VariableDeclaration", - "scope": 2716, - "src": "9686:14:24", + "scope": 3792, + "src": "9666:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -88394,10 +48937,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2689, + "id": 3765, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "9686:7:24", + "src": "9666:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -88408,11 +48951,11 @@ }, { "constant": false, - "id": 2692, + "id": 3768, "name": "_donate", "nodeType": "VariableDeclaration", - "scope": 2716, - "src": "9710:15:24", + "scope": 3792, + "src": "9690:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -88420,10 +48963,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2691, + "id": 3767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "9710:7:24", + "src": "9690:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -88434,11 +48977,11 @@ }, { "constant": false, - "id": 2695, + "id": 3771, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 2716, - "src": "9735:27:24", + "scope": 3792, + "src": "9715:27:16", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -88447,19 +48990,19 @@ }, "typeName": { "baseType": { - "id": 2693, + "id": 3769, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9735:6:24", + "src": "9715:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 2694, + "id": 3770, "length": null, "nodeType": "ArrayTypeName", - "src": "9735:8:24", + "src": "9715:8:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -88470,11 +49013,11 @@ }, { "constant": false, - "id": 2697, + "id": 3773, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 2716, - "src": "9773:14:24", + "scope": 3792, + "src": "9753:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -88482,10 +49025,10 @@ "typeString": "address" }, "typeName": { - "id": 2696, + "id": 3772, "name": "address", "nodeType": "ElementaryTypeName", - "src": "9773:7:24", + "src": "9753:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -88497,11 +49040,11 @@ }, { "constant": false, - "id": 2699, + "id": 3775, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 2716, - "src": "9797:27:24", + "scope": 3792, + "src": "9777:27:16", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -88509,10 +49052,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2698, + "id": 3774, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "9797:5:24", + "src": "9777:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -88522,19 +49065,19 @@ "visibility": "internal" } ], - "src": "9676:154:24" + "src": "9656:154:16" }, "returnParameters": { - "id": 2705, + "id": 3781, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2704, + "id": 3780, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 2716, - "src": "9890:14:24", + "scope": 3792, + "src": "9870:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -88542,10 +49085,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2703, + "id": 3779, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "9890:7:24", + "src": "9870:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -88555,19 +49098,19 @@ "visibility": "internal" } ], - "src": "9889:16:24" + "src": "9869:16:16" }, - "scope": 3142, - "src": "9655:350:24", + "scope": 4218, + "src": "9635:350:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2738, + "id": 3814, "nodeType": "Block", - "src": "10231:132:24", + "src": "10211:132:16", "statements": [ { "expression": { @@ -88579,19 +49122,19 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 2728, + "id": 3804, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2724, + "id": 3800, "name": "_newController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2718, - "src": "10249:14:24", + "referencedDeclaration": 3794, + "src": "10229:14:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -88605,14 +49148,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 2726, + "id": 3802, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10275:1:24", + "src": "10255:1:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -88628,20 +49171,20 @@ "typeString": "int_const 0" } ], - "id": 2725, + "id": 3801, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10267:7:24", + "src": "10247:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 2727, + "id": 3803, "isConstant": false, "isLValue": false, "isPure": true, @@ -88649,13 +49192,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10267:10:24", + "src": "10247:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "10249:28:24", + "src": "10229:28:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -88664,14 +49207,14 @@ { "argumentTypes": null, "hexValue": "43616e6e6f7420756e73657420636f6e74726f6c6c6572", - "id": 2729, + "id": 3805, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10279:25:24", + "src": "10259:25:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_7bb0377ce7f09b2c42d1d0dad379287bb3eee888df02370d7244d801a62fd5a4", @@ -88691,21 +49234,21 @@ "typeString": "literal_string \"Cannot unset controller\"" } ], - "id": 2723, + "id": 3799, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "10241:7:24", + "referencedDeclaration": 5711, + "src": "10221:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2730, + "id": 3806, "isConstant": false, "isLValue": false, "isPure": false, @@ -88713,15 +49256,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10241:64:24", + "src": "10221:64:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2731, + "id": 3807, "nodeType": "ExpressionStatement", - "src": "10241:64:24" + "src": "10221:64:16" }, { "expression": { @@ -88729,12 +49272,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2735, + "id": 3811, "name": "_newController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2718, - "src": "10341:14:24", + "referencedDeclaration": 3794, + "src": "10321:14:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -88750,32 +49293,32 @@ ], "expression": { "argumentTypes": null, - "id": 2732, + "id": 3808, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "10315:8:24", + "referencedDeclaration": 3284, + "src": "10295:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2734, + "id": 3810, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "changeController", "nodeType": "MemberAccess", - "referencedDeclaration": 6927, - "src": "10315:25:24", + "referencedDeclaration": 36, + "src": "10295:25:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_payable_$returns$__$", "typeString": "function (address payable) external" } }, - "id": 2736, + "id": 3812, "isConstant": false, "isLValue": false, "isPure": false, @@ -88783,56 +49326,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10315:41:24", + "src": "10295:41:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 3813, "nodeType": "ExpressionStatement", - "src": "10315:41:24" + "src": "10295:41:16" } ] }, "documentation": "@notice Change controller of registry\n@param _newController new controller of registry.", - "id": 2739, + "id": 3815, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2721, + "id": 3797, "modifierName": { "argumentTypes": null, - "id": 2720, + "id": 3796, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "10211:14:24", + "referencedDeclaration": 13, + "src": "10191:14:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "10211:14:24" + "src": "10191:14:16" } ], "name": "migrateRegisty", "nodeType": "FunctionDefinition", "parameters": { - "id": 2719, + "id": 3795, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2718, + "id": 3794, "name": "_newController", "nodeType": "VariableDeclaration", - "scope": 2739, - "src": "10153:30:24", + "scope": 3815, + "src": "10133:30:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -88840,10 +49383,10 @@ "typeString": "address payable" }, "typeName": { - "id": 2717, + "id": 3793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "10153:15:24", + "src": "10133:15:16", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -88854,25 +49397,25 @@ "visibility": "internal" } ], - "src": "10152:32:24" + "src": "10132:32:16" }, "returnParameters": { - "id": 2722, + "id": 3798, "nodeType": "ParameterList", "parameters": [], - "src": "10231:0:24" + "src": "10211:0:16" }, - "scope": 3142, - "src": "10129:234:24", + "scope": 4218, + "src": "10109:234:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2792, + "id": 3868, "nodeType": "Block", - "src": "10717:345:24", + "src": "10697:345:16", "statements": [ { "condition": { @@ -88881,19 +49424,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2750, + "id": 3826, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2746, + "id": 3822, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "10731:6:24", + "referencedDeclaration": 3817, + "src": "10711:6:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -88907,14 +49450,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 2748, + "id": 3824, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10749:1:24", + "src": "10729:1:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -88930,20 +49473,20 @@ "typeString": "int_const 0" } ], - "id": 2747, + "id": 3823, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10741:7:24", + "src": "10721:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 2749, + "id": 3825, "isConstant": false, "isLValue": false, "isPure": true, @@ -88951,26 +49494,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10741:10:24", + "src": "10721:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "10731:20:24", + "src": "10711:20:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 2763, + "id": 3839, "nodeType": "IfStatement", - "src": "10727:122:24", + "src": "10707:122:16", "trueBody": { - "id": 2762, + "id": 3838, "nodeType": "Block", - "src": "10753:96:24", + "src": "10733:96:16", "statements": [ { "expression": { @@ -88983,14 +49526,14 @@ "arguments": [ { "argumentTypes": null, - "id": 2756, + "id": 3832, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9521, - "src": "10804:4:24", + "referencedDeclaration": 5763, + "src": "10784:4:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarketMigrated_$3142", + "typeIdentifier": "t_contract$_StickerMarketMigrated_$4218", "typeString": "contract StickerMarketMigrated" } } @@ -88998,24 +49541,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_StickerMarketMigrated_$3142", + "typeIdentifier": "t_contract$_StickerMarketMigrated_$4218", "typeString": "contract StickerMarketMigrated" } ], - "id": 2755, + "id": 3831, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10796:7:24", + "src": "10776:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 2757, + "id": 3833, "isConstant": false, "isLValue": false, "isPure": false, @@ -89023,13 +49566,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10796:13:24", + "src": "10776:13:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2758, + "id": 3834, "isConstant": false, "isLValue": false, "isPure": false, @@ -89037,7 +49580,7 @@ "memberName": "balance", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10796:21:24", + "src": "10776:21:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -89056,12 +49599,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2752, + "id": 3828, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "10775:10:24", + "referencedDeclaration": 15, + "src": "10755:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -89075,20 +49618,20 @@ "typeString": "address payable" } ], - "id": 2751, + "id": 3827, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10767:7:24", + "src": "10747:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 2753, + "id": 3829, "isConstant": false, "isLValue": false, "isPure": false, @@ -89096,13 +49639,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10767:19:24", + "src": "10747:19:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 2754, + "id": 3830, "isConstant": false, "isLValue": false, "isPure": false, @@ -89110,13 +49653,13 @@ "memberName": "transfer", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10767:28:24", + "src": "10747:28:16", "typeDescriptions": { "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 2759, + "id": 3835, "isConstant": false, "isLValue": false, "isPure": false, @@ -89124,53 +49667,53 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10767:51:24", + "src": "10747:51:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2760, + "id": 3836, "nodeType": "ExpressionStatement", - "src": "10767:51:24" + "src": "10747:51:16" }, { "expression": null, - "functionReturnParameters": 2745, - "id": 2761, + "functionReturnParameters": 3821, + "id": 3837, "nodeType": "Return", - "src": "10832:7:24" + "src": "10812:7:16" } ] } }, { "assignments": [ - 2765 + 3841 ], "declarations": [ { "constant": false, - "id": 2765, + "id": 3841, "name": "token", "nodeType": "VariableDeclaration", - "scope": 2792, - "src": "10858:16:24", + "scope": 3868, + "src": "10838:16:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 2764, + "id": 3840, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "10858:10:24", + "referencedDeclaration": 4515, + "src": "10838:10:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -89178,18 +49721,18 @@ "visibility": "internal" } ], - "id": 2769, + "id": 3845, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 2767, + "id": 3843, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "10888:6:24", + "referencedDeclaration": 3817, + "src": "10868:6:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -89203,18 +49746,18 @@ "typeString": "address" } ], - "id": 2766, + "id": 3842, "name": "ERC20Token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 5522, - "src": "10877:10:24", + "referencedDeclaration": 4515, + "src": "10857:10:16", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC20Token_$5522_$", + "typeIdentifier": "t_type$_t_contract$_ERC20Token_$4515_$", "typeString": "type(contract ERC20Token)" } }, - "id": 2768, + "id": 3844, "isConstant": false, "isLValue": false, "isPure": false, @@ -89222,27 +49765,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10877:18:24", + "src": "10857:18:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, "nodeType": "VariableDeclarationStatement", - "src": "10858:37:24" + "src": "10838:37:16" }, { "assignments": [ - 2771 + 3847 ], "declarations": [ { "constant": false, - "id": 2771, + "id": 3847, "name": "balance", "nodeType": "VariableDeclaration", - "scope": 2792, - "src": "10905:15:24", + "scope": 3868, + "src": "10885:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -89250,10 +49793,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2770, + "id": 3846, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "10905:7:24", + "src": "10885:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -89263,7 +49806,7 @@ "visibility": "internal" } ], - "id": 2778, + "id": 3854, "initialValue": { "argumentTypes": null, "arguments": [ @@ -89272,14 +49815,14 @@ "arguments": [ { "argumentTypes": null, - "id": 2775, + "id": 3851, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9521, - "src": "10947:4:24", + "referencedDeclaration": 5763, + "src": "10927:4:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarketMigrated_$3142", + "typeIdentifier": "t_contract$_StickerMarketMigrated_$4218", "typeString": "contract StickerMarketMigrated" } } @@ -89287,24 +49830,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_StickerMarketMigrated_$3142", + "typeIdentifier": "t_contract$_StickerMarketMigrated_$4218", "typeString": "contract StickerMarketMigrated" } ], - "id": 2774, + "id": 3850, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10939:7:24", + "src": "10919:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 2776, + "id": 3852, "isConstant": false, "isLValue": false, "isPure": false, @@ -89312,7 +49855,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10939:13:24", + "src": "10919:13:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -89328,32 +49871,32 @@ ], "expression": { "argumentTypes": null, - "id": 2772, + "id": 3848, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2765, - "src": "10923:5:24", + "referencedDeclaration": 3841, + "src": "10903:5:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 2773, + "id": 3849, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balanceOf", "nodeType": "MemberAccess", - "referencedDeclaration": 5491, - "src": "10923:15:24", + "referencedDeclaration": 4484, + "src": "10903:15:16", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2777, + "id": 3853, "isConstant": false, "isLValue": false, "isPure": false, @@ -89361,14 +49904,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10923:30:24", + "src": "10903:30:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "10905:48:24" + "src": "10885:48:16" }, { "expression": { @@ -89376,12 +49919,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2782, + "id": 3858, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "10978:10:24", + "referencedDeclaration": 15, + "src": "10958:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -89389,12 +49932,12 @@ }, { "argumentTypes": null, - "id": 2783, + "id": 3859, "name": "balance", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2771, - "src": "10990:7:24", + "referencedDeclaration": 3847, + "src": "10970:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -89414,32 +49957,32 @@ ], "expression": { "argumentTypes": null, - "id": 2779, + "id": 3855, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2765, - "src": "10963:5:24", + "referencedDeclaration": 3841, + "src": "10943:5:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 2781, + "id": 3857, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 5464, - "src": "10963:14:24", + "referencedDeclaration": 4457, + "src": "10943:14:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 2784, + "id": 3860, "isConstant": false, "isLValue": false, "isPure": false, @@ -89447,15 +49990,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10963:35:24", + "src": "10943:35:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2785, + "id": 3861, "nodeType": "ExpressionStatement", - "src": "10963:35:24" + "src": "10943:35:16" }, { "eventCall": { @@ -89463,12 +50006,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2787, + "id": 3863, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2741, - "src": "11027:6:24", + "referencedDeclaration": 3817, + "src": "11007:6:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -89476,12 +50019,12 @@ }, { "argumentTypes": null, - "id": 2788, + "id": 3864, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "11035:10:24", + "referencedDeclaration": 15, + "src": "11015:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -89489,12 +50032,12 @@ }, { "argumentTypes": null, - "id": 2789, + "id": 3865, "name": "balance", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2771, - "src": "11047:7:24", + "referencedDeclaration": 3847, + "src": "11027:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -89516,18 +50059,18 @@ "typeString": "uint256" } ], - "id": 2786, + "id": 3862, "name": "ClaimedTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2178, - "src": "11013:13:24", + "referencedDeclaration": 3254, + "src": "10993:13:16", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2790, + "id": 3866, "isConstant": false, "isLValue": false, "isPure": false, @@ -89535,56 +50078,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11013:42:24", + "src": "10993:42:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2791, + "id": 3867, "nodeType": "EmitStatement", - "src": "11008:47:24" + "src": "10988:47:16" } ] }, "documentation": "@notice This method can be used by the controller to extract mistakenly\n sent tokens to this contract.\n@param _token The address of the token contract that you want to recover\n set to 0 in case you want to extract ether.", - "id": 2793, + "id": 3869, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2744, + "id": 3820, "modifierName": { "argumentTypes": null, - "id": 2743, + "id": 3819, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "10697:14:24", + "referencedDeclaration": 13, + "src": "10677:14:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "10697:14:24" + "src": "10677:14:16" } ], "name": "claimTokens", "nodeType": "FunctionDefinition", "parameters": { - "id": 2742, + "id": 3818, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2741, + "id": 3817, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 2793, - "src": "10655:14:24", + "scope": 3869, + "src": "10635:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -89592,10 +50135,10 @@ "typeString": "address" }, "typeName": { - "id": 2740, + "id": 3816, "name": "address", "nodeType": "ElementaryTypeName", - "src": "10655:7:24", + "src": "10635:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -89606,25 +50149,25 @@ "visibility": "internal" } ], - "src": "10654:16:24" + "src": "10634:16:16" }, "returnParameters": { - "id": 2745, + "id": 3821, "nodeType": "ParameterList", "parameters": [], - "src": "10717:0:24" + "src": "10697:0:16" }, - "scope": 3142, - "src": "10634:428:24", + "scope": 4218, + "src": "10614:428:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2806, + "id": 3882, "nodeType": "Block", - "src": "11339:61:24", + "src": "11319:61:16", "statements": [ { "expression": { @@ -89632,12 +50175,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2803, + "id": 3879, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2795, - "src": "11383:9:24", + "referencedDeclaration": 3871, + "src": "11363:9:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -89653,32 +50196,32 @@ ], "expression": { "argumentTypes": null, - "id": 2801, + "id": 3877, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "11356:8:24", + "referencedDeclaration": 3284, + "src": "11336:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2802, + "id": 3878, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "getAvailablePacks", "nodeType": "MemberAccess", - "referencedDeclaration": 8385, - "src": "11356:26:24", + "referencedDeclaration": 2520, + "src": "11336:26:16", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_bytes4_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$", "typeString": "function (bytes4) view external returns (uint256[] memory)" } }, - "id": 2804, + "id": 3880, "isConstant": false, "isLValue": false, "isPure": false, @@ -89686,37 +50229,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11356:37:24", + "src": "11336:37:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", "typeString": "uint256[] memory" } }, - "functionReturnParameters": 2800, - "id": 2805, + "functionReturnParameters": 3876, + "id": 3881, "nodeType": "Return", - "src": "11349:44:24" + "src": "11329:44:16" } ] }, "documentation": "@notice read available market ids in a category (might be slow)\n@return array of market id registered", - "id": 2807, + "id": 3883, "implemented": true, "kind": "function", "modifiers": [], "name": "getAvailablePacks", "nodeType": "FunctionDefinition", "parameters": { - "id": 2796, + "id": 3872, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2795, + "id": 3871, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 2807, - "src": "11236:16:24", + "scope": 3883, + "src": "11216:16:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -89724,10 +50267,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2794, + "id": 3870, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "11236:6:24", + "src": "11216:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -89737,19 +50280,19 @@ "visibility": "internal" } ], - "src": "11235:18:24" + "src": "11215:18:16" }, "returnParameters": { - "id": 2800, + "id": 3876, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2799, + "id": 3875, "name": "availableIds", "nodeType": "VariableDeclaration", - "scope": 2807, - "src": "11304:29:24", + "scope": 3883, + "src": "11284:29:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -89758,19 +50301,19 @@ }, "typeName": { "baseType": { - "id": 2797, + "id": 3873, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11304:7:24", + "src": "11284:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2798, + "id": 3874, "length": null, "nodeType": "ArrayTypeName", - "src": "11304:9:24", + "src": "11284:9:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", "typeString": "uint256[]" @@ -89780,36 +50323,36 @@ "visibility": "internal" } ], - "src": "11303:31:24" + "src": "11283:31:16" }, - "scope": 3142, - "src": "11209:191:24", + "scope": 4218, + "src": "11189:191:16", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2821, + "id": 3897, "nodeType": "Block", - "src": "11604:61:24", + "src": "11584:61:16", "statements": [ { "expression": { "argumentTypes": null, - "id": 2819, + "id": 3895, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2814, + "id": 3890, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2812, - "src": "11614:4:24", + "referencedDeclaration": 3888, + "src": "11594:4:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -89822,12 +50365,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2817, + "id": 3893, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2809, - "src": "11648:9:24", + "referencedDeclaration": 3885, + "src": "11628:9:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -89843,32 +50386,32 @@ ], "expression": { "argumentTypes": null, - "id": 2815, + "id": 3891, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "11621:8:24", + "referencedDeclaration": 3284, + "src": "11601:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2816, + "id": 3892, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "getCategoryLength", "nodeType": "MemberAccess", - "referencedDeclaration": 8400, - "src": "11621:26:24", + "referencedDeclaration": 2535, + "src": "11601:26:16", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_bytes4_$returns$_t_uint256_$", "typeString": "function (bytes4) view external returns (uint256)" } }, - "id": 2818, + "id": 3894, "isConstant": false, "isLValue": false, "isPure": false, @@ -89876,42 +50419,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11621:37:24", + "src": "11601:37:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11614:44:24", + "src": "11594:44:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2820, + "id": 3896, "nodeType": "ExpressionStatement", - "src": "11614:44:24" + "src": "11594:44:16" } ] }, "documentation": "@notice count total packs in a category\n@return lenght", - "id": 2822, + "id": 3898, "implemented": true, "kind": "function", "modifiers": [], "name": "getCategoryLength", "nodeType": "FunctionDefinition", "parameters": { - "id": 2810, + "id": 3886, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2809, + "id": 3885, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 2822, - "src": "11518:16:24", + "scope": 3898, + "src": "11498:16:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -89919,10 +50462,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2808, + "id": 3884, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "11518:6:24", + "src": "11498:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -89932,19 +50475,19 @@ "visibility": "internal" } ], - "src": "11517:18:24" + "src": "11497:18:16" }, "returnParameters": { - "id": 2813, + "id": 3889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2812, + "id": 3888, "name": "size", "nodeType": "VariableDeclaration", - "scope": 2822, - "src": "11586:12:24", + "scope": 3898, + "src": "11566:12:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -89952,10 +50495,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2811, + "id": 3887, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11586:7:24", + "src": "11566:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -89965,36 +50508,36 @@ "visibility": "internal" } ], - "src": "11585:14:24" + "src": "11565:14:16" }, - "scope": 3142, - "src": "11491:174:24", + "scope": 4218, + "src": "11471:174:16", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2839, + "id": 3915, "nodeType": "Block", - "src": "11885:68:24", + "src": "11865:68:16", "statements": [ { "expression": { "argumentTypes": null, - "id": 2837, + "id": 3913, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2831, + "id": 3907, "name": "packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2829, - "src": "11895:6:24", + "referencedDeclaration": 3905, + "src": "11875:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90007,12 +50550,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2834, + "id": 3910, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2824, - "src": "11929:9:24", + "referencedDeclaration": 3900, + "src": "11909:9:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -90020,12 +50563,12 @@ }, { "argumentTypes": null, - "id": 2835, + "id": 3911, "name": "_index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2826, - "src": "11939:6:24", + "referencedDeclaration": 3902, + "src": "11919:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90045,32 +50588,32 @@ ], "expression": { "argumentTypes": null, - "id": 2832, + "id": 3908, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "11904:8:24", + "referencedDeclaration": 3284, + "src": "11884:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2833, + "id": 3909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "getCategoryPack", "nodeType": "MemberAccess", - "referencedDeclaration": 8418, - "src": "11904:24:24", + "referencedDeclaration": 2553, + "src": "11884:24:16", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_bytes4_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (bytes4,uint256) view external returns (uint256)" } }, - "id": 2836, + "id": 3912, "isConstant": false, "isLValue": false, "isPure": false, @@ -90078,42 +50621,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11904:42:24", + "src": "11884:42:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11895:51:24", + "src": "11875:51:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2838, + "id": 3914, "nodeType": "ExpressionStatement", - "src": "11895:51:24" + "src": "11875:51:16" } ] }, "documentation": "@notice read packId of a category index\n@return packId", - "id": 2840, + "id": 3916, "implemented": true, "kind": "function", "modifiers": [], "name": "getCategoryPack", "nodeType": "FunctionDefinition", "parameters": { - "id": 2827, + "id": 3903, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2824, + "id": 3900, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 2840, - "src": "11781:16:24", + "scope": 3916, + "src": "11761:16:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -90121,10 +50664,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2823, + "id": 3899, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "11781:6:24", + "src": "11761:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -90135,11 +50678,11 @@ }, { "constant": false, - "id": 2826, + "id": 3902, "name": "_index", "nodeType": "VariableDeclaration", - "scope": 2840, - "src": "11799:14:24", + "scope": 3916, + "src": "11779:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -90147,10 +50690,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2825, + "id": 3901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11799:7:24", + "src": "11779:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90160,19 +50703,19 @@ "visibility": "internal" } ], - "src": "11780:34:24" + "src": "11760:34:16" }, "returnParameters": { - "id": 2830, + "id": 3906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2829, + "id": 3905, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 2840, - "src": "11865:14:24", + "scope": 3916, + "src": "11845:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -90180,10 +50723,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2828, + "id": 3904, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11865:7:24", + "src": "11845:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90193,19 +50736,19 @@ "visibility": "internal" } ], - "src": "11864:16:24" + "src": "11844:16:16" }, - "scope": 3142, - "src": "11756:197:24", + "scope": 4218, + "src": "11736:197:16", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2863, + "id": 3939, "nodeType": "Block", - "src": "12322:53:24", + "src": "12302:53:16", "statements": [ { "expression": { @@ -90213,12 +50756,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2860, + "id": 3936, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2842, - "src": "12360:7:24", + "referencedDeclaration": 3918, + "src": "12340:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90234,32 +50777,32 @@ ], "expression": { "argumentTypes": null, - "id": 2858, + "id": 3934, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "12339:8:24", + "referencedDeclaration": 3284, + "src": "12319:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2859, + "id": 3935, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "getPackData", "nodeType": "MemberAccess", - "referencedDeclaration": 8474, - "src": "12339:20:24", + "referencedDeclaration": 2609, + "src": "12319:20:16", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_bool_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$", "typeString": "function (uint256) view external returns (bytes4[] memory,address,bool,uint256,uint256,bytes memory)" } }, - "id": 2861, + "id": 3937, "isConstant": false, "isLValue": false, "isPure": false, @@ -90267,37 +50810,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12339:29:24", + "src": "12319:29:16", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_bool_$_t_uint256_$_t_uint256_$_t_bytes_memory_ptr_$", "typeString": "tuple(bytes4[] memory,address,bool,uint256,uint256,bytes memory)" } }, - "functionReturnParameters": 2857, - "id": 2862, + "functionReturnParameters": 3933, + "id": 3938, "nodeType": "Return", - "src": "12332:36:24" + "src": "12312:36:16" } ] }, "documentation": "@notice returns all data from pack in market", - "id": 2864, + "id": 3940, "implemented": true, "kind": "function", "modifiers": [], "name": "getPackData", "nodeType": "FunctionDefinition", "parameters": { - "id": 2843, + "id": 3919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2842, + "id": 3918, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 2864, - "src": "12052:15:24", + "scope": 3940, + "src": "12032:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -90305,10 +50848,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2841, + "id": 3917, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12052:7:24", + "src": "12032:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90318,19 +50861,19 @@ "visibility": "internal" } ], - "src": "12051:17:24" + "src": "12031:17:16" }, "returnParameters": { - "id": 2857, + "id": 3933, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2846, + "id": 3922, "name": "category", "nodeType": "VariableDeclaration", - "scope": 2864, - "src": "12132:24:24", + "scope": 3940, + "src": "12112:24:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -90339,19 +50882,19 @@ }, "typeName": { "baseType": { - "id": 2844, + "id": 3920, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "12132:6:24", + "src": "12112:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 2845, + "id": 3921, "length": null, "nodeType": "ArrayTypeName", - "src": "12132:8:24", + "src": "12112:8:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -90362,11 +50905,11 @@ }, { "constant": false, - "id": 2848, + "id": 3924, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2864, - "src": "12170:13:24", + "scope": 3940, + "src": "12150:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -90374,10 +50917,10 @@ "typeString": "address" }, "typeName": { - "id": 2847, + "id": 3923, "name": "address", "nodeType": "ElementaryTypeName", - "src": "12170:7:24", + "src": "12150:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -90389,11 +50932,11 @@ }, { "constant": false, - "id": 2850, + "id": 3926, "name": "mintable", "nodeType": "VariableDeclaration", - "scope": 2864, - "src": "12197:13:24", + "scope": 3940, + "src": "12177:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -90401,10 +50944,10 @@ "typeString": "bool" }, "typeName": { - "id": 2849, + "id": 3925, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12197:4:24", + "src": "12177:4:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -90415,11 +50958,11 @@ }, { "constant": false, - "id": 2852, + "id": 3928, "name": "timestamp", "nodeType": "VariableDeclaration", - "scope": 2864, - "src": "12224:17:24", + "scope": 3940, + "src": "12204:17:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -90427,10 +50970,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2851, + "id": 3927, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12224:7:24", + "src": "12204:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90441,11 +50984,11 @@ }, { "constant": false, - "id": 2854, + "id": 3930, "name": "price", "nodeType": "VariableDeclaration", - "scope": 2864, - "src": "12255:13:24", + "scope": 3940, + "src": "12235:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -90453,10 +50996,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 3929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12255:7:24", + "src": "12235:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90467,11 +51010,11 @@ }, { "constant": false, - "id": 2856, + "id": 3932, "name": "contenthash", "nodeType": "VariableDeclaration", - "scope": 2864, - "src": "12282:24:24", + "scope": 3940, + "src": "12262:24:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -90479,10 +51022,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2855, + "id": 3931, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12282:5:24", + "src": "12262:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -90492,19 +51035,19 @@ "visibility": "internal" } ], - "src": "12118:198:24" + "src": "12098:198:16" }, - "scope": 3142, - "src": "12031:344:24", + "scope": 4218, + "src": "12011:344:16", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2881, + "id": 3957, "nodeType": "Block", - "src": "12652:55:24", + "src": "12632:55:16", "statements": [ { "expression": { @@ -90512,12 +51055,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2878, + "id": 3954, "name": "_tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2866, - "src": "12691:8:24", + "referencedDeclaration": 3942, + "src": "12671:8:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90533,32 +51076,32 @@ ], "expression": { "argumentTypes": null, - "id": 2876, + "id": 3952, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "12669:8:24", + "referencedDeclaration": 3284, + "src": "12649:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2877, + "id": 3953, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "getTokenData", "nodeType": "MemberAccess", - "referencedDeclaration": 8531, - "src": "12669:21:24", + "referencedDeclaration": 2666, + "src": "12649:21:16", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_uint256_$_t_bytes_memory_ptr_$", "typeString": "function (uint256) view external returns (bytes4[] memory,uint256,bytes memory)" } }, - "id": 2879, + "id": 3955, "isConstant": false, "isLValue": false, "isPure": false, @@ -90566,37 +51109,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12669:31:24", + "src": "12649:31:16", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_uint256_$_t_bytes_memory_ptr_$", "typeString": "tuple(bytes4[] memory,uint256,bytes memory)" } }, - "functionReturnParameters": 2875, - "id": 2880, + "functionReturnParameters": 3951, + "id": 3956, "nodeType": "Return", - "src": "12662:38:24" + "src": "12642:38:16" } ] }, "documentation": "@notice returns relevant token data", - "id": 2882, + "id": 3958, "implemented": true, "kind": "function", "modifiers": [], "name": "getTokenData", "nodeType": "FunctionDefinition", "parameters": { - "id": 2867, + "id": 3943, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2866, + "id": 3942, "name": "_tokenId", "nodeType": "VariableDeclaration", - "scope": 2882, - "src": "12462:16:24", + "scope": 3958, + "src": "12442:16:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -90604,10 +51147,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2865, + "id": 3941, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12462:7:24", + "src": "12442:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90617,19 +51160,19 @@ "visibility": "internal" } ], - "src": "12461:18:24" + "src": "12441:18:16" }, "returnParameters": { - "id": 2875, + "id": 3951, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2870, + "id": 3946, "name": "category", "nodeType": "VariableDeclaration", - "scope": 2882, - "src": "12543:24:24", + "scope": 3958, + "src": "12523:24:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -90638,19 +51181,19 @@ }, "typeName": { "baseType": { - "id": 2868, + "id": 3944, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "12543:6:24", + "src": "12523:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 2869, + "id": 3945, "length": null, "nodeType": "ArrayTypeName", - "src": "12543:8:24", + "src": "12523:8:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -90661,11 +51204,11 @@ }, { "constant": false, - "id": 2872, + "id": 3948, "name": "timestamp", "nodeType": "VariableDeclaration", - "scope": 2882, - "src": "12581:17:24", + "scope": 3958, + "src": "12561:17:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -90673,10 +51216,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2871, + "id": 3947, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12581:7:24", + "src": "12561:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90687,11 +51230,11 @@ }, { "constant": false, - "id": 2874, + "id": 3950, "name": "contenthash", "nodeType": "VariableDeclaration", - "scope": 2882, - "src": "12612:24:24", + "scope": 3958, + "src": "12592:24:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -90699,10 +51242,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2873, + "id": 3949, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12612:5:24", + "src": "12592:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -90712,19 +51255,19 @@ "visibility": "internal" } ], - "src": "12529:117:24" + "src": "12509:117:16" }, - "scope": 3142, - "src": "12440:267:24", + "scope": 4218, + "src": "12420:267:16", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2935, + "id": 4011, "nodeType": "Block", - "src": "13042:313:24", + "src": "13022:313:16", "statements": [ { "condition": { @@ -90733,19 +51276,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2904, + "id": 3980, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2902, + "id": 3978, "name": "registerFee", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2202, - "src": "13055:11:24", + "referencedDeclaration": 3278, + "src": "13035:11:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90756,14 +51299,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 2903, + "id": 3979, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13069:1:24", + "src": "13049:1:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -90771,20 +51314,20 @@ }, "value": "0" }, - "src": "13055:15:24", + "src": "13035:15:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 2918, + "id": 3994, "nodeType": "IfStatement", - "src": "13052:121:24", + "src": "13032:121:16", "trueBody": { - "id": 2917, + "id": 3993, "nodeType": "Block", - "src": "13071:102:24", + "src": "13051:102:16", "statements": [ { "expression": { @@ -90795,12 +51338,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2908, + "id": 3984, "name": "_caller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2884, - "src": "13110:7:24", + "referencedDeclaration": 3960, + "src": "13090:7:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -90811,14 +51354,14 @@ "arguments": [ { "argumentTypes": null, - "id": 2910, + "id": 3986, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9521, - "src": "13127:4:24", + "referencedDeclaration": 5763, + "src": "13107:4:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarketMigrated_$3142", + "typeIdentifier": "t_contract$_StickerMarketMigrated_$4218", "typeString": "contract StickerMarketMigrated" } } @@ -90826,24 +51369,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_StickerMarketMigrated_$3142", + "typeIdentifier": "t_contract$_StickerMarketMigrated_$4218", "typeString": "contract StickerMarketMigrated" } ], - "id": 2909, + "id": 3985, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "13119:7:24", + "src": "13099:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 2911, + "id": 3987, "isConstant": false, "isLValue": false, "isPure": false, @@ -90851,7 +51394,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13119:13:24", + "src": "13099:13:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -90859,12 +51402,12 @@ }, { "argumentTypes": null, - "id": 2912, + "id": 3988, "name": "registerFee", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2202, - "src": "13134:11:24", + "referencedDeclaration": 3278, + "src": "13114:11:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -90888,32 +51431,32 @@ ], "expression": { "argumentTypes": null, - "id": 2906, + "id": 3982, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2206, - "src": "13093:3:24", + "referencedDeclaration": 3282, + "src": "13073:3:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 2907, + "id": 3983, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transferFrom", "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "13093:16:24", + "referencedDeclaration": 4477, + "src": "13073:16:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) external returns (bool)" } }, - "id": 2913, + "id": 3989, "isConstant": false, "isLValue": false, "isPure": false, @@ -90921,7 +51464,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13093:53:24", + "src": "13073:53:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -90930,14 +51473,14 @@ { "argumentTypes": null, "hexValue": "426164207061796d656e74", - "id": 2914, + "id": 3990, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13148:13:24", + "src": "13128:13:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_2f706041c82808b9d33018cf7aa052a4df71fcbd86a2e2b0fb54f9a089aa7894", @@ -90957,21 +51500,21 @@ "typeString": "literal_string \"Bad payment\"" } ], - "id": 2905, + "id": 3981, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "13085:7:24", + "referencedDeclaration": 5711, + "src": "13065:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2915, + "id": 3991, "isConstant": false, "isLValue": false, "isPure": false, @@ -90979,15 +51522,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13085:77:24", + "src": "13065:77:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2916, + "id": 3992, "nodeType": "ExpressionStatement", - "src": "13085:77:24" + "src": "13065:77:16" } ] } @@ -91002,19 +51545,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2922, + "id": 3998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2920, + "id": 3996, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2893, - "src": "13190:7:24", + "referencedDeclaration": 3969, + "src": "13170:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -91025,14 +51568,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 2921, + "id": 3997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13201:5:24", + "src": "13181:5:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -91040,7 +51583,7 @@ }, "value": "10000" }, - "src": "13190:16:24", + "src": "13170:16:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -91049,14 +51592,14 @@ { "argumentTypes": null, "hexValue": "42616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025", - "id": 2923, + "id": 3999, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13208:51:24", + "src": "13188:51:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_39b850c1417a175a108276062b1eaa1e5a7ee0a69781dbd9f4a6552a666b086c", @@ -91076,21 +51619,21 @@ "typeString": "literal_string \"Bad argument, _donate cannot be more then 100.00%\"" } ], - "id": 2919, + "id": 3995, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "13182:7:24", + "referencedDeclaration": 5711, + "src": "13162:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2924, + "id": 4000, "isConstant": false, "isLValue": false, "isPure": false, @@ -91098,15 +51641,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13182:78:24", + "src": "13162:78:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2925, + "id": 4001, "nodeType": "ExpressionStatement", - "src": "13182:78:24" + "src": "13162:78:16" }, { "expression": { @@ -91114,12 +51657,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2928, + "id": 4004, "name": "_price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2891, - "src": "13299:6:24", + "referencedDeclaration": 3967, + "src": "13279:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -91127,12 +51670,12 @@ }, { "argumentTypes": null, - "id": 2929, + "id": 4005, "name": "_donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2893, - "src": "13307:7:24", + "referencedDeclaration": 3969, + "src": "13287:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -91140,12 +51683,12 @@ }, { "argumentTypes": null, - "id": 2930, + "id": 4006, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2887, - "src": "13316:9:24", + "referencedDeclaration": 3963, + "src": "13296:9:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_memory_ptr", "typeString": "bytes4[] memory" @@ -91153,12 +51696,12 @@ }, { "argumentTypes": null, - "id": 2931, + "id": 4007, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2889, - "src": "13327:6:24", + "referencedDeclaration": 3965, + "src": "13307:6:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -91166,12 +51709,12 @@ }, { "argumentTypes": null, - "id": 2932, + "id": 4008, "name": "_contenthash", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2895, - "src": "13335:12:24", + "referencedDeclaration": 3971, + "src": "13315:12:16", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -91203,32 +51746,32 @@ ], "expression": { "argumentTypes": null, - "id": 2926, + "id": 4002, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "13277:8:24", + "referencedDeclaration": 3284, + "src": "13257:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2927, + "id": 4003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "generatePack", "nodeType": "MemberAccess", - "referencedDeclaration": 8301, - "src": "13277:21:24", + "referencedDeclaration": 2429, + "src": "13257:21:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_uint256_$_t_array$_t_bytes4_$dyn_memory_ptr_$_t_address_$_t_bytes_memory_ptr_$returns$_t_uint256_$", "typeString": "function (uint256,uint256,bytes4[] memory,address,bytes memory) external returns (uint256)" } }, - "id": 2933, + "id": 4009, "isConstant": false, "isLValue": false, "isPure": false, @@ -91236,57 +51779,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13277:71:24", + "src": "13257:71:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2901, - "id": 2934, + "functionReturnParameters": 3977, + "id": 4010, "nodeType": "Return", - "src": "13270:78:24" + "src": "13250:78:16" } ] }, "documentation": "@dev register new pack to owner", - "id": 2936, + "id": 4012, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2898, + "id": 3974, "modifierName": { "argumentTypes": null, - "id": 2897, + "id": 3973, "name": "marketManagement", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2231, - "src": "12988:16:24", + "referencedDeclaration": 3307, + "src": "12968:16:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "12988:16:24" + "src": "12968:16:16" } ], "name": "register", "nodeType": "FunctionDefinition", "parameters": { - "id": 2896, + "id": 3972, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2884, + "id": 3960, "name": "_caller", "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "12796:15:24", + "scope": 4012, + "src": "12776:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -91294,10 +51837,10 @@ "typeString": "address" }, "typeName": { - "id": 2883, + "id": 3959, "name": "address", "nodeType": "ElementaryTypeName", - "src": "12796:7:24", + "src": "12776:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -91309,11 +51852,11 @@ }, { "constant": false, - "id": 2887, + "id": 3963, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "12821:25:24", + "scope": 4012, + "src": "12801:25:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -91322,19 +51865,19 @@ }, "typeName": { "baseType": { - "id": 2885, + "id": 3961, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "12821:6:24", + "src": "12801:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "id": 2886, + "id": 3962, "length": null, "nodeType": "ArrayTypeName", - "src": "12821:8:24", + "src": "12801:8:16", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes4_$dyn_storage_ptr", "typeString": "bytes4[]" @@ -91345,11 +51888,11 @@ }, { "constant": false, - "id": 2889, + "id": 3965, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "12856:14:24", + "scope": 4012, + "src": "12836:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -91357,10 +51900,10 @@ "typeString": "address" }, "typeName": { - "id": 2888, + "id": 3964, "name": "address", "nodeType": "ElementaryTypeName", - "src": "12856:7:24", + "src": "12836:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -91372,11 +51915,11 @@ }, { "constant": false, - "id": 2891, + "id": 3967, "name": "_price", "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "12880:14:24", + "scope": 4012, + "src": "12860:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -91384,10 +51927,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2890, + "id": 3966, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12880:7:24", + "src": "12860:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -91398,11 +51941,11 @@ }, { "constant": false, - "id": 2893, + "id": 3969, "name": "_donate", "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "12904:15:24", + "scope": 4012, + "src": "12884:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -91410,10 +51953,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2892, + "id": 3968, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12904:7:24", + "src": "12884:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -91424,11 +51967,11 @@ }, { "constant": false, - "id": 2895, + "id": 3971, "name": "_contenthash", "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "12929:25:24", + "scope": 4012, + "src": "12909:25:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -91436,10 +51979,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2894, + "id": 3970, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "12929:5:24", + "src": "12909:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -91449,19 +51992,19 @@ "visibility": "internal" } ], - "src": "12786:174:24" + "src": "12766:174:16" }, "returnParameters": { - "id": 2901, + "id": 3977, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 3976, "name": "packId", "nodeType": "VariableDeclaration", - "scope": 2936, - "src": "13021:14:24", + "scope": 4012, + "src": "13001:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -91469,10 +52012,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2899, + "id": 3975, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13021:7:24", + "src": "13001:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -91482,35 +52025,35 @@ "visibility": "internal" } ], - "src": "13020:16:24" + "src": "13000:16:16" }, - "scope": 3142, - "src": "12769:586:24", + "scope": 4218, + "src": "12749:586:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 3073, + "id": 4149, "nodeType": "Block", - "src": "13636:926:24", + "src": "13616:926:16", "statements": [ { "assignments": [ - 2950, - 2952, - 2954, - 2956 + 4026, + 4028, + 4030, + 4032 ], "declarations": [ { "constant": false, - "id": 2950, + "id": 4026, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3073, - "src": "13660:13:24", + "scope": 4149, + "src": "13640:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -91518,10 +52061,10 @@ "typeString": "address" }, "typeName": { - "id": 2949, + "id": 4025, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13660:7:24", + "src": "13640:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -91533,11 +52076,11 @@ }, { "constant": false, - "id": 2952, + "id": 4028, "name": "mintable", "nodeType": "VariableDeclaration", - "scope": 3073, - "src": "13687:13:24", + "scope": 4149, + "src": "13667:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -91545,10 +52088,10 @@ "typeString": "bool" }, "typeName": { - "id": 2951, + "id": 4027, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13687:4:24", + "src": "13667:4:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -91559,11 +52102,11 @@ }, { "constant": false, - "id": 2954, + "id": 4030, "name": "price", "nodeType": "VariableDeclaration", - "scope": 3073, - "src": "13714:13:24", + "scope": 4149, + "src": "13694:13:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -91571,10 +52114,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2953, + "id": 4029, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13714:7:24", + "src": "13694:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -91585,11 +52128,11 @@ }, { "constant": false, - "id": 2956, + "id": 4032, "name": "donate", "nodeType": "VariableDeclaration", - "scope": 3073, - "src": "13741:14:24", + "scope": 4149, + "src": "13721:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -91597,10 +52140,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2955, + "id": 4031, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13741:7:24", + "src": "13721:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -91610,18 +52153,18 @@ "visibility": "internal" } ], - "id": 2961, + "id": 4037, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 2959, + "id": 4035, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2940, - "src": "13792:7:24", + "referencedDeclaration": 4016, + "src": "13772:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -91637,32 +52180,32 @@ ], "expression": { "argumentTypes": null, - "id": 2957, + "id": 4033, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "13768:8:24", + "referencedDeclaration": 3284, + "src": "13748:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 2958, + "id": 4034, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "getPaymentData", "nodeType": "MemberAccess", - "referencedDeclaration": 8504, - "src": "13768:23:24", + "referencedDeclaration": 2639, + "src": "13748:23:16", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_address_$_t_bool_$_t_uint256_$_t_uint256_$", "typeString": "function (uint256) view external returns (address,bool,uint256,uint256)" } }, - "id": 2960, + "id": 4036, "isConstant": false, "isLValue": false, "isPure": false, @@ -91670,14 +52213,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13768:32:24", + "src": "13748:32:16", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_address_$_t_bool_$_t_uint256_$_t_uint256_$", "typeString": "tuple(address,bool,uint256,uint256)" } }, "nodeType": "VariableDeclarationStatement", - "src": "13646:154:24" + "src": "13626:154:16" }, { "expression": { @@ -91689,19 +52232,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2967, + "id": 4043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2963, + "id": 4039, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2950, - "src": "13818:5:24", + "referencedDeclaration": 4026, + "src": "13798:5:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -91715,14 +52258,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 2965, + "id": 4041, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13835:1:24", + "src": "13815:1:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -91738,20 +52281,20 @@ "typeString": "int_const 0" } ], - "id": 2964, + "id": 4040, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "13827:7:24", + "src": "13807:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 2966, + "id": 4042, "isConstant": false, "isLValue": false, "isPure": true, @@ -91759,13 +52302,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13827:10:24", + "src": "13807:10:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "13818:19:24", + "src": "13798:19:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -91774,14 +52317,14 @@ { "argumentTypes": null, "hexValue": "426164207061636b", - "id": 2968, + "id": 4044, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13839:10:24", + "src": "13819:10:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_3e58bfd29a4a4451ac5b3b2575ffc19d4e60379d241da7d37eaadf6c75fbb203", @@ -91801,21 +52344,21 @@ "typeString": "literal_string \"Bad pack\"" } ], - "id": 2962, + "id": 4038, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "13810:7:24", + "referencedDeclaration": 5711, + "src": "13790:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2969, + "id": 4045, "isConstant": false, "isLValue": false, "isPure": false, @@ -91823,15 +52366,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13810:40:24", + "src": "13790:40:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2970, + "id": 4046, "nodeType": "ExpressionStatement", - "src": "13810:40:24" + "src": "13790:40:16" }, { "expression": { @@ -91839,12 +52382,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2972, + "id": 4048, "name": "mintable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2952, - "src": "13868:8:24", + "referencedDeclaration": 4028, + "src": "13848:8:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -91853,14 +52396,14 @@ { "argumentTypes": null, "hexValue": "44697361626c6564", - "id": 2973, + "id": 4049, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13878:10:24", + "src": "13858:10:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc706b0562d4d0480fd55e80d6bbe5abb3f248e31fb8d00e56119227634d3ed3", @@ -91880,21 +52423,21 @@ "typeString": "literal_string \"Disabled\"" } ], - "id": 2971, + "id": 4047, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "13860:7:24", + "referencedDeclaration": 5711, + "src": "13840:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2974, + "id": 4050, "isConstant": false, "isLValue": false, "isPure": false, @@ -91902,28 +52445,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13860:29:24", + "src": "13840:29:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2975, + "id": 4051, "nodeType": "ExpressionStatement", - "src": "13860:29:24" + "src": "13840:29:16" }, { "assignments": [ - 2977 + 4053 ], "declarations": [ { "constant": false, - "id": 2977, + "id": 4053, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 3073, - "src": "13899:14:24", + "scope": 4149, + "src": "13879:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -91931,10 +52474,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2976, + "id": 4052, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13899:7:24", + "src": "13879:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -91944,22 +52487,22 @@ "visibility": "internal" } ], - "id": 2979, + "id": 4055, "initialValue": { "argumentTypes": null, - "id": 2978, + "id": 4054, "name": "price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2954, - "src": "13916:5:24", + "referencedDeclaration": 4030, + "src": "13896:5:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13899:22:24" + "src": "13879:22:16" }, { "condition": { @@ -91968,7 +52511,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2986, + "id": 4062, "isConstant": false, "isLValue": false, "isPure": false, @@ -91979,19 +52522,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2982, + "id": 4058, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2980, + "id": 4056, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2977, - "src": "13934:6:24", + "referencedDeclaration": 4053, + "src": "13914:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92002,14 +52545,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 2981, + "id": 4057, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13943:1:24", + "src": "13923:1:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -92017,7 +52560,7 @@ }, "value": "0" }, - "src": "13934:10:24", + "src": "13914:10:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -92031,19 +52574,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2985, + "id": 4061, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2983, + "id": 4059, "name": "burnRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2204, - "src": "13948:8:24", + "referencedDeclaration": 3280, + "src": "13928:8:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92054,14 +52597,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 2984, + "id": 4060, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13959:1:24", + "src": "13939:1:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -92069,39 +52612,39 @@ }, "value": "0" }, - "src": "13948:12:24", + "src": "13928:12:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "13934:26:24", + "src": "13914:26:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 3017, + "id": 4093, "nodeType": "IfStatement", - "src": "13931:237:24", + "src": "13911:237:16", "trueBody": { - "id": 3016, + "id": 4092, "nodeType": "Block", - "src": "13962:206:24", + "src": "13942:206:16", "statements": [ { "assignments": [ - 2988 + 4064 ], "declarations": [ { "constant": false, - "id": 2988, + "id": 4064, "name": "burned", "nodeType": "VariableDeclaration", - "scope": 3016, - "src": "13976:14:24", + "scope": 4092, + "src": "13956:14:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -92109,10 +52652,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2987, + "id": 4063, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13976:7:24", + "src": "13956:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92122,14 +52665,14 @@ "visibility": "internal" } ], - "id": 2995, + "id": 4071, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2994, + "id": 4070, "isConstant": false, "isLValue": false, "isPure": false, @@ -92143,19 +52686,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2991, + "id": 4067, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 2989, + "id": 4065, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2977, - "src": "13994:6:24", + "referencedDeclaration": 4053, + "src": "13974:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92165,32 +52708,32 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 2990, + "id": 4066, "name": "burnRate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2204, - "src": "14003:8:24", + "referencedDeclaration": 3280, + "src": "13983:8:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13994:17:24", + "src": "13974:17:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 2992, + "id": 4068, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13993:19:24", + "src": "13973:19:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92201,14 +52744,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 2993, + "id": 4069, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14015:5:24", + "src": "13995:5:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -92216,31 +52759,31 @@ }, "value": "10000" }, - "src": "13993:27:24", + "src": "13973:27:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13976:44:24" + "src": "13956:44:16" }, { "expression": { "argumentTypes": null, - "id": 2998, + "id": 4074, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2996, + "id": 4072, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2977, - "src": "14034:6:24", + "referencedDeclaration": 4053, + "src": "14014:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92250,26 +52793,26 @@ "operator": "-=", "rightHandSide": { "argumentTypes": null, - "id": 2997, + "id": 4073, "name": "burned", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2988, - "src": "14044:6:24", + "referencedDeclaration": 4064, + "src": "14024:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14034:16:24", + "src": "14014:16:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2999, + "id": 4075, "nodeType": "ExpressionStatement", - "src": "14034:16:24" + "src": "14014:16:16" }, { "expression": { @@ -92280,12 +52823,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3003, + "id": 4079, "name": "_caller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2938, - "src": "14089:7:24", + "referencedDeclaration": 4014, + "src": "14069:7:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -92304,14 +52847,14 @@ "arguments": [ { "argumentTypes": null, - "id": 3006, + "id": 4082, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2206, - "src": "14117:3:24", + "referencedDeclaration": 3282, + "src": "14097:3:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } } @@ -92319,24 +52862,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } ], - "id": 3005, + "id": 4081, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "14109:7:24", + "src": "14089:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3007, + "id": 4083, "isConstant": false, "isLValue": false, "isPure": false, @@ -92344,7 +52887,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14109:12:24", + "src": "14089:12:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -92358,18 +52901,18 @@ "typeString": "address" } ], - "id": 3004, + "id": 4080, "name": "Controlled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6928, - "src": "14098:10:24", + "referencedDeclaration": 37, + "src": "14078:10:16", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Controlled_$6928_$", + "typeIdentifier": "t_type$_t_contract$_Controlled_$37_$", "typeString": "type(contract Controlled)" } }, - "id": 3008, + "id": 4084, "isConstant": false, "isLValue": false, "isPure": false, @@ -92377,27 +52920,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14098:24:24", + "src": "14078:24:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_Controlled_$6928", + "typeIdentifier": "t_contract$_Controlled_$37", "typeString": "contract Controlled" } }, - "id": 3009, + "id": 4085, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "controller", "nodeType": "MemberAccess", - "referencedDeclaration": 6906, - "src": "14098:35:24", + "referencedDeclaration": 15, + "src": "14078:35:16", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_payable_$", "typeString": "function () view external returns (address payable)" } }, - "id": 3010, + "id": 4086, "isConstant": false, "isLValue": false, "isPure": false, @@ -92405,7 +52948,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14098:37:24", + "src": "14078:37:16", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -92413,12 +52956,12 @@ }, { "argumentTypes": null, - "id": 3011, + "id": 4087, "name": "burned", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2988, - "src": "14137:6:24", + "referencedDeclaration": 4064, + "src": "14117:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92442,32 +52985,32 @@ ], "expression": { "argumentTypes": null, - "id": 3001, + "id": 4077, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2206, - "src": "14072:3:24", + "referencedDeclaration": 3282, + "src": "14052:3:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 3002, + "id": 4078, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transferFrom", "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "14072:16:24", + "referencedDeclaration": 4477, + "src": "14052:16:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) external returns (bool)" } }, - "id": 3012, + "id": 4088, "isConstant": false, "isLValue": false, "isPure": false, @@ -92475,7 +53018,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14072:72:24", + "src": "14052:72:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -92484,14 +53027,14 @@ { "argumentTypes": null, "hexValue": "426164206275726e", - "id": 3013, + "id": 4089, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14146:10:24", + "src": "14126:10:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_0c050d504fa558928633bc22c6c49b73039c150b7c9071ad81c275d9b4040644", @@ -92511,21 +53054,21 @@ "typeString": "literal_string \"Bad burn\"" } ], - "id": 3000, + "id": 4076, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "14064:7:24", + "referencedDeclaration": 5711, + "src": "14044:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3014, + "id": 4090, "isConstant": false, "isLValue": false, "isPure": false, @@ -92533,15 +53076,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14064:93:24", + "src": "14044:93:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3015, + "id": 4091, "nodeType": "ExpressionStatement", - "src": "14064:93:24" + "src": "14044:93:16" } ] } @@ -92553,7 +53096,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3024, + "id": 4100, "isConstant": false, "isLValue": false, "isPure": false, @@ -92564,19 +53107,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3020, + "id": 4096, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3018, + "id": 4094, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2977, - "src": "14180:6:24", + "referencedDeclaration": 4053, + "src": "14160:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92587,14 +53130,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 3019, + "id": 4095, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14189:1:24", + "src": "14169:1:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -92602,7 +53145,7 @@ }, "value": "0" }, - "src": "14180:10:24", + "src": "14160:10:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -92616,19 +53159,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3023, + "id": 4099, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3021, + "id": 4097, "name": "donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2956, - "src": "14194:6:24", + "referencedDeclaration": 4032, + "src": "14174:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92639,14 +53182,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 3022, + "id": 4098, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14203:1:24", + "src": "14183:1:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -92654,43 +53197,43 @@ }, "value": "0" }, - "src": "14194:10:24", + "src": "14174:10:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "14180:24:24", + "src": "14160:24:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 3051, + "id": 4127, "nodeType": "IfStatement", - "src": "14177:203:24", + "src": "14157:203:16", "trueBody": { - "id": 3050, + "id": 4126, "nodeType": "Block", - "src": "14206:174:24", + "src": "14186:174:16", "statements": [ { "expression": { "argumentTypes": null, - "id": 3032, + "id": 4108, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 3025, + "id": 4101, "name": "donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2956, - "src": "14220:6:24", + "referencedDeclaration": 4032, + "src": "14200:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92704,7 +53247,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3031, + "id": 4107, "isConstant": false, "isLValue": false, "isPure": false, @@ -92718,19 +53261,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3028, + "id": 4104, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3026, + "id": 4102, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2977, - "src": "14230:6:24", + "referencedDeclaration": 4053, + "src": "14210:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92740,32 +53283,32 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 3027, + "id": 4103, "name": "donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2956, - "src": "14239:6:24", + "referencedDeclaration": 4032, + "src": "14219:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14230:15:24", + "src": "14210:15:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 3029, + "id": 4105, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "14229:17:24", + "src": "14209:17:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92776,14 +53319,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 3030, + "id": 4106, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14249:5:24", + "src": "14229:5:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -92791,38 +53334,38 @@ }, "value": "10000" }, - "src": "14229:25:24", + "src": "14209:25:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14220:34:24", + "src": "14200:34:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 3033, + "id": 4109, "nodeType": "ExpressionStatement", - "src": "14220:34:24" + "src": "14200:34:16" }, { "expression": { "argumentTypes": null, - "id": 3036, + "id": 4112, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 3034, + "id": 4110, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2977, - "src": "14268:6:24", + "referencedDeclaration": 4053, + "src": "14248:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92832,26 +53375,26 @@ "operator": "-=", "rightHandSide": { "argumentTypes": null, - "id": 3035, + "id": 4111, "name": "donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2956, - "src": "14278:6:24", + "referencedDeclaration": 4032, + "src": "14258:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14268:16:24", + "src": "14248:16:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 3037, + "id": 4113, "nodeType": "ExpressionStatement", - "src": "14268:16:24" + "src": "14248:16:16" }, { "expression": { @@ -92862,12 +53405,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3041, + "id": 4117, "name": "_caller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2938, - "src": "14323:7:24", + "referencedDeclaration": 4014, + "src": "14303:7:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -92878,14 +53421,14 @@ "arguments": [ { "argumentTypes": null, - "id": 3043, + "id": 4119, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9521, - "src": "14340:4:24", + "referencedDeclaration": 5763, + "src": "14320:4:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarketMigrated_$3142", + "typeIdentifier": "t_contract$_StickerMarketMigrated_$4218", "typeString": "contract StickerMarketMigrated" } } @@ -92893,24 +53436,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_StickerMarketMigrated_$3142", + "typeIdentifier": "t_contract$_StickerMarketMigrated_$4218", "typeString": "contract StickerMarketMigrated" } ], - "id": 3042, + "id": 4118, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "14332:7:24", + "src": "14312:7:16", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3044, + "id": 4120, "isConstant": false, "isLValue": false, "isPure": false, @@ -92918,7 +53461,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14332:13:24", + "src": "14312:13:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -92926,12 +53469,12 @@ }, { "argumentTypes": null, - "id": 3045, + "id": 4121, "name": "donate", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2956, - "src": "14347:6:24", + "referencedDeclaration": 4032, + "src": "14327:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -92955,32 +53498,32 @@ ], "expression": { "argumentTypes": null, - "id": 3039, + "id": 4115, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2206, - "src": "14306:3:24", + "referencedDeclaration": 3282, + "src": "14286:3:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 3040, + "id": 4116, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transferFrom", "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "14306:16:24", + "referencedDeclaration": 4477, + "src": "14286:16:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) external returns (bool)" } }, - "id": 3046, + "id": 4122, "isConstant": false, "isLValue": false, "isPure": false, @@ -92988,7 +53531,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14306:48:24", + "src": "14286:48:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -92997,14 +53540,14 @@ { "argumentTypes": null, "hexValue": "42616420646f6e617465", - "id": 3047, + "id": 4123, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14356:12:24", + "src": "14336:12:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_d56da49bc135b8907aa2d9f54a7670ff78a057ec1d75a7dcae7e4d20757d7b03", @@ -93024,21 +53567,21 @@ "typeString": "literal_string \"Bad donate\"" } ], - "id": 3038, + "id": 4114, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "14298:7:24", + "referencedDeclaration": 5711, + "src": "14278:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3048, + "id": 4124, "isConstant": false, "isLValue": false, "isPure": false, @@ -93046,15 +53589,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14298:71:24", + "src": "14278:71:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3049, + "id": 4125, "nodeType": "ExpressionStatement", - "src": "14298:71:24" + "src": "14278:71:16" } ] } @@ -93066,19 +53609,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3054, + "id": 4130, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3052, + "id": 4128, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2977, - "src": "14393:6:24", + "referencedDeclaration": 4053, + "src": "14373:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -93089,14 +53632,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 3053, + "id": 4129, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14402:1:24", + "src": "14382:1:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -93104,20 +53647,20 @@ }, "value": "0" }, - "src": "14393:10:24", + "src": "14373:10:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 3066, + "id": 4142, "nodeType": "IfStatement", - "src": "14390:104:24", + "src": "14370:104:16", "trueBody": { - "id": 3065, + "id": 4141, "nodeType": "Block", - "src": "14405:89:24", + "src": "14385:89:16", "statements": [ { "expression": { @@ -93128,12 +53671,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3058, + "id": 4134, "name": "_caller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2938, - "src": "14444:7:24", + "referencedDeclaration": 4014, + "src": "14424:7:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -93141,12 +53684,12 @@ }, { "argumentTypes": null, - "id": 3059, + "id": 4135, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2950, - "src": "14453:5:24", + "referencedDeclaration": 4026, + "src": "14433:5:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -93154,12 +53697,12 @@ }, { "argumentTypes": null, - "id": 3060, + "id": 4136, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2977, - "src": "14460:6:24", + "referencedDeclaration": 4053, + "src": "14440:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -93183,32 +53726,32 @@ ], "expression": { "argumentTypes": null, - "id": 3056, + "id": 4132, "name": "snt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2206, - "src": "14427:3:24", + "referencedDeclaration": 3282, + "src": "14407:3:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 3057, + "id": 4133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transferFrom", "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "14427:16:24", + "referencedDeclaration": 4477, + "src": "14407:16:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) external returns (bool)" } }, - "id": 3061, + "id": 4137, "isConstant": false, "isLValue": false, "isPure": false, @@ -93216,7 +53759,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14427:40:24", + "src": "14407:40:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -93225,14 +53768,14 @@ { "argumentTypes": null, "hexValue": "426164207061796d656e74", - "id": 3062, + "id": 4138, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14469:13:24", + "src": "14449:13:16", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_2f706041c82808b9d33018cf7aa052a4df71fcbd86a2e2b0fb54f9a089aa7894", @@ -93252,21 +53795,21 @@ "typeString": "literal_string \"Bad payment\"" } ], - "id": 3055, + "id": 4131, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "14419:7:24", + "referencedDeclaration": 5711, + "src": "14399:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3063, + "id": 4139, "isConstant": false, "isLValue": false, "isPure": false, @@ -93274,15 +53817,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14419:64:24", + "src": "14399:64:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3064, + "id": 4140, "nodeType": "ExpressionStatement", - "src": "14419:64:24" + "src": "14399:64:16" } ] } @@ -93293,12 +53836,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3069, + "id": 4145, "name": "_destination", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2942, - "src": "14533:12:24", + "referencedDeclaration": 4018, + "src": "14513:12:16", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -93306,12 +53849,12 @@ }, { "argumentTypes": null, - "id": 3070, + "id": 4146, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2940, - "src": "14547:7:24", + "referencedDeclaration": 4016, + "src": "14527:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -93331,32 +53874,32 @@ ], "expression": { "argumentTypes": null, - "id": 3067, + "id": 4143, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "14510:8:24", + "referencedDeclaration": 3284, + "src": "14490:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 3068, + "id": 4144, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "generateToken", "nodeType": "MemberAccess", - "referencedDeclaration": 8318, - "src": "14510:22:24", + "referencedDeclaration": 2446, + "src": "14490:22:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) external returns (uint256)" } }, - "id": 3071, + "id": 4147, "isConstant": false, "isLValue": false, "isPure": false, @@ -93364,57 +53907,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14510:45:24", + "src": "14490:45:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2948, - "id": 3072, + "functionReturnParameters": 4024, + "id": 4148, "nodeType": "Return", - "src": "14503:52:24" + "src": "14483:52:16" } ] }, "documentation": "@dev transfer SNT from buyer to pack owner and mint sticker pack token ", - "id": 3074, + "id": 4150, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 2945, + "id": 4021, "modifierName": { "argumentTypes": null, - "id": 2944, + "id": 4020, "name": "marketSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "13587:10:24", + "referencedDeclaration": 3335, + "src": "13567:10:16", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "13587:10:24" + "src": "13567:10:16" } ], "name": "buy", "nodeType": "FunctionDefinition", "parameters": { - "id": 2943, + "id": 4019, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2938, + "id": 4014, "name": "_caller", "nodeType": "VariableDeclaration", - "scope": 3074, - "src": "13483:15:24", + "scope": 4150, + "src": "13463:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -93422,10 +53965,10 @@ "typeString": "address" }, "typeName": { - "id": 2937, + "id": 4013, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13483:7:24", + "src": "13463:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -93437,11 +53980,11 @@ }, { "constant": false, - "id": 2940, + "id": 4016, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 3074, - "src": "13508:15:24", + "scope": 4150, + "src": "13488:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -93449,10 +53992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2939, + "id": 4015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13508:7:24", + "src": "13488:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -93463,11 +54006,11 @@ }, { "constant": false, - "id": 2942, + "id": 4018, "name": "_destination", "nodeType": "VariableDeclaration", - "scope": 3074, - "src": "13533:20:24", + "scope": 4150, + "src": "13513:20:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -93475,10 +54018,10 @@ "typeString": "address" }, "typeName": { - "id": 2941, + "id": 4017, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13533:7:24", + "src": "13513:7:16", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -93489,19 +54032,19 @@ "visibility": "internal" } ], - "src": "13473:86:24" + "src": "13453:86:16" }, "returnParameters": { - "id": 2948, + "id": 4024, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2947, + "id": 4023, "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3074, - "src": "13615:15:24", + "scope": 4150, + "src": "13595:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -93509,10 +54052,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2946, + "id": 4022, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13615:7:24", + "src": "13595:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -93522,19 +54065,19 @@ "visibility": "internal" } ], - "src": "13614:17:24" + "src": "13594:17:16" }, - "scope": 3142, - "src": "13461:1101:24", + "scope": 4218, + "src": "13441:1101:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 3088, + "id": 4164, "nodeType": "Block", - "src": "14706:60:24", + "src": "14686:60:16", "statements": [ { "expression": { @@ -93542,12 +54085,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3084, + "id": 4160, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3076, - "src": "14741:7:24", + "referencedDeclaration": 4152, + "src": "14721:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -93555,12 +54098,12 @@ }, { "argumentTypes": null, - "id": 3085, + "id": 4161, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3078, - "src": "14749:9:24", + "referencedDeclaration": 4154, + "src": "14729:9:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -93580,32 +54123,32 @@ ], "expression": { "argumentTypes": null, - "id": 3081, + "id": 4157, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "14716:8:24", + "referencedDeclaration": 3284, + "src": "14696:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 3083, + "id": 4159, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "addPackCategory", "nodeType": "MemberAccess", - "referencedDeclaration": 7928, - "src": "14716:24:24", + "referencedDeclaration": 2056, + "src": "14696:24:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", "typeString": "function (uint256,bytes4) external" } }, - "id": 3086, + "id": 4162, "isConstant": false, "isLValue": false, "isPure": false, @@ -93613,36 +54156,36 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14716:43:24", + "src": "14696:43:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3087, + "id": 4163, "nodeType": "ExpressionStatement", - "src": "14716:43:24" + "src": "14696:43:16" } ] }, "documentation": "@dev adds id from \"available list\" ", - "id": 3089, + "id": 4165, "implemented": true, "kind": "function", "modifiers": [], "name": "addAvailablePack", "nodeType": "FunctionDefinition", "parameters": { - "id": 3079, + "id": 4155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3076, + "id": 4152, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 3089, - "src": "14663:15:24", + "scope": 4165, + "src": "14643:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -93650,10 +54193,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3075, + "id": 4151, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14663:7:24", + "src": "14643:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -93664,11 +54207,11 @@ }, { "constant": false, - "id": 3078, + "id": 4154, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 3089, - "src": "14680:16:24", + "scope": 4165, + "src": "14660:16:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -93676,10 +54219,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3077, + "id": 4153, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "14680:6:24", + "src": "14660:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -93689,25 +54232,25 @@ "visibility": "internal" } ], - "src": "14662:35:24" + "src": "14642:35:16" }, "returnParameters": { - "id": 3080, + "id": 4156, "nodeType": "ParameterList", "parameters": [], - "src": "14706:0:24" + "src": "14686:0:16" }, - "scope": 3142, - "src": "14637:129:24", + "scope": 4218, + "src": "14617:129:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "private" }, { "body": { - "id": 3103, + "id": 4179, "nodeType": "Block", - "src": "14910:63:24", + "src": "14890:63:16", "statements": [ { "expression": { @@ -93715,12 +54258,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3099, + "id": 4175, "name": "_packId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3091, - "src": "14948:7:24", + "referencedDeclaration": 4167, + "src": "14928:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -93728,12 +54271,12 @@ }, { "argumentTypes": null, - "id": 3100, + "id": 4176, "name": "_category", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3093, - "src": "14956:9:24", + "referencedDeclaration": 4169, + "src": "14936:9:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -93753,32 +54296,32 @@ ], "expression": { "argumentTypes": null, - "id": 3096, + "id": 4172, "name": "registry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2208, - "src": "14920:8:24", + "referencedDeclaration": 3284, + "src": "14900:8:16", "typeDescriptions": { - "typeIdentifier": "t_contract$_StickerMarket_$9081", + "typeIdentifier": "t_contract$_StickerMarket_$3212", "typeString": "contract StickerMarket" } }, - "id": 3098, + "id": 4174, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "removePackCategory", "nodeType": "MemberAccess", - "referencedDeclaration": 7946, - "src": "14920:27:24", + "referencedDeclaration": 2074, + "src": "14900:27:16", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$_t_bytes4_$returns$__$", "typeString": "function (uint256,bytes4) external" } }, - "id": 3101, + "id": 4177, "isConstant": false, "isLValue": false, "isPure": false, @@ -93786,36 +54329,36 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14920:46:24", + "src": "14900:46:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3102, + "id": 4178, "nodeType": "ExpressionStatement", - "src": "14920:46:24" + "src": "14900:46:16" } ] }, "documentation": "@dev remove id from \"available list\" ", - "id": 3104, + "id": 4180, "implemented": true, "kind": "function", "modifiers": [], "name": "removeAvailablePack", "nodeType": "FunctionDefinition", "parameters": { - "id": 3094, + "id": 4170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3091, + "id": 4167, "name": "_packId", "nodeType": "VariableDeclaration", - "scope": 3104, - "src": "14867:15:24", + "scope": 4180, + "src": "14847:15:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -93823,10 +54366,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3090, + "id": 4166, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14867:7:24", + "src": "14847:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -93837,11 +54380,11 @@ }, { "constant": false, - "id": 3093, + "id": 4169, "name": "_category", "nodeType": "VariableDeclaration", - "scope": 3104, - "src": "14884:16:24", + "scope": 4180, + "src": "14864:16:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -93849,10 +54392,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3092, + "id": 4168, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "14884:6:24", + "src": "14864:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -93862,72 +54405,72 @@ "visibility": "internal" } ], - "src": "14866:35:24" + "src": "14846:35:16" }, "returnParameters": { - "id": 3095, + "id": 4171, "nodeType": "ParameterList", "parameters": [], - "src": "14910:0:24" + "src": "14890:0:16" }, - "scope": 3142, - "src": "14838:135:24", + "scope": 4218, + "src": "14818:135:16", "stateMutability": "nonpayable", "superFunction": null, "visibility": "private" }, { "body": { - "id": 3112, + "id": 4188, "nodeType": "Block", - "src": "15055:87:24", + "src": "15035:87:16", "statements": [ { "externalReferences": [ { "sig": { - "declaration": 3109, + "declaration": 4185, "isOffset": false, "isSlot": false, - "src": "15088:3:24", + "src": "15068:3:16", "valueSize": 1 } }, { "_data": { - "declaration": 3106, + "declaration": 4182, "isOffset": false, "isSlot": false, - "src": "15105:5:24", + "src": "15085:5:16", "valueSize": 1 } } ], - "id": 3111, + "id": 4187, "nodeType": "InlineAssembly", "operations": "{\n sig := mload(add(_data, add(0x20, 0)))\n}", - "src": "15065:77:24" + "src": "15045:77:16" } ] }, "documentation": null, - "id": 3113, + "id": 4189, "implemented": true, "kind": "function", "modifiers": [], "name": "abiDecodeSig", "nodeType": "FunctionDefinition", "parameters": { - "id": 3107, + "id": 4183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3106, + "id": 4182, "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3113, - "src": "15003:18:24", + "scope": 4189, + "src": "14983:18:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -93935,10 +54478,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3105, + "id": 4181, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "15003:5:24", + "src": "14983:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -93948,19 +54491,19 @@ "visibility": "internal" } ], - "src": "15002:20:24" + "src": "14982:20:16" }, "returnParameters": { - "id": 3110, + "id": 4186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3109, + "id": 4185, "name": "sig", "nodeType": "VariableDeclaration", - "scope": 3113, - "src": "15044:10:24", + "scope": 4189, + "src": "15024:10:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -93968,10 +54511,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3108, + "id": 4184, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "15044:6:24", + "src": "15024:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -93981,19 +54524,19 @@ "visibility": "internal" } ], - "src": "15043:12:24" + "src": "15023:12:16" }, - "scope": 3142, - "src": "14981:161:24", + "scope": 4218, + "src": "14961:161:16", "stateMutability": "pure", "superFunction": null, "visibility": "private" }, { "body": { - "id": 3140, + "id": 4216, "nodeType": "Block", - "src": "15247:2378:24", + "src": "15227:2378:16", "statements": [ { "expression": { @@ -94005,7 +54548,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3131, + "id": 4207, "isConstant": false, "isLValue": false, "isPure": false, @@ -94014,18 +54557,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3125, + "id": 4201, "name": "_bytes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3115, - "src": "15265:6:24", + "referencedDeclaration": 4191, + "src": "15245:6:16", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 3126, + "id": 4202, "isConstant": false, "isLValue": false, "isPure": false, @@ -94033,7 +54576,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15265:13:24", + "src": "15245:13:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -94050,19 +54593,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3129, + "id": 4205, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3127, + "id": 4203, "name": "_start", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3117, - "src": "15283:6:24", + "referencedDeclaration": 4193, + "src": "15263:6:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -94072,38 +54615,38 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 3128, + "id": 4204, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3119, - "src": "15292:7:24", + "referencedDeclaration": 4195, + "src": "15272:7:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15283:16:24", + "src": "15263:16:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 3130, + "id": 4206, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "15282:18:24", + "src": "15262:18:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15265:35:24", + "src": "15245:35:16", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -94117,21 +54660,21 @@ "typeString": "bool" } ], - "id": 3124, + "id": 4200, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9456, - "src": "15257:7:24", + "referencedDeclaration": 5710, + "src": "15237:7:16", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 3132, + "id": 4208, "isConstant": false, "isLValue": false, "isPure": false, @@ -94139,28 +54682,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15257:44:24", + "src": "15237:44:16", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3133, + "id": 4209, "nodeType": "ExpressionStatement", - "src": "15257:44:24" + "src": "15237:44:16" }, { "assignments": [ - 3135 + 4211 ], "declarations": [ { "constant": false, - "id": 3135, + "id": 4211, "name": "tempBytes", "nodeType": "VariableDeclaration", - "scope": 3140, - "src": "15312:22:24", + "scope": 4216, + "src": "15292:22:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -94168,10 +54711,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3134, + "id": 4210, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "15312:5:24", + "src": "15292:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -94181,157 +54724,157 @@ "visibility": "internal" } ], - "id": 3136, + "id": 4212, "initialValue": null, "nodeType": "VariableDeclarationStatement", - "src": "15312:22:24" + "src": "15292:22:16" }, { "externalReferences": [ { "_length": { - "declaration": 3119, + "declaration": 4195, "isOffset": false, "isSlot": false, - "src": "15382:7:24", + "src": "15362:7:16", "valueSize": 1 } }, { "tempBytes": { - "declaration": 3135, + "declaration": 4211, "isOffset": false, "isSlot": false, - "src": "15566:9:24", + "src": "15546:9:16", "valueSize": 1 } }, { "_length": { - "declaration": 3119, + "declaration": 4195, "isOffset": false, "isSlot": false, - "src": "16235:7:24", + "src": "16215:7:16", "valueSize": 1 } }, { "_length": { - "declaration": 3119, + "declaration": 4195, "isOffset": false, "isSlot": false, - "src": "16674:7:24", + "src": "16654:7:16", "valueSize": 1 } }, { "tempBytes": { - "declaration": 3135, + "declaration": 4211, "isOffset": false, "isSlot": false, - "src": "16586:9:24", + "src": "16566:9:16", "valueSize": 1 } }, { "_bytes": { - "declaration": 3115, + "declaration": 4191, "isOffset": false, "isSlot": false, - "src": "16875:6:24", + "src": "16855:6:16", "valueSize": 1 } }, { "_start": { - "declaration": 3117, + "declaration": 4193, "isOffset": false, "isSlot": false, - "src": "16926:6:24", + "src": "16906:6:16", "valueSize": 1 } }, { "tempBytes": { - "declaration": 3135, + "declaration": 4211, "isOffset": false, "isSlot": false, - "src": "17492:9:24", + "src": "17472:9:16", "valueSize": 1 } }, { "tempBytes": { - "declaration": 3135, + "declaration": 4211, "isOffset": false, "isSlot": false, - "src": "17150:9:24", + "src": "17130:9:16", "valueSize": 1 } }, { "_length": { - "declaration": 3119, + "declaration": 4195, "isOffset": false, "isSlot": false, - "src": "17161:7:24", + "src": "17141:7:16", "valueSize": 1 } }, { "tempBytes": { - "declaration": 3135, + "declaration": 4211, "isOffset": false, "isSlot": false, - "src": "17551:9:24", + "src": "17531:9:16", "valueSize": 1 } } ], - "id": 3137, + "id": 4213, "nodeType": "InlineAssembly", "operations": "{\n switch iszero(_length)\n case 0 {\n tempBytes := mload(0x40)\n let lengthmod := and(_length, 31)\n let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))\n let end := add(mc, _length)\n for {\n let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)\n }\n lt(mc, end)\n {\n mc := add(mc, 0x20)\n cc := add(cc, 0x20)\n }\n {\n mstore(mc, mload(cc))\n }\n mstore(tempBytes, _length)\n mstore(0x40, and(add(mc, 31), not(31)))\n }\n default {\n tempBytes := mload(0x40)\n mstore(0x40, add(tempBytes, 0x20))\n }\n}", - "src": "15345:2263:24" + "src": "15325:2263:16" }, { "expression": { "argumentTypes": null, - "id": 3138, + "id": 4214, "name": "tempBytes", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3135, - "src": "17609:9:24", + "referencedDeclaration": 4211, + "src": "17589:9:16", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 3123, - "id": 3139, + "functionReturnParameters": 4199, + "id": 4215, "nodeType": "Return", - "src": "17602:16:24" + "src": "17582:16:16" } ] }, "documentation": null, - "id": 3141, + "id": 4217, "implemented": true, "kind": "function", "modifiers": [], "name": "slice", "nodeType": "FunctionDefinition", "parameters": { - "id": 3120, + "id": 4196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3115, + "id": 4191, "name": "_bytes", "nodeType": "VariableDeclaration", - "scope": 3141, - "src": "15163:19:24", + "scope": 4217, + "src": "15143:19:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -94339,10 +54882,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3114, + "id": 4190, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "15163:5:24", + "src": "15143:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -94353,11 +54896,11 @@ }, { "constant": false, - "id": 3117, + "id": 4193, "name": "_start", "nodeType": "VariableDeclaration", - "scope": 3141, - "src": "15184:11:24", + "scope": 4217, + "src": "15164:11:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -94365,10 +54908,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3116, + "id": 4192, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "15184:4:24", + "src": "15164:4:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -94379,11 +54922,11 @@ }, { "constant": false, - "id": 3119, + "id": 4195, "name": "_length", "nodeType": "VariableDeclaration", - "scope": 3141, - "src": "15197:12:24", + "scope": 4217, + "src": "15177:12:16", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -94391,10 +54934,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3118, + "id": 4194, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "15197:4:24", + "src": "15177:4:16", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -94404,19 +54947,19 @@ "visibility": "internal" } ], - "src": "15162:48:24" + "src": "15142:48:16" }, "returnParameters": { - "id": 3123, + "id": 4199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3122, + "id": 4198, "name": "", "nodeType": "VariableDeclaration", - "scope": 3141, - "src": "15233:12:24", + "scope": 4217, + "src": "15213:12:16", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -94424,10 +54967,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3121, + "id": 4197, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "15233:5:24", + "src": "15213:5:16", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -94437,33 +54980,33 @@ "visibility": "internal" } ], - "src": "15232:14:24" + "src": "15212:14:16" }, - "scope": 3142, - "src": "15148:2477:24", + "scope": 4218, + "src": "15128:2477:16", "stateMutability": "pure", "superFunction": null, "visibility": "private" } ], - "scope": 3143, - "src": "668:16961:24" + "scope": 4219, + "src": "648:16961:16" } ], - "src": "0:17629:24" + "src": "0:17609:16" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ApproveAndCallFallBack.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ApproveAndCallFallBack.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", "exportedSymbols": { "ApproveAndCallFallBack": [ - 3156 + 4232 ] }, - "id": 3157, + "id": 4233, "nodeType": "SourceUnit", "nodes": [ { - "id": 3144, + "id": 4220, "literals": [ "solidity", ">=", @@ -94474,7 +55017,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "0:31:25" + "src": "0:31:17" }, { "baseContracts": [], @@ -94482,9 +55025,9 @@ "contractKind": "interface", "documentation": null, "fullyImplemented": false, - "id": 3156, + "id": 4232, "linearizedBaseContracts": [ - 3156 + 4232 ], "name": "ApproveAndCallFallBack", "nodeType": "ContractDefinition", @@ -94492,23 +55035,23 @@ { "body": null, "documentation": null, - "id": 3155, + "id": 4231, "implemented": false, "kind": "function", "modifiers": [], "name": "receiveApproval", "nodeType": "FunctionDefinition", "parameters": { - "id": 3153, + "id": 4229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3146, + "id": 4222, "name": "from", "nodeType": "VariableDeclaration", - "scope": 3155, - "src": "97:12:25", + "scope": 4231, + "src": "97:12:17", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -94516,10 +55059,10 @@ "typeString": "address" }, "typeName": { - "id": 3145, + "id": 4221, "name": "address", "nodeType": "ElementaryTypeName", - "src": "97:7:25", + "src": "97:7:17", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -94531,11 +55074,11 @@ }, { "constant": false, - "id": 3148, + "id": 4224, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 3155, - "src": "111:15:25", + "scope": 4231, + "src": "111:15:17", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -94543,10 +55086,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3147, + "id": 4223, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "111:7:25", + "src": "111:7:17", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -94557,11 +55100,11 @@ }, { "constant": false, - "id": 3150, + "id": 4226, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 3155, - "src": "128:14:25", + "scope": 4231, + "src": "128:14:17", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -94569,10 +55112,10 @@ "typeString": "address" }, "typeName": { - "id": 3149, + "id": 4225, "name": "address", "nodeType": "ElementaryTypeName", - "src": "128:7:25", + "src": "128:7:17", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -94584,11 +55127,11 @@ }, { "constant": false, - "id": 3152, + "id": 4228, "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3155, - "src": "144:20:25", + "scope": 4231, + "src": "144:20:17", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -94596,10 +55139,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3151, + "id": 4227, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "144:5:25", + "src": "144:5:17", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -94609,39 +55152,39 @@ "visibility": "internal" } ], - "src": "96:69:25" + "src": "96:69:17" }, "returnParameters": { - "id": 3154, + "id": 4230, "nodeType": "ParameterList", "parameters": [], - "src": "174:0:25" + "src": "174:0:17" }, - "scope": 3156, - "src": "72:103:25", + "scope": 4232, + "src": "72:103:17", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" } ], - "scope": 3157, - "src": "33:144:25" + "scope": 4233, + "src": "33:144:17" } ], - "src": "0:178:25" + "src": "0:178:17" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC20Receiver.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC20Receiver.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Receiver.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Receiver.sol", "exportedSymbols": { "ERC20Receiver": [ - 3370 + 4446 ] }, - "id": 3371, + "id": 4447, "nodeType": "SourceUnit", "nodes": [ { - "id": 3158, + "id": 4234, "literals": [ "solidity", ">=", @@ -94652,16 +55195,16 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "0:31:26" + "src": "0:31:18" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol", - "id": 3159, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Token.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Token.sol", + "id": 4235, "nodeType": "ImportDirective", - "scope": 3371, - "sourceUnit": 5523, - "src": "33:95:26", + "scope": 4447, + "sourceUnit": 4516, + "src": "33:90:18", "symbolAliases": [], "unitAlias": "" }, @@ -94671,9 +55214,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 3370, + "id": 4446, "linearizedBaseContracts": [ - 3370 + 4446 ], "name": "ERC20Receiver", "nodeType": "ContractDefinition", @@ -94681,21 +55224,21 @@ { "anonymous": false, "documentation": null, - "id": 3167, + "id": 4243, "name": "TokenDeposited", "nodeType": "EventDefinition", "parameters": { - "id": 3166, + "id": 4242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3161, + "id": 4237, "indexed": true, "name": "token", "nodeType": "VariableDeclaration", - "scope": 3167, - "src": "181:21:26", + "scope": 4243, + "src": "176:21:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -94703,10 +55246,10 @@ "typeString": "address" }, "typeName": { - "id": 3160, + "id": 4236, "name": "address", "nodeType": "ElementaryTypeName", - "src": "181:7:26", + "src": "176:7:18", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -94718,12 +55261,12 @@ }, { "constant": false, - "id": 3163, + "id": 4239, "indexed": true, "name": "sender", "nodeType": "VariableDeclaration", - "scope": 3167, - "src": "204:22:26", + "scope": 4243, + "src": "199:22:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -94731,10 +55274,10 @@ "typeString": "address" }, "typeName": { - "id": 3162, + "id": 4238, "name": "address", "nodeType": "ElementaryTypeName", - "src": "204:7:26", + "src": "199:7:18", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -94746,12 +55289,12 @@ }, { "constant": false, - "id": 3165, + "id": 4241, "indexed": false, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 3167, - "src": "228:14:26", + "scope": 4243, + "src": "223:14:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -94759,10 +55302,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3164, + "id": 4240, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "228:7:26", + "src": "223:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -94772,28 +55315,28 @@ "visibility": "internal" } ], - "src": "180:63:26" + "src": "175:63:18" }, - "src": "160:84:26" + "src": "155:84:18" }, { "anonymous": false, "documentation": null, - "id": 3175, + "id": 4251, "name": "TokenWithdrawn", "nodeType": "EventDefinition", "parameters": { - "id": 3174, + "id": 4250, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3169, + "id": 4245, "indexed": true, "name": "token", "nodeType": "VariableDeclaration", - "scope": 3175, - "src": "270:21:26", + "scope": 4251, + "src": "265:21:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -94801,10 +55344,10 @@ "typeString": "address" }, "typeName": { - "id": 3168, + "id": 4244, "name": "address", "nodeType": "ElementaryTypeName", - "src": "270:7:26", + "src": "265:7:18", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -94816,12 +55359,12 @@ }, { "constant": false, - "id": 3171, + "id": 4247, "indexed": true, "name": "sender", "nodeType": "VariableDeclaration", - "scope": 3175, - "src": "293:22:26", + "scope": 4251, + "src": "288:22:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -94829,10 +55372,10 @@ "typeString": "address" }, "typeName": { - "id": 3170, + "id": 4246, "name": "address", "nodeType": "ElementaryTypeName", - "src": "293:7:26", + "src": "288:7:18", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -94844,12 +55387,12 @@ }, { "constant": false, - "id": 3173, + "id": 4249, "indexed": false, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 3175, - "src": "317:14:26", + "scope": 4251, + "src": "312:14:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -94857,10 +55400,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3172, + "id": 4248, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "317:7:26", + "src": "312:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -94870,17 +55413,17 @@ "visibility": "internal" } ], - "src": "269:63:26" + "src": "264:63:18" }, - "src": "249:84:26" + "src": "244:84:18" }, { "constant": false, - "id": 3181, + "id": 4257, "name": "tokenBalances", "nodeType": "VariableDeclaration", - "scope": 3370, - "src": "339:62:26", + "scope": 4446, + "src": "334:62:18", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -94888,46 +55431,46 @@ "typeString": "mapping(address => mapping(address => uint256))" }, "typeName": { - "id": 3180, + "id": 4256, "keyType": { - "id": 3176, + "id": 4252, "name": "address", "nodeType": "ElementaryTypeName", - "src": "348:7:26", + "src": "343:7:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "339:48:26", + "src": "334:48:18", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" }, "valueType": { - "id": 3179, + "id": 4255, "keyType": { - "id": 3177, + "id": 4253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "367:7:26", + "src": "362:7:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "359:27:26", + "src": "354:27:18", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 3178, + "id": 4254, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "378:7:26", + "src": "373:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -94940,41 +55483,41 @@ }, { "body": { - "id": 3184, + "id": 4260, "nodeType": "Block", - "src": "429:7:26", + "src": "424:7:18", "statements": [] }, "documentation": null, - "id": 3185, + "id": 4261, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 3182, + "id": 4258, "nodeType": "ParameterList", "parameters": [], - "src": "419:2:26" + "src": "414:2:18" }, "returnParameters": { - "id": 3183, + "id": 4259, "nodeType": "ParameterList", "parameters": [], - "src": "429:0:26" + "src": "424:0:18" }, - "scope": 3370, - "src": "408:28:26", + "scope": 4446, + "src": "403:28:18", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 3204, + "id": 4280, "nodeType": "Block", - "src": "518:187:26", + "src": "513:187:18", "statements": [ { "expression": { @@ -94984,18 +55527,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3191, + "id": 4267, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "555:3:26", + "referencedDeclaration": 5707, + "src": "550:3:18", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3192, + "id": 4268, "isConstant": false, "isLValue": false, "isPure": false, @@ -95003,7 +55546,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "555:10:26", + "src": "550:10:18", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -95011,14 +55554,14 @@ }, { "argumentTypes": null, - "id": 3193, + "id": 4269, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3187, - "src": "579:6:26", + "referencedDeclaration": 4263, + "src": "574:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -95029,18 +55572,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3196, + "id": 4272, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "633:3:26", + "referencedDeclaration": 5707, + "src": "628:3:18", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3197, + "id": 4273, "isConstant": false, "isLValue": false, "isPure": false, @@ -95048,7 +55591,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "633:10:26", + "src": "628:10:18", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -95059,14 +55602,14 @@ "arguments": [ { "argumentTypes": null, - "id": 3199, + "id": 4275, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9525, - "src": "669:4:26", + "referencedDeclaration": 5765, + "src": "664:4:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Receiver_$3370", + "typeIdentifier": "t_contract$_ERC20Receiver_$4446", "typeString": "contract ERC20Receiver" } } @@ -95074,24 +55617,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Receiver_$3370", + "typeIdentifier": "t_contract$_ERC20Receiver_$4446", "typeString": "contract ERC20Receiver" } ], - "id": 3198, + "id": 4274, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "661:7:26", + "src": "656:7:18", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3200, + "id": 4276, "isConstant": false, "isLValue": false, "isPure": false, @@ -95099,7 +55642,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "661:13:26", + "src": "656:13:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -95119,32 +55662,32 @@ ], "expression": { "argumentTypes": null, - "id": 3194, + "id": 4270, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3187, - "src": "599:6:26", + "referencedDeclaration": 4263, + "src": "594:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 3195, + "id": 4271, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "allowance", "nodeType": "MemberAccess", - "referencedDeclaration": 5500, - "src": "599:16:26", + "referencedDeclaration": 4493, + "src": "594:16:18", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$returns$_t_uint256_$", "typeString": "function (address,address) view external returns (uint256)" } }, - "id": 3201, + "id": 4277, "isConstant": false, "isLValue": false, "isPure": false, @@ -95152,7 +55695,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "599:89:26", + "src": "594:89:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -95166,7 +55709,7 @@ "typeString": "address payable" }, { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, { @@ -95174,18 +55717,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 4266, "name": "_depositToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3312, - "src": "528:13:26", + "referencedDeclaration": 4388, + "src": "523:13:18", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_contract$_ERC20Token_$5522_$_t_uint256_$returns$__$", + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_contract$_ERC20Token_$4515_$_t_uint256_$returns$__$", "typeString": "function (address,contract ERC20Token,uint256)" } }, - "id": 3202, + "id": 4278, "isConstant": false, "isLValue": false, "isPure": false, @@ -95193,51 +55736,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "528:170:26", + "src": "523:170:18", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3203, + "id": 4279, "nodeType": "ExpressionStatement", - "src": "528:170:26" + "src": "523:170:18" } ] }, "documentation": null, - "id": 3205, + "id": 4281, "implemented": true, "kind": "function", "modifiers": [], "name": "depositToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 3188, + "id": 4264, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3187, + "id": 4263, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 3205, - "src": "473:17:26", + "scope": 4281, + "src": "468:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 3186, + "id": 4262, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "473:10:26", + "referencedDeclaration": 4515, + "src": "468:10:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -95245,25 +55788,25 @@ "visibility": "internal" } ], - "src": "463:33:26" + "src": "458:33:18" }, "returnParameters": { - "id": 3189, + "id": 4265, "nodeType": "ParameterList", "parameters": [], - "src": "518:0:26" + "src": "513:0:18" }, - "scope": 3370, - "src": "442:263:26", + "scope": 4446, + "src": "437:263:18", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 3219, + "id": 4295, "nodeType": "Block", - "src": "813:60:26", + "src": "808:60:18", "statements": [ { "expression": { @@ -95273,18 +55816,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3213, + "id": 4289, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "838:3:26", + "referencedDeclaration": 5707, + "src": "833:3:18", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3214, + "id": 4290, "isConstant": false, "isLValue": false, "isPure": false, @@ -95292,7 +55835,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "838:10:26", + "src": "833:10:18", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -95300,25 +55843,25 @@ }, { "argumentTypes": null, - "id": 3215, + "id": 4291, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3207, - "src": "850:6:26", + "referencedDeclaration": 4283, + "src": "845:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, { "argumentTypes": null, - "id": 3216, + "id": 4292, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3209, - "src": "858:7:26", + "referencedDeclaration": 4285, + "src": "853:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -95332,7 +55875,7 @@ "typeString": "address payable" }, { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, { @@ -95340,18 +55883,18 @@ "typeString": "uint256" } ], - "id": 3212, + "id": 4288, "name": "_withdrawToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3369, - "src": "823:14:26", + "referencedDeclaration": 4445, + "src": "818:14:18", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_contract$_ERC20Token_$5522_$_t_uint256_$returns$__$", + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_contract$_ERC20Token_$4515_$_t_uint256_$returns$__$", "typeString": "function (address,contract ERC20Token,uint256)" } }, - "id": 3217, + "id": 4293, "isConstant": false, "isLValue": false, "isPure": false, @@ -95359,51 +55902,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "823:43:26", + "src": "818:43:18", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3218, + "id": 4294, "nodeType": "ExpressionStatement", - "src": "823:43:26" + "src": "818:43:18" } ] }, "documentation": null, - "id": 3220, + "id": 4296, "implemented": true, "kind": "function", "modifiers": [], "name": "withdrawToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 3210, + "id": 4286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3207, + "id": 4283, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 3220, - "src": "743:17:26", + "scope": 4296, + "src": "738:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 3206, + "id": 4282, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "743:10:26", + "referencedDeclaration": 4515, + "src": "738:10:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -95412,11 +55955,11 @@ }, { "constant": false, - "id": 3209, + "id": 4285, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 3220, - "src": "770:15:26", + "scope": 4296, + "src": "765:15:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -95424,10 +55967,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3208, + "id": 4284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "770:7:26", + "src": "765:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -95437,25 +55980,25 @@ "visibility": "internal" } ], - "src": "733:58:26" + "src": "728:58:18" }, "returnParameters": { - "id": 3211, + "id": 4287, "nodeType": "ParameterList", "parameters": [], - "src": "813:0:26" + "src": "808:0:18" }, - "scope": 3370, - "src": "711:162:26", + "scope": 4446, + "src": "706:162:18", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 3248, + "id": 4324, "nodeType": "Block", - "src": "980:148:26", + "src": "975:148:18", "statements": [ { "expression": { @@ -95467,7 +56010,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3237, + "id": 4313, "isConstant": false, "isLValue": false, "isPure": false, @@ -95479,18 +56022,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3230, + "id": 4306, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "1015:3:26", + "referencedDeclaration": 5707, + "src": "1010:3:18", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3231, + "id": 4307, "isConstant": false, "isLValue": false, "isPure": false, @@ -95498,7 +56041,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1015:10:26", + "src": "1010:10:18", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -95509,14 +56052,14 @@ "arguments": [ { "argumentTypes": null, - "id": 3233, + "id": 4309, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9525, - "src": "1035:4:26", + "referencedDeclaration": 5765, + "src": "1030:4:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Receiver_$3370", + "typeIdentifier": "t_contract$_ERC20Receiver_$4446", "typeString": "contract ERC20Receiver" } } @@ -95524,24 +56067,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Receiver_$3370", + "typeIdentifier": "t_contract$_ERC20Receiver_$4446", "typeString": "contract ERC20Receiver" } ], - "id": 3232, + "id": 4308, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "1027:7:26", + "src": "1022:7:18", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3234, + "id": 4310, "isConstant": false, "isLValue": false, "isPure": false, @@ -95549,7 +56092,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1027:13:26", + "src": "1022:13:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -95569,32 +56112,32 @@ ], "expression": { "argumentTypes": null, - "id": 3228, + "id": 4304, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3222, - "src": "998:6:26", + "referencedDeclaration": 4298, + "src": "993:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 3229, + "id": 4305, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "allowance", "nodeType": "MemberAccess", - "referencedDeclaration": 5500, - "src": "998:16:26", + "referencedDeclaration": 4493, + "src": "993:16:18", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$returns$_t_uint256_$", "typeString": "function (address,address) view external returns (uint256)" } }, - "id": 3235, + "id": 4311, "isConstant": false, "isLValue": false, "isPure": false, @@ -95602,7 +56145,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "998:43:26", + "src": "993:43:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -95612,18 +56155,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 3236, + "id": 4312, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3224, - "src": "1045:7:26", + "referencedDeclaration": 4300, + "src": "1040:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "998:54:26", + "src": "993:54:18", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -95632,14 +56175,14 @@ { "argumentTypes": null, "hexValue": "42616420617267756d656e74", - "id": 3238, + "id": 4314, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1054:14:26", + "src": "1049:14:18", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_b4abfb8ba13cda608d109431e672788aec21e8baa9d782bd6004097d0e8fcaf7", @@ -95659,21 +56202,21 @@ "typeString": "literal_string \"Bad argument\"" } ], - "id": 3227, + "id": 4303, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "990:7:26", + "referencedDeclaration": 5711, + "src": "985:7:18", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3239, + "id": 4315, "isConstant": false, "isLValue": false, "isPure": false, @@ -95681,15 +56224,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "990:79:26", + "src": "985:79:18", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3240, + "id": 4316, "nodeType": "ExpressionStatement", - "src": "990:79:26" + "src": "985:79:18" }, { "expression": { @@ -95699,18 +56242,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3242, + "id": 4318, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "1093:3:26", + "referencedDeclaration": 5707, + "src": "1088:3:18", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3243, + "id": 4319, "isConstant": false, "isLValue": false, "isPure": false, @@ -95718,7 +56261,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "1093:10:26", + "src": "1088:10:18", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -95726,25 +56269,25 @@ }, { "argumentTypes": null, - "id": 3244, + "id": 4320, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3222, - "src": "1105:6:26", + "referencedDeclaration": 4298, + "src": "1100:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, { "argumentTypes": null, - "id": 3245, + "id": 4321, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3224, - "src": "1113:7:26", + "referencedDeclaration": 4300, + "src": "1108:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -95758,7 +56301,7 @@ "typeString": "address payable" }, { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, { @@ -95766,18 +56309,18 @@ "typeString": "uint256" } ], - "id": 3241, + "id": 4317, "name": "_depositToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3312, - "src": "1079:13:26", + "referencedDeclaration": 4388, + "src": "1074:13:18", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_contract$_ERC20Token_$5522_$_t_uint256_$returns$__$", + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_contract$_ERC20Token_$4515_$_t_uint256_$returns$__$", "typeString": "function (address,contract ERC20Token,uint256)" } }, - "id": 3246, + "id": 4322, "isConstant": false, "isLValue": false, "isPure": false, @@ -95785,51 +56328,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1079:42:26", + "src": "1074:42:18", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3247, + "id": 4323, "nodeType": "ExpressionStatement", - "src": "1079:42:26" + "src": "1074:42:18" } ] }, "documentation": null, - "id": 3249, + "id": 4325, "implemented": true, "kind": "function", "modifiers": [], "name": "depositToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 3225, + "id": 4301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3222, + "id": 4298, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 3249, - "src": "910:17:26", + "scope": 4325, + "src": "905:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 3221, + "id": 4297, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "910:10:26", + "referencedDeclaration": 4515, + "src": "905:10:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -95838,11 +56381,11 @@ }, { "constant": false, - "id": 3224, + "id": 4300, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 3249, - "src": "937:15:26", + "scope": 4325, + "src": "932:15:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -95850,10 +56393,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3223, + "id": 4299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "937:7:26", + "src": "932:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -95863,25 +56406,25 @@ "visibility": "internal" } ], - "src": "900:58:26" + "src": "895:58:18" }, "returnParameters": { - "id": 3226, + "id": 4302, "nodeType": "ParameterList", "parameters": [], - "src": "980:0:26" + "src": "975:0:18" }, - "scope": 3370, - "src": "879:249:26", + "scope": 4446, + "src": "874:249:18", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 3266, + "id": 4342, "nodeType": "Block", - "src": "1290:61:26", + "src": "1285:61:18", "statements": [ { "expression": { @@ -95890,31 +56433,31 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 3258, + "id": 4334, "name": "tokenBalances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3181, - "src": "1307:13:26", + "referencedDeclaration": 4257, + "src": "1302:13:18", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 3262, + "id": 4338, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 3260, + "id": 4336, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3251, - "src": "1329:6:26", + "referencedDeclaration": 4327, + "src": "1324:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } } @@ -95922,24 +56465,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } ], - "id": 3259, + "id": 4335, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "1321:7:26", + "src": "1316:7:18", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3261, + "id": 4337, "isConstant": false, "isLValue": false, "isPure": false, @@ -95947,7 +56490,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1321:15:26", + "src": "1316:15:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -95958,21 +56501,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1307:30:26", + "src": "1302:30:18", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 3264, + "id": 4340, "indexExpression": { "argumentTypes": null, - "id": 3263, + "id": 4339, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3253, - "src": "1338:5:26", + "referencedDeclaration": 4329, + "src": "1333:5:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -95983,52 +56526,52 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1307:37:26", + "src": "1302:37:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 3257, - "id": 3265, + "functionReturnParameters": 4333, + "id": 4341, "nodeType": "Return", - "src": "1300:44:26" + "src": "1295:44:18" } ] }, "documentation": null, - "id": 3267, + "id": 4343, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenBalanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 3254, + "id": 4330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3251, + "id": 4327, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 3267, - "src": "1167:17:26", + "scope": 4343, + "src": "1162:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 3250, + "id": 4326, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "1167:10:26", + "referencedDeclaration": 4515, + "src": "1162:10:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -96037,11 +56580,11 @@ }, { "constant": false, - "id": 3253, + "id": 4329, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 3267, - "src": "1194:13:26", + "scope": 4343, + "src": "1189:13:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -96049,10 +56592,10 @@ "typeString": "address" }, "typeName": { - "id": 3252, + "id": 4328, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1194:7:26", + "src": "1189:7:18", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -96063,19 +56606,19 @@ "visibility": "internal" } ], - "src": "1157:56:26" + "src": "1152:56:18" }, "returnParameters": { - "id": 3257, + "id": 4333, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3256, + "id": 4332, "name": "fromTokenBalance", "nodeType": "VariableDeclaration", - "scope": 3267, - "src": "1260:24:26", + "scope": 4343, + "src": "1255:24:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -96083,10 +56626,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3255, + "id": 4331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1260:7:26", + "src": "1255:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -96096,19 +56639,19 @@ "visibility": "internal" } ], - "src": "1259:26:26" + "src": "1254:26:18" }, - "scope": 3370, - "src": "1134:217:26", + "scope": 4446, + "src": "1129:217:18", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 3311, + "id": 4387, "nodeType": "Block", - "src": "1481:257:26", + "src": "1476:257:18", "statements": [ { "expression": { @@ -96120,19 +56663,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3279, + "id": 4355, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3277, + "id": 4353, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3273, - "src": "1499:7:26", + "referencedDeclaration": 4349, + "src": "1494:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -96143,14 +56686,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 3278, + "id": 4354, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1509:1:26", + "src": "1504:1:18", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -96158,7 +56701,7 @@ }, "value": "0" }, - "src": "1499:11:26", + "src": "1494:11:18", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -96167,14 +56710,14 @@ { "argumentTypes": null, "hexValue": "42616420617267756d656e74", - "id": 3280, + "id": 4356, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1512:14:26", + "src": "1507:14:18", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_b4abfb8ba13cda608d109431e672788aec21e8baa9d782bd6004097d0e8fcaf7", @@ -96194,21 +56737,21 @@ "typeString": "literal_string \"Bad argument\"" } ], - "id": 3276, + "id": 4352, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "1491:7:26", + "referencedDeclaration": 5711, + "src": "1486:7:18", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3281, + "id": 4357, "isConstant": false, "isLValue": false, "isPure": false, @@ -96216,15 +56759,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1491:36:26", + "src": "1486:36:18", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3282, + "id": 4358, "nodeType": "ExpressionStatement", - "src": "1491:36:26" + "src": "1486:36:18" }, { "condition": { @@ -96232,12 +56775,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3285, + "id": 4361, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3269, - "src": "1561:5:26", + "referencedDeclaration": 4345, + "src": "1556:5:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -96248,14 +56791,14 @@ "arguments": [ { "argumentTypes": null, - "id": 3287, + "id": 4363, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9525, - "src": "1576:4:26", + "referencedDeclaration": 5765, + "src": "1571:4:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Receiver_$3370", + "typeIdentifier": "t_contract$_ERC20Receiver_$4446", "typeString": "contract ERC20Receiver" } } @@ -96263,24 +56806,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Receiver_$3370", + "typeIdentifier": "t_contract$_ERC20Receiver_$4446", "typeString": "contract ERC20Receiver" } ], - "id": 3286, + "id": 4362, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "1568:7:26", + "src": "1563:7:18", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3288, + "id": 4364, "isConstant": false, "isLValue": false, "isPure": false, @@ -96288,7 +56831,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1568:13:26", + "src": "1563:13:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -96296,12 +56839,12 @@ }, { "argumentTypes": null, - "id": 3289, + "id": 4365, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3273, - "src": "1583:7:26", + "referencedDeclaration": 4349, + "src": "1578:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -96325,32 +56868,32 @@ ], "expression": { "argumentTypes": null, - "id": 3283, + "id": 4359, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3271, - "src": "1541:6:26", + "referencedDeclaration": 4347, + "src": "1536:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 3284, + "id": 4360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transferFrom", "nodeType": "MemberAccess", - "referencedDeclaration": 5484, - "src": "1541:19:26", + "referencedDeclaration": 4477, + "src": "1536:19:18", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) external returns (bool)" } }, - "id": 3290, + "id": 4366, "isConstant": false, "isLValue": false, "isPure": false, @@ -96358,25 +56901,25 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1541:50:26", + "src": "1536:50:18", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 3310, + "id": 4386, "nodeType": "IfStatement", - "src": "1537:195:26", + "src": "1532:195:18", "trueBody": { - "id": 3309, + "id": 4385, "nodeType": "Block", - "src": "1593:139:26", + "src": "1588:139:18", "statements": [ { "expression": { "argumentTypes": null, - "id": 3299, + "id": 4375, "isConstant": false, "isLValue": false, "isPure": false, @@ -96387,31 +56930,31 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 3291, + "id": 4367, "name": "tokenBalances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3181, - "src": "1607:13:26", + "referencedDeclaration": 4257, + "src": "1602:13:18", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 3296, + "id": 4372, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 3293, + "id": 4369, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3271, - "src": "1629:6:26", + "referencedDeclaration": 4347, + "src": "1624:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } } @@ -96419,24 +56962,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } ], - "id": 3292, + "id": 4368, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "1621:7:26", + "src": "1616:7:18", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3294, + "id": 4370, "isConstant": false, "isLValue": false, "isPure": false, @@ -96444,7 +56987,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1621:15:26", + "src": "1616:15:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -96455,21 +56998,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1607:30:26", + "src": "1602:30:18", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 3297, + "id": 4373, "indexExpression": { "argumentTypes": null, - "id": 3295, + "id": 4371, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3269, - "src": "1638:5:26", + "referencedDeclaration": 4345, + "src": "1633:5:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -96480,7 +57023,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1607:37:26", + "src": "1602:37:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -96490,26 +57033,26 @@ "operator": "+=", "rightHandSide": { "argumentTypes": null, - "id": 3298, + "id": 4374, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3273, - "src": "1648:7:26", + "referencedDeclaration": 4349, + "src": "1643:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1607:48:26", + "src": "1602:48:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 3300, + "id": 4376, "nodeType": "ExpressionStatement", - "src": "1607:48:26" + "src": "1602:48:18" }, { "eventCall": { @@ -96520,14 +57063,14 @@ "arguments": [ { "argumentTypes": null, - "id": 3303, + "id": 4379, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3271, - "src": "1697:6:26", + "referencedDeclaration": 4347, + "src": "1692:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } } @@ -96535,24 +57078,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } ], - "id": 3302, + "id": 4378, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "1689:7:26", + "src": "1684:7:18", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3304, + "id": 4380, "isConstant": false, "isLValue": false, "isPure": false, @@ -96560,7 +57103,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1689:15:26", + "src": "1684:15:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -96568,12 +57111,12 @@ }, { "argumentTypes": null, - "id": 3305, + "id": 4381, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3269, - "src": "1706:5:26", + "referencedDeclaration": 4345, + "src": "1701:5:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -96581,12 +57124,12 @@ }, { "argumentTypes": null, - "id": 3306, + "id": 4382, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3273, - "src": "1713:7:26", + "referencedDeclaration": 4349, + "src": "1708:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -96608,18 +57151,18 @@ "typeString": "uint256" } ], - "id": 3301, + "id": 4377, "name": "TokenDeposited", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3167, - "src": "1674:14:26", + "referencedDeclaration": 4243, + "src": "1669:14:18", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3307, + "id": 4383, "isConstant": false, "isLValue": false, "isPure": false, @@ -96627,15 +57170,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1674:47:26", + "src": "1669:47:18", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3308, + "id": 4384, "nodeType": "EmitStatement", - "src": "1669:52:26" + "src": "1664:52:18" } ] } @@ -96643,23 +57186,23 @@ ] }, "documentation": null, - "id": 3312, + "id": 4388, "implemented": true, "kind": "function", "modifiers": [], "name": "_depositToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 3274, + "id": 4350, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3269, + "id": 4345, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 3312, - "src": "1389:13:26", + "scope": 4388, + "src": "1384:13:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -96667,10 +57210,10 @@ "typeString": "address" }, "typeName": { - "id": 3268, + "id": 4344, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1389:7:26", + "src": "1384:7:18", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -96682,26 +57225,26 @@ }, { "constant": false, - "id": 3271, + "id": 4347, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 3312, - "src": "1412:17:26", + "scope": 4388, + "src": "1407:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 3270, + "id": 4346, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "1412:10:26", + "referencedDeclaration": 4515, + "src": "1407:10:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -96710,11 +57253,11 @@ }, { "constant": false, - "id": 3273, + "id": 4349, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 3312, - "src": "1439:15:26", + "scope": 4388, + "src": "1434:15:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -96722,10 +57265,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3272, + "id": 4348, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1439:7:26", + "src": "1434:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -96735,25 +57278,25 @@ "visibility": "internal" } ], - "src": "1379:81:26" + "src": "1374:81:18" }, "returnParameters": { - "id": 3275, + "id": 4351, "nodeType": "ParameterList", "parameters": [], - "src": "1481:0:26" + "src": "1476:0:18" }, - "scope": 3370, - "src": "1357:381:26", + "scope": 4446, + "src": "1352:381:18", "stateMutability": "nonpayable", "superFunction": null, "visibility": "private" }, { "body": { - "id": 3368, + "id": 4444, "nodeType": "Block", - "src": "1869:329:26", + "src": "1864:329:18", "statements": [ { "expression": { @@ -96765,19 +57308,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3324, + "id": 4400, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3322, + "id": 4398, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3318, - "src": "1887:7:26", + "referencedDeclaration": 4394, + "src": "1882:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -96788,14 +57331,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 3323, + "id": 4399, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1897:1:26", + "src": "1892:1:18", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -96803,7 +57346,7 @@ }, "value": "0" }, - "src": "1887:11:26", + "src": "1882:11:18", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -96812,14 +57355,14 @@ { "argumentTypes": null, "hexValue": "42616420617267756d656e74", - "id": 3325, + "id": 4401, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1900:14:26", + "src": "1895:14:18", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_b4abfb8ba13cda608d109431e672788aec21e8baa9d782bd6004097d0e8fcaf7", @@ -96839,21 +57382,21 @@ "typeString": "literal_string \"Bad argument\"" } ], - "id": 3321, + "id": 4397, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "1879:7:26", + "referencedDeclaration": 5711, + "src": "1874:7:18", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3326, + "id": 4402, "isConstant": false, "isLValue": false, "isPure": false, @@ -96861,15 +57404,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1879:36:26", + "src": "1874:36:18", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3327, + "id": 4403, "nodeType": "ExpressionStatement", - "src": "1879:36:26" + "src": "1874:36:18" }, { "expression": { @@ -96881,7 +57424,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3337, + "id": 4413, "isConstant": false, "isLValue": false, "isPure": false, @@ -96892,31 +57435,31 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 3329, + "id": 4405, "name": "tokenBalances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3181, - "src": "1933:13:26", + "referencedDeclaration": 4257, + "src": "1928:13:18", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 3333, + "id": 4409, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 3331, + "id": 4407, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3316, - "src": "1955:6:26", + "referencedDeclaration": 4392, + "src": "1950:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } } @@ -96924,24 +57467,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } ], - "id": 3330, + "id": 4406, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "1947:7:26", + "src": "1942:7:18", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3332, + "id": 4408, "isConstant": false, "isLValue": false, "isPure": false, @@ -96949,7 +57492,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1947:15:26", + "src": "1942:15:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -96960,21 +57503,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1933:30:26", + "src": "1928:30:18", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 3335, + "id": 4411, "indexExpression": { "argumentTypes": null, - "id": 3334, + "id": 4410, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3314, - "src": "1964:5:26", + "referencedDeclaration": 4390, + "src": "1959:5:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -96985,7 +57528,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1933:37:26", + "src": "1928:37:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -96995,18 +57538,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 3336, + "id": 4412, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3318, - "src": "1974:7:26", + "referencedDeclaration": 4394, + "src": "1969:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1933:48:26", + "src": "1928:48:18", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -97015,14 +57558,14 @@ { "argumentTypes": null, "hexValue": "496e73756666696369656e742066756e6473", - "id": 3338, + "id": 4414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1983:20:26", + "src": "1978:20:18", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_63452317cb6d597bef833f023ed2962a84dbd24c571e27629ed1e3056d6cfd8d", @@ -97042,21 +57585,21 @@ "typeString": "literal_string \"Insufficient funds\"" } ], - "id": 3328, + "id": 4404, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "1925:7:26", + "referencedDeclaration": 5711, + "src": "1920:7:18", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3339, + "id": 4415, "isConstant": false, "isLValue": false, "isPure": false, @@ -97064,20 +57607,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1925:79:26", + "src": "1920:79:18", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3340, + "id": 4416, "nodeType": "ExpressionStatement", - "src": "1925:79:26" + "src": "1920:79:18" }, { "expression": { "argumentTypes": null, - "id": 3349, + "id": 4425, "isConstant": false, "isLValue": false, "isPure": false, @@ -97088,31 +57631,31 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 3341, + "id": 4417, "name": "tokenBalances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3181, - "src": "2014:13:26", + "referencedDeclaration": 4257, + "src": "2009:13:18", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 3346, + "id": 4422, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 3343, + "id": 4419, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3316, - "src": "2036:6:26", + "referencedDeclaration": 4392, + "src": "2031:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } } @@ -97120,24 +57663,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } ], - "id": 3342, + "id": 4418, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2028:7:26", + "src": "2023:7:18", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3344, + "id": 4420, "isConstant": false, "isLValue": false, "isPure": false, @@ -97145,7 +57688,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2028:15:26", + "src": "2023:15:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -97156,21 +57699,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2014:30:26", + "src": "2009:30:18", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 3347, + "id": 4423, "indexExpression": { "argumentTypes": null, - "id": 3345, + "id": 4421, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3314, - "src": "2045:5:26", + "referencedDeclaration": 4390, + "src": "2040:5:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -97181,7 +57724,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "2014:37:26", + "src": "2009:37:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -97191,26 +57734,26 @@ "operator": "-=", "rightHandSide": { "argumentTypes": null, - "id": 3348, + "id": 4424, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3318, - "src": "2055:7:26", + "referencedDeclaration": 4394, + "src": "2050:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2014:48:26", + "src": "2009:48:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 3350, + "id": 4426, "nodeType": "ExpressionStatement", - "src": "2014:48:26" + "src": "2009:48:18" }, { "expression": { @@ -97221,12 +57764,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3354, + "id": 4430, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3314, - "src": "2096:5:26", + "referencedDeclaration": 4390, + "src": "2091:5:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -97234,12 +57777,12 @@ }, { "argumentTypes": null, - "id": 3355, + "id": 4431, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3318, - "src": "2103:7:26", + "referencedDeclaration": 4394, + "src": "2098:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -97259,32 +57802,32 @@ ], "expression": { "argumentTypes": null, - "id": 3352, + "id": 4428, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3316, - "src": "2080:6:26", + "referencedDeclaration": 4392, + "src": "2075:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, - "id": 3353, + "id": 4429, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 5464, - "src": "2080:15:26", + "referencedDeclaration": 4457, + "src": "2075:15:18", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 3356, + "id": 4432, "isConstant": false, "isLValue": false, "isPure": false, @@ -97292,7 +57835,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2080:31:26", + "src": "2075:31:18", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -97301,14 +57844,14 @@ { "argumentTypes": null, "hexValue": "5472616e73666572206661696c", - "id": 3357, + "id": 4433, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2113:15:26", + "src": "2108:15:18", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_16c777a58f6e3d980b39cb8f48eb79a80df895169ab129c60d82e2c36ce3881f", @@ -97328,21 +57871,21 @@ "typeString": "literal_string \"Transfer fail\"" } ], - "id": 3351, + "id": 4427, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "2072:7:26", + "referencedDeclaration": 5711, + "src": "2067:7:18", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3358, + "id": 4434, "isConstant": false, "isLValue": false, "isPure": false, @@ -97350,15 +57893,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2072:57:26", + "src": "2067:57:18", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3359, + "id": 4435, "nodeType": "ExpressionStatement", - "src": "2072:57:26" + "src": "2067:57:18" }, { "eventCall": { @@ -97369,14 +57912,14 @@ "arguments": [ { "argumentTypes": null, - "id": 3362, + "id": 4438, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3316, - "src": "2167:6:26", + "referencedDeclaration": 4392, + "src": "2162:6:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } } @@ -97384,24 +57927,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } ], - "id": 3361, + "id": 4437, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2159:7:26", + "src": "2154:7:18", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3363, + "id": 4439, "isConstant": false, "isLValue": false, "isPure": false, @@ -97409,7 +57952,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2159:15:26", + "src": "2154:15:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -97417,12 +57960,12 @@ }, { "argumentTypes": null, - "id": 3364, + "id": 4440, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3314, - "src": "2176:5:26", + "referencedDeclaration": 4390, + "src": "2171:5:18", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -97430,12 +57973,12 @@ }, { "argumentTypes": null, - "id": 3365, + "id": 4441, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3318, - "src": "2183:7:26", + "referencedDeclaration": 4394, + "src": "2178:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -97457,18 +58000,18 @@ "typeString": "uint256" } ], - "id": 3360, + "id": 4436, "name": "TokenWithdrawn", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3175, - "src": "2144:14:26", + "referencedDeclaration": 4251, + "src": "2139:14:18", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3366, + "id": 4442, "isConstant": false, "isLValue": false, "isPure": false, @@ -97476,36 +58019,36 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2144:47:26", + "src": "2139:47:18", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3367, + "id": 4443, "nodeType": "EmitStatement", - "src": "2139:52:26" + "src": "2134:52:18" } ] }, "documentation": null, - "id": 3369, + "id": 4445, "implemented": true, "kind": "function", "modifiers": [], "name": "_withdrawToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 3319, + "id": 4395, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3314, + "id": 4390, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 3369, - "src": "1777:13:26", + "scope": 4445, + "src": "1772:13:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97513,10 +58056,10 @@ "typeString": "address" }, "typeName": { - "id": 3313, + "id": 4389, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1777:7:26", + "src": "1772:7:18", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -97528,26 +58071,26 @@ }, { "constant": false, - "id": 3316, + "id": 4392, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 3369, - "src": "1800:17:26", + "scope": 4445, + "src": "1795:17:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" }, "typeName": { "contractScope": null, - "id": 3315, + "id": 4391, "name": "ERC20Token", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 5522, - "src": "1800:10:26", + "referencedDeclaration": 4515, + "src": "1795:10:18", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC20Token_$5522", + "typeIdentifier": "t_contract$_ERC20Token_$4515", "typeString": "contract ERC20Token" } }, @@ -97556,11 +58099,11 @@ }, { "constant": false, - "id": 3318, + "id": 4394, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 3369, - "src": "1827:15:26", + "scope": 4445, + "src": "1822:15:18", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97568,10 +58111,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3317, + "id": 4393, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1827:7:26", + "src": "1822:7:18", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -97581,39 +58124,39 @@ "visibility": "internal" } ], - "src": "1767:81:26" + "src": "1762:81:18" }, "returnParameters": { - "id": 3320, + "id": 4396, "nodeType": "ParameterList", "parameters": [], - "src": "1869:0:26" + "src": "1864:0:18" }, - "scope": 3370, - "src": "1744:454:26", + "scope": 4446, + "src": "1739:454:18", "stateMutability": "nonpayable", "superFunction": null, "visibility": "private" } ], - "scope": 3371, - "src": "130:2071:26" + "scope": 4447, + "src": "125:2071:18" } ], - "src": "0:2201:26" + "src": "0:2196:18" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC20Token.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC20Token.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Token.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Token.sol", "exportedSymbols": { "ERC20Token": [ - 3439 + 4515 ] }, - "id": 3440, + "id": 4516, "nodeType": "SourceUnit", "nodes": [ { - "id": 3372, + "id": 4448, "literals": [ "solidity", ">=", @@ -97624,7 +58167,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "0:31:27" + "src": "0:31:19" }, { "baseContracts": [], @@ -97632,9 +58175,9 @@ "contractKind": "interface", "documentation": null, "fullyImplemented": false, - "id": 3439, + "id": 4515, "linearizedBaseContracts": [ - 3439 + 4515 ], "name": "ERC20Token", "nodeType": "ContractDefinition", @@ -97642,23 +58185,23 @@ { "body": null, "documentation": "@notice send `_value` token to `_to` from `msg.sender`\n@param _to The address of the recipient\n@param _value The amount of token to be transferred\n@return Whether the transfer was successful or not", - "id": 3381, + "id": 4457, "implemented": false, "kind": "function", "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 4453, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 4450, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 3381, - "src": "424:11:27", + "scope": 4457, + "src": "424:11:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97666,10 +58209,10 @@ "typeString": "address" }, "typeName": { - "id": 3373, + "id": 4449, "name": "address", "nodeType": "ElementaryTypeName", - "src": "424:7:27", + "src": "424:7:19", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -97681,11 +58224,11 @@ }, { "constant": false, - "id": 3376, + "id": 4452, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 3381, - "src": "437:14:27", + "scope": 4457, + "src": "437:14:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97693,10 +58236,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3375, + "id": 4451, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "437:7:27", + "src": "437:7:19", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -97706,19 +58249,19 @@ "visibility": "internal" } ], - "src": "423:29:27" + "src": "423:29:19" }, "returnParameters": { - "id": 3380, + "id": 4456, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3379, + "id": 4455, "name": "success", "nodeType": "VariableDeclaration", - "scope": 3381, - "src": "471:12:27", + "scope": 4457, + "src": "471:12:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97726,10 +58269,10 @@ "typeString": "bool" }, "typeName": { - "id": 3378, + "id": 4454, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "471:4:27", + "src": "471:4:19", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -97739,10 +58282,10 @@ "visibility": "internal" } ], - "src": "470:14:27" + "src": "470:14:19" }, - "scope": 3439, - "src": "406:79:27", + "scope": 4515, + "src": "406:79:19", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" @@ -97750,23 +58293,23 @@ { "body": null, "documentation": "@notice `msg.sender` approves `_spender` to spend `_value` tokens\n@param _spender The address of the account able to transfer the tokens\n@param _value The amount of tokens to be approved for transfer\n@return Whether the approval was successful or not", - "id": 3390, + "id": 4466, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3386, + "id": 4462, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3383, + "id": 4459, "name": "_spender", "nodeType": "VariableDeclaration", - "scope": 3390, - "src": "803:16:27", + "scope": 4466, + "src": "803:16:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97774,10 +58317,10 @@ "typeString": "address" }, "typeName": { - "id": 3382, + "id": 4458, "name": "address", "nodeType": "ElementaryTypeName", - "src": "803:7:27", + "src": "803:7:19", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -97789,11 +58332,11 @@ }, { "constant": false, - "id": 3385, + "id": 4461, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 3390, - "src": "821:14:27", + "scope": 4466, + "src": "821:14:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97801,10 +58344,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3384, + "id": 4460, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "821:7:27", + "src": "821:7:19", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -97814,19 +58357,19 @@ "visibility": "internal" } ], - "src": "802:34:27" + "src": "802:34:19" }, "returnParameters": { - "id": 3389, + "id": 4465, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3388, + "id": 4464, "name": "success", "nodeType": "VariableDeclaration", - "scope": 3390, - "src": "855:12:27", + "scope": 4466, + "src": "855:12:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97834,10 +58377,10 @@ "typeString": "bool" }, "typeName": { - "id": 3387, + "id": 4463, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "855:4:27", + "src": "855:4:19", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -97847,10 +58390,10 @@ "visibility": "internal" } ], - "src": "854:14:27" + "src": "854:14:19" }, - "scope": 3439, - "src": "786:83:27", + "scope": 4515, + "src": "786:83:19", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" @@ -97858,23 +58401,23 @@ { "body": null, "documentation": "@notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`\n@param _from The address of the sender\n@param _to The address of the recipient\n@param _value The amount of token to be transferred\n@return Whether the transfer was successful or not", - "id": 3401, + "id": 4477, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 4473, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3392, + "id": 4468, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 3401, - "src": "1223:13:27", + "scope": 4477, + "src": "1223:13:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97882,10 +58425,10 @@ "typeString": "address" }, "typeName": { - "id": 3391, + "id": 4467, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1223:7:27", + "src": "1223:7:19", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -97897,11 +58440,11 @@ }, { "constant": false, - "id": 3394, + "id": 4470, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 3401, - "src": "1238:11:27", + "scope": 4477, + "src": "1238:11:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97909,10 +58452,10 @@ "typeString": "address" }, "typeName": { - "id": 3393, + "id": 4469, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1238:7:27", + "src": "1238:7:19", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -97924,11 +58467,11 @@ }, { "constant": false, - "id": 3396, + "id": 4472, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 3401, - "src": "1251:14:27", + "scope": 4477, + "src": "1251:14:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97936,10 +58479,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3395, + "id": 4471, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1251:7:27", + "src": "1251:7:19", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -97949,19 +58492,19 @@ "visibility": "internal" } ], - "src": "1222:44:27" + "src": "1222:44:19" }, "returnParameters": { - "id": 3400, + "id": 4476, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3399, + "id": 4475, "name": "success", "nodeType": "VariableDeclaration", - "scope": 3401, - "src": "1285:12:27", + "scope": 4477, + "src": "1285:12:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -97969,10 +58512,10 @@ "typeString": "bool" }, "typeName": { - "id": 3398, + "id": 4474, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1285:4:27", + "src": "1285:4:19", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -97982,10 +58525,10 @@ "visibility": "internal" } ], - "src": "1284:14:27" + "src": "1284:14:19" }, - "scope": 3439, - "src": "1201:98:27", + "scope": 4515, + "src": "1201:98:19", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" @@ -97993,23 +58536,23 @@ { "body": null, "documentation": "@param _owner The address from which the balance will be retrieved\n@return The balance", - "id": 3408, + "id": 4484, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 3404, + "id": 4480, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3403, + "id": 4479, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 3408, - "src": "1441:14:27", + "scope": 4484, + "src": "1441:14:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98017,10 +58560,10 @@ "typeString": "address" }, "typeName": { - "id": 3402, + "id": 4478, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1441:7:27", + "src": "1441:7:19", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -98031,19 +58574,19 @@ "visibility": "internal" } ], - "src": "1440:16:27" + "src": "1440:16:19" }, "returnParameters": { - "id": 3407, + "id": 4483, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3406, + "id": 4482, "name": "balance", "nodeType": "VariableDeclaration", - "scope": 3408, - "src": "1480:15:27", + "scope": 4484, + "src": "1480:15:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98051,10 +58594,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3405, + "id": 4481, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1480:7:27", + "src": "1480:7:19", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -98064,10 +58607,10 @@ "visibility": "internal" } ], - "src": "1479:17:27" + "src": "1479:17:19" }, - "scope": 3439, - "src": "1422:75:27", + "scope": 4515, + "src": "1422:75:19", "stateMutability": "view", "superFunction": null, "visibility": "external" @@ -98075,23 +58618,23 @@ { "body": null, "documentation": "@param _owner The address of the account owning tokens\n@param _spender The address of the account able to transfer the tokens\n@return Amount of remaining tokens allowed to spent", - "id": 3417, + "id": 4493, "implemented": false, "kind": "function", "modifiers": [], "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { - "id": 3413, + "id": 4489, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3410, + "id": 4486, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 3417, - "src": "1737:14:27", + "scope": 4493, + "src": "1737:14:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98099,10 +58642,10 @@ "typeString": "address" }, "typeName": { - "id": 3409, + "id": 4485, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1737:7:27", + "src": "1737:7:19", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -98114,11 +58657,11 @@ }, { "constant": false, - "id": 3412, + "id": 4488, "name": "_spender", "nodeType": "VariableDeclaration", - "scope": 3417, - "src": "1753:16:27", + "scope": 4493, + "src": "1753:16:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98126,10 +58669,10 @@ "typeString": "address" }, "typeName": { - "id": 3411, + "id": 4487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1753:7:27", + "src": "1753:7:19", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -98140,19 +58683,19 @@ "visibility": "internal" } ], - "src": "1736:34:27" + "src": "1736:34:19" }, "returnParameters": { - "id": 3416, + "id": 4492, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3415, + "id": 4491, "name": "remaining", "nodeType": "VariableDeclaration", - "scope": 3417, - "src": "1794:17:27", + "scope": 4493, + "src": "1794:17:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98160,10 +58703,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3414, + "id": 4490, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1794:7:27", + "src": "1794:7:19", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -98173,10 +58716,10 @@ "visibility": "internal" } ], - "src": "1793:19:27" + "src": "1793:19:19" }, - "scope": 3439, - "src": "1718:95:27", + "scope": 4515, + "src": "1718:95:19", "stateMutability": "view", "superFunction": null, "visibility": "external" @@ -98184,29 +58727,29 @@ { "body": null, "documentation": "@notice return total supply of tokens", - "id": 3422, + "id": 4498, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 3418, + "id": 4494, "nodeType": "ParameterList", "parameters": [], - "src": "1900:2:27" + "src": "1900:2:19" }, "returnParameters": { - "id": 3421, + "id": 4497, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3420, + "id": 4496, "name": "supply", "nodeType": "VariableDeclaration", - "scope": 3422, - "src": "1926:14:27", + "scope": 4498, + "src": "1926:14:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98214,10 +58757,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3419, + "id": 4495, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1926:7:27", + "src": "1926:7:19", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -98227,10 +58770,10 @@ "visibility": "internal" } ], - "src": "1925:16:27" + "src": "1925:16:19" }, - "scope": 3439, - "src": "1880:62:27", + "scope": 4515, + "src": "1880:62:19", "stateMutability": "view", "superFunction": null, "visibility": "external" @@ -98238,21 +58781,21 @@ { "anonymous": false, "documentation": null, - "id": 3430, + "id": 4506, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 3429, + "id": 4505, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3424, + "id": 4500, "indexed": true, "name": "from", "nodeType": "VariableDeclaration", - "scope": 3430, - "src": "1963:20:27", + "scope": 4506, + "src": "1963:20:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98260,10 +58803,10 @@ "typeString": "address" }, "typeName": { - "id": 3423, + "id": 4499, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1963:7:27", + "src": "1963:7:19", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -98275,12 +58818,12 @@ }, { "constant": false, - "id": 3426, + "id": 4502, "indexed": true, "name": "to", "nodeType": "VariableDeclaration", - "scope": 3430, - "src": "1985:18:27", + "scope": 4506, + "src": "1985:18:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98288,10 +58831,10 @@ "typeString": "address" }, "typeName": { - "id": 3425, + "id": 4501, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1985:7:27", + "src": "1985:7:19", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -98303,12 +58846,12 @@ }, { "constant": false, - "id": 3428, + "id": 4504, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", - "scope": 3430, - "src": "2005:13:27", + "scope": 4506, + "src": "2005:13:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98316,10 +58859,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3427, + "id": 4503, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2005:7:27", + "src": "2005:7:19", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -98329,28 +58872,28 @@ "visibility": "internal" } ], - "src": "1962:57:27" + "src": "1962:57:19" }, - "src": "1948:72:27" + "src": "1948:72:19" }, { "anonymous": false, "documentation": null, - "id": 3438, + "id": 4514, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 3437, + "id": 4513, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3432, + "id": 4508, "indexed": true, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3438, - "src": "2040:21:27", + "scope": 4514, + "src": "2040:21:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98358,10 +58901,10 @@ "typeString": "address" }, "typeName": { - "id": 3431, + "id": 4507, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2040:7:27", + "src": "2040:7:19", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -98373,12 +58916,12 @@ }, { "constant": false, - "id": 3434, + "id": 4510, "indexed": true, "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3438, - "src": "2063:23:27", + "scope": 4514, + "src": "2063:23:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98386,10 +58929,10 @@ "typeString": "address" }, "typeName": { - "id": 3433, + "id": 4509, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2063:7:27", + "src": "2063:7:19", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -98401,12 +58944,12 @@ }, { "constant": false, - "id": 3436, + "id": 4512, "indexed": false, "name": "value", "nodeType": "VariableDeclaration", - "scope": 3438, - "src": "2088:13:27", + "scope": 4514, + "src": "2088:13:19", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -98414,10 +58957,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3435, + "id": 4511, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2088:7:27", + "src": "2088:7:19", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -98427,1442 +58970,32 @@ "visibility": "internal" } ], - "src": "2039:63:27" + "src": "2039:63:19" }, - "src": "2025:78:27" + "src": "2025:78:19" } ], - "scope": 3440, - "src": "136:1969:27" + "scope": 4516, + "src": "136:1969:19" } ], - "src": "0:2105:27" + "src": "0:2105:19" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC721.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC721.sol", - "exportedSymbols": { - "ERC721": [ - 3539 - ] - }, - "id": 3540, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 3441, - "literals": [ - "solidity", - ">=", - "0.5", - ".0", - "<", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:31:28" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": "@title ERC-721 Non-Fungible Token Standard\n@dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md\n Note: the ERC-165 identifier for this interface is 0x80ac58cd", - "fullyImplemented": false, - "id": 3539, - "linearizedBaseContracts": [ - 3539 - ], - "name": "ERC721", - "nodeType": "ContractDefinition", - "nodes": [ - { - "anonymous": false, - "documentation": "@dev This emits when ownership of any NFT changes by any mechanism.\n This event emits when NFTs are created (`from` == 0) and destroyed\n (`to` == 0). Exception: during contract creation, any number of NFTs\n may be created and assigned without emitting Transfer. At the time of\n any transfer, the approved address for that NFT (if any) is reset to none.", - "id": 3449, - "name": "Transfer", - "nodeType": "EventDefinition", - "parameters": { - "id": 3448, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3443, - "indexed": true, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 3449, - "src": "684:20:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3442, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "684:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3445, - "indexed": true, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 3449, - "src": "706:18:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3444, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "706:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3447, - "indexed": true, - "name": "value", - "nodeType": "VariableDeclaration", - "scope": 3449, - "src": "726:21:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3446, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "726:7:28", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "683:65:28" - }, - "src": "669:80:28" - }, - { - "anonymous": false, - "documentation": "@dev This emits when the approved address for an NFT is changed or\n reaffirmed. The zero address indicates there is no approved address.\n When a Transfer event emits, this also indicates that the approved\n address for that NFT (if any) is reset to none.", - "id": 3457, - "name": "Approval", - "nodeType": "EventDefinition", - "parameters": { - "id": 3456, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3451, - "indexed": true, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "1072:21:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3450, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1072:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3453, - "indexed": true, - "name": "approved", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "1095:24:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3452, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1095:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3455, - "indexed": true, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 3457, - "src": "1121:23:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3454, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1121:7:28", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1071:74:28" - }, - "src": "1057:89:28" - }, - { - "anonymous": false, - "documentation": "@dev This emits when an operator is enabled or disabled for an owner.\n The operator can manage all NFTs of the owner.", - "id": 3465, - "name": "ApprovalForAll", - "nodeType": "EventDefinition", - "parameters": { - "id": 3464, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3459, - "indexed": true, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 3465, - "src": "1321:21:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3458, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1321:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3461, - "indexed": true, - "name": "operator", - "nodeType": "VariableDeclaration", - "scope": 3465, - "src": "1344:24:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3460, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1344:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3463, - "indexed": false, - "name": "approved", - "nodeType": "VariableDeclaration", - "scope": 3465, - "src": "1370:13:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3462, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1370:4:28", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1320:64:28" - }, - "src": "1300:85:28" - }, - { - "body": null, - "documentation": "@notice Count all NFTs assigned to an owner\n@dev NFTs assigned to the zero address are considered invalid, and this\n function throws for queries about the zero address.\n@param _owner An address for whom to query the balance\n@return The number of NFTs owned by `_owner`, possibly zero", - "id": 3472, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3468, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3467, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 3472, - "src": "1745:14:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3466, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1745:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1744:16:28" - }, - "returnParameters": { - "id": 3471, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3470, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 3472, - "src": "1784:7:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3469, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1784:7:28", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "1783:9:28" - }, - "scope": 3539, - "src": "1726:67:28", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Find the owner of an NFT\n@dev NFTs assigned to zero address are considered invalid, and queries\n about them do throw.\n@param _tokenId The identifier for an NFT\n@return The address of the owner of the NFT", - "id": 3479, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "ownerOf", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3475, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3474, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 3479, - "src": "2079:16:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3473, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2079:7:28", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2078:18:28" - }, - "returnParameters": { - "id": 3478, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3477, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 3479, - "src": "2120:7:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3476, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2120:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2119:9:28" - }, - "scope": 3539, - "src": "2062:67:28", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Transfers the ownership of an NFT from one address to another address\n@dev Throws unless `msg.sender` is the current owner, an authorized\n operator, or the approved address for this NFT. Throws if `_from` is\n not the current owner. Throws if `_to` is the zero address. Throws if\n `_tokenId` is not a valid NFT. When transfer is complete, this function\n checks if `_to` is a smart contract (code size > 0). If so, it calls\n `onERC721Received` on `_to` and throws if the return value is not\n `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`.\n@param _from The current owner of the NFT\n@param _to The new owner\n@param _tokenId The NFT to transfer\n@param _data Additional data with no specified format, sent in call to `_to`", - "id": 3490, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3488, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3481, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 3490, - "src": "3011:13:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3480, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3011:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3483, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 3490, - "src": "3026:11:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3482, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3026:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3485, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 3490, - "src": "3039:16:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3484, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3039:7:28", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3487, - "name": "_data", - "nodeType": "VariableDeclaration", - "scope": 3490, - "src": "3057:20:28", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3486, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "3057:5:28", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3010:68:28" - }, - "returnParameters": { - "id": 3489, - "nodeType": "ParameterList", - "parameters": [], - "src": "3087:0:28" - }, - "scope": 3539, - "src": "2985:103:28", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Transfers the ownership of an NFT from one address to another address\n@dev This works identically to the other function with an extra data parameter,\n except this function just sets data to \"\"\n@param _from The current owner of the NFT\n@param _to The new owner\n@param _tokenId The NFT to transfer", - "id": 3499, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3497, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3492, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 3499, - "src": "3482:13:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3491, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3482:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3494, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 3499, - "src": "3497:11:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3493, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3497:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3496, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 3499, - "src": "3510:16:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3495, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3510:7:28", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3481:46:28" - }, - "returnParameters": { - "id": 3498, - "nodeType": "ParameterList", - "parameters": [], - "src": "3536:0:28" - }, - "scope": 3539, - "src": "3456:81:28", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Transfer ownership of an NFT -- THE CALLER IS RESPONSIBLE\n TO CONFIRM THAT `_to` IS CAPABLE OF RECEIVING NFTS OR ELSE\n THEY MAY BE PERMANENTLY LOST\n@dev Throws unless `msg.sender` is the current owner, an authorized\n operator, or the approved address for this NFT. Throws if `_from` is\n not the current owner. Throws if `_to` is the zero address. Throws if\n `_tokenId` is not a valid NFT.\n@param _from The current owner of the NFT\n@param _to The new owner\n@param _tokenId The NFT to transfer", - "id": 3508, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3506, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3501, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 3508, - "src": "4151:13:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3500, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4151:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3503, - "name": "_to", - "nodeType": "VariableDeclaration", - "scope": 3508, - "src": "4166:11:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3502, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4166:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3505, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 3508, - "src": "4179:16:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3504, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4179:7:28", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4150:46:28" - }, - "returnParameters": { - "id": 3507, - "nodeType": "ParameterList", - "parameters": [], - "src": "4205:0:28" - }, - "scope": 3539, - "src": "4129:77:28", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Set or reaffirm the approved address for an NFT\n@dev The zero address indicates there is no approved address.\n@dev Throws unless `msg.sender` is the current NFT owner, or an authorized\n operator of the current owner.\n@param _approved The new approved NFT controller\n@param _tokenId The NFT to approve", - "id": 3515, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3513, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3510, - "name": "_approved", - "nodeType": "VariableDeclaration", - "scope": 3515, - "src": "4596:17:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3509, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4596:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3512, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 3515, - "src": "4615:16:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3511, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4615:7:28", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4595:37:28" - }, - "returnParameters": { - "id": 3514, - "nodeType": "ParameterList", - "parameters": [], - "src": "4641:0:28" - }, - "scope": 3539, - "src": "4579:63:28", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Enable or disable approval for a third party (\"operator\") to manage\n all of `msg.sender`'s assets.\n@dev Emits the ApprovalForAll event. The contract MUST allow\n multiple operators per owner.\n@param _operator Address to add to the set of authorized operators.\n@param _approved True if the operator is approved, false to revoke approval", - "id": 3522, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3520, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3517, - "name": "_operator", - "nodeType": "VariableDeclaration", - "scope": 3522, - "src": "5076:17:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3516, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5076:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3519, - "name": "_approved", - "nodeType": "VariableDeclaration", - "scope": 3522, - "src": "5095:14:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3518, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5095:4:28", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5075:35:28" - }, - "returnParameters": { - "id": 3521, - "nodeType": "ParameterList", - "parameters": [], - "src": "5119:0:28" - }, - "scope": 3539, - "src": "5049:71:28", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Get the approved address for a single NFT\n@dev Throws if `_tokenId` is not a valid NFT\n@param _tokenId The NFT to find the approved address for\n@return The approved address for this NFT, or the zero address if there is none", - "id": 3529, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "getApproved", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3525, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3524, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 3529, - "src": "5423:16:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3523, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "5423:7:28", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5422:18:28" - }, - "returnParameters": { - "id": 3528, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3527, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 3529, - "src": "5464:7:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3526, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5464:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5463:9:28" - }, - "scope": 3539, - "src": "5402:71:28", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": null, - "documentation": "@notice Query if an address is an authorized operator for another address\n@param _owner The address that owns the NFTs\n@param _operator The address that acts on behalf of the owner\n@return True if `_operator` is an approved operator for `_owner`, false otherwise", - "id": 3538, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3534, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3531, - "name": "_owner", - "nodeType": "VariableDeclaration", - "scope": 3538, - "src": "5812:14:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3530, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5812:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3533, - "name": "_operator", - "nodeType": "VariableDeclaration", - "scope": 3538, - "src": "5828:17:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3532, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5828:7:28", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5811:35:28" - }, - "returnParameters": { - "id": 3537, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3536, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 3538, - "src": "5870:4:28", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 3535, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5870:4:28", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5869:6:28" - }, - "scope": 3539, - "src": "5786:90:28", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - } - ], - "scope": 3540, - "src": "226:5652:28" - } - ], - "src": "0:5879:28" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC721Receiver.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC721Receiver.sol", - "exportedSymbols": { - "ERC721Receiver": [ - 3555 - ] - }, - "id": 3556, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 3541, - "literals": [ - "solidity", - ">=", - "0.5", - ".0", - "<", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "1:31:29" - }, - { - "baseContracts": [], - "contractDependencies": [], - "contractKind": "interface", - "documentation": null, - "fullyImplemented": false, - "id": 3555, - "linearizedBaseContracts": [ - 3555 - ], - "name": "ERC721Receiver", - "nodeType": "ContractDefinition", - "nodes": [ - { - "body": null, - "documentation": "@notice Handle the receipt of an NFT\n@dev The ERC721 smart contract calls this function on the\nrecipient after a `transfer`. This function MAY throw to revert and reject the transfer. Return\nof other than the magic value MUST result in the transaction being reverted.\n@notice The contract address is always the message sender.\n@param _operator The address which called `safeTransferFrom` function\n@param _from The address which previously owned the token\n@param _tokenId The NFT identifier which is being transferred\n@param _data Additional data with no specified format\n@return `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\nunless throwing", - "id": 3554, - "implemented": false, - "kind": "function", - "modifiers": [], - "name": "onERC721Received", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 3550, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3543, - "name": "_operator", - "nodeType": "VariableDeclaration", - "scope": 3554, - "src": "850:17:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3542, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "850:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3545, - "name": "_from", - "nodeType": "VariableDeclaration", - "scope": 3554, - "src": "869:13:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 3544, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "869:7:29", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3547, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 3554, - "src": "884:16:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 3546, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "884:7:29", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 3549, - "name": "_data", - "nodeType": "VariableDeclaration", - "scope": 3554, - "src": "902:20:29", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 3548, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "902:5:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "849:74:29" - }, - "returnParameters": { - "id": 3553, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 3552, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 3554, - "src": "941:6:29", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 3551, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "941:6:29", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "940:8:29" - }, - "scope": 3555, - "src": "824:125:29", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "external" - } - ], - "scope": 3556, - "src": "34:917:29" - } - ], - "src": "1:950:29" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\MiniMeToken.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\MiniMeToken.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/MiniMeToken.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/MiniMeToken.sol", "exportedSymbols": { "MiniMeToken": [ - 4657 + 5617 ], "MiniMeTokenFactory": [ - 4700 + 5660 ] }, - "id": 4701, + "id": 5661, "nodeType": "SourceUnit", "nodes": [ { - "id": 3557, + "id": 4517, "literals": [ "solidity", ">=", @@ -99873,38 +59006,38 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "0:31:30" + "src": "0:31:20" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol", - "id": 3558, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Controlled.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Controlled.sol", + "id": 4518, "nodeType": "ImportDirective", - "scope": 4701, - "sourceUnit": 6929, - "src": "1133:96:30", + "scope": 5661, + "sourceUnit": 38, + "src": "1133:91:20", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/TokenController.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/TokenController.sol", - "id": 3559, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/TokenController.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/TokenController.sol", + "id": 4519, "nodeType": "ImportDirective", - "scope": 4701, - "sourceUnit": 6700, - "src": "1230:100:30", + "scope": 5661, + "sourceUnit": 5693, + "src": "1225:95:20", "symbolAliases": [], "unitAlias": "" }, { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", - "id": 3560, + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", + "file": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol", + "id": 4520, "nodeType": "ImportDirective", - "scope": 4701, - "sourceUnit": 6943, - "src": "1331:107:30", + "scope": 5661, + "sourceUnit": 4233, + "src": "1321:102:20", "symbolAliases": [], "unitAlias": "" }, @@ -99914,42 +59047,42 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 3561, + "id": 4521, "name": "Controlled", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 6928, - "src": "1690:10:30", + "referencedDeclaration": 37, + "src": "1675:10:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_Controlled_$6928", + "typeIdentifier": "t_contract$_Controlled_$37", "typeString": "contract Controlled" } }, - "id": 3562, + "id": 4522, "nodeType": "InheritanceSpecifier", - "src": "1690:10:30" + "src": "1675:10:20" } ], "contractDependencies": [ - 6928 + 37 ], "contractKind": "contract", "documentation": "@dev The actual token contract, the default controller is the msg.sender\n that deploys the contract, so usually this token will be deployed by a\n token controller contract, which Giveth will call a \"Campaign\"", "fullyImplemented": true, - "id": 4657, + "id": 5617, "linearizedBaseContracts": [ - 4657, - 6928 + 5617, + 37 ], "name": "MiniMeToken", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 3564, + "id": 4524, "name": "name", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "1708:18:30", + "scope": 5617, + "src": "1693:18:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -99957,10 +59090,10 @@ "typeString": "string" }, "typeName": { - "id": 3563, + "id": 4523, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1708:6:30", + "src": "1693:6:20", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -99971,11 +59104,11 @@ }, { "constant": false, - "id": 3566, + "id": 4526, "name": "decimals", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "1788:21:30", + "scope": 5617, + "src": "1773:21:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -99983,10 +59116,10 @@ "typeString": "uint8" }, "typeName": { - "id": 3565, + "id": 4525, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "1788:5:30", + "src": "1773:5:20", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -99997,11 +59130,11 @@ }, { "constant": false, - "id": 3568, + "id": 4528, "name": "symbol", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "1869:20:30", + "scope": 5617, + "src": "1854:20:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -100009,10 +59142,10 @@ "typeString": "string" }, "typeName": { - "id": 3567, + "id": 4527, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1869:6:30", + "src": "1854:6:20", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -100023,11 +59156,11 @@ }, { "constant": false, - "id": 3571, + "id": 4531, "name": "version", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "1934:33:30", + "scope": 5617, + "src": "1919:33:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -100035,10 +59168,10 @@ "typeString": "string" }, "typeName": { - "id": 3569, + "id": 4529, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1934:6:30", + "src": "1919:6:20", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -100047,14 +59180,14 @@ "value": { "argumentTypes": null, "hexValue": "4d4d545f302e31", - "id": 3570, + "id": 4530, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1958:9:30", + "src": "1943:9:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_40fc38fa6d6143d33df7a9e2b8cbab7741b8990dbd52142e39a51c72d1e7c977", @@ -100066,15 +59199,15 @@ }, { "canonicalName": "MiniMeToken.Checkpoint", - "id": 3576, + "id": 4536, "members": [ { "constant": false, - "id": 3573, + "id": 4533, "name": "fromBlock", "nodeType": "VariableDeclaration", - "scope": 3576, - "src": "2299:17:30", + "scope": 4536, + "src": "2284:17:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -100082,10 +59215,10 @@ "typeString": "uint128" }, "typeName": { - "id": 3572, + "id": 4532, "name": "uint128", "nodeType": "ElementaryTypeName", - "src": "2299:7:30", + "src": "2284:7:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" @@ -100096,11 +59229,11 @@ }, { "constant": false, - "id": 3575, + "id": 4535, "name": "value", "nodeType": "VariableDeclaration", - "scope": 3576, - "src": "2397:13:30", + "scope": 4536, + "src": "2382:13:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -100108,10 +59241,10 @@ "typeString": "uint128" }, "typeName": { - "id": 3574, + "id": 4534, "name": "uint128", "nodeType": "ElementaryTypeName", - "src": "2397:7:30", + "src": "2382:7:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" @@ -100123,32 +59256,32 @@ ], "name": "Checkpoint", "nodeType": "StructDefinition", - "scope": 4657, - "src": "2193:224:30", + "scope": 5617, + "src": "2178:224:20", "visibility": "public" }, { "constant": false, - "id": 3578, + "id": 4538, "name": "parentToken", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "2559:30:30", + "scope": 5617, + "src": "2544:30:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" }, "typeName": { "contractScope": null, - "id": 3577, + "id": 4537, "name": "MiniMeToken", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 4657, - "src": "2559:11:30", + "referencedDeclaration": 5617, + "src": "2544:11:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, @@ -100157,11 +59290,11 @@ }, { "constant": false, - "id": 3580, + "id": 4540, "name": "parentSnapShotBlock", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "2746:31:30", + "scope": 5617, + "src": "2731:31:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -100169,10 +59302,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3579, + "id": 4539, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2746:4:30", + "src": "2731:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -100183,11 +59316,11 @@ }, { "constant": false, - "id": 3582, + "id": 4542, "name": "creationBlock", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "2860:25:30", + "scope": 5617, + "src": "2845:25:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -100195,10 +59328,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3581, + "id": 4541, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2860:4:30", + "src": "2845:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -100209,54 +59342,54 @@ }, { "constant": false, - "id": 3587, + "id": 4547, "name": "balances", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "3090:42:30", + "scope": 5617, + "src": "3075:42:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_$", "typeString": "mapping(address => struct MiniMeToken.Checkpoint[])" }, "typeName": { - "id": 3586, + "id": 4546, "keyType": { - "id": 3583, + "id": 4543, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3099:7:30", + "src": "3084:7:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3090:33:30", + "src": "3075:33:20", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_$", "typeString": "mapping(address => struct MiniMeToken.Checkpoint[])" }, "valueType": { "baseType": { "contractScope": null, - "id": 3584, + "id": 4544, "name": "Checkpoint", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3576, - "src": "3110:10:30", + "referencedDeclaration": 4536, + "src": "3095:10:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage_ptr", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint" } }, - "id": 3585, + "id": 4545, "length": null, "nodeType": "ArrayTypeName", - "src": "3110:12:30", + "src": "3095:12:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint[]" } } @@ -100266,11 +59399,11 @@ }, { "constant": false, - "id": 3593, + "id": 4553, "name": "allowed", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "3212:57:30", + "scope": 5617, + "src": "3197:57:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -100278,46 +59411,46 @@ "typeString": "mapping(address => mapping(address => uint256))" }, "typeName": { - "id": 3592, + "id": 4552, "keyType": { - "id": 3588, + "id": 4548, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3221:7:30", + "src": "3206:7:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3212:49:30", + "src": "3197:49:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" }, "valueType": { - "id": 3591, + "id": 4551, "keyType": { - "id": 3589, + "id": 4549, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3241:7:30", + "src": "3226:7:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3232:28:30", + "src": "3217:28:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 3590, + "id": 4550, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3252:7:30", + "src": "3237:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -100330,36 +59463,36 @@ }, { "constant": false, - "id": 3596, + "id": 4556, "name": "totalSupplyHistory", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "3336:31:30", + "scope": 5617, + "src": "3321:31:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 3594, + "id": 4554, "name": "Checkpoint", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3576, - "src": "3336:10:30", + "referencedDeclaration": 4536, + "src": "3321:10:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage_ptr", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint" } }, - "id": 3595, + "id": 4555, "length": null, "nodeType": "ArrayTypeName", - "src": "3336:12:30", + "src": "3321:12:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint[]" } }, @@ -100368,11 +59501,11 @@ }, { "constant": false, - "id": 3598, + "id": 4558, "name": "transfersEnabled", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "3439:28:30", + "scope": 5617, + "src": "3424:28:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -100380,10 +59513,10 @@ "typeString": "bool" }, "typeName": { - "id": 3597, + "id": 4557, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3439:4:30", + "src": "3424:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -100394,26 +59527,26 @@ }, { "constant": false, - "id": 3600, + "id": 4560, "name": "tokenFactory", "nodeType": "VariableDeclaration", - "scope": 4657, - "src": "3525:38:30", + "scope": 5617, + "src": "3510:38:20", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$4700", + "typeIdentifier": "t_contract$_MiniMeTokenFactory_$5660", "typeString": "contract MiniMeTokenFactory" }, "typeName": { "contractScope": null, - "id": 3599, + "id": 4559, "name": "MiniMeTokenFactory", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 4700, - "src": "3525:18:30", + "referencedDeclaration": 5660, + "src": "3510:18:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$4700", + "typeIdentifier": "t_contract$_MiniMeTokenFactory_$5660", "typeString": "contract MiniMeTokenFactory" } }, @@ -100422,28 +59555,28 @@ }, { "body": { - "id": 3658, + "id": 4618, "nodeType": "Block", - "src": "4647:499:30", + "src": "4632:499:20", "statements": [ { "expression": { "argumentTypes": null, - "id": 3621, + "id": 4581, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 3617, + "id": 4577, "name": "tokenFactory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3600, - "src": "4657:12:30", + "referencedDeclaration": 4560, + "src": "4642:12:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$4700", + "typeIdentifier": "t_contract$_MiniMeTokenFactory_$5660", "typeString": "contract MiniMeTokenFactory" } }, @@ -100454,12 +59587,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3619, + "id": 4579, "name": "_tokenFactory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3602, - "src": "4691:13:30", + "referencedDeclaration": 4562, + "src": "4676:13:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -100473,18 +59606,18 @@ "typeString": "address" } ], - "id": 3618, + "id": 4578, "name": "MiniMeTokenFactory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4700, - "src": "4672:18:30", + "referencedDeclaration": 5660, + "src": "4657:18:20", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MiniMeTokenFactory_$4700_$", + "typeIdentifier": "t_type$_t_contract$_MiniMeTokenFactory_$5660_$", "typeString": "type(contract MiniMeTokenFactory)" } }, - "id": 3620, + "id": 4580, "isConstant": false, "isLValue": false, "isPure": false, @@ -100492,38 +59625,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4672:33:30", + "src": "4657:33:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$4700", + "typeIdentifier": "t_contract$_MiniMeTokenFactory_$5660", "typeString": "contract MiniMeTokenFactory" } }, - "src": "4657:48:30", + "src": "4642:48:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$4700", + "typeIdentifier": "t_contract$_MiniMeTokenFactory_$5660", "typeString": "contract MiniMeTokenFactory" } }, - "id": 3622, + "id": 4582, "nodeType": "ExpressionStatement", - "src": "4657:48:30" + "src": "4642:48:20" }, { "expression": { "argumentTypes": null, - "id": 3625, + "id": 4585, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 3623, + "id": 4583, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3564, - "src": "4715:4:30", + "referencedDeclaration": 4524, + "src": "4700:4:20", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -100533,43 +59666,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 3624, + "id": 4584, "name": "_tokenName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3608, - "src": "4722:10:30", + "referencedDeclaration": 4568, + "src": "4707:10:20", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "4715:17:30", + "src": "4700:17:20", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3626, + "id": 4586, "nodeType": "ExpressionStatement", - "src": "4715:17:30" + "src": "4700:17:20" }, { "expression": { "argumentTypes": null, - "id": 3629, + "id": 4589, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 3627, + "id": 4587, "name": "decimals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3566, - "src": "4790:8:30", + "referencedDeclaration": 4526, + "src": "4775:8:20", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -100579,43 +59712,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 3628, + "id": 4588, "name": "_decimalUnits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3610, - "src": "4801:13:30", + "referencedDeclaration": 4570, + "src": "4786:13:20", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "4790:24:30", + "src": "4775:24:20", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "id": 3630, + "id": 4590, "nodeType": "ExpressionStatement", - "src": "4790:24:30" + "src": "4775:24:20" }, { "expression": { "argumentTypes": null, - "id": 3633, + "id": 4593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 3631, + "id": 4591, "name": "symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3568, - "src": "4869:6:30", + "referencedDeclaration": 4528, + "src": "4854:6:20", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -100625,45 +59758,45 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 3632, + "id": 4592, "name": "_tokenSymbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3612, - "src": "4878:12:30", + "referencedDeclaration": 4572, + "src": "4863:12:20", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "4869:21:30", + "src": "4854:21:20", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3634, + "id": 4594, "nodeType": "ExpressionStatement", - "src": "4869:21:30" + "src": "4854:21:20" }, { "expression": { "argumentTypes": null, - "id": 3643, + "id": 4603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 3635, + "id": 4595, "name": "parentToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3578, - "src": "4946:11:30", + "referencedDeclaration": 4538, + "src": "4931:11:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, @@ -100680,12 +59813,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3639, + "id": 4599, "name": "_parentToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3604, - "src": "4988:12:30", + "referencedDeclaration": 4564, + "src": "4973:12:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -100699,20 +59832,20 @@ "typeString": "address" } ], - "id": 3638, + "id": 4598, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "4980:7:30", + "src": "4965:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": "uint160" }, - "id": 3640, + "id": 4600, "isConstant": false, "isLValue": false, "isPure": false, @@ -100720,7 +59853,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4980:21:30", + "src": "4965:21:20", "typeDescriptions": { "typeIdentifier": "t_uint160", "typeString": "uint160" @@ -100734,20 +59867,20 @@ "typeString": "uint160" } ], - "id": 3637, + "id": 4597, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "4972:7:30", + "src": "4957:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3641, + "id": 4601, "isConstant": false, "isLValue": false, "isPure": false, @@ -100755,7 +59888,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4972:30:30", + "src": "4957:30:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -100769,18 +59902,18 @@ "typeString": "address payable" } ], - "id": 3636, + "id": 4596, "name": "MiniMeToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4657, - "src": "4960:11:30", + "referencedDeclaration": 5617, + "src": "4945:11:20", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MiniMeToken_$4657_$", + "typeIdentifier": "t_type$_t_contract$_MiniMeToken_$5617_$", "typeString": "type(contract MiniMeToken)" } }, - "id": 3642, + "id": 4602, "isConstant": false, "isLValue": false, "isPure": false, @@ -100788,38 +59921,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "4960:43:30", + "src": "4945:43:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "src": "4946:57:30", + "src": "4931:57:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 3644, + "id": 4604, "nodeType": "ExpressionStatement", - "src": "4946:57:30" + "src": "4931:57:20" }, { "expression": { "argumentTypes": null, - "id": 3647, + "id": 4607, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 3645, + "id": 4605, "name": "parentSnapShotBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3580, - "src": "5013:19:30", + "referencedDeclaration": 4540, + "src": "4998:19:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -100829,43 +59962,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 3646, + "id": 4606, "name": "_parentSnapShotBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3606, - "src": "5035:20:30", + "referencedDeclaration": 4566, + "src": "5020:20:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "5013:42:30", + "src": "4998:42:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 3648, + "id": 4608, "nodeType": "ExpressionStatement", - "src": "5013:42:30" + "src": "4998:42:20" }, { "expression": { "argumentTypes": null, - "id": 3651, + "id": 4611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 3649, + "id": 4609, "name": "transfersEnabled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3598, - "src": "5065:16:30", + "referencedDeclaration": 4558, + "src": "5050:16:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -100875,43 +60008,43 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 3650, + "id": 4610, "name": "_transfersEnabled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3614, - "src": "5084:17:30", + "referencedDeclaration": 4574, + "src": "5069:17:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "5065:36:30", + "src": "5050:36:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3652, + "id": 4612, "nodeType": "ExpressionStatement", - "src": "5065:36:30" + "src": "5050:36:20" }, { "expression": { "argumentTypes": null, - "id": 3656, + "id": 4616, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 3653, + "id": 4613, "name": "creationBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3582, - "src": "5111:13:30", + "referencedDeclaration": 4542, + "src": "5096:13:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -100923,18 +60056,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3654, + "id": 4614, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "5127:5:30", + "referencedDeclaration": 5697, + "src": "5112:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 3655, + "id": 4615, "isConstant": false, "isLValue": false, "isPure": false, @@ -100942,42 +60075,42 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5127:12:30", + "src": "5112:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "5111:28:30", + "src": "5096:28:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 3657, + "id": 4617, "nodeType": "ExpressionStatement", - "src": "5111:28:30" + "src": "5096:28:20" } ] }, "documentation": "@notice Constructor to create a MiniMeToken\n@param _tokenFactory The address of the MiniMeTokenFactory contract that\n will create the Clone token contracts, the token factory needs to be\n deployed first\n@param _parentToken Address of the parent token, set to 0x0 if it is a\n new token\n@param _parentSnapShotBlock Block of the parent token that will\n determine the initial distribution of the clone token, set to 0 if it\n is a new token\n@param _tokenName Name of the new token\n@param _decimalUnits Number of decimals of the new token\n@param _tokenSymbol Token Symbol for the new token\n@param _transfersEnabled If true, tokens will be able to be transferred", - "id": 3659, + "id": 4619, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 3615, + "id": 4575, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3602, + "id": 4562, "name": "_tokenFactory", "nodeType": "VariableDeclaration", - "scope": 3659, - "src": "4404:21:30", + "scope": 4619, + "src": "4389:21:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -100985,10 +60118,10 @@ "typeString": "address" }, "typeName": { - "id": 3601, + "id": 4561, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4404:7:30", + "src": "4389:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -101000,11 +60133,11 @@ }, { "constant": false, - "id": 3604, + "id": 4564, "name": "_parentToken", "nodeType": "VariableDeclaration", - "scope": 3659, - "src": "4435:20:30", + "scope": 4619, + "src": "4420:20:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -101012,10 +60145,10 @@ "typeString": "address" }, "typeName": { - "id": 3603, + "id": 4563, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4435:7:30", + "src": "4420:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -101027,11 +60160,11 @@ }, { "constant": false, - "id": 3606, + "id": 4566, "name": "_parentSnapShotBlock", "nodeType": "VariableDeclaration", - "scope": 3659, - "src": "4465:25:30", + "scope": 4619, + "src": "4450:25:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -101039,10 +60172,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3605, + "id": 4565, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "4465:4:30", + "src": "4450:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -101053,11 +60186,11 @@ }, { "constant": false, - "id": 3608, + "id": 4568, "name": "_tokenName", "nodeType": "VariableDeclaration", - "scope": 3659, - "src": "4500:24:30", + "scope": 4619, + "src": "4485:24:20", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -101065,10 +60198,10 @@ "typeString": "string" }, "typeName": { - "id": 3607, + "id": 4567, "name": "string", "nodeType": "ElementaryTypeName", - "src": "4500:6:30", + "src": "4485:6:20", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -101079,11 +60212,11 @@ }, { "constant": false, - "id": 3610, + "id": 4570, "name": "_decimalUnits", "nodeType": "VariableDeclaration", - "scope": 3659, - "src": "4534:19:30", + "scope": 4619, + "src": "4519:19:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -101091,10 +60224,10 @@ "typeString": "uint8" }, "typeName": { - "id": 3609, + "id": 4569, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "4534:5:30", + "src": "4519:5:20", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -101105,11 +60238,11 @@ }, { "constant": false, - "id": 3612, + "id": 4572, "name": "_tokenSymbol", "nodeType": "VariableDeclaration", - "scope": 3659, - "src": "4563:26:30", + "scope": 4619, + "src": "4548:26:20", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -101117,10 +60250,10 @@ "typeString": "string" }, "typeName": { - "id": 3611, + "id": 4571, "name": "string", "nodeType": "ElementaryTypeName", - "src": "4563:6:30", + "src": "4548:6:20", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -101131,11 +60264,11 @@ }, { "constant": false, - "id": 3614, + "id": 4574, "name": "_transfersEnabled", "nodeType": "VariableDeclaration", - "scope": 3659, - "src": "4599:22:30", + "scope": 4619, + "src": "4584:22:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -101143,10 +60276,10 @@ "typeString": "bool" }, "typeName": { - "id": 3613, + "id": 4573, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "4599:4:30", + "src": "4584:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -101156,25 +60289,25 @@ "visibility": "internal" } ], - "src": "4394:233:30" + "src": "4379:233:20" }, "returnParameters": { - "id": 3616, + "id": 4576, "nodeType": "ParameterList", "parameters": [], - "src": "4647:0:30" + "src": "4632:0:20" }, - "scope": 4657, - "src": "4383:763:30", + "scope": 5617, + "src": "4368:763:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 3680, + "id": 4640, "nodeType": "Block", - "src": "5535:117:30", + "src": "5520:117:20", "statements": [ { "expression": { @@ -101182,12 +60315,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3669, + "id": 4629, "name": "transfersEnabled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3598, - "src": "5553:16:30", + "referencedDeclaration": 4558, + "src": "5538:16:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -101196,14 +60329,14 @@ { "argumentTypes": null, "hexValue": "5472616e73666572732064697361626c6564", - "id": 3670, + "id": 4630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5571:20:30", + "src": "5556:20:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_a3a55adb30ab1f76a9345e8aff5718284aa767b21701c98ffdd1ea222615284c", @@ -101223,21 +60356,21 @@ "typeString": "literal_string \"Transfers disabled\"" } ], - "id": 3668, + "id": 4628, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "5545:7:30", + "referencedDeclaration": 5711, + "src": "5530:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3671, + "id": 4631, "isConstant": false, "isLValue": false, "isPure": false, @@ -101245,15 +60378,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5545:47:30", + "src": "5530:47:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3672, + "id": 4632, "nodeType": "ExpressionStatement", - "src": "5545:47:30" + "src": "5530:47:20" }, { "expression": { @@ -101263,18 +60396,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3674, + "id": 4634, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "5620:3:30", + "referencedDeclaration": 5707, + "src": "5605:3:20", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3675, + "id": 4635, "isConstant": false, "isLValue": false, "isPure": false, @@ -101282,7 +60415,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5620:10:30", + "src": "5605:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -101290,12 +60423,12 @@ }, { "argumentTypes": null, - "id": 3676, + "id": 4636, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3661, - "src": "5632:3:30", + "referencedDeclaration": 4621, + "src": "5617:3:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -101303,12 +60436,12 @@ }, { "argumentTypes": null, - "id": 3677, + "id": 4637, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3663, - "src": "5637:7:30", + "referencedDeclaration": 4623, + "src": "5622:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -101330,18 +60463,18 @@ "typeString": "uint256" } ], - "id": 3673, + "id": 4633, "name": "doTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3850, - "src": "5609:10:30", + "referencedDeclaration": 4810, + "src": "5594:10:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) returns (bool)" } }, - "id": 3678, + "id": 4638, "isConstant": false, "isLValue": false, "isPure": false, @@ -101349,37 +60482,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5609:36:30", + "src": "5594:36:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3667, - "id": 3679, + "functionReturnParameters": 4627, + "id": 4639, "nodeType": "Return", - "src": "5602:43:30" + "src": "5587:43:20" } ] }, "documentation": "@notice Send `_amount` tokens to `_to` from `msg.sender`\n@param _to The address of the recipient\n@param _amount The amount of tokens to be transferred\n@return Whether the transfer was successful or not", - "id": 3681, + "id": 4641, "implemented": true, "kind": "function", "modifiers": [], "name": "transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3664, + "id": 4624, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3661, + "id": 4621, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 3681, - "src": "5475:11:30", + "scope": 4641, + "src": "5460:11:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -101387,10 +60520,10 @@ "typeString": "address" }, "typeName": { - "id": 3660, + "id": 4620, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5475:7:30", + "src": "5460:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -101402,11 +60535,11 @@ }, { "constant": false, - "id": 3663, + "id": 4623, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 3681, - "src": "5488:15:30", + "scope": 4641, + "src": "5473:15:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -101414,10 +60547,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3662, + "id": 4622, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5488:7:30", + "src": "5473:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -101427,19 +60560,19 @@ "visibility": "internal" } ], - "src": "5474:30:30" + "src": "5459:30:20" }, "returnParameters": { - "id": 3667, + "id": 4627, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3666, + "id": 4626, "name": "success", "nodeType": "VariableDeclaration", - "scope": 3681, - "src": "5521:12:30", + "scope": 4641, + "src": "5506:12:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -101447,10 +60580,10 @@ "typeString": "bool" }, "typeName": { - "id": 3665, + "id": 4625, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5521:4:30", + "src": "5506:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -101460,19 +60593,19 @@ "visibility": "internal" } ], - "src": "5520:14:30" + "src": "5505:14:20" }, - "scope": 4657, - "src": "5457:195:30", + "scope": 5617, + "src": "5442:195:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 3730, + "id": 4690, "nodeType": "Block", - "src": "6159:657:30", + "src": "6144:657:20", "statements": [ { "condition": { @@ -101481,7 +60614,7 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 3695, + "id": 4655, "isConstant": false, "isLValue": false, "isPure": false, @@ -101490,18 +60623,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3692, + "id": 4652, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "6450:3:30", + "referencedDeclaration": 5707, + "src": "6435:3:20", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3693, + "id": 4653, "isConstant": false, "isLValue": false, "isPure": false, @@ -101509,7 +60642,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6450:10:30", + "src": "6435:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -101519,31 +60652,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 3694, + "id": 4654, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "6464:10:30", + "referencedDeclaration": 15, + "src": "6449:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "6450:24:30", + "src": "6435:24:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 3723, + "id": 4683, "nodeType": "IfStatement", - "src": "6446:316:30", + "src": "6431:316:20", "trueBody": { - "id": 3722, + "id": 4682, "nodeType": "Block", - "src": "6476:286:30", + "src": "6461:286:20", "statements": [ { "expression": { @@ -101551,12 +60684,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3697, + "id": 4657, "name": "transfersEnabled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3598, - "src": "6498:16:30", + "referencedDeclaration": 4558, + "src": "6483:16:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -101565,14 +60698,14 @@ { "argumentTypes": null, "hexValue": "5472616e73666572732064697361626c6564", - "id": 3698, + "id": 4658, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6516:20:30", + "src": "6501:20:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_a3a55adb30ab1f76a9345e8aff5718284aa767b21701c98ffdd1ea222615284c", @@ -101592,21 +60725,21 @@ "typeString": "literal_string \"Transfers disabled\"" } ], - "id": 3696, + "id": 4656, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "6490:7:30", + "referencedDeclaration": 5711, + "src": "6475:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3699, + "id": 4659, "isConstant": false, "isLValue": false, "isPure": false, @@ -101614,15 +60747,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6490:47:30", + "src": "6475:47:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3700, + "id": 4660, "nodeType": "ExpressionStatement", - "src": "6490:47:30" + "src": "6475:47:20" }, { "condition": { @@ -101631,7 +60764,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3708, + "id": 4668, "isConstant": false, "isLValue": false, "isPure": false, @@ -101642,26 +60775,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 3701, + "id": 4661, "name": "allowed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3593, - "src": "6618:7:30", + "referencedDeclaration": 4553, + "src": "6603:7:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 3703, + "id": 4663, "indexExpression": { "argumentTypes": null, - "id": 3702, + "id": 4662, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3683, - "src": "6626:5:30", + "referencedDeclaration": 4643, + "src": "6611:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -101672,29 +60805,29 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6618:14:30", + "src": "6603:14:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 3706, + "id": 4666, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3704, + "id": 4664, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "6633:3:30", + "referencedDeclaration": 5707, + "src": "6618:3:20", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3705, + "id": 4665, "isConstant": false, "isLValue": false, "isPure": false, @@ -101702,7 +60835,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6633:10:30", + "src": "6618:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -101713,7 +60846,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6618:26:30", + "src": "6603:26:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -101723,44 +60856,44 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 3707, + "id": 4667, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3687, - "src": "6647:7:30", + "referencedDeclaration": 4647, + "src": "6632:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "6618:36:30", + "src": "6603:36:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 3712, + "id": 4672, "nodeType": "IfStatement", - "src": "6614:87:30", + "src": "6599:87:20", "trueBody": { - "id": 3711, + "id": 4671, "nodeType": "Block", - "src": "6656:45:30", + "src": "6641:45:20", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 3709, + "id": 4669, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "6681:5:30", + "src": "6666:5:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -101768,10 +60901,10 @@ }, "value": "false" }, - "functionReturnParameters": 3691, - "id": 3710, + "functionReturnParameters": 4651, + "id": 4670, "nodeType": "Return", - "src": "6674:12:30" + "src": "6659:12:20" } ] } @@ -101779,7 +60912,7 @@ { "expression": { "argumentTypes": null, - "id": 3720, + "id": 4680, "isConstant": false, "isLValue": false, "isPure": false, @@ -101790,26 +60923,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 3713, + "id": 4673, "name": "allowed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3593, - "src": "6714:7:30", + "referencedDeclaration": 4553, + "src": "6699:7:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 3717, + "id": 4677, "indexExpression": { "argumentTypes": null, - "id": 3714, + "id": 4674, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3683, - "src": "6722:5:30", + "referencedDeclaration": 4643, + "src": "6707:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -101820,29 +60953,29 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6714:14:30", + "src": "6699:14:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 3718, + "id": 4678, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3715, + "id": 4675, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "6729:3:30", + "referencedDeclaration": 5707, + "src": "6714:3:20", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3716, + "id": 4676, "isConstant": false, "isLValue": false, "isPure": false, @@ -101850,7 +60983,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6729:10:30", + "src": "6714:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -101861,7 +60994,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "6714:26:30", + "src": "6699:26:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -101871,26 +61004,26 @@ "operator": "-=", "rightHandSide": { "argumentTypes": null, - "id": 3719, + "id": 4679, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3687, - "src": "6744:7:30", + "referencedDeclaration": 4647, + "src": "6729:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "6714:37:30", + "src": "6699:37:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 3721, + "id": 4681, "nodeType": "ExpressionStatement", - "src": "6714:37:30" + "src": "6699:37:20" } ] } @@ -101901,12 +61034,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3725, + "id": 4685, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3683, - "src": "6789:5:30", + "referencedDeclaration": 4643, + "src": "6774:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -101914,12 +61047,12 @@ }, { "argumentTypes": null, - "id": 3726, + "id": 4686, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3685, - "src": "6796:3:30", + "referencedDeclaration": 4645, + "src": "6781:3:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -101927,12 +61060,12 @@ }, { "argumentTypes": null, - "id": 3727, + "id": 4687, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3687, - "src": "6801:7:30", + "referencedDeclaration": 4647, + "src": "6786:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -101954,18 +61087,18 @@ "typeString": "uint256" } ], - "id": 3724, + "id": 4684, "name": "doTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3850, - "src": "6778:10:30", + "referencedDeclaration": 4810, + "src": "6763:10:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) returns (bool)" } }, - "id": 3728, + "id": 4688, "isConstant": false, "isLValue": false, "isPure": false, @@ -101973,37 +61106,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6778:31:30", + "src": "6763:31:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3691, - "id": 3729, + "functionReturnParameters": 4651, + "id": 4689, "nodeType": "Return", - "src": "6771:38:30" + "src": "6756:38:20" } ] }, "documentation": "@notice Send `_amount` tokens to `_to` from `_from` on the condition it\n is approved by `_from`\n@param _from The address holding the tokens being transferred\n@param _to The address of the recipient\n@param _amount The amount of tokens to be transferred\n@return True if the transfer was successful", - "id": 3731, + "id": 4691, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 3688, + "id": 4648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3683, + "id": 4643, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 3731, - "src": "6043:13:30", + "scope": 4691, + "src": "6028:13:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -102011,10 +61144,10 @@ "typeString": "address" }, "typeName": { - "id": 3682, + "id": 4642, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6043:7:30", + "src": "6028:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -102026,11 +61159,11 @@ }, { "constant": false, - "id": 3685, + "id": 4645, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 3731, - "src": "6066:11:30", + "scope": 4691, + "src": "6051:11:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -102038,10 +61171,10 @@ "typeString": "address" }, "typeName": { - "id": 3684, + "id": 4644, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6066:7:30", + "src": "6051:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -102053,11 +61186,11 @@ }, { "constant": false, - "id": 3687, + "id": 4647, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 3731, - "src": "6087:15:30", + "scope": 4691, + "src": "6072:15:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -102065,10 +61198,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3686, + "id": 4646, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6087:7:30", + "src": "6072:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -102078,19 +61211,19 @@ "visibility": "internal" } ], - "src": "6033:75:30" + "src": "6018:75:20" }, "returnParameters": { - "id": 3691, + "id": 4651, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3690, + "id": 4650, "name": "success", "nodeType": "VariableDeclaration", - "scope": 3731, - "src": "6141:12:30", + "scope": 4691, + "src": "6126:12:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -102098,10 +61231,10 @@ "typeString": "bool" }, "typeName": { - "id": 3689, + "id": 4649, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "6141:4:30", + "src": "6126:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -102111,19 +61244,19 @@ "visibility": "internal" } ], - "src": "6140:14:30" + "src": "6125:14:20" }, - "scope": 4657, - "src": "6012:804:30", + "scope": 5617, + "src": "5997:804:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 3849, + "id": 4809, "nodeType": "Block", - "src": "7340:1463:30", + "src": "7325:1463:20", "statements": [ { "condition": { @@ -102132,19 +61265,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3744, + "id": 4704, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3742, + "id": 4702, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3737, - "src": "7355:7:30", + "referencedDeclaration": 4697, + "src": "7340:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -102155,14 +61288,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 3743, + "id": 4703, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7366:1:30", + "src": "7351:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -102170,33 +61303,33 @@ }, "value": "0" }, - "src": "7355:12:30", + "src": "7340:12:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 3748, + "id": 4708, "nodeType": "IfStatement", - "src": "7351:54:30", + "src": "7336:54:20", "trueBody": { - "id": 3747, + "id": 4707, "nodeType": "Block", - "src": "7369:36:30", + "src": "7354:36:20", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 3745, + "id": 4705, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "7390:4:30", + "src": "7375:4:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -102204,10 +61337,10 @@ }, "value": "true" }, - "functionReturnParameters": 3741, - "id": 3746, + "functionReturnParameters": 4701, + "id": 4706, "nodeType": "Return", - "src": "7383:11:30" + "src": "7368:11:20" } ] } @@ -102222,19 +61355,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3753, + "id": 4713, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3750, + "id": 4710, "name": "parentSnapShotBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3580, - "src": "7423:19:30", + "referencedDeclaration": 4540, + "src": "7408:19:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -102246,18 +61379,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3751, + "id": 4711, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "7445:5:30", + "referencedDeclaration": 5697, + "src": "7430:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 3752, + "id": 4712, "isConstant": false, "isLValue": false, "isPure": false, @@ -102265,13 +61398,13 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7445:12:30", + "src": "7430:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7423:34:30", + "src": "7408:34:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -102280,14 +61413,14 @@ { "argumentTypes": null, "hexValue": "496e76616c696420626c6f636b2e6e756d626572", - "id": 3754, + "id": 4714, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "7459:22:30", + "src": "7444:22:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_35c110f1e3de87fd85cff8e65b97e66396fb316843739b2c816ef54c0c5d66cc", @@ -102307,21 +61440,21 @@ "typeString": "literal_string \"Invalid block.number\"" } ], - "id": 3749, + "id": 4709, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "7415:7:30", + "referencedDeclaration": 5711, + "src": "7400:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3755, + "id": 4715, "isConstant": false, "isLValue": false, "isPure": false, @@ -102329,15 +61462,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7415:67:30", + "src": "7400:67:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3756, + "id": 4716, "nodeType": "ExpressionStatement", - "src": "7415:67:30" + "src": "7400:67:20" }, { "expression": { @@ -102349,7 +61482,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3770, + "id": 4730, "isConstant": false, "isLValue": false, "isPure": false, @@ -102363,19 +61496,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3762, + "id": 4722, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3758, + "id": 4718, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3735, - "src": "7571:3:30", + "referencedDeclaration": 4695, + "src": "7556:3:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -102389,14 +61522,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 3760, + "id": 4720, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7586:1:30", + "src": "7571:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -102412,20 +61545,20 @@ "typeString": "int_const 0" } ], - "id": 3759, + "id": 4719, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7578:7:30", + "src": "7563:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3761, + "id": 4721, "isConstant": false, "isLValue": false, "isPure": true, @@ -102433,27 +61566,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7578:10:30", + "src": "7563:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "7571:17:30", + "src": "7556:17:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3763, + "id": 4723, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "7570:19:30", + "src": "7555:19:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -102470,19 +61603,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3768, + "id": 4728, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3764, + "id": 4724, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3735, - "src": "7594:3:30", + "referencedDeclaration": 4695, + "src": "7579:3:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -102495,14 +61628,14 @@ "arguments": [ { "argumentTypes": null, - "id": 3766, + "id": 4726, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9533, - "src": "7609:4:30", + "referencedDeclaration": 5751, + "src": "7594:4:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } } @@ -102510,24 +61643,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } ], - "id": 3765, + "id": 4725, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7601:7:30", + "src": "7586:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3767, + "id": 4727, "isConstant": false, "isLValue": false, "isPure": false, @@ -102535,33 +61668,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7601:13:30", + "src": "7586:13:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "7594:20:30", + "src": "7579:20:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3769, + "id": 4729, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "7593:22:30", + "src": "7578:22:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "7570:45:30", + "src": "7555:45:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -102570,14 +61703,14 @@ { "argumentTypes": null, "hexValue": "496e76616c6964205f746f", - "id": 3771, + "id": 4731, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "7617:13:30", + "src": "7602:13:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_0f75480de24630921614ad0d6a48bfa1c8bd9865d6c3d2168c01043ecb941213", @@ -102597,21 +61730,21 @@ "typeString": "literal_string \"Invalid _to\"" } ], - "id": 3757, + "id": 4717, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "7562:7:30", + "referencedDeclaration": 5711, + "src": "7547:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3772, + "id": 4732, "isConstant": false, "isLValue": false, "isPure": false, @@ -102619,28 +61752,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7562:69:30", + "src": "7547:69:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3773, + "id": 4733, "nodeType": "ExpressionStatement", - "src": "7562:69:30" + "src": "7547:69:20" }, { "assignments": [ - 3775 + 4735 ], "declarations": [ { "constant": false, - "id": 3775, + "id": 4735, "name": "previousBalanceFrom", "nodeType": "VariableDeclaration", - "scope": 3849, - "src": "7763:27:30", + "scope": 4809, + "src": "7748:27:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -102648,10 +61781,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3774, + "id": 4734, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7763:7:30", + "src": "7748:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -102661,18 +61794,18 @@ "visibility": "internal" } ], - "id": 3781, + "id": 4741, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 3777, + "id": 4737, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3733, - "src": "7805:5:30", + "referencedDeclaration": 4693, + "src": "7790:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -102682,18 +61815,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3778, + "id": 4738, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "7812:5:30", + "referencedDeclaration": 5697, + "src": "7797:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 3779, + "id": 4739, "isConstant": false, "isLValue": false, "isPure": false, @@ -102701,7 +61834,7 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7812:12:30", + "src": "7797:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -102719,18 +61852,18 @@ "typeString": "uint256" } ], - "id": 3776, + "id": 4736, "name": "balanceOfAt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4070, - "src": "7793:11:30", + "referencedDeclaration": 5030, + "src": "7778:11:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) view returns (uint256)" } }, - "id": 3780, + "id": 4740, "isConstant": false, "isLValue": false, "isPure": false, @@ -102738,14 +61871,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7793:32:30", + "src": "7778:32:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "7763:62:30" + "src": "7748:62:20" }, { "condition": { @@ -102754,19 +61887,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3784, + "id": 4744, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3782, + "id": 4742, "name": "previousBalanceFrom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3775, - "src": "7839:19:30", + "referencedDeclaration": 4735, + "src": "7824:19:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -102776,44 +61909,44 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 3783, + "id": 4743, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3737, - "src": "7861:7:30", + "referencedDeclaration": 4697, + "src": "7846:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7839:29:30", + "src": "7824:29:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 3788, + "id": 4748, "nodeType": "IfStatement", - "src": "7835:72:30", + "src": "7820:72:20", "trueBody": { - "id": 3787, + "id": 4747, "nodeType": "Block", - "src": "7870:37:30", + "src": "7855:37:20", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 3785, + "id": 4745, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "7891:5:30", + "src": "7876:5:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -102821,10 +61954,10 @@ }, "value": "false" }, - "functionReturnParameters": 3741, - "id": 3786, + "functionReturnParameters": 4701, + "id": 4746, "nodeType": "Return", - "src": "7884:12:30" + "src": "7869:12:20" } ] } @@ -102835,12 +61968,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3790, + "id": 4750, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "7987:10:30", + "referencedDeclaration": 15, + "src": "7972:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -102854,18 +61987,18 @@ "typeString": "address payable" } ], - "id": 3789, + "id": 4749, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4526, - "src": "7976:10:30", + "referencedDeclaration": 5486, + "src": "7961:10:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3791, + "id": 4751, "isConstant": false, "isLValue": false, "isPure": false, @@ -102873,20 +62006,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7976:22:30", + "src": "7961:22:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 3805, + "id": 4765, "nodeType": "IfStatement", - "src": "7972:146:30", + "src": "7957:146:20", "trueBody": { - "id": 3804, + "id": 4764, "nodeType": "Block", - "src": "8000:118:30", + "src": "7985:118:20", "statements": [ { "expression": { @@ -102897,12 +62030,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3797, + "id": 4757, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3733, - "src": "8061:5:30", + "referencedDeclaration": 4693, + "src": "8046:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -102910,12 +62043,12 @@ }, { "argumentTypes": null, - "id": 3798, + "id": 4758, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3735, - "src": "8068:3:30", + "referencedDeclaration": 4695, + "src": "8053:3:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -102923,12 +62056,12 @@ }, { "argumentTypes": null, - "id": 3799, + "id": 4759, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3737, - "src": "8073:7:30", + "referencedDeclaration": 4697, + "src": "8058:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -102955,12 +62088,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3794, + "id": 4754, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "8038:10:30", + "referencedDeclaration": 15, + "src": "8023:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -102974,18 +62107,18 @@ "typeString": "address payable" } ], - "id": 3793, + "id": 4753, "name": "TokenController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6699, - "src": "8022:15:30", + "referencedDeclaration": 5692, + "src": "8007:15:20", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_TokenController_$6699_$", + "typeIdentifier": "t_type$_t_contract$_TokenController_$5692_$", "typeString": "type(contract TokenController)" } }, - "id": 3795, + "id": 4755, "isConstant": false, "isLValue": false, "isPure": false, @@ -102993,27 +62126,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8022:27:30", + "src": "8007:27:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_TokenController_$6699", + "typeIdentifier": "t_contract$_TokenController_$5692", "typeString": "contract TokenController" } }, - "id": 3796, + "id": 4756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onTransfer", "nodeType": "MemberAccess", - "referencedDeclaration": 6687, - "src": "8022:38:30", + "referencedDeclaration": 5680, + "src": "8007:38:20", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) external returns (bool)" } }, - "id": 3800, + "id": 4760, "isConstant": false, "isLValue": false, "isPure": false, @@ -103021,7 +62154,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8022:59:30", + "src": "8007:59:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -103030,14 +62163,14 @@ { "argumentTypes": null, "hexValue": "556e617574686f72697a6564207472616e73666572", - "id": 3801, + "id": 4761, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "8083:23:30", + "src": "8068:23:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_663f3e517c52e47093590bfd4d3bce5ae2441d13c502986803e68ccdaeb8f43b", @@ -103057,21 +62190,21 @@ "typeString": "literal_string \"Unauthorized transfer\"" } ], - "id": 3792, + "id": 4752, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "8014:7:30", + "referencedDeclaration": 5711, + "src": "7999:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3802, + "id": 4762, "isConstant": false, "isLValue": false, "isPure": false, @@ -103079,15 +62212,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8014:93:30", + "src": "7999:93:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3803, + "id": 4763, "nodeType": "ExpressionStatement", - "src": "8014:93:30" + "src": "7999:93:20" } ] } @@ -103100,26 +62233,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 3807, + "id": 4767, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3587, - "src": "8253:8:30", + "referencedDeclaration": 4547, + "src": "8238:8:20", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_$", "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" } }, - "id": 3809, + "id": 4769, "indexExpression": { "argumentTypes": null, - "id": 3808, + "id": 4768, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3733, - "src": "8262:5:30", + "referencedDeclaration": 4693, + "src": "8247:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -103130,9 +62263,9 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8253:15:30", + "src": "8238:15:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, @@ -103142,19 +62275,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3812, + "id": 4772, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3810, + "id": 4770, "name": "previousBalanceFrom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3775, - "src": "8270:19:30", + "referencedDeclaration": 4735, + "src": "8255:19:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -103164,18 +62297,18 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 3811, + "id": 4771, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3737, - "src": "8292:7:30", + "referencedDeclaration": 4697, + "src": "8277:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8270:29:30", + "src": "8255:29:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -103185,7 +62318,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" }, { @@ -103193,18 +62326,18 @@ "typeString": "uint256" } ], - "id": 3806, + "id": 4766, "name": "updateValueAtNow", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4501, - "src": "8236:16:30", + "referencedDeclaration": 5461, + "src": "8221:16:20", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", + "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" } }, - "id": 3813, + "id": 4773, "isConstant": false, "isLValue": false, "isPure": false, @@ -103212,28 +62345,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8236:64:30", + "src": "8221:64:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3814, + "id": 4774, "nodeType": "ExpressionStatement", - "src": "8236:64:30" + "src": "8221:64:20" }, { "assignments": [ - 3816 + 4776 ], "declarations": [ { "constant": false, - "id": 3816, + "id": 4776, "name": "previousBalanceTo", "nodeType": "VariableDeclaration", - "scope": 3849, - "src": "8420:25:30", + "scope": 4809, + "src": "8405:25:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -103241,10 +62374,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3815, + "id": 4775, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8420:7:30", + "src": "8405:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -103254,18 +62387,18 @@ "visibility": "internal" } ], - "id": 3822, + "id": 4782, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 3818, + "id": 4778, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3735, - "src": "8460:3:30", + "referencedDeclaration": 4695, + "src": "8445:3:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -103275,18 +62408,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3819, + "id": 4779, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "8465:5:30", + "referencedDeclaration": 5697, + "src": "8450:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 3820, + "id": 4780, "isConstant": false, "isLValue": false, "isPure": false, @@ -103294,7 +62427,7 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "8465:12:30", + "src": "8450:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -103312,18 +62445,18 @@ "typeString": "uint256" } ], - "id": 3817, + "id": 4777, "name": "balanceOfAt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4070, - "src": "8448:11:30", + "referencedDeclaration": 5030, + "src": "8433:11:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) view returns (uint256)" } }, - "id": 3821, + "id": 4781, "isConstant": false, "isLValue": false, "isPure": false, @@ -103331,14 +62464,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8448:30:30", + "src": "8433:30:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "8420:58:30" + "src": "8405:58:20" }, { "expression": { @@ -103350,7 +62483,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3828, + "id": 4788, "isConstant": false, "isLValue": false, "isPure": false, @@ -103361,19 +62494,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3826, + "id": 4786, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3824, + "id": 4784, "name": "previousBalanceTo", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3816, - "src": "8496:17:30", + "referencedDeclaration": 4776, + "src": "8481:17:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -103383,18 +62516,18 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 3825, + "id": 4785, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3737, - "src": "8516:7:30", + "referencedDeclaration": 4697, + "src": "8501:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8496:27:30", + "src": "8481:27:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -103404,18 +62537,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 3827, + "id": 4787, "name": "previousBalanceTo", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3816, - "src": "8527:17:30", + "referencedDeclaration": 4776, + "src": "8512:17:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8496:48:30", + "src": "8481:48:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -103424,14 +62557,14 @@ { "argumentTypes": null, "hexValue": "42616c616e6365206f766572666c6f77", - "id": 3829, + "id": 4789, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "8546:18:30", + "src": "8531:18:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_3ff36095f6b077e3381ad9b42fa926720d9d1a053c514940c75d3e94fc7de897", @@ -103451,21 +62584,21 @@ "typeString": "literal_string \"Balance overflow\"" } ], - "id": 3823, + "id": 4783, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "8488:7:30", + "referencedDeclaration": 5711, + "src": "8473:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3830, + "id": 4790, "isConstant": false, "isLValue": false, "isPure": false, @@ -103473,15 +62606,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8488:77:30", + "src": "8473:77:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3831, + "id": 4791, "nodeType": "ExpressionStatement", - "src": "8488:77:30" + "src": "8473:77:20" }, { "expression": { @@ -103491,26 +62624,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 3833, + "id": 4793, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3587, - "src": "8614:8:30", + "referencedDeclaration": 4547, + "src": "8599:8:20", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_$", "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" } }, - "id": 3835, + "id": 4795, "indexExpression": { "argumentTypes": null, - "id": 3834, + "id": 4794, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3735, - "src": "8623:3:30", + "referencedDeclaration": 4695, + "src": "8608:3:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -103521,9 +62654,9 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8614:13:30", + "src": "8599:13:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, @@ -103533,19 +62666,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3838, + "id": 4798, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3836, + "id": 4796, "name": "previousBalanceTo", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3816, - "src": "8629:17:30", + "referencedDeclaration": 4776, + "src": "8614:17:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -103555,18 +62688,18 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 3837, + "id": 4797, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3737, - "src": "8649:7:30", + "referencedDeclaration": 4697, + "src": "8634:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8629:27:30", + "src": "8614:27:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -103576,7 +62709,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" }, { @@ -103584,18 +62717,18 @@ "typeString": "uint256" } ], - "id": 3832, + "id": 4792, "name": "updateValueAtNow", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4501, - "src": "8597:16:30", + "referencedDeclaration": 5461, + "src": "8582:16:20", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", + "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" } }, - "id": 3839, + "id": 4799, "isConstant": false, "isLValue": false, "isPure": false, @@ -103603,15 +62736,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8597:60:30", + "src": "8582:60:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3840, + "id": 4800, "nodeType": "ExpressionStatement", - "src": "8597:60:30" + "src": "8582:60:20" }, { "eventCall": { @@ -103619,12 +62752,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3842, + "id": 4802, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3733, - "src": "8754:5:30", + "referencedDeclaration": 4693, + "src": "8739:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -103632,12 +62765,12 @@ }, { "argumentTypes": null, - "id": 3843, + "id": 4803, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3735, - "src": "8761:3:30", + "referencedDeclaration": 4695, + "src": "8746:3:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -103645,12 +62778,12 @@ }, { "argumentTypes": null, - "id": 3844, + "id": 4804, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3737, - "src": "8766:7:30", + "referencedDeclaration": 4697, + "src": "8751:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -103672,18 +62805,18 @@ "typeString": "uint256" } ], - "id": 3841, + "id": 4801, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4642, - "src": "8745:8:30", + "referencedDeclaration": 5602, + "src": "8730:8:20", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3845, + "id": 4805, "isConstant": false, "isLValue": false, "isPure": false, @@ -103691,28 +62824,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8745:29:30", + "src": "8730:29:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3846, + "id": 4806, "nodeType": "EmitStatement", - "src": "8740:34:30" + "src": "8725:34:20" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 3847, + "id": 4807, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "8792:4:30", + "src": "8777:4:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -103720,31 +62853,31 @@ }, "value": "true" }, - "functionReturnParameters": 3741, - "id": 3848, + "functionReturnParameters": 4701, + "id": 4808, "nodeType": "Return", - "src": "8785:11:30" + "src": "8770:11:20" } ] }, "documentation": "@dev This is the actual transfer function in the token contract, it can\n only be called by other functions in this contract.\n@param _from The address holding the tokens being transferred\n@param _to The address of the recipient\n@param _amount The amount of tokens to be transferred\n@return True if the transfer was successful", - "id": 3850, + "id": 4810, "implemented": true, "kind": "function", "modifiers": [], "name": "doTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3738, + "id": 4698, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3733, + "id": 4693, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 3850, - "src": "7234:13:30", + "scope": 4810, + "src": "7219:13:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -103752,10 +62885,10 @@ "typeString": "address" }, "typeName": { - "id": 3732, + "id": 4692, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7234:7:30", + "src": "7219:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -103767,11 +62900,11 @@ }, { "constant": false, - "id": 3735, + "id": 4695, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 3850, - "src": "7257:11:30", + "scope": 4810, + "src": "7242:11:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -103779,10 +62912,10 @@ "typeString": "address" }, "typeName": { - "id": 3734, + "id": 4694, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7257:7:30", + "src": "7242:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -103794,11 +62927,11 @@ }, { "constant": false, - "id": 3737, + "id": 4697, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 3850, - "src": "7278:12:30", + "scope": 4810, + "src": "7263:12:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -103806,10 +62939,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3736, + "id": 4696, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "7278:4:30", + "src": "7263:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -103819,19 +62952,19 @@ "visibility": "internal" } ], - "src": "7224:72:30" + "src": "7209:72:20" }, "returnParameters": { - "id": 3741, + "id": 4701, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3740, + "id": 4700, "name": "", "nodeType": "VariableDeclaration", - "scope": 3850, - "src": "7330:4:30", + "scope": 4810, + "src": "7315:4:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -103839,10 +62972,10 @@ "typeString": "bool" }, "typeName": { - "id": 3739, + "id": 4699, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "7330:4:30", + "src": "7315:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -103852,19 +62985,19 @@ "visibility": "internal" } ], - "src": "7329:6:30" + "src": "7314:6:20" }, - "scope": 4657, - "src": "7205:1598:30", + "scope": 5617, + "src": "7190:1598:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 3916, + "id": 4876, "nodeType": "Block", - "src": "8952:803:30", + "src": "8937:803:20", "statements": [ { "expression": { @@ -103872,12 +63005,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3862, + "id": 4822, "name": "transfersEnabled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3598, - "src": "8970:16:30", + "referencedDeclaration": 4558, + "src": "8955:16:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -103886,14 +63019,14 @@ { "argumentTypes": null, "hexValue": "5472616e73666572732064697361626c6564", - "id": 3863, + "id": 4823, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "8988:20:30", + "src": "8973:20:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_a3a55adb30ab1f76a9345e8aff5718284aa767b21701c98ffdd1ea222615284c", @@ -103913,21 +63046,21 @@ "typeString": "literal_string \"Transfers disabled\"" } ], - "id": 3861, + "id": 4821, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "8962:7:30", + "referencedDeclaration": 5711, + "src": "8947:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3864, + "id": 4824, "isConstant": false, "isLValue": false, "isPure": false, @@ -103935,15 +63068,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8962:47:30", + "src": "8947:47:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3865, + "id": 4825, "nodeType": "ExpressionStatement", - "src": "8962:47:30" + "src": "8947:47:20" }, { "expression": { @@ -103955,7 +63088,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3879, + "id": 4839, "isConstant": false, "isLValue": false, "isPure": false, @@ -103969,19 +63102,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3869, + "id": 4829, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 3867, + "id": 4827, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3856, - "src": "9332:7:30", + "referencedDeclaration": 4816, + "src": "9317:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -103992,14 +63125,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 3868, + "id": 4828, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9343:1:30", + "src": "9328:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -104007,21 +63140,21 @@ }, "value": "0" }, - "src": "9332:12:30", + "src": "9317:12:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3870, + "id": 4830, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "9331:14:30", + "src": "9316:14:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -104038,7 +63171,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3877, + "id": 4837, "isConstant": false, "isLValue": false, "isPure": false, @@ -104049,26 +63182,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 3871, + "id": 4831, "name": "allowed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3593, - "src": "9350:7:30", + "referencedDeclaration": 4553, + "src": "9335:7:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 3873, + "id": 4833, "indexExpression": { "argumentTypes": null, - "id": 3872, + "id": 4832, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3852, - "src": "9358:5:30", + "referencedDeclaration": 4812, + "src": "9343:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -104079,21 +63212,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9350:14:30", + "src": "9335:14:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 3875, + "id": 4835, "indexExpression": { "argumentTypes": null, - "id": 3874, + "id": 4834, "name": "_spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3854, - "src": "9365:8:30", + "referencedDeclaration": 4814, + "src": "9350:8:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -104104,7 +63237,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9350:24:30", + "src": "9335:24:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -104115,14 +63248,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 3876, + "id": 4836, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9378:1:30", + "src": "9363:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -104130,27 +63263,27 @@ }, "value": "0" }, - "src": "9350:29:30", + "src": "9335:29:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3878, + "id": 4838, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "9349:31:30", + "src": "9334:31:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "9331:49:30", + "src": "9316:49:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -104159,14 +63292,14 @@ { "argumentTypes": null, "hexValue": "526573657420616c6c6f77616e6365206669727374", - "id": 3880, + "id": 4840, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "9382:23:30", + "src": "9367:23:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_98750c27779d9cd7459d8a46c9fac8c1f6d90a55a6ad010c41f4b285cbea7e44", @@ -104186,21 +63319,21 @@ "typeString": "literal_string \"Reset allowance first\"" } ], - "id": 3866, + "id": 4826, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "9323:7:30", + "referencedDeclaration": 5711, + "src": "9308:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3881, + "id": 4841, "isConstant": false, "isLValue": false, "isPure": false, @@ -104208,15 +63341,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9323:83:30", + "src": "9308:83:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3882, + "id": 4842, "nodeType": "ExpressionStatement", - "src": "9323:83:30" + "src": "9308:83:20" }, { "condition": { @@ -104224,12 +63357,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3884, + "id": 4844, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "9500:10:30", + "referencedDeclaration": 15, + "src": "9485:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -104243,18 +63376,18 @@ "typeString": "address payable" } ], - "id": 3883, + "id": 4843, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4526, - "src": "9489:10:30", + "referencedDeclaration": 5486, + "src": "9474:10:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3885, + "id": 4845, "isConstant": false, "isLValue": false, "isPure": false, @@ -104262,20 +63395,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9489:22:30", + "src": "9474:22:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 3899, + "id": 4859, "nodeType": "IfStatement", - "src": "9485:149:30", + "src": "9470:149:20", "trueBody": { - "id": 3898, + "id": 4858, "nodeType": "Block", - "src": "9513:121:30", + "src": "9498:121:20", "statements": [ { "expression": { @@ -104286,12 +63419,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3891, + "id": 4851, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3852, - "src": "9573:5:30", + "referencedDeclaration": 4812, + "src": "9558:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -104299,12 +63432,12 @@ }, { "argumentTypes": null, - "id": 3892, + "id": 4852, "name": "_spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3854, - "src": "9580:8:30", + "referencedDeclaration": 4814, + "src": "9565:8:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -104312,12 +63445,12 @@ }, { "argumentTypes": null, - "id": 3893, + "id": 4853, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3856, - "src": "9590:7:30", + "referencedDeclaration": 4816, + "src": "9575:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -104344,12 +63477,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3888, + "id": 4848, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "9551:10:30", + "referencedDeclaration": 15, + "src": "9536:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -104363,18 +63496,18 @@ "typeString": "address payable" } ], - "id": 3887, + "id": 4847, "name": "TokenController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6699, - "src": "9535:15:30", + "referencedDeclaration": 5692, + "src": "9520:15:20", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_TokenController_$6699_$", + "typeIdentifier": "t_type$_t_contract$_TokenController_$5692_$", "typeString": "type(contract TokenController)" } }, - "id": 3889, + "id": 4849, "isConstant": false, "isLValue": false, "isPure": false, @@ -104382,27 +63515,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9535:27:30", + "src": "9520:27:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_TokenController_$6699", + "typeIdentifier": "t_contract$_TokenController_$5692", "typeString": "contract TokenController" } }, - "id": 3890, + "id": 4850, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onApprove", "nodeType": "MemberAccess", - "referencedDeclaration": 6698, - "src": "9535:37:30", + "referencedDeclaration": 5691, + "src": "9520:37:20", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) external returns (bool)" } }, - "id": 3894, + "id": 4854, "isConstant": false, "isLValue": false, "isPure": false, @@ -104410,7 +63543,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9535:63:30", + "src": "9520:63:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -104419,14 +63552,14 @@ { "argumentTypes": null, "hexValue": "556e617574686f72697a656420617070726f7665", - "id": 3895, + "id": 4855, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "9600:22:30", + "src": "9585:22:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_2cb30ca853d1e96b96b4e9eb1abf43050f5814e7b1a620f1cbe6fdfc8ee12e2a", @@ -104446,21 +63579,21 @@ "typeString": "literal_string \"Unauthorized approve\"" } ], - "id": 3886, + "id": 4846, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "9527:7:30", + "referencedDeclaration": 5711, + "src": "9512:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3896, + "id": 4856, "isConstant": false, "isLValue": false, "isPure": false, @@ -104468,15 +63601,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9527:96:30", + "src": "9512:96:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3897, + "id": 4857, "nodeType": "ExpressionStatement", - "src": "9527:96:30" + "src": "9512:96:20" } ] } @@ -104484,7 +63617,7 @@ { "expression": { "argumentTypes": null, - "id": 3906, + "id": 4866, "isConstant": false, "isLValue": false, "isPure": false, @@ -104495,26 +63628,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 3900, + "id": 4860, "name": "allowed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3593, - "src": "9644:7:30", + "referencedDeclaration": 4553, + "src": "9629:7:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 3903, + "id": 4863, "indexExpression": { "argumentTypes": null, - "id": 3901, + "id": 4861, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3852, - "src": "9652:5:30", + "referencedDeclaration": 4812, + "src": "9637:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -104525,21 +63658,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9644:14:30", + "src": "9629:14:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 3904, + "id": 4864, "indexExpression": { "argumentTypes": null, - "id": 3902, + "id": 4862, "name": "_spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3854, - "src": "9659:8:30", + "referencedDeclaration": 4814, + "src": "9644:8:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -104550,7 +63683,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "9644:24:30", + "src": "9629:24:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -104560,26 +63693,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 3905, + "id": 4865, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3856, - "src": "9671:7:30", + "referencedDeclaration": 4816, + "src": "9656:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9644:34:30", + "src": "9629:34:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 3907, + "id": 4867, "nodeType": "ExpressionStatement", - "src": "9644:34:30" + "src": "9629:34:20" }, { "eventCall": { @@ -104587,12 +63720,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3909, + "id": 4869, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3852, - "src": "9702:5:30", + "referencedDeclaration": 4812, + "src": "9687:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -104600,12 +63733,12 @@ }, { "argumentTypes": null, - "id": 3910, + "id": 4870, "name": "_spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3854, - "src": "9709:8:30", + "referencedDeclaration": 4814, + "src": "9694:8:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -104613,12 +63746,12 @@ }, { "argumentTypes": null, - "id": 3911, + "id": 4871, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3856, - "src": "9719:7:30", + "referencedDeclaration": 4816, + "src": "9704:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -104640,18 +63773,18 @@ "typeString": "uint256" } ], - "id": 3908, + "id": 4868, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4656, - "src": "9693:8:30", + "referencedDeclaration": 5616, + "src": "9678:8:20", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3912, + "id": 4872, "isConstant": false, "isLValue": false, "isPure": false, @@ -104659,28 +63792,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9693:34:30", + "src": "9678:34:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3913, + "id": 4873, "nodeType": "EmitStatement", - "src": "9688:39:30" + "src": "9673:39:20" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 3914, + "id": 4874, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "9744:4:30", + "src": "9729:4:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -104688,31 +63821,31 @@ }, "value": "true" }, - "functionReturnParameters": 3860, - "id": 3915, + "functionReturnParameters": 4820, + "id": 4875, "nodeType": "Return", - "src": "9737:11:30" + "src": "9722:11:20" } ] }, "documentation": null, - "id": 3917, + "id": 4877, "implemented": true, "kind": "function", "modifiers": [], "name": "doApprove", "nodeType": "FunctionDefinition", "parameters": { - "id": 3857, + "id": 4817, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3852, + "id": 4812, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 3917, - "src": "8837:13:30", + "scope": 4877, + "src": "8822:13:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -104720,10 +63853,10 @@ "typeString": "address" }, "typeName": { - "id": 3851, + "id": 4811, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8837:7:30", + "src": "8822:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -104735,11 +63868,11 @@ }, { "constant": false, - "id": 3854, + "id": 4814, "name": "_spender", "nodeType": "VariableDeclaration", - "scope": 3917, - "src": "8860:16:30", + "scope": 4877, + "src": "8845:16:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -104747,10 +63880,10 @@ "typeString": "address" }, "typeName": { - "id": 3853, + "id": 4813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8860:7:30", + "src": "8845:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -104762,11 +63895,11 @@ }, { "constant": false, - "id": 3856, + "id": 4816, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 3917, - "src": "8886:15:30", + "scope": 4877, + "src": "8871:15:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -104774,10 +63907,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3855, + "id": 4815, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8886:7:30", + "src": "8871:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -104787,19 +63920,19 @@ "visibility": "internal" } ], - "src": "8827:80:30" + "src": "8812:80:20" }, "returnParameters": { - "id": 3860, + "id": 4820, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3859, + "id": 4819, "name": "", "nodeType": "VariableDeclaration", - "scope": 3917, - "src": "8942:4:30", + "scope": 4877, + "src": "8927:4:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -104807,10 +63940,10 @@ "typeString": "bool" }, "typeName": { - "id": 3858, + "id": 4818, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "8942:4:30", + "src": "8927:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -104820,19 +63953,19 @@ "visibility": "internal" } ], - "src": "8941:6:30" + "src": "8926:6:20" }, - "scope": 4657, - "src": "8809:946:30", + "scope": 5617, + "src": "8794:946:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 3930, + "id": 4890, "nodeType": "Block", - "src": "9979:57:30", + "src": "9964:57:20", "statements": [ { "expression": { @@ -104840,12 +63973,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3925, + "id": 4885, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3919, - "src": "10008:6:30", + "referencedDeclaration": 4879, + "src": "9993:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -104855,18 +63988,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3926, + "id": 4886, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "10016:5:30", + "referencedDeclaration": 5697, + "src": "10001:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 3927, + "id": 4887, "isConstant": false, "isLValue": false, "isPure": false, @@ -104874,7 +64007,7 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10016:12:30", + "src": "10001:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -104892,18 +64025,18 @@ "typeString": "uint256" } ], - "id": 3924, + "id": 4884, "name": "balanceOfAt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4070, - "src": "9996:11:30", + "referencedDeclaration": 5030, + "src": "9981:11:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) view returns (uint256)" } }, - "id": 3928, + "id": 4888, "isConstant": false, "isLValue": false, "isPure": false, @@ -104911,37 +64044,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9996:33:30", + "src": "9981:33:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 3923, - "id": 3929, + "functionReturnParameters": 4883, + "id": 4889, "nodeType": "Return", - "src": "9989:40:30" + "src": "9974:40:20" } ] }, "documentation": "@param _owner The address that's balance is being requested\n@return The balance of `_owner` at the current block", - "id": 3931, + "id": 4891, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 3920, + "id": 4880, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3919, + "id": 4879, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 3931, - "src": "9923:14:30", + "scope": 4891, + "src": "9908:14:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -104949,10 +64082,10 @@ "typeString": "address" }, "typeName": { - "id": 3918, + "id": 4878, "name": "address", "nodeType": "ElementaryTypeName", - "src": "9923:7:30", + "src": "9908:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -104963,19 +64096,19 @@ "visibility": "internal" } ], - "src": "9922:16:30" + "src": "9907:16:20" }, "returnParameters": { - "id": 3923, + "id": 4883, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3922, + "id": 4882, "name": "balance", "nodeType": "VariableDeclaration", - "scope": 3931, - "src": "9962:15:30", + "scope": 4891, + "src": "9947:15:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -104983,10 +64116,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3921, + "id": 4881, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "9962:7:30", + "src": "9947:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -104996,19 +64129,19 @@ "visibility": "internal" } ], - "src": "9961:17:30" + "src": "9946:17:20" }, - "scope": 4657, - "src": "9904:132:30", + "scope": 5617, + "src": "9889:132:20", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 3947, + "id": 4907, "nodeType": "Block", - "src": "10529:64:30", + "src": "10514:64:20", "statements": [ { "expression": { @@ -105018,18 +64151,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3941, + "id": 4901, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "10556:3:30", + "referencedDeclaration": 5707, + "src": "10541:3:20", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3942, + "id": 4902, "isConstant": false, "isLValue": false, "isPure": false, @@ -105037,7 +64170,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10556:10:30", + "src": "10541:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -105045,12 +64178,12 @@ }, { "argumentTypes": null, - "id": 3943, + "id": 4903, "name": "_spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3933, - "src": "10568:8:30", + "referencedDeclaration": 4893, + "src": "10553:8:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -105058,12 +64191,12 @@ }, { "argumentTypes": null, - "id": 3944, + "id": 4904, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3935, - "src": "10578:7:30", + "referencedDeclaration": 4895, + "src": "10563:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -105085,18 +64218,18 @@ "typeString": "uint256" } ], - "id": 3940, + "id": 4900, "name": "doApprove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3917, - "src": "10546:9:30", + "referencedDeclaration": 4877, + "src": "10531:9:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) returns (bool)" } }, - "id": 3945, + "id": 4905, "isConstant": false, "isLValue": false, "isPure": false, @@ -105104,37 +64237,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10546:40:30", + "src": "10531:40:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3939, - "id": 3946, + "functionReturnParameters": 4899, + "id": 4906, "nodeType": "Return", - "src": "10539:47:30" + "src": "10524:47:20" } ] }, "documentation": "@notice `msg.sender` approves `_spender` to spend `_amount` tokens on\n its behalf. This is a modified version of the ERC20 approve function\n to be a little bit safer\n@param _spender The address of the account able to transfer the tokens\n@param _amount The amount of tokens to be approved for transfer\n@return True if the approval was successful", - "id": 3948, + "id": 4908, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3936, + "id": 4896, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3933, + "id": 4893, "name": "_spender", "nodeType": "VariableDeclaration", - "scope": 3948, - "src": "10462:16:30", + "scope": 4908, + "src": "10447:16:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -105142,10 +64275,10 @@ "typeString": "address" }, "typeName": { - "id": 3932, + "id": 4892, "name": "address", "nodeType": "ElementaryTypeName", - "src": "10462:7:30", + "src": "10447:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -105157,11 +64290,11 @@ }, { "constant": false, - "id": 3935, + "id": 4895, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 3948, - "src": "10480:15:30", + "scope": 4908, + "src": "10465:15:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -105169,10 +64302,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3934, + "id": 4894, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "10480:7:30", + "src": "10465:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -105182,19 +64315,19 @@ "visibility": "internal" } ], - "src": "10461:35:30" + "src": "10446:35:20" }, "returnParameters": { - "id": 3939, + "id": 4899, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3938, + "id": 4898, "name": "success", "nodeType": "VariableDeclaration", - "scope": 3948, - "src": "10515:12:30", + "scope": 4908, + "src": "10500:12:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -105202,10 +64335,10 @@ "typeString": "bool" }, "typeName": { - "id": 3937, + "id": 4897, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "10515:4:30", + "src": "10500:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -105215,19 +64348,19 @@ "visibility": "internal" } ], - "src": "10514:14:30" + "src": "10499:14:20" }, - "scope": 4657, - "src": "10445:148:30", + "scope": 5617, + "src": "10430:148:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 3963, + "id": 4923, "nodeType": "Block", - "src": "11068:49:30", + "src": "11053:49:20", "statements": [ { "expression": { @@ -105236,26 +64369,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 3957, + "id": 4917, "name": "allowed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3593, - "src": "11085:7:30", + "referencedDeclaration": 4553, + "src": "11070:7:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 3959, + "id": 4919, "indexExpression": { "argumentTypes": null, - "id": 3958, + "id": 4918, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3950, - "src": "11093:6:30", + "referencedDeclaration": 4910, + "src": "11078:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -105266,21 +64399,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11085:15:30", + "src": "11070:15:20", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 3961, + "id": 4921, "indexExpression": { "argumentTypes": null, - "id": 3960, + "id": 4920, "name": "_spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3952, - "src": "11101:8:30", + "referencedDeclaration": 4912, + "src": "11086:8:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -105291,37 +64424,37 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11085:25:30", + "src": "11070:25:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 3956, - "id": 3962, + "functionReturnParameters": 4916, + "id": 4922, "nodeType": "Return", - "src": "11078:32:30" + "src": "11063:32:20" } ] }, "documentation": "@dev This function makes it easy to read the `allowed[]` map\n@param _owner The address of the account that owns the token\n@param _spender The address of the account able to transfer the tokens\n@return Amount of remaining tokens of _owner that _spender is allowed\n to spend", - "id": 3964, + "id": 4924, "implemented": true, "kind": "function", "modifiers": [], "name": "allowance", "nodeType": "FunctionDefinition", "parameters": { - "id": 3953, + "id": 4913, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3950, + "id": 4910, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 3964, - "src": "10951:14:30", + "scope": 4924, + "src": "10936:14:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -105329,10 +64462,10 @@ "typeString": "address" }, "typeName": { - "id": 3949, + "id": 4909, "name": "address", "nodeType": "ElementaryTypeName", - "src": "10951:7:30", + "src": "10936:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -105344,11 +64477,11 @@ }, { "constant": false, - "id": 3952, + "id": 4912, "name": "_spender", "nodeType": "VariableDeclaration", - "scope": 3964, - "src": "10975:16:30", + "scope": 4924, + "src": "10960:16:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -105356,10 +64489,10 @@ "typeString": "address" }, "typeName": { - "id": 3951, + "id": 4911, "name": "address", "nodeType": "ElementaryTypeName", - "src": "10975:7:30", + "src": "10960:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -105370,19 +64503,19 @@ "visibility": "internal" } ], - "src": "10941:56:30" + "src": "10926:56:20" }, "returnParameters": { - "id": 3956, + "id": 4916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3955, + "id": 4915, "name": "remaining", "nodeType": "VariableDeclaration", - "scope": 3964, - "src": "11045:17:30", + "scope": 4924, + "src": "11030:17:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -105390,10 +64523,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3954, + "id": 4914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11045:7:30", + "src": "11030:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -105403,19 +64536,19 @@ "visibility": "internal" } ], - "src": "11044:19:30" + "src": "11029:19:20" }, - "scope": 4657, - "src": "10923:194:30", + "scope": 5617, + "src": "10908:194:20", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 4000, + "id": 4960, "nodeType": "Block", - "src": "11806:271:30", + "src": "11791:271:20", "statements": [ { "expression": { @@ -105428,18 +64561,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3977, + "id": 4937, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "11834:3:30", + "referencedDeclaration": 5707, + "src": "11819:3:20", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3978, + "id": 4938, "isConstant": false, "isLValue": false, "isPure": false, @@ -105447,7 +64580,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11834:10:30", + "src": "11819:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -105455,12 +64588,12 @@ }, { "argumentTypes": null, - "id": 3979, + "id": 4939, "name": "_spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3966, - "src": "11846:8:30", + "referencedDeclaration": 4926, + "src": "11831:8:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -105468,12 +64601,12 @@ }, { "argumentTypes": null, - "id": 3980, + "id": 4940, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3968, - "src": "11856:7:30", + "referencedDeclaration": 4928, + "src": "11841:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -105495,18 +64628,18 @@ "typeString": "uint256" } ], - "id": 3976, + "id": 4936, "name": "doApprove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3917, - "src": "11824:9:30", + "referencedDeclaration": 4877, + "src": "11809:9:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,address,uint256) returns (bool)" } }, - "id": 3981, + "id": 4941, "isConstant": false, "isLValue": false, "isPure": false, @@ -105514,7 +64647,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11824:40:30", + "src": "11809:40:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -105523,14 +64656,14 @@ { "argumentTypes": null, "hexValue": "417070726f7665206661696c6564", - "id": 3982, + "id": 4942, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "11866:16:30", + "src": "11851:16:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_894c45cdacdbd00f70cf0de394f039255fedfdb9b0f57bdf73c557235f0cae5c", @@ -105550,21 +64683,21 @@ "typeString": "literal_string \"Approve failed\"" } ], - "id": 3975, + "id": 4935, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "11816:7:30", + "referencedDeclaration": 5711, + "src": "11801:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3983, + "id": 4943, "isConstant": false, "isLValue": false, "isPure": false, @@ -105572,15 +64705,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11816:67:30", + "src": "11801:67:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3984, + "id": 4944, "nodeType": "ExpressionStatement", - "src": "11816:67:30" + "src": "11801:67:20" }, { "expression": { @@ -105590,18 +64723,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 3989, + "id": 4949, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "11956:3:30", + "referencedDeclaration": 5707, + "src": "11941:3:20", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3990, + "id": 4950, "isConstant": false, "isLValue": false, "isPure": false, @@ -105609,7 +64742,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11956:10:30", + "src": "11941:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -105617,12 +64750,12 @@ }, { "argumentTypes": null, - "id": 3991, + "id": 4951, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3968, - "src": "11980:7:30", + "referencedDeclaration": 4928, + "src": "11965:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -105633,14 +64766,14 @@ "arguments": [ { "argumentTypes": null, - "id": 3993, + "id": 4953, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9533, - "src": "12009:4:30", + "referencedDeclaration": 5751, + "src": "11994:4:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } } @@ -105648,24 +64781,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } ], - "id": 3992, + "id": 4952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "12001:7:30", + "src": "11986:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 3994, + "id": 4954, "isConstant": false, "isLValue": false, "isPure": false, @@ -105673,7 +64806,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12001:13:30", + "src": "11986:13:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -105681,12 +64814,12 @@ }, { "argumentTypes": null, - "id": 3995, + "id": 4955, "name": "_extraData", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3970, - "src": "12028:10:30", + "referencedDeclaration": 4930, + "src": "12013:10:20", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -105717,12 +64850,12 @@ "arguments": [ { "argumentTypes": null, - "id": 3986, + "id": 4946, "name": "_spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3966, - "src": "11917:8:30", + "referencedDeclaration": 4926, + "src": "11902:8:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -105736,18 +64869,18 @@ "typeString": "address" } ], - "id": 3985, + "id": 4945, "name": "ApproveAndCallFallBack", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6942, - "src": "11894:22:30", + "referencedDeclaration": 4232, + "src": "11879:22:20", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ApproveAndCallFallBack_$6942_$", + "typeIdentifier": "t_type$_t_contract$_ApproveAndCallFallBack_$4232_$", "typeString": "type(contract ApproveAndCallFallBack)" } }, - "id": 3987, + "id": 4947, "isConstant": false, "isLValue": false, "isPure": false, @@ -105755,27 +64888,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11894:32:30", + "src": "11879:32:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_ApproveAndCallFallBack_$6942", + "typeIdentifier": "t_contract$_ApproveAndCallFallBack_$4232", "typeString": "contract ApproveAndCallFallBack" } }, - "id": 3988, + "id": 4948, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "receiveApproval", "nodeType": "MemberAccess", - "referencedDeclaration": 6941, - "src": "11894:48:30", + "referencedDeclaration": 4231, + "src": "11879:48:20", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,address,bytes memory) external" } }, - "id": 3996, + "id": 4956, "isConstant": false, "isLValue": false, "isPure": false, @@ -105783,28 +64916,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11894:154:30", + "src": "11879:154:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3997, + "id": 4957, "nodeType": "ExpressionStatement", - "src": "11894:154:30" + "src": "11879:154:20" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 3998, + "id": 4958, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12066:4:30", + "src": "12051:4:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -105812,31 +64945,31 @@ }, "value": "true" }, - "functionReturnParameters": 3974, - "id": 3999, + "functionReturnParameters": 4934, + "id": 4959, "nodeType": "Return", - "src": "12059:11:30" + "src": "12044:11:20" } ] }, "documentation": "@notice `msg.sender` approves `_spender` to send `_amount` tokens on\n its behalf, and then a function is triggered in the contract that is\n being approved, `_spender`. This allows users to use their tokens to\n interact with contracts in one function call instead of two\n@param _spender The address of the contract able to transfer the tokens\n@param _amount The amount of tokens to be approved for transfer\n@return True if the function call was successful", - "id": 4001, + "id": 4961, "implemented": true, "kind": "function", "modifiers": [], "name": "approveAndCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 3971, + "id": 4931, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3966, + "id": 4926, "name": "_spender", "nodeType": "VariableDeclaration", - "scope": 4001, - "src": "11675:16:30", + "scope": 4961, + "src": "11660:16:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -105844,10 +64977,10 @@ "typeString": "address" }, "typeName": { - "id": 3965, + "id": 4925, "name": "address", "nodeType": "ElementaryTypeName", - "src": "11675:7:30", + "src": "11660:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -105859,11 +64992,11 @@ }, { "constant": false, - "id": 3968, + "id": 4928, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 4001, - "src": "11701:15:30", + "scope": 4961, + "src": "11686:15:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -105871,10 +65004,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3967, + "id": 4927, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11701:7:30", + "src": "11686:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -105885,11 +65018,11 @@ }, { "constant": false, - "id": 3970, + "id": 4930, "name": "_extraData", "nodeType": "VariableDeclaration", - "scope": 4001, - "src": "11726:23:30", + "scope": 4961, + "src": "11711:23:20", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -105897,10 +65030,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3969, + "id": 4929, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "11726:5:30", + "src": "11711:5:20", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -105910,19 +65043,19 @@ "visibility": "internal" } ], - "src": "11665:90:30" + "src": "11650:90:20" }, "returnParameters": { - "id": 3974, + "id": 4934, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3973, + "id": 4933, "name": "success", "nodeType": "VariableDeclaration", - "scope": 4001, - "src": "11788:12:30", + "scope": 4961, + "src": "11773:12:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -105930,10 +65063,10 @@ "typeString": "bool" }, "typeName": { - "id": 3972, + "id": 4932, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11788:4:30", + "src": "11773:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -105943,19 +65076,19 @@ "visibility": "internal" } ], - "src": "11787:14:30" + "src": "11772:14:20" }, - "scope": 4657, - "src": "11642:435:30", + "scope": 5617, + "src": "11627:435:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 4011, + "id": 4971, "nodeType": "Block", - "src": "12267:51:30", + "src": "12252:51:20", "statements": [ { "expression": { @@ -105965,18 +65098,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4007, + "id": 4967, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "12298:5:30", + "referencedDeclaration": 5697, + "src": "12283:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 4008, + "id": 4968, "isConstant": false, "isLValue": false, "isPure": false, @@ -105984,7 +65117,7 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "12298:12:30", + "src": "12283:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -105998,18 +65131,18 @@ "typeString": "uint256" } ], - "id": 4006, + "id": 4966, "name": "totalSupplyAt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4119, - "src": "12284:13:30", + "referencedDeclaration": 5079, + "src": "12269:13:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) view returns (uint256)" } }, - "id": 4009, + "id": 4969, "isConstant": false, "isLValue": false, "isPure": false, @@ -106017,43 +65150,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12284:27:30", + "src": "12269:27:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 4005, - "id": 4010, + "functionReturnParameters": 4965, + "id": 4970, "nodeType": "Return", - "src": "12277:34:30" + "src": "12262:34:20" } ] }, "documentation": "@dev This function makes it easy to get the total number of tokens\n@return The total number of tokens", - "id": 4012, + "id": 4972, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 4002, + "id": 4962, "nodeType": "ParameterList", "parameters": [], - "src": "12235:2:30" + "src": "12220:2:20" }, "returnParameters": { - "id": 4005, + "id": 4965, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4004, + "id": 4964, "name": "", "nodeType": "VariableDeclaration", - "scope": 4012, - "src": "12261:4:30", + "scope": 4972, + "src": "12246:4:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -106061,10 +65194,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4003, + "id": 4963, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12261:4:30", + "src": "12246:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -106074,19 +65207,19 @@ "visibility": "internal" } ], - "src": "12260:6:30" + "src": "12245:6:20" }, - "scope": 4657, - "src": "12215:103:30", + "scope": 5617, + "src": "12200:103:20", "stateMutability": "view", "superFunction": null, "visibility": "external" }, { "body": { - "id": 4069, + "id": 5029, "nodeType": "Block", - "src": "12817:840:30", + "src": "12802:840:20", "statements": [ { "condition": { @@ -106095,7 +65228,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 4037, + "id": 4997, "isConstant": false, "isLValue": false, "isPure": false, @@ -106109,7 +65242,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4026, + "id": 4986, "isConstant": false, "isLValue": false, "isPure": false, @@ -106120,26 +65253,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4021, + "id": 4981, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3587, - "src": "13160:8:30", + "referencedDeclaration": 4547, + "src": "13145:8:20", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_$", "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" } }, - "id": 4023, + "id": 4983, "indexExpression": { "argumentTypes": null, - "id": 4022, + "id": 4982, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4014, - "src": "13169:6:30", + "referencedDeclaration": 4974, + "src": "13154:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -106150,13 +65283,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13160:16:30", + "src": "13145:16:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, - "id": 4024, + "id": 4984, "isConstant": false, "isLValue": true, "isPure": false, @@ -106164,7 +65297,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13160:23:30", + "src": "13145:23:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -106175,14 +65308,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 4025, + "id": 4985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13187:1:30", + "src": "13172:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -106190,21 +65323,21 @@ }, "value": "0" }, - "src": "13160:28:30", + "src": "13145:28:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 4027, + "id": 4987, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13159:30:30", + "src": "13144:30:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -106221,7 +65354,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4035, + "id": 4995, "isConstant": false, "isLValue": false, "isPure": false, @@ -106234,26 +65367,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4028, + "id": 4988, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3587, - "src": "13194:8:30", + "referencedDeclaration": 4547, + "src": "13179:8:20", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_$", "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" } }, - "id": 4030, + "id": 4990, "indexExpression": { "argumentTypes": null, - "id": 4029, + "id": 4989, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4014, - "src": "13203:6:30", + "referencedDeclaration": 4974, + "src": "13188:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -106264,24 +65397,24 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13194:16:30", + "src": "13179:16:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, - "id": 4032, + "id": 4992, "indexExpression": { "argumentTypes": null, "hexValue": "30", - "id": 4031, + "id": 4991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13211:1:30", + "src": "13196:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -106294,21 +65427,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13194:19:30", + "src": "13179:19:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref" } }, - "id": 4033, + "id": 4993, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "fromBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 3573, - "src": "13194:29:30", + "referencedDeclaration": 4533, + "src": "13179:29:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" @@ -106318,47 +65451,47 @@ "operator": ">", "rightExpression": { "argumentTypes": null, - "id": 4034, + "id": 4994, "name": "_blockNumber", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4016, - "src": "13226:12:30", + "referencedDeclaration": 4976, + "src": "13211:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13194:44:30", + "src": "13179:44:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 4036, + "id": 4996, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13193:46:30", + "src": "13178:46:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "13159:80:30", + "src": "13144:80:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 4067, + "id": 5027, "nodeType": "Block", - "src": "13577:74:30", + "src": "13562:74:20", "statements": [ { "expression": { @@ -106368,26 +65501,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4061, + "id": 5021, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3587, - "src": "13609:8:30", + "referencedDeclaration": 4547, + "src": "13594:8:20", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_$", "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" } }, - "id": 4063, + "id": 5023, "indexExpression": { "argumentTypes": null, - "id": 4062, + "id": 5022, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4014, - "src": "13618:6:30", + "referencedDeclaration": 4974, + "src": "13603:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -106398,20 +65531,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13609:16:30", + "src": "13594:16:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, { "argumentTypes": null, - "id": 4064, + "id": 5024, "name": "_blockNumber", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4016, - "src": "13627:12:30", + "referencedDeclaration": 4976, + "src": "13612:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -106421,7 +65554,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" }, { @@ -106429,18 +65562,18 @@ "typeString": "uint256" } ], - "id": 4060, + "id": 5020, "name": "getValueAt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4430, - "src": "13598:10:30", + "referencedDeclaration": 5390, + "src": "13583:10:20", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256) view returns (uint256)" } }, - "id": 4065, + "id": 5025, "isConstant": false, "isLValue": false, "isPure": false, @@ -106448,26 +65581,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13598:42:30", + "src": "13583:42:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 4020, - "id": 4066, + "functionReturnParameters": 4980, + "id": 5026, "nodeType": "Return", - "src": "13591:49:30" + "src": "13576:49:20" } ] }, - "id": 4068, + "id": 5028, "nodeType": "IfStatement", - "src": "13155:496:30", + "src": "13140:496:20", "trueBody": { - "id": 4059, + "id": 5019, "nodeType": "Block", - "src": "13241:330:30", + "src": "13226:330:20", "statements": [ { "condition": { @@ -106476,7 +65609,7 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 4044, + "id": 5004, "isConstant": false, "isLValue": false, "isPure": false, @@ -106486,14 +65619,14 @@ "arguments": [ { "argumentTypes": null, - "id": 4039, + "id": 4999, "name": "parentToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3578, - "src": "13267:11:30", + "referencedDeclaration": 4538, + "src": "13252:11:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } } @@ -106501,24 +65634,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } ], - "id": 4038, + "id": 4998, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "13259:7:30", + "src": "13244:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4040, + "id": 5000, "isConstant": false, "isLValue": false, "isPure": false, @@ -106526,7 +65659,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13259:20:30", + "src": "13244:20:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -106540,14 +65673,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 4042, + "id": 5002, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13291:1:30", + "src": "13276:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -106563,20 +65696,20 @@ "typeString": "int_const 0" } ], - "id": 4041, + "id": 5001, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "13283:7:30", + "src": "13268:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4043, + "id": 5003, "isConstant": false, "isLValue": false, "isPure": true, @@ -106584,35 +65717,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13283:10:30", + "src": "13268:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "13259:34:30", + "src": "13244:34:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 4057, + "id": 5017, "nodeType": "Block", - "src": "13412:74:30", + "src": "13397:74:20", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "30", - "id": 4055, + "id": 5015, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13470:1:30", + "src": "13455:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -106620,20 +65753,20 @@ }, "value": "0" }, - "functionReturnParameters": 4020, - "id": 4056, + "functionReturnParameters": 4980, + "id": 5016, "nodeType": "Return", - "src": "13463:8:30" + "src": "13448:8:20" } ] }, - "id": 4058, + "id": 5018, "nodeType": "IfStatement", - "src": "13255:231:30", + "src": "13240:231:20", "trueBody": { - "id": 4054, + "id": 5014, "nodeType": "Block", - "src": "13295:111:30", + "src": "13280:111:20", "statements": [ { "expression": { @@ -106641,12 +65774,12 @@ "arguments": [ { "argumentTypes": null, - "id": 4047, + "id": 5007, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4014, - "src": "13344:6:30", + "referencedDeclaration": 4974, + "src": "13329:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -106657,12 +65790,12 @@ "arguments": [ { "argumentTypes": null, - "id": 4049, + "id": 5009, "name": "_blockNumber", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4016, - "src": "13356:12:30", + "referencedDeclaration": 4976, + "src": "13341:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -106670,12 +65803,12 @@ }, { "argumentTypes": null, - "id": 4050, + "id": 5010, "name": "parentSnapShotBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3580, - "src": "13370:19:30", + "referencedDeclaration": 4540, + "src": "13355:19:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -106693,18 +65826,18 @@ "typeString": "uint256" } ], - "id": 4048, + "id": 5008, "name": "min", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4543, - "src": "13352:3:30", + "referencedDeclaration": 5503, + "src": "13337:3:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 4051, + "id": 5011, "isConstant": false, "isLValue": false, "isPure": false, @@ -106712,7 +65845,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13352:38:30", + "src": "13337:38:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -106732,32 +65865,32 @@ ], "expression": { "argumentTypes": null, - "id": 4045, + "id": 5005, "name": "parentToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3578, - "src": "13320:11:30", + "referencedDeclaration": 4538, + "src": "13305:11:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 4046, + "id": 5006, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balanceOfAt", "nodeType": "MemberAccess", - "referencedDeclaration": 4070, - "src": "13320:23:30", + "referencedDeclaration": 5030, + "src": "13305:23:20", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) view external returns (uint256)" } }, - "id": 4052, + "id": 5012, "isConstant": false, "isLValue": false, "isPure": false, @@ -106765,16 +65898,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13320:71:30", + "src": "13305:71:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 4020, - "id": 4053, + "functionReturnParameters": 4980, + "id": 5013, "nodeType": "Return", - "src": "13313:78:30" + "src": "13298:78:20" } ] } @@ -106785,23 +65918,23 @@ ] }, "documentation": "@dev Queries the balance of `_owner` at a specific `_blockNumber`\n@param _owner The address from which the balance will be retrieved\n@param _blockNumber The block number when the balance is queried\n@return The balance at `_blockNumber`", - "id": 4070, + "id": 5030, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOfAt", "nodeType": "FunctionDefinition", "parameters": { - "id": 4017, + "id": 4977, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4014, + "id": 4974, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 4070, - "src": "12714:14:30", + "scope": 5030, + "src": "12699:14:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -106809,10 +65942,10 @@ "typeString": "address" }, "typeName": { - "id": 4013, + "id": 4973, "name": "address", "nodeType": "ElementaryTypeName", - "src": "12714:7:30", + "src": "12699:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -106824,11 +65957,11 @@ }, { "constant": false, - "id": 4016, + "id": 4976, "name": "_blockNumber", "nodeType": "VariableDeclaration", - "scope": 4070, - "src": "12738:17:30", + "scope": 5030, + "src": "12723:17:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -106836,10 +65969,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4015, + "id": 4975, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12738:4:30", + "src": "12723:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -106849,19 +65982,19 @@ "visibility": "internal" } ], - "src": "12704:57:30" + "src": "12689:57:20" }, "returnParameters": { - "id": 4020, + "id": 4980, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4019, + "id": 4979, "name": "", "nodeType": "VariableDeclaration", - "scope": 4070, - "src": "12807:4:30", + "scope": 5030, + "src": "12792:4:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -106869,10 +66002,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4018, + "id": 4978, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12807:4:30", + "src": "12792:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -106882,19 +66015,19 @@ "visibility": "internal" } ], - "src": "12806:6:30" + "src": "12791:6:20" }, - "scope": 4657, - "src": "12684:973:30", + "scope": 5617, + "src": "12669:973:20", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 4118, + "id": 5078, "nodeType": "Block", - "src": "13951:835:30", + "src": "13936:835:20", "statements": [ { "condition": { @@ -106903,7 +66036,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 4089, + "id": 5049, "isConstant": false, "isLValue": false, "isPure": false, @@ -106917,7 +66050,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4080, + "id": 5040, "isConstant": false, "isLValue": false, "isPure": false, @@ -106926,18 +66059,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4077, + "id": 5037, "name": "totalSupplyHistory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3596, - "src": "14318:18:30", + "referencedDeclaration": 4556, + "src": "14303:18:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, - "id": 4078, + "id": 5038, "isConstant": false, "isLValue": true, "isPure": false, @@ -106945,7 +66078,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14318:25:30", + "src": "14303:25:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -106956,14 +66089,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 4079, + "id": 5039, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14347:1:30", + "src": "14332:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -106971,21 +66104,21 @@ }, "value": "0" }, - "src": "14318:30:30", + "src": "14303:30:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 4081, + "id": 5041, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "14317:32:30", + "src": "14302:32:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -107002,7 +66135,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4087, + "id": 5047, "isConstant": false, "isLValue": false, "isPure": false, @@ -107013,29 +66146,29 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4082, + "id": 5042, "name": "totalSupplyHistory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3596, - "src": "14354:18:30", + "referencedDeclaration": 4556, + "src": "14339:18:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, - "id": 4084, + "id": 5044, "indexExpression": { "argumentTypes": null, "hexValue": "30", - "id": 4083, + "id": 5043, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14373:1:30", + "src": "14358:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -107048,21 +66181,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14354:21:30", + "src": "14339:21:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref" } }, - "id": 4085, + "id": 5045, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "fromBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 3573, - "src": "14354:31:30", + "referencedDeclaration": 4533, + "src": "14339:31:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" @@ -107072,47 +66205,47 @@ "operator": ">", "rightExpression": { "argumentTypes": null, - "id": 4086, + "id": 5046, "name": "_blockNumber", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4072, - "src": "14388:12:30", + "referencedDeclaration": 5032, + "src": "14373:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14354:46:30", + "src": "14339:46:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 4088, + "id": 5048, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "14353:48:30", + "src": "14338:48:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "14317:84:30", + "src": "14302:84:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 4116, + "id": 5076, "nodeType": "Block", - "src": "14704:76:30", + "src": "14689:76:20", "statements": [ { "expression": { @@ -107120,25 +66253,25 @@ "arguments": [ { "argumentTypes": null, - "id": 4112, + "id": 5072, "name": "totalSupplyHistory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3596, - "src": "14736:18:30", + "referencedDeclaration": 4556, + "src": "14721:18:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, { "argumentTypes": null, - "id": 4113, + "id": 5073, "name": "_blockNumber", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4072, - "src": "14756:12:30", + "referencedDeclaration": 5032, + "src": "14741:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -107148,7 +66281,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" }, { @@ -107156,18 +66289,18 @@ "typeString": "uint256" } ], - "id": 4111, + "id": 5071, "name": "getValueAt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4430, - "src": "14725:10:30", + "referencedDeclaration": 5390, + "src": "14710:10:20", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256) view returns (uint256)" } }, - "id": 4114, + "id": 5074, "isConstant": false, "isLValue": false, "isPure": false, @@ -107175,26 +66308,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14725:44:30", + "src": "14710:44:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 4076, - "id": 4115, + "functionReturnParameters": 5036, + "id": 5075, "nodeType": "Return", - "src": "14718:51:30" + "src": "14703:51:20" } ] }, - "id": 4117, + "id": 5077, "nodeType": "IfStatement", - "src": "14313:467:30", + "src": "14298:467:20", "trueBody": { - "id": 4110, + "id": 5070, "nodeType": "Block", - "src": "14403:295:30", + "src": "14388:295:20", "statements": [ { "condition": { @@ -107203,7 +66336,7 @@ "typeIdentifier": "t_address_payable", "typeString": "address payable" }, - "id": 4096, + "id": 5056, "isConstant": false, "isLValue": false, "isPure": false, @@ -107213,14 +66346,14 @@ "arguments": [ { "argumentTypes": null, - "id": 4091, + "id": 5051, "name": "parentToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3578, - "src": "14429:11:30", + "referencedDeclaration": 4538, + "src": "14414:11:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } } @@ -107228,24 +66361,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } ], - "id": 4090, + "id": 5050, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "14421:7:30", + "src": "14406:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4092, + "id": 5052, "isConstant": false, "isLValue": false, "isPure": false, @@ -107253,7 +66386,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14421:20:30", + "src": "14406:20:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -107267,14 +66400,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 4094, + "id": 5054, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14453:1:30", + "src": "14438:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -107290,20 +66423,20 @@ "typeString": "int_const 0" } ], - "id": 4093, + "id": 5053, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "14445:7:30", + "src": "14430:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4095, + "id": 5055, "isConstant": false, "isLValue": false, "isPure": true, @@ -107311,35 +66444,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14445:10:30", + "src": "14430:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "14421:34:30", + "src": "14406:34:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 4108, + "id": 5068, "nodeType": "Block", - "src": "14568:41:30", + "src": "14553:41:20", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "30", - "id": 4106, + "id": 5066, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14593:1:30", + "src": "14578:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -107347,20 +66480,20 @@ }, "value": "0" }, - "functionReturnParameters": 4076, - "id": 4107, + "functionReturnParameters": 5036, + "id": 5067, "nodeType": "Return", - "src": "14586:8:30" + "src": "14571:8:20" } ] }, - "id": 4109, + "id": 5069, "nodeType": "IfStatement", - "src": "14417:192:30", + "src": "14402:192:20", "trueBody": { - "id": 4105, + "id": 5065, "nodeType": "Block", - "src": "14457:105:30", + "src": "14442:105:20", "statements": [ { "expression": { @@ -107371,12 +66504,12 @@ "arguments": [ { "argumentTypes": null, - "id": 4100, + "id": 5060, "name": "_blockNumber", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4072, - "src": "14512:12:30", + "referencedDeclaration": 5032, + "src": "14497:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -107384,12 +66517,12 @@ }, { "argumentTypes": null, - "id": 4101, + "id": 5061, "name": "parentSnapShotBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3580, - "src": "14526:19:30", + "referencedDeclaration": 4540, + "src": "14511:19:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -107407,18 +66540,18 @@ "typeString": "uint256" } ], - "id": 4099, + "id": 5059, "name": "min", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4543, - "src": "14508:3:30", + "referencedDeclaration": 5503, + "src": "14493:3:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 4102, + "id": 5062, "isConstant": false, "isLValue": false, "isPure": false, @@ -107426,7 +66559,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14508:38:30", + "src": "14493:38:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -107442,32 +66575,32 @@ ], "expression": { "argumentTypes": null, - "id": 4097, + "id": 5057, "name": "parentToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3578, - "src": "14482:11:30", + "referencedDeclaration": 4538, + "src": "14467:11:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 4098, + "id": 5058, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "totalSupplyAt", "nodeType": "MemberAccess", - "referencedDeclaration": 4119, - "src": "14482:25:30", + "referencedDeclaration": 5079, + "src": "14467:25:20", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) view external returns (uint256)" } }, - "id": 4103, + "id": 5063, "isConstant": false, "isLValue": false, "isPure": false, @@ -107475,16 +66608,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14482:65:30", + "src": "14467:65:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 4076, - "id": 4104, + "functionReturnParameters": 5036, + "id": 5064, "nodeType": "Return", - "src": "14475:72:30" + "src": "14460:72:20" } ] } @@ -107495,23 +66628,23 @@ ] }, "documentation": "@notice Total amount of tokens at a specific `_blockNumber`.\n@param _blockNumber The block number when the totalSupply is queried\n@return The total amount of tokens at `_blockNumber`", - "id": 4119, + "id": 5079, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupplyAt", "nodeType": "FunctionDefinition", "parameters": { - "id": 4073, + "id": 5033, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4072, + "id": 5032, "name": "_blockNumber", "nodeType": "VariableDeclaration", - "scope": 4119, - "src": "13906:17:30", + "scope": 5079, + "src": "13891:17:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -107519,10 +66652,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4071, + "id": 5031, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13906:4:30", + "src": "13891:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -107532,19 +66665,19 @@ "visibility": "internal" } ], - "src": "13905:19:30" + "src": "13890:19:20" }, "returnParameters": { - "id": 4076, + "id": 5036, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4075, + "id": 5035, "name": "", "nodeType": "VariableDeclaration", - "scope": 4119, - "src": "13945:4:30", + "scope": 5079, + "src": "13930:4:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -107552,10 +66685,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4074, + "id": 5034, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13945:4:30", + "src": "13930:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -107565,32 +66698,32 @@ "visibility": "internal" } ], - "src": "13944:6:30" + "src": "13929:6:20" }, - "scope": 4657, - "src": "13883:903:30", + "scope": 5617, + "src": "13868:903:20", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 4180, + "id": 5140, "nodeType": "Block", - "src": "15795:613:30", + "src": "15780:613:20", "statements": [ { "assignments": [ - 4135 + 5095 ], "declarations": [ { "constant": false, - "id": 4135, + "id": 5095, "name": "snapshotBlock", "nodeType": "VariableDeclaration", - "scope": 4180, - "src": "15805:18:30", + "scope": 5140, + "src": "15790:18:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -107598,10 +66731,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4134, + "id": 5094, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "15805:4:30", + "src": "15790:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -107611,22 +66744,22 @@ "visibility": "internal" } ], - "id": 4137, + "id": 5097, "initialValue": { "argumentTypes": null, - "id": 4136, + "id": 5096, "name": "_snapshotBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4127, - "src": "15826:14:30", + "referencedDeclaration": 5087, + "src": "15811:14:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "15805:35:30" + "src": "15790:35:20" }, { "condition": { @@ -107635,19 +66768,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4140, + "id": 5100, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4138, + "id": 5098, "name": "snapshotBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4135, - "src": "15854:13:30", + "referencedDeclaration": 5095, + "src": "15839:13:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -107658,14 +66791,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 4139, + "id": 5099, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15871:1:30", + "src": "15856:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -107673,37 +66806,37 @@ }, "value": "0" }, - "src": "15854:18:30", + "src": "15839:18:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 4147, + "id": 5107, "nodeType": "IfStatement", - "src": "15850:77:30", + "src": "15835:77:20", "trueBody": { - "id": 4146, + "id": 5106, "nodeType": "Block", - "src": "15874:53:30", + "src": "15859:53:20", "statements": [ { "expression": { "argumentTypes": null, - "id": 4144, + "id": 5104, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 4141, + "id": 5101, "name": "snapshotBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4135, - "src": "15888:13:30", + "referencedDeclaration": 5095, + "src": "15873:13:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -107715,18 +66848,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4142, + "id": 5102, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "15904:5:30", + "referencedDeclaration": 5697, + "src": "15889:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 4143, + "id": 5103, "isConstant": false, "isLValue": false, "isPure": false, @@ -107734,52 +66867,52 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15904:12:30", + "src": "15889:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15888:28:30", + "src": "15873:28:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 4145, + "id": 5105, "nodeType": "ExpressionStatement", - "src": "15888:28:30" + "src": "15873:28:20" } ] } }, { "assignments": [ - 4149 + 5109 ], "declarations": [ { "constant": false, - "id": 4149, + "id": 5109, "name": "cloneToken", "nodeType": "VariableDeclaration", - "scope": 4180, - "src": "15936:22:30", + "scope": 5140, + "src": "15921:22:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" }, "typeName": { "contractScope": null, - "id": 4148, + "id": 5108, "name": "MiniMeToken", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 4657, - "src": "15936:11:30", + "referencedDeclaration": 5617, + "src": "15921:11:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, @@ -107787,7 +66920,7 @@ "visibility": "internal" } ], - "id": 4161, + "id": 5121, "initialValue": { "argumentTypes": null, "arguments": [ @@ -107796,14 +66929,14 @@ "arguments": [ { "argumentTypes": null, - "id": 4153, + "id": 5113, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9533, - "src": "16012:4:30", + "referencedDeclaration": 5751, + "src": "15997:4:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } } @@ -107811,24 +66944,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } ], - "id": 4152, + "id": 5112, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "16004:7:30", + "src": "15989:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4154, + "id": 5114, "isConstant": false, "isLValue": false, "isPure": false, @@ -107836,7 +66969,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16004:13:30", + "src": "15989:13:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -107844,12 +66977,12 @@ }, { "argumentTypes": null, - "id": 4155, + "id": 5115, "name": "snapshotBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4135, - "src": "16031:13:30", + "referencedDeclaration": 5095, + "src": "16016:13:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -107857,12 +66990,12 @@ }, { "argumentTypes": null, - "id": 4156, + "id": 5116, "name": "_cloneTokenName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4121, - "src": "16058:15:30", + "referencedDeclaration": 5081, + "src": "16043:15:20", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -107870,12 +67003,12 @@ }, { "argumentTypes": null, - "id": 4157, + "id": 5117, "name": "_cloneDecimalUnits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4123, - "src": "16087:18:30", + "referencedDeclaration": 5083, + "src": "16072:18:20", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -107883,12 +67016,12 @@ }, { "argumentTypes": null, - "id": 4158, + "id": 5118, "name": "_cloneTokenSymbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4125, - "src": "16119:17:30", + "referencedDeclaration": 5085, + "src": "16104:17:20", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -107896,12 +67029,12 @@ }, { "argumentTypes": null, - "id": 4159, + "id": 5119, "name": "_transfersEnabled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4129, - "src": "16150:17:30", + "referencedDeclaration": 5089, + "src": "16135:17:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -107937,32 +67070,32 @@ ], "expression": { "argumentTypes": null, - "id": 4150, + "id": 5110, "name": "tokenFactory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3600, - "src": "15961:12:30", + "referencedDeclaration": 4560, + "src": "15946:12:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$4700", + "typeIdentifier": "t_contract$_MiniMeTokenFactory_$5660", "typeString": "contract MiniMeTokenFactory" } }, - "id": 4151, + "id": 5111, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "createCloneToken", "nodeType": "MemberAccess", - "referencedDeclaration": 4699, - "src": "15961:29:30", + "referencedDeclaration": 5659, + "src": "15946:29:20", "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_string_memory_ptr_$_t_uint8_$_t_string_memory_ptr_$_t_bool_$returns$_t_contract$_MiniMeToken_$4657_$", + "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_string_memory_ptr_$_t_uint8_$_t_string_memory_ptr_$_t_bool_$returns$_t_contract$_MiniMeToken_$5617_$", "typeString": "function (address,uint256,string memory,uint8,string memory,bool) external returns (contract MiniMeToken)" } }, - "id": 4160, + "id": 5120, "isConstant": false, "isLValue": false, "isPure": false, @@ -107970,14 +67103,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15961:220:30", + "src": "15946:220:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, "nodeType": "VariableDeclarationStatement", - "src": "15936:245:30" + "src": "15921:245:20" }, { "expression": { @@ -107987,18 +67120,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4165, + "id": 5125, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "16220:3:30", + "referencedDeclaration": 5707, + "src": "16205:3:20", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 4166, + "id": 5126, "isConstant": false, "isLValue": false, "isPure": false, @@ -108006,7 +67139,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16220:10:30", + "src": "16205:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -108022,32 +67155,32 @@ ], "expression": { "argumentTypes": null, - "id": 4162, + "id": 5122, "name": "cloneToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4149, - "src": "16192:10:30", + "referencedDeclaration": 5109, + "src": "16177:10:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 4164, + "id": 5124, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "changeController", "nodeType": "MemberAccess", - "referencedDeclaration": 6927, - "src": "16192:27:30", + "referencedDeclaration": 36, + "src": "16177:27:20", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_payable_$returns$__$", "typeString": "function (address payable) external" } }, - "id": 4167, + "id": 5127, "isConstant": false, "isLValue": false, "isPure": false, @@ -108055,15 +67188,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16192:39:30", + "src": "16177:39:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4168, + "id": 5128, "nodeType": "ExpressionStatement", - "src": "16192:39:30" + "src": "16177:39:20" }, { "eventCall": { @@ -108074,14 +67207,14 @@ "arguments": [ { "argumentTypes": null, - "id": 4171, + "id": 5131, "name": "cloneToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4149, - "src": "16338:10:30", + "referencedDeclaration": 5109, + "src": "16323:10:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } } @@ -108089,24 +67222,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } ], - "id": 4170, + "id": 5130, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "16330:7:30", + "src": "16315:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4172, + "id": 5132, "isConstant": false, "isLValue": false, "isPure": false, @@ -108114,7 +67247,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16330:19:30", + "src": "16315:19:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -108122,12 +67255,12 @@ }, { "argumentTypes": null, - "id": 4173, + "id": 5133, "name": "snapshotBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4135, - "src": "16351:13:30", + "referencedDeclaration": 5095, + "src": "16336:13:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108145,18 +67278,18 @@ "typeString": "uint256" } ], - "id": 4169, + "id": 5129, "name": "NewCloneToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4648, - "src": "16316:13:30", + "referencedDeclaration": 5608, + "src": "16301:13:20", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 4174, + "id": 5134, "isConstant": false, "isLValue": false, "isPure": false, @@ -108164,15 +67297,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16316:49:30", + "src": "16301:49:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4175, + "id": 5135, "nodeType": "EmitStatement", - "src": "16311:54:30" + "src": "16296:54:20" }, { "expression": { @@ -108180,14 +67313,14 @@ "arguments": [ { "argumentTypes": null, - "id": 4177, + "id": 5137, "name": "cloneToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4149, - "src": "16390:10:30", + "referencedDeclaration": 5109, + "src": "16375:10:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } } @@ -108195,24 +67328,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } ], - "id": 4176, + "id": 5136, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "16382:7:30", + "src": "16367:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4178, + "id": 5138, "isConstant": false, "isLValue": false, "isPure": false, @@ -108220,37 +67353,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16382:19:30", + "src": "16367:19:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 4133, - "id": 4179, + "functionReturnParameters": 5093, + "id": 5139, "nodeType": "Return", - "src": "16375:26:30" + "src": "16360:26:20" } ] }, "documentation": "@notice Creates a new clone token with the initial distribution being\n this token at `snapshotBlock`\n@param _cloneTokenName Name of the clone token\n@param _cloneDecimalUnits Number of decimals of the smallest unit\n@param _cloneTokenSymbol Symbol of the clone token\n@param _snapshotBlock Block when the distribution of the parent token is\n copied to set the initial distribution of the new clone token;\n if the block is zero than the actual block, the current block is used\n@param _transfersEnabled True if transfers are allowed in the clone\n@return The address of the new MiniMeToken Contract", - "id": 4181, + "id": 5141, "implemented": true, "kind": "function", "modifiers": [], "name": "createCloneToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 4130, + "id": 5090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4121, + "id": 5081, "name": "_cloneTokenName", "nodeType": "VariableDeclaration", - "scope": 4181, - "src": "15563:29:30", + "scope": 5141, + "src": "15548:29:20", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -108258,10 +67391,10 @@ "typeString": "string" }, "typeName": { - "id": 4120, + "id": 5080, "name": "string", "nodeType": "ElementaryTypeName", - "src": "15563:6:30", + "src": "15548:6:20", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -108272,11 +67405,11 @@ }, { "constant": false, - "id": 4123, + "id": 5083, "name": "_cloneDecimalUnits", "nodeType": "VariableDeclaration", - "scope": 4181, - "src": "15602:24:30", + "scope": 5141, + "src": "15587:24:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -108284,10 +67417,10 @@ "typeString": "uint8" }, "typeName": { - "id": 4122, + "id": 5082, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "15602:5:30", + "src": "15587:5:20", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -108298,11 +67431,11 @@ }, { "constant": false, - "id": 4125, + "id": 5085, "name": "_cloneTokenSymbol", "nodeType": "VariableDeclaration", - "scope": 4181, - "src": "15636:31:30", + "scope": 5141, + "src": "15621:31:20", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -108310,10 +67443,10 @@ "typeString": "string" }, "typeName": { - "id": 4124, + "id": 5084, "name": "string", "nodeType": "ElementaryTypeName", - "src": "15636:6:30", + "src": "15621:6:20", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -108324,11 +67457,11 @@ }, { "constant": false, - "id": 4127, + "id": 5087, "name": "_snapshotBlock", "nodeType": "VariableDeclaration", - "scope": 4181, - "src": "15677:19:30", + "scope": 5141, + "src": "15662:19:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -108336,10 +67469,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4126, + "id": 5086, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "15677:4:30", + "src": "15662:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108350,11 +67483,11 @@ }, { "constant": false, - "id": 4129, + "id": 5089, "name": "_transfersEnabled", "nodeType": "VariableDeclaration", - "scope": 4181, - "src": "15706:22:30", + "scope": 5141, + "src": "15691:22:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -108362,10 +67495,10 @@ "typeString": "bool" }, "typeName": { - "id": 4128, + "id": 5088, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "15706:4:30", + "src": "15691:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -108375,19 +67508,19 @@ "visibility": "internal" } ], - "src": "15553:185:30" + "src": "15538:185:20" }, "returnParameters": { - "id": 4133, + "id": 5093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4132, + "id": 5092, "name": "", "nodeType": "VariableDeclaration", - "scope": 4181, - "src": "15778:7:30", + "scope": 5141, + "src": "15763:7:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -108395,10 +67528,10 @@ "typeString": "address" }, "typeName": { - "id": 4131, + "id": 5091, "name": "address", "nodeType": "ElementaryTypeName", - "src": "15778:7:30", + "src": "15763:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -108409,32 +67542,32 @@ "visibility": "internal" } ], - "src": "15777:9:30" + "src": "15762:9:20" }, - "scope": 4657, - "src": "15528:880:30", + "scope": 5617, + "src": "15513:880:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 4251, + "id": 5211, "nodeType": "Block", - "src": "16891:562:30", + "src": "16876:562:20", "statements": [ { "assignments": [ - 4193 + 5153 ], "declarations": [ { "constant": false, - "id": 4193, + "id": 5153, "name": "curTotalSupply", "nodeType": "VariableDeclaration", - "scope": 4251, - "src": "16901:19:30", + "scope": 5211, + "src": "16886:19:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -108442,10 +67575,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4192, + "id": 5152, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "16901:4:30", + "src": "16886:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108455,7 +67588,7 @@ "visibility": "internal" } ], - "id": 4198, + "id": 5158, "initialValue": { "argumentTypes": null, "arguments": [ @@ -108463,18 +67596,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4195, + "id": 5155, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "16937:5:30", + "referencedDeclaration": 5697, + "src": "16922:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 4196, + "id": 5156, "isConstant": false, "isLValue": false, "isPure": false, @@ -108482,7 +67615,7 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16937:12:30", + "src": "16922:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108496,18 +67629,18 @@ "typeString": "uint256" } ], - "id": 4194, + "id": 5154, "name": "totalSupplyAt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4119, - "src": "16923:13:30", + "referencedDeclaration": 5079, + "src": "16908:13:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) view returns (uint256)" } }, - "id": 4197, + "id": 5157, "isConstant": false, "isLValue": false, "isPure": false, @@ -108515,14 +67648,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16923:27:30", + "src": "16908:27:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16901:49:30" + "src": "16886:49:20" }, { "expression": { @@ -108534,7 +67667,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4204, + "id": 5164, "isConstant": false, "isLValue": false, "isPure": false, @@ -108545,19 +67678,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4202, + "id": 5162, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4200, + "id": 5160, "name": "curTotalSupply", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4193, - "src": "16968:14:30", + "referencedDeclaration": 5153, + "src": "16953:14:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108567,18 +67700,18 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 4201, + "id": 5161, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4185, - "src": "16985:7:30", + "referencedDeclaration": 5145, + "src": "16970:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16968:24:30", + "src": "16953:24:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108588,18 +67721,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 4203, + "id": 5163, "name": "curTotalSupply", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4193, - "src": "16996:14:30", + "referencedDeclaration": 5153, + "src": "16981:14:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16968:42:30", + "src": "16953:42:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -108608,14 +67741,14 @@ { "argumentTypes": null, "hexValue": "546f74616c206f766572666c6f77", - "id": 4205, + "id": 5165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "17012:16:30", + "src": "16997:16:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_7d34061b9f571cfeeca885007524b9e4040dbcd201a2a1c435433336fe015c77", @@ -108635,21 +67768,21 @@ "typeString": "literal_string \"Total overflow\"" } ], - "id": 4199, + "id": 5159, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "16960:7:30", + "referencedDeclaration": 5711, + "src": "16945:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 4206, + "id": 5166, "isConstant": false, "isLValue": false, "isPure": false, @@ -108657,28 +67790,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16960:69:30", + "src": "16945:69:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4207, + "id": 5167, "nodeType": "ExpressionStatement", - "src": "16960:69:30" + "src": "16945:69:20" }, { "assignments": [ - 4209 + 5169 ], "declarations": [ { "constant": false, - "id": 4209, + "id": 5169, "name": "previousBalanceTo", "nodeType": "VariableDeclaration", - "scope": 4251, - "src": "17061:22:30", + "scope": 5211, + "src": "17046:22:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -108686,10 +67819,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4208, + "id": 5168, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17061:4:30", + "src": "17046:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108699,18 +67832,18 @@ "visibility": "internal" } ], - "id": 4215, + "id": 5175, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 4211, + "id": 5171, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4183, - "src": "17098:6:30", + "referencedDeclaration": 5143, + "src": "17083:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -108720,18 +67853,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4212, + "id": 5172, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "17106:5:30", + "referencedDeclaration": 5697, + "src": "17091:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 4213, + "id": 5173, "isConstant": false, "isLValue": false, "isPure": false, @@ -108739,7 +67872,7 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17106:12:30", + "src": "17091:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108757,18 +67890,18 @@ "typeString": "uint256" } ], - "id": 4210, + "id": 5170, "name": "balanceOfAt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4070, - "src": "17086:11:30", + "referencedDeclaration": 5030, + "src": "17071:11:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) view returns (uint256)" } }, - "id": 4214, + "id": 5174, "isConstant": false, "isLValue": false, "isPure": false, @@ -108776,14 +67909,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17086:33:30", + "src": "17071:33:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17061:58:30" + "src": "17046:58:20" }, { "expression": { @@ -108795,7 +67928,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4221, + "id": 5181, "isConstant": false, "isLValue": false, "isPure": false, @@ -108806,19 +67939,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4219, + "id": 5179, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4217, + "id": 5177, "name": "previousBalanceTo", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4209, - "src": "17137:17:30", + "referencedDeclaration": 5169, + "src": "17122:17:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108828,18 +67961,18 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 4218, + "id": 5178, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4185, - "src": "17157:7:30", + "referencedDeclaration": 5145, + "src": "17142:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17137:27:30", + "src": "17122:27:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108849,18 +67982,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 4220, + "id": 5180, "name": "previousBalanceTo", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4209, - "src": "17168:17:30", + "referencedDeclaration": 5169, + "src": "17153:17:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17137:48:30", + "src": "17122:48:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -108869,14 +68002,14 @@ { "argumentTypes": null, "hexValue": "42616c616e6365206f766572666c6f77", - "id": 4222, + "id": 5182, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "17187:18:30", + "src": "17172:18:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_3ff36095f6b077e3381ad9b42fa926720d9d1a053c514940c75d3e94fc7de897", @@ -108896,21 +68029,21 @@ "typeString": "literal_string \"Balance overflow\"" } ], - "id": 4216, + "id": 5176, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "17129:7:30", + "referencedDeclaration": 5711, + "src": "17114:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 4223, + "id": 5183, "isConstant": false, "isLValue": false, "isPure": false, @@ -108918,15 +68051,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17129:77:30", + "src": "17114:77:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4224, + "id": 5184, "nodeType": "ExpressionStatement", - "src": "17129:77:30" + "src": "17114:77:20" }, { "expression": { @@ -108934,14 +68067,14 @@ "arguments": [ { "argumentTypes": null, - "id": 4226, + "id": 5186, "name": "totalSupplyHistory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3596, - "src": "17255:18:30", + "referencedDeclaration": 4556, + "src": "17240:18:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, @@ -108951,19 +68084,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4229, + "id": 5189, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4227, + "id": 5187, "name": "curTotalSupply", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4193, - "src": "17275:14:30", + "referencedDeclaration": 5153, + "src": "17260:14:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108973,18 +68106,18 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 4228, + "id": 5188, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4185, - "src": "17292:7:30", + "referencedDeclaration": 5145, + "src": "17277:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17275:24:30", + "src": "17260:24:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -108994,7 +68127,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" }, { @@ -109002,18 +68135,18 @@ "typeString": "uint256" } ], - "id": 4225, + "id": 5185, "name": "updateValueAtNow", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4501, - "src": "17238:16:30", + "referencedDeclaration": 5461, + "src": "17223:16:20", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", + "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" } }, - "id": 4230, + "id": 5190, "isConstant": false, "isLValue": false, "isPure": false, @@ -109021,15 +68154,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17238:62:30", + "src": "17223:62:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4231, + "id": 5191, "nodeType": "ExpressionStatement", - "src": "17238:62:30" + "src": "17223:62:20" }, { "expression": { @@ -109039,26 +68172,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4233, + "id": 5193, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3587, - "src": "17327:8:30", + "referencedDeclaration": 4547, + "src": "17312:8:20", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_$", "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" } }, - "id": 4235, + "id": 5195, "indexExpression": { "argumentTypes": null, - "id": 4234, + "id": 5194, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4183, - "src": "17336:6:30", + "referencedDeclaration": 5143, + "src": "17321:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -109069,9 +68202,9 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17327:16:30", + "src": "17312:16:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, @@ -109081,19 +68214,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4238, + "id": 5198, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4236, + "id": 5196, "name": "previousBalanceTo", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4209, - "src": "17345:17:30", + "referencedDeclaration": 5169, + "src": "17330:17:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109103,18 +68236,18 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 4237, + "id": 5197, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4185, - "src": "17365:7:30", + "referencedDeclaration": 5145, + "src": "17350:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17345:27:30", + "src": "17330:27:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109124,7 +68257,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" }, { @@ -109132,18 +68265,18 @@ "typeString": "uint256" } ], - "id": 4232, + "id": 5192, "name": "updateValueAtNow", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4501, - "src": "17310:16:30", + "referencedDeclaration": 5461, + "src": "17295:16:20", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", + "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" } }, - "id": 4239, + "id": 5199, "isConstant": false, "isLValue": false, "isPure": false, @@ -109151,15 +68284,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17310:63:30", + "src": "17295:63:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4240, + "id": 5200, "nodeType": "ExpressionStatement", - "src": "17310:63:30" + "src": "17295:63:20" }, { "eventCall": { @@ -109171,14 +68304,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 4243, + "id": 5203, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17405:1:30", + "src": "17390:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -109194,20 +68327,20 @@ "typeString": "int_const 0" } ], - "id": 4242, + "id": 5202, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "17397:7:30", + "src": "17382:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4244, + "id": 5204, "isConstant": false, "isLValue": false, "isPure": true, @@ -109215,7 +68348,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17397:10:30", + "src": "17382:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -109223,12 +68356,12 @@ }, { "argumentTypes": null, - "id": 4245, + "id": 5205, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4183, - "src": "17409:6:30", + "referencedDeclaration": 5143, + "src": "17394:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -109236,12 +68369,12 @@ }, { "argumentTypes": null, - "id": 4246, + "id": 5206, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4185, - "src": "17417:7:30", + "referencedDeclaration": 5145, + "src": "17402:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109263,18 +68396,18 @@ "typeString": "uint256" } ], - "id": 4241, + "id": 5201, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4642, - "src": "17388:8:30", + "referencedDeclaration": 5602, + "src": "17373:8:20", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 4247, + "id": 5207, "isConstant": false, "isLValue": false, "isPure": false, @@ -109282,28 +68415,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17388:37:30", + "src": "17373:37:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4248, + "id": 5208, "nodeType": "EmitStatement", - "src": "17383:42:30" + "src": "17368:42:20" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 4249, + "id": 5209, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "17442:4:30", + "src": "17427:4:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -109311,51 +68444,51 @@ }, "value": "true" }, - "functionReturnParameters": 4191, - "id": 4250, + "functionReturnParameters": 5151, + "id": 5210, "nodeType": "Return", - "src": "17435:11:30" + "src": "17420:11:20" } ] }, "documentation": "@notice Generates `_amount` tokens that are assigned to `_owner`\n@param _owner The address that will be assigned the new tokens\n@param _amount The quantity of tokens generated\n@return True if the tokens are generated correctly", - "id": 4252, + "id": 5212, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 4188, + "id": 5148, "modifierName": { "argumentTypes": null, - "id": 4187, + "id": 5147, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "16849:14:30", + "referencedDeclaration": 13, + "src": "16834:14:20", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "16849:14:30" + "src": "16834:14:20" } ], "name": "generateTokens", "nodeType": "FunctionDefinition", "parameters": { - "id": 4186, + "id": 5146, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4183, + "id": 5143, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 4252, - "src": "16783:14:30", + "scope": 5212, + "src": "16768:14:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -109363,10 +68496,10 @@ "typeString": "address" }, "typeName": { - "id": 4182, + "id": 5142, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16783:7:30", + "src": "16768:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -109378,11 +68511,11 @@ }, { "constant": false, - "id": 4185, + "id": 5145, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 4252, - "src": "16807:12:30", + "scope": 5212, + "src": "16792:12:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -109390,10 +68523,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4184, + "id": 5144, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "16807:4:30", + "src": "16792:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109403,19 +68536,19 @@ "visibility": "internal" } ], - "src": "16773:52:30" + "src": "16758:52:20" }, "returnParameters": { - "id": 4191, + "id": 5151, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4190, + "id": 5150, "name": "", "nodeType": "VariableDeclaration", - "scope": 4252, - "src": "16881:4:30", + "scope": 5212, + "src": "16866:4:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -109423,10 +68556,10 @@ "typeString": "bool" }, "typeName": { - "id": 4189, + "id": 5149, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "16881:4:30", + "src": "16866:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -109436,32 +68569,32 @@ "visibility": "internal" } ], - "src": "16880:6:30" + "src": "16865:6:20" }, - "scope": 4657, - "src": "16750:703:30", + "scope": 5617, + "src": "16735:703:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 4318, + "id": 5278, "nodeType": "Block", - "src": "17834:490:30", + "src": "17819:490:20", "statements": [ { "assignments": [ - 4264 + 5224 ], "declarations": [ { "constant": false, - "id": 4264, + "id": 5224, "name": "curTotalSupply", "nodeType": "VariableDeclaration", - "scope": 4318, - "src": "17844:19:30", + "scope": 5278, + "src": "17829:19:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -109469,10 +68602,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4263, + "id": 5223, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17844:4:30", + "src": "17829:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109482,7 +68615,7 @@ "visibility": "internal" } ], - "id": 4269, + "id": 5229, "initialValue": { "argumentTypes": null, "arguments": [ @@ -109490,18 +68623,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4266, + "id": 5226, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "17880:5:30", + "referencedDeclaration": 5697, + "src": "17865:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 4267, + "id": 5227, "isConstant": false, "isLValue": false, "isPure": false, @@ -109509,7 +68642,7 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17880:12:30", + "src": "17865:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109523,18 +68656,18 @@ "typeString": "uint256" } ], - "id": 4265, + "id": 5225, "name": "totalSupplyAt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4119, - "src": "17866:13:30", + "referencedDeclaration": 5079, + "src": "17851:13:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256) view returns (uint256)" } }, - "id": 4268, + "id": 5228, "isConstant": false, "isLValue": false, "isPure": false, @@ -109542,14 +68675,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17866:27:30", + "src": "17851:27:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17844:49:30" + "src": "17829:49:20" }, { "expression": { @@ -109561,19 +68694,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4273, + "id": 5233, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4271, + "id": 5231, "name": "curTotalSupply", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4264, - "src": "17911:14:30", + "referencedDeclaration": 5224, + "src": "17896:14:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109583,18 +68716,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 4272, + "id": 5232, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4256, - "src": "17929:7:30", + "referencedDeclaration": 5216, + "src": "17914:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17911:25:30", + "src": "17896:25:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -109603,14 +68736,14 @@ { "argumentTypes": null, "hexValue": "4e6f20656e6f75676820737570706c79", - "id": 4274, + "id": 5234, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "17938:18:30", + "src": "17923:18:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_c25fb98db6bcd9a07964cd8723ae1d30e0a3be07aaaa8765f98b8c6af6e1635d", @@ -109630,21 +68763,21 @@ "typeString": "literal_string \"No enough supply\"" } ], - "id": 4270, + "id": 5230, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "17903:7:30", + "referencedDeclaration": 5711, + "src": "17888:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 4275, + "id": 5235, "isConstant": false, "isLValue": false, "isPure": false, @@ -109652,28 +68785,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17903:54:30", + "src": "17888:54:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4276, + "id": 5236, "nodeType": "ExpressionStatement", - "src": "17903:54:30" + "src": "17888:54:20" }, { "assignments": [ - 4278 + 5238 ], "declarations": [ { "constant": false, - "id": 4278, + "id": 5238, "name": "previousBalanceFrom", "nodeType": "VariableDeclaration", - "scope": 4318, - "src": "17967:24:30", + "scope": 5278, + "src": "17952:24:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -109681,10 +68814,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4277, + "id": 5237, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17967:4:30", + "src": "17952:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109694,18 +68827,18 @@ "visibility": "internal" } ], - "id": 4284, + "id": 5244, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 4280, + "id": 5240, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4254, - "src": "18006:6:30", + "referencedDeclaration": 5214, + "src": "17991:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -109715,18 +68848,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4281, + "id": 5241, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "18014:5:30", + "referencedDeclaration": 5697, + "src": "17999:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 4282, + "id": 5242, "isConstant": false, "isLValue": false, "isPure": false, @@ -109734,7 +68867,7 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18014:12:30", + "src": "17999:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109752,18 +68885,18 @@ "typeString": "uint256" } ], - "id": 4279, + "id": 5239, "name": "balanceOfAt", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4070, - "src": "17994:11:30", + "referencedDeclaration": 5030, + "src": "17979:11:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (address,uint256) view returns (uint256)" } }, - "id": 4283, + "id": 5243, "isConstant": false, "isLValue": false, "isPure": false, @@ -109771,14 +68904,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17994:33:30", + "src": "17979:33:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17967:60:30" + "src": "17952:60:20" }, { "expression": { @@ -109790,19 +68923,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4288, + "id": 5248, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4286, + "id": 5246, "name": "previousBalanceFrom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4278, - "src": "18045:19:30", + "referencedDeclaration": 5238, + "src": "18030:19:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109812,18 +68945,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 4287, + "id": 5247, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4256, - "src": "18068:7:30", + "referencedDeclaration": 5216, + "src": "18053:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18045:30:30", + "src": "18030:30:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -109832,14 +68965,14 @@ { "argumentTypes": null, "hexValue": "4e6f20656e6f7567682062616c616e6365", - "id": 4289, + "id": 5249, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "18077:19:30", + "src": "18062:19:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_91acb233573a88119467ef7e7a46a37a4c40e060bfe06ab39afcf8e7da0d418e", @@ -109859,21 +68992,21 @@ "typeString": "literal_string \"No enough balance\"" } ], - "id": 4285, + "id": 5245, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "18037:7:30", + "referencedDeclaration": 5711, + "src": "18022:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 4290, + "id": 5250, "isConstant": false, "isLValue": false, "isPure": false, @@ -109881,15 +69014,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18037:60:30", + "src": "18022:60:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4291, + "id": 5251, "nodeType": "ExpressionStatement", - "src": "18037:60:30" + "src": "18022:60:20" }, { "expression": { @@ -109897,14 +69030,14 @@ "arguments": [ { "argumentTypes": null, - "id": 4293, + "id": 5253, "name": "totalSupplyHistory", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3596, - "src": "18124:18:30", + "referencedDeclaration": 4556, + "src": "18109:18:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, @@ -109914,19 +69047,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4296, + "id": 5256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4294, + "id": 5254, "name": "curTotalSupply", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4264, - "src": "18144:14:30", + "referencedDeclaration": 5224, + "src": "18129:14:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109936,18 +69069,18 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 4295, + "id": 5255, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4256, - "src": "18161:7:30", + "referencedDeclaration": 5216, + "src": "18146:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18144:24:30", + "src": "18129:24:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -109957,7 +69090,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" }, { @@ -109965,18 +69098,18 @@ "typeString": "uint256" } ], - "id": 4292, + "id": 5252, "name": "updateValueAtNow", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4501, - "src": "18107:16:30", + "referencedDeclaration": 5461, + "src": "18092:16:20", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", + "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" } }, - "id": 4297, + "id": 5257, "isConstant": false, "isLValue": false, "isPure": false, @@ -109984,15 +69117,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18107:62:30", + "src": "18092:62:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4298, + "id": 5258, "nodeType": "ExpressionStatement", - "src": "18107:62:30" + "src": "18092:62:20" }, { "expression": { @@ -110002,26 +69135,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4300, + "id": 5260, "name": "balances", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3587, - "src": "18196:8:30", + "referencedDeclaration": 4547, + "src": "18181:8:20", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_$", "typeString": "mapping(address => struct MiniMeToken.Checkpoint storage ref[] storage ref)" } }, - "id": 4302, + "id": 5262, "indexExpression": { "argumentTypes": null, - "id": 4301, + "id": 5261, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4254, - "src": "18205:6:30", + "referencedDeclaration": 5214, + "src": "18190:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -110032,9 +69165,9 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18196:16:30", + "src": "18181:16:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" } }, @@ -110044,19 +69177,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4305, + "id": 5265, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4303, + "id": 5263, "name": "previousBalanceFrom", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4278, - "src": "18214:19:30", + "referencedDeclaration": 5238, + "src": "18199:19:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -110066,18 +69199,18 @@ "operator": "-", "rightExpression": { "argumentTypes": null, - "id": 4304, + "id": 5264, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4256, - "src": "18236:7:30", + "referencedDeclaration": 5216, + "src": "18221:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18214:29:30", + "src": "18199:29:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -110087,7 +69220,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage ref" }, { @@ -110095,18 +69228,18 @@ "typeString": "uint256" } ], - "id": 4299, + "id": 5259, "name": "updateValueAtNow", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4501, - "src": "18179:16:30", + "referencedDeclaration": 5461, + "src": "18164:16:20", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", + "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr_$_t_uint256_$returns$__$", "typeString": "function (struct MiniMeToken.Checkpoint storage ref[] storage pointer,uint256)" } }, - "id": 4306, + "id": 5266, "isConstant": false, "isLValue": false, "isPure": false, @@ -110114,15 +69247,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18179:65:30", + "src": "18164:65:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4307, + "id": 5267, "nodeType": "ExpressionStatement", - "src": "18179:65:30" + "src": "18164:65:20" }, { "eventCall": { @@ -110130,12 +69263,12 @@ "arguments": [ { "argumentTypes": null, - "id": 4309, + "id": 5269, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4254, - "src": "18268:6:30", + "referencedDeclaration": 5214, + "src": "18253:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -110147,14 +69280,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 4311, + "id": 5271, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18284:1:30", + "src": "18269:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -110170,20 +69303,20 @@ "typeString": "int_const 0" } ], - "id": 4310, + "id": 5270, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "18276:7:30", + "src": "18261:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4312, + "id": 5272, "isConstant": false, "isLValue": false, "isPure": true, @@ -110191,7 +69324,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18276:10:30", + "src": "18261:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -110199,12 +69332,12 @@ }, { "argumentTypes": null, - "id": 4313, + "id": 5273, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4256, - "src": "18288:7:30", + "referencedDeclaration": 5216, + "src": "18273:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -110226,18 +69359,18 @@ "typeString": "uint256" } ], - "id": 4308, + "id": 5268, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4642, - "src": "18259:8:30", + "referencedDeclaration": 5602, + "src": "18244:8:20", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 4314, + "id": 5274, "isConstant": false, "isLValue": false, "isPure": false, @@ -110245,28 +69378,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18259:37:30", + "src": "18244:37:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4315, + "id": 5275, "nodeType": "EmitStatement", - "src": "18254:42:30" + "src": "18239:42:20" }, { "expression": { "argumentTypes": null, "hexValue": "74727565", - "id": 4316, + "id": 5276, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "18313:4:30", + "src": "18298:4:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -110274,51 +69407,51 @@ }, "value": "true" }, - "functionReturnParameters": 4262, - "id": 4317, + "functionReturnParameters": 5222, + "id": 5277, "nodeType": "Return", - "src": "18306:11:30" + "src": "18291:11:20" } ] }, "documentation": "@notice Burns `_amount` tokens from `_owner`\n@param _owner The address that will lose the tokens\n@param _amount The quantity of tokens to burn\n@return True if the tokens are burned correctly", - "id": 4319, + "id": 5279, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 4259, + "id": 5219, "modifierName": { "argumentTypes": null, - "id": 4258, + "id": 5218, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "17792:14:30", + "referencedDeclaration": 13, + "src": "17777:14:20", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "17792:14:30" + "src": "17777:14:20" } ], "name": "destroyTokens", "nodeType": "FunctionDefinition", "parameters": { - "id": 4257, + "id": 5217, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4254, + "id": 5214, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 4319, - "src": "17726:14:30", + "scope": 5279, + "src": "17711:14:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -110326,10 +69459,10 @@ "typeString": "address" }, "typeName": { - "id": 4253, + "id": 5213, "name": "address", "nodeType": "ElementaryTypeName", - "src": "17726:7:30", + "src": "17711:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -110341,11 +69474,11 @@ }, { "constant": false, - "id": 4256, + "id": 5216, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 4319, - "src": "17750:12:30", + "scope": 5279, + "src": "17735:12:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -110353,10 +69486,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4255, + "id": 5215, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17750:4:30", + "src": "17735:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -110366,19 +69499,19 @@ "visibility": "internal" } ], - "src": "17716:52:30" + "src": "17701:52:20" }, "returnParameters": { - "id": 4262, + "id": 5222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4261, + "id": 5221, "name": "", "nodeType": "VariableDeclaration", - "scope": 4319, - "src": "17824:4:30", + "scope": 5279, + "src": "17809:4:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -110386,10 +69519,10 @@ "typeString": "bool" }, "typeName": { - "id": 4260, + "id": 5220, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "17824:4:30", + "src": "17809:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -110399,36 +69532,36 @@ "visibility": "internal" } ], - "src": "17823:6:30" + "src": "17808:6:20" }, - "scope": 4657, - "src": "17694:630:30", + "scope": 5617, + "src": "17679:630:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 4330, + "id": 5290, "nodeType": "Block", - "src": "18631:53:30", + "src": "18616:53:20", "statements": [ { "expression": { "argumentTypes": null, - "id": 4328, + "id": 5288, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 4326, + "id": 5286, "name": "transfersEnabled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3598, - "src": "18641:16:30", + "referencedDeclaration": 4558, + "src": "18626:16:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -110438,67 +69571,67 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 4327, + "id": 5287, "name": "_transfersEnabled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4321, - "src": "18660:17:30", + "referencedDeclaration": 5281, + "src": "18645:17:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "18641:36:30", + "src": "18626:36:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 4329, + "id": 5289, "nodeType": "ExpressionStatement", - "src": "18641:36:30" + "src": "18626:36:20" } ] }, "documentation": "@notice Enables token holders to transfer their tokens freely if true\n@param _transfersEnabled True if transfers are allowed in the clone", - "id": 4331, + "id": 5291, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 4324, + "id": 5284, "modifierName": { "argumentTypes": null, - "id": 4323, + "id": 5283, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "18616:14:30", + "referencedDeclaration": 13, + "src": "18601:14:20", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "18616:14:30" + "src": "18601:14:20" } ], "name": "enableTransfers", "nodeType": "FunctionDefinition", "parameters": { - "id": 4322, + "id": 5282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4321, + "id": 5281, "name": "_transfersEnabled", "nodeType": "VariableDeclaration", - "scope": 4331, - "src": "18585:22:30", + "scope": 5291, + "src": "18570:22:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -110506,10 +69639,10 @@ "typeString": "bool" }, "typeName": { - "id": 4320, + "id": 5280, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18585:4:30", + "src": "18570:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -110519,25 +69652,25 @@ "visibility": "internal" } ], - "src": "18584:24:30" + "src": "18569:24:20" }, "returnParameters": { - "id": 4325, + "id": 5285, "nodeType": "ParameterList", "parameters": [], - "src": "18631:0:30" + "src": "18616:0:20" }, - "scope": 4657, - "src": "18560:124:30", + "scope": 5617, + "src": "18545:124:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 4429, + "id": 5389, "nodeType": "Block", - "src": "19216:721:30", + "src": "19201:721:20", "statements": [ { "condition": { @@ -110546,7 +69679,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4344, + "id": 5304, "isConstant": false, "isLValue": false, "isPure": false, @@ -110555,18 +69688,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4341, + "id": 5301, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4334, - "src": "19230:11:30", + "referencedDeclaration": 5294, + "src": "19215:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4342, + "id": 5302, "isConstant": false, "isLValue": true, "isPure": false, @@ -110574,7 +69707,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19230:18:30", + "src": "19215:18:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -110585,14 +69718,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 4343, + "id": 5303, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19252:1:30", + "src": "19237:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -110600,33 +69733,33 @@ }, "value": "0" }, - "src": "19230:23:30", + "src": "19215:23:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 4348, + "id": 5308, "nodeType": "IfStatement", - "src": "19226:62:30", + "src": "19211:62:20", "trueBody": { - "id": 4347, + "id": 5307, "nodeType": "Block", - "src": "19255:33:30", + "src": "19240:33:20", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "30", - "id": 4345, + "id": 5305, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19276:1:30", + "src": "19261:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -110634,10 +69767,10 @@ }, "value": "0" }, - "functionReturnParameters": 4340, - "id": 4346, + "functionReturnParameters": 5300, + "id": 5306, "nodeType": "Return", - "src": "19269:8:30" + "src": "19254:8:20" } ] } @@ -110649,19 +69782,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4357, + "id": 5317, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4349, + "id": 5309, "name": "_block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4336, - "src": "19343:6:30", + "referencedDeclaration": 5296, + "src": "19328:6:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -110675,25 +69808,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4350, + "id": 5310, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4334, - "src": "19353:11:30", + "referencedDeclaration": 5294, + "src": "19338:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4355, + "id": 5315, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4354, + "id": 5314, "isConstant": false, "isLValue": false, "isPure": false, @@ -110702,18 +69835,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4351, + "id": 5311, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4334, - "src": "19365:11:30", + "referencedDeclaration": 5294, + "src": "19350:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4352, + "id": 5312, "isConstant": false, "isLValue": true, "isPure": false, @@ -110721,7 +69854,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19365:18:30", + "src": "19350:18:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -110732,14 +69865,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 4353, + "id": 5313, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19384:1:30", + "src": "19369:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -110747,7 +69880,7 @@ }, "value": "1" }, - "src": "19365:20:30", + "src": "19350:20:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -110758,40 +69891,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19353:33:30", + "src": "19338:33:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref" } }, - "id": 4356, + "id": 5316, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "fromBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 3573, - "src": "19353:43:30", + "referencedDeclaration": 4533, + "src": "19338:43:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, - "src": "19343:53:30", + "src": "19328:53:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 4367, + "id": 5327, "nodeType": "IfStatement", - "src": "19339:130:30", + "src": "19324:130:20", "trueBody": { - "id": 4366, + "id": 5326, "nodeType": "Block", - "src": "19398:71:30", + "src": "19383:71:20", "statements": [ { "expression": { @@ -110800,25 +69933,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4358, + "id": 5318, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4334, - "src": "19419:11:30", + "referencedDeclaration": 5294, + "src": "19404:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4363, + "id": 5323, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4362, + "id": 5322, "isConstant": false, "isLValue": false, "isPure": false, @@ -110827,18 +69960,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4359, + "id": 5319, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4334, - "src": "19431:11:30", + "referencedDeclaration": 5294, + "src": "19416:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4360, + "id": 5320, "isConstant": false, "isLValue": true, "isPure": false, @@ -110846,7 +69979,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19431:18:30", + "src": "19416:18:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -110857,14 +69990,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 4361, + "id": 5321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19450:1:30", + "src": "19435:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -110872,7 +70005,7 @@ }, "value": "1" }, - "src": "19431:20:30", + "src": "19416:20:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -110883,30 +70016,30 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19419:33:30", + "src": "19404:33:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref" } }, - "id": 4364, + "id": 5324, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "value", "nodeType": "MemberAccess", - "referencedDeclaration": 3575, - "src": "19419:39:30", + "referencedDeclaration": 4535, + "src": "19404:39:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, - "functionReturnParameters": 4340, - "id": 4365, + "functionReturnParameters": 5300, + "id": 5325, "nodeType": "Return", - "src": "19412:46:30" + "src": "19397:46:20" } ] } @@ -110918,19 +70051,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4373, + "id": 5333, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4368, + "id": 5328, "name": "_block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4336, - "src": "19482:6:30", + "referencedDeclaration": 5296, + "src": "19467:6:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -110944,29 +70077,29 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4369, + "id": 5329, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4334, - "src": "19491:11:30", + "referencedDeclaration": 5294, + "src": "19476:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4371, + "id": 5331, "indexExpression": { "argumentTypes": null, "hexValue": "30", - "id": 4370, + "id": 5330, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19503:1:30", + "src": "19488:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -110979,53 +70112,53 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19491:14:30", + "src": "19476:14:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref" } }, - "id": 4372, + "id": 5332, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "fromBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 3573, - "src": "19491:24:30", + "referencedDeclaration": 4533, + "src": "19476:24:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, - "src": "19482:33:30", + "src": "19467:33:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 4377, + "id": 5337, "nodeType": "IfStatement", - "src": "19478:72:30", + "src": "19463:72:20", "trueBody": { - "id": 4376, + "id": 5336, "nodeType": "Block", - "src": "19517:33:30", + "src": "19502:33:20", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "30", - "id": 4374, + "id": 5334, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19538:1:30", + "src": "19523:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -111033,26 +70166,26 @@ }, "value": "0" }, - "functionReturnParameters": 4340, - "id": 4375, + "functionReturnParameters": 5300, + "id": 5335, "nodeType": "Return", - "src": "19531:8:30" + "src": "19516:8:20" } ] } }, { "assignments": [ - 4379 + 5339 ], "declarations": [ { "constant": false, - "id": 4379, + "id": 5339, "name": "min", "nodeType": "VariableDeclaration", - "scope": 4429, - "src": "19611:8:30", + "scope": 5389, + "src": "19596:8:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -111060,10 +70193,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4378, + "id": 5338, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19611:4:30", + "src": "19596:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111073,18 +70206,18 @@ "visibility": "internal" } ], - "id": 4381, + "id": 5341, "initialValue": { "argumentTypes": null, "hexValue": "30", - "id": 4380, + "id": 5340, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19622:1:30", + "src": "19607:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -111093,20 +70226,20 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "19611:12:30" + "src": "19596:12:20" }, { "assignments": [ - 4383 + 5343 ], "declarations": [ { "constant": false, - "id": 4383, + "id": 5343, "name": "max", "nodeType": "VariableDeclaration", - "scope": 4429, - "src": "19633:8:30", + "scope": 5389, + "src": "19618:8:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -111114,10 +70247,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4382, + "id": 5342, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19633:4:30", + "src": "19618:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111127,14 +70260,14 @@ "visibility": "internal" } ], - "id": 4388, + "id": 5348, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4387, + "id": 5347, "isConstant": false, "isLValue": false, "isPure": false, @@ -111143,18 +70276,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4384, + "id": 5344, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4334, - "src": "19644:11:30", + "referencedDeclaration": 5294, + "src": "19629:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4385, + "id": 5345, "isConstant": false, "isLValue": true, "isPure": false, @@ -111162,7 +70295,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19644:18:30", + "src": "19629:18:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111173,14 +70306,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 4386, + "id": 5346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19663:1:30", + "src": "19648:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -111188,33 +70321,33 @@ }, "value": "1" }, - "src": "19644:20:30", + "src": "19629:20:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "19633:31:30" + "src": "19618:31:20" }, { "body": { - "id": 4422, + "id": 5382, "nodeType": "Block", - "src": "19692:200:30", + "src": "19677:200:20", "statements": [ { "assignments": [ - 4393 + 5353 ], "declarations": [ { "constant": false, - "id": 4393, + "id": 5353, "name": "mid", "nodeType": "VariableDeclaration", - "scope": 4422, - "src": "19706:8:30", + "scope": 5382, + "src": "19691:8:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -111222,10 +70355,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4392, + "id": 5352, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19706:4:30", + "src": "19691:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111235,14 +70368,14 @@ "visibility": "internal" } ], - "id": 4402, + "id": 5362, "initialValue": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4401, + "id": 5361, "isConstant": false, "isLValue": false, "isPure": false, @@ -111256,7 +70389,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4398, + "id": 5358, "isConstant": false, "isLValue": false, "isPure": false, @@ -111267,19 +70400,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4396, + "id": 5356, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4394, + "id": 5354, "name": "max", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4383, - "src": "19718:3:30", + "referencedDeclaration": 5343, + "src": "19703:3:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111289,18 +70422,18 @@ "operator": "+", "rightExpression": { "argumentTypes": null, - "id": 4395, + "id": 5355, "name": "min", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4379, - "src": "19724:3:30", + "referencedDeclaration": 5339, + "src": "19709:3:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "19718:9:30", + "src": "19703:9:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111311,14 +70444,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 4397, + "id": 5357, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19730:1:30", + "src": "19715:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -111326,21 +70459,21 @@ }, "value": "1" }, - "src": "19718:13:30", + "src": "19703:13:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 4399, + "id": 5359, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "19717:15:30", + "src": "19702:15:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111351,14 +70484,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "32", - "id": 4400, + "id": 5360, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19735:1:30", + "src": "19720:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -111366,14 +70499,14 @@ }, "value": "2" }, - "src": "19717:19:30", + "src": "19702:19:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "19706:30:30" + "src": "19691:30:20" }, { "condition": { @@ -111382,7 +70515,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4408, + "id": 5368, "isConstant": false, "isLValue": false, "isPure": false, @@ -111393,26 +70526,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4403, + "id": 5363, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4334, - "src": "19754:11:30", + "referencedDeclaration": 5294, + "src": "19739:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4405, + "id": 5365, "indexExpression": { "argumentTypes": null, - "id": 4404, + "id": 5364, "name": "mid", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4393, - "src": "19766:3:30", + "referencedDeclaration": 5353, + "src": "19751:3:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111423,21 +70556,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19754:16:30", + "src": "19739:16:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref" } }, - "id": 4406, + "id": 5366, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "fromBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 3573, - "src": "19754:26:30", + "referencedDeclaration": 4533, + "src": "19739:26:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" @@ -111447,44 +70580,44 @@ "operator": "<=", "rightExpression": { "argumentTypes": null, - "id": 4407, + "id": 5367, "name": "_block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4336, - "src": "19782:6:30", + "referencedDeclaration": 5296, + "src": "19767:6:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "19754:34:30", + "src": "19739:34:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 4420, + "id": 5380, "nodeType": "Block", - "src": "19838:44:30", + "src": "19823:44:20", "statements": [ { "expression": { "argumentTypes": null, - "id": 4418, + "id": 5378, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 4414, + "id": 5374, "name": "max", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4383, - "src": "19856:3:30", + "referencedDeclaration": 5343, + "src": "19841:3:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111498,19 +70631,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4417, + "id": 5377, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4415, + "id": 5375, "name": "mid", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4393, - "src": "19862:3:30", + "referencedDeclaration": 5353, + "src": "19847:3:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111521,14 +70654,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 4416, + "id": 5376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19866:1:30", + "src": "19851:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -111536,48 +70669,48 @@ }, "value": "1" }, - "src": "19862:5:30", + "src": "19847:5:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "19856:11:30", + "src": "19841:11:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 4419, + "id": 5379, "nodeType": "ExpressionStatement", - "src": "19856:11:30" + "src": "19841:11:20" } ] }, - "id": 4421, + "id": 5381, "nodeType": "IfStatement", - "src": "19750:132:30", + "src": "19735:132:20", "trueBody": { - "id": 4413, + "id": 5373, "nodeType": "Block", - "src": "19790:42:30", + "src": "19775:42:20", "statements": [ { "expression": { "argumentTypes": null, - "id": 4411, + "id": 5371, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 4409, + "id": 5369, "name": "min", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4379, - "src": "19808:3:30", + "referencedDeclaration": 5339, + "src": "19793:3:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111587,26 +70720,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 4410, + "id": 5370, "name": "mid", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4393, - "src": "19814:3:30", + "referencedDeclaration": 5353, + "src": "19799:3:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "19808:9:30", + "src": "19793:9:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 4412, + "id": 5372, "nodeType": "ExpressionStatement", - "src": "19808:9:30" + "src": "19793:9:20" } ] } @@ -111619,19 +70752,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4391, + "id": 5351, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4389, + "id": 5349, "name": "max", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4383, - "src": "19681:3:30", + "referencedDeclaration": 5343, + "src": "19666:3:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111641,26 +70774,26 @@ "operator": ">", "rightExpression": { "argumentTypes": null, - "id": 4390, + "id": 5350, "name": "min", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4379, - "src": "19687:3:30", + "referencedDeclaration": 5339, + "src": "19672:3:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "19681:9:30", + "src": "19666:9:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 4423, + "id": 5383, "nodeType": "WhileStatement", - "src": "19674:218:30" + "src": "19659:218:20" }, { "expression": { @@ -111669,26 +70802,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4424, + "id": 5384, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4334, - "src": "19908:11:30", + "referencedDeclaration": 5294, + "src": "19893:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4426, + "id": 5386, "indexExpression": { "argumentTypes": null, - "id": 4425, + "id": 5385, "name": "min", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4379, - "src": "19920:3:30", + "referencedDeclaration": 5339, + "src": "19905:3:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111699,76 +70832,76 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19908:16:30", + "src": "19893:16:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref" } }, - "id": 4427, + "id": 5387, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "value", "nodeType": "MemberAccess", - "referencedDeclaration": 3575, - "src": "19908:22:30", + "referencedDeclaration": 4535, + "src": "19893:22:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, - "functionReturnParameters": 4340, - "id": 4428, + "functionReturnParameters": 5300, + "id": 5388, "nodeType": "Return", - "src": "19901:29:30" + "src": "19886:29:20" } ] }, "documentation": "@dev `getValueAt` retrieves the number of tokens at a given block number\n@param checkpoints The history of values being queried\n@param _block The block number to retrieve the value at\n@return The number of tokens being queried", - "id": 4430, + "id": 5390, "implemented": true, "kind": "function", "modifiers": [], "name": "getValueAt", "nodeType": "FunctionDefinition", "parameters": { - "id": 4337, + "id": 5297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4334, + "id": 5294, "name": "checkpoints", "nodeType": "VariableDeclaration", - "scope": 4430, - "src": "19099:32:30", + "scope": 5390, + "src": "19084:32:20", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 4332, + "id": 5292, "name": "Checkpoint", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3576, - "src": "19099:10:30", + "referencedDeclaration": 4536, + "src": "19084:10:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage_ptr", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint" } }, - "id": 4333, + "id": 5293, "length": null, "nodeType": "ArrayTypeName", - "src": "19099:12:30", + "src": "19084:12:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint[]" } }, @@ -111777,11 +70910,11 @@ }, { "constant": false, - "id": 4336, + "id": 5296, "name": "_block", "nodeType": "VariableDeclaration", - "scope": 4430, - "src": "19141:11:30", + "scope": 5390, + "src": "19126:11:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -111789,10 +70922,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4335, + "id": 5295, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19141:4:30", + "src": "19126:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111802,19 +70935,19 @@ "visibility": "internal" } ], - "src": "19089:69:30" + "src": "19074:69:20" }, "returnParameters": { - "id": 4340, + "id": 5300, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4339, + "id": 5299, "name": "", "nodeType": "VariableDeclaration", - "scope": 4430, - "src": "19206:4:30", + "scope": 5390, + "src": "19191:4:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -111822,10 +70955,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4338, + "id": 5298, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19206:4:30", + "src": "19191:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111835,19 +70968,19 @@ "visibility": "internal" } ], - "src": "19205:6:30" + "src": "19190:6:20" }, - "scope": 4657, - "src": "19070:867:30", + "scope": 5617, + "src": "19055:867:20", "stateMutability": "view", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 4500, + "id": 5460, "nodeType": "Block", - "src": "20249:467:30", + "src": "20234:467:20", "statements": [ { "condition": { @@ -111856,7 +70989,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 4454, + "id": 5414, "isConstant": false, "isLValue": false, "isPure": false, @@ -111870,7 +71003,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4441, + "id": 5401, "isConstant": false, "isLValue": false, "isPure": false, @@ -111879,18 +71012,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4438, + "id": 5398, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4433, - "src": "20264:11:30", + "referencedDeclaration": 5393, + "src": "20249:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4439, + "id": 5399, "isConstant": false, "isLValue": true, "isPure": false, @@ -111898,7 +71031,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "20264:18:30", + "src": "20249:18:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -111909,14 +71042,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 4440, + "id": 5400, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "20286:1:30", + "src": "20271:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -111924,21 +71057,21 @@ }, "value": "0" }, - "src": "20264:23:30", + "src": "20249:23:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 4442, + "id": 5402, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "20263:25:30", + "src": "20248:25:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -111955,7 +71088,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4452, + "id": 5412, "isConstant": false, "isLValue": false, "isPure": false, @@ -111966,25 +71099,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4443, + "id": 5403, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4433, - "src": "20293:11:30", + "referencedDeclaration": 5393, + "src": "20278:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4448, + "id": 5408, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4447, + "id": 5407, "isConstant": false, "isLValue": false, "isPure": false, @@ -111993,18 +71126,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4444, + "id": 5404, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4433, - "src": "20305:11:30", + "referencedDeclaration": 5393, + "src": "20290:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4445, + "id": 5405, "isConstant": false, "isLValue": true, "isPure": false, @@ -112012,7 +71145,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "20305:18:30", + "src": "20290:18:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -112023,14 +71156,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 4446, + "id": 5406, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "20325:1:30", + "src": "20310:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -112038,7 +71171,7 @@ }, "value": "1" }, - "src": "20305:21:30", + "src": "20290:21:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -112049,21 +71182,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "20293:34:30", + "src": "20278:34:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref" } }, - "id": 4449, + "id": 5409, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "fromBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 3573, - "src": "20293:44:30", + "referencedDeclaration": 4533, + "src": "20278:44:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" @@ -112075,18 +71208,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4450, + "id": 5410, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "20340:5:30", + "referencedDeclaration": 5697, + "src": "20325:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 4451, + "id": 5411, "isConstant": false, "isLValue": false, "isPure": false, @@ -112094,70 +71227,70 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "20340:12:30", + "src": "20325:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20293:59:30", + "src": "20278:59:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 4453, + "id": 5413, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "20292:61:30", + "src": "20277:61:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "20263:90:30", + "src": "20248:90:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 4498, + "id": 5458, "nodeType": "Block", - "src": "20566:144:30", + "src": "20551:144:20", "statements": [ { "assignments": [ - 4482 + 5442 ], "declarations": [ { "constant": false, - "id": 4482, + "id": 5442, "name": "oldCheckPoint", "nodeType": "VariableDeclaration", - "scope": 4498, - "src": "20580:32:30", + "scope": 5458, + "src": "20565:32:20", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage_ptr", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint" }, "typeName": { "contractScope": null, - "id": 4481, + "id": 5441, "name": "Checkpoint", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3576, - "src": "20580:10:30", + "referencedDeclaration": 4536, + "src": "20565:10:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage_ptr", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint" } }, @@ -112165,30 +71298,30 @@ "visibility": "internal" } ], - "id": 4489, + "id": 5449, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4483, + "id": 5443, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4433, - "src": "20615:11:30", + "referencedDeclaration": 5393, + "src": "20600:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4488, + "id": 5448, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4487, + "id": 5447, "isConstant": false, "isLValue": false, "isPure": false, @@ -112197,18 +71330,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4484, + "id": 5444, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4433, - "src": "20627:11:30", + "referencedDeclaration": 5393, + "src": "20612:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4485, + "id": 5445, "isConstant": false, "isLValue": true, "isPure": false, @@ -112216,7 +71349,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "20627:18:30", + "src": "20612:18:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -112227,14 +71360,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 4486, + "id": 5446, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "20646:1:30", + "src": "20631:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -112242,7 +71375,7 @@ }, "value": "1" }, - "src": "20627:20:30", + "src": "20612:20:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -112253,19 +71386,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "20615:33:30", + "src": "20600:33:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "20580:68:30" + "src": "20565:68:20" }, { "expression": { "argumentTypes": null, - "id": 4496, + "id": 5456, "isConstant": false, "isLValue": false, "isPure": false, @@ -112274,26 +71407,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4490, + "id": 5450, "name": "oldCheckPoint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4482, - "src": "20662:13:30", + "referencedDeclaration": 5442, + "src": "20647:13:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage_ptr", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage pointer" } }, - "id": 4492, + "id": 5452, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "value", "nodeType": "MemberAccess", - "referencedDeclaration": 3575, - "src": "20662:19:30", + "referencedDeclaration": 4535, + "src": "20647:19:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" @@ -112306,12 +71439,12 @@ "arguments": [ { "argumentTypes": null, - "id": 4494, + "id": 5454, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4435, - "src": "20692:6:30", + "referencedDeclaration": 5395, + "src": "20677:6:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -112325,20 +71458,20 @@ "typeString": "uint256" } ], - "id": 4493, + "id": 5453, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20684:7:30", + "src": "20669:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint128_$", "typeString": "type(uint128)" }, "typeName": "uint128" }, - "id": 4495, + "id": 5455, "isConstant": false, "isLValue": false, "isPure": false, @@ -112346,59 +71479,59 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20684:15:30", + "src": "20669:15:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, - "src": "20662:37:30", + "src": "20647:37:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, - "id": 4497, + "id": 5457, "nodeType": "ExpressionStatement", - "src": "20662:37:30" + "src": "20647:37:20" } ] }, - "id": 4499, + "id": 5459, "nodeType": "IfStatement", - "src": "20259:451:30", + "src": "20244:451:20", "trueBody": { - "id": 4480, + "id": 5440, "nodeType": "Block", - "src": "20355:205:30", + "src": "20340:205:20", "statements": [ { "assignments": [ - 4456 + 5416 ], "declarations": [ { "constant": false, - "id": 4456, + "id": 5416, "name": "newCheckPoint", "nodeType": "VariableDeclaration", - "scope": 4480, - "src": "20369:32:30", + "scope": 5440, + "src": "20354:32:20", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage_ptr", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint" }, "typeName": { "contractScope": null, - "id": 4455, + "id": 5415, "name": "Checkpoint", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3576, - "src": "20369:10:30", + "referencedDeclaration": 4536, + "src": "20354:10:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage_ptr", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint" } }, @@ -112406,26 +71539,26 @@ "visibility": "internal" } ], - "id": 4462, + "id": 5422, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 4457, + "id": 5417, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4433, - "src": "20404:11:30", + "referencedDeclaration": 5393, + "src": "20389:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4461, + "id": 5421, "indexExpression": { "argumentTypes": null, - "id": 4460, + "id": 5420, "isConstant": false, "isLValue": false, "isPure": false, @@ -112433,23 +71566,23 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "20416:20:30", + "src": "20401:20:20", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4458, + "id": 5418, "name": "checkpoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4433, - "src": "20416:11:30", + "referencedDeclaration": 5393, + "src": "20401:11:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage ref[] storage pointer" } }, - "id": 4459, + "id": 5419, "isConstant": false, "isLValue": true, "isPure": false, @@ -112457,7 +71590,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "20416:18:30", + "src": "20401:18:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -112473,19 +71606,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "20404:33:30", + "src": "20389:33:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage", "typeString": "struct MiniMeToken.Checkpoint storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "20369:68:30" + "src": "20354:68:20" }, { "expression": { "argumentTypes": null, - "id": 4470, + "id": 5430, "isConstant": false, "isLValue": false, "isPure": false, @@ -112494,26 +71627,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4463, + "id": 5423, "name": "newCheckPoint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4456, - "src": "20451:13:30", + "referencedDeclaration": 5416, + "src": "20436:13:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage_ptr", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage pointer" } }, - "id": 4465, + "id": 5425, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "fromBlock", "nodeType": "MemberAccess", - "referencedDeclaration": 3573, - "src": "20451:23:30", + "referencedDeclaration": 4533, + "src": "20436:23:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" @@ -112528,18 +71661,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4467, + "id": 5427, "name": "block", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9443, - "src": "20485:5:30", + "referencedDeclaration": 5697, + "src": "20470:5:20", "typeDescriptions": { "typeIdentifier": "t_magic_block", "typeString": "block" } }, - "id": 4468, + "id": 5428, "isConstant": false, "isLValue": false, "isPure": false, @@ -112547,7 +71680,7 @@ "memberName": "number", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "20485:12:30", + "src": "20470:12:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -112561,20 +71694,20 @@ "typeString": "uint256" } ], - "id": 4466, + "id": 5426, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20477:7:30", + "src": "20462:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint128_$", "typeString": "type(uint128)" }, "typeName": "uint128" }, - "id": 4469, + "id": 5429, "isConstant": false, "isLValue": false, "isPure": false, @@ -112582,26 +71715,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20477:21:30", + "src": "20462:21:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, - "src": "20451:47:30", + "src": "20436:47:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, - "id": 4471, + "id": 5431, "nodeType": "ExpressionStatement", - "src": "20451:47:30" + "src": "20436:47:20" }, { "expression": { "argumentTypes": null, - "id": 4478, + "id": 5438, "isConstant": false, "isLValue": false, "isPure": false, @@ -112610,26 +71743,26 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4472, + "id": 5432, "name": "newCheckPoint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4456, - "src": "20512:13:30", + "referencedDeclaration": 5416, + "src": "20497:13:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage_ptr", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint storage pointer" } }, - "id": 4474, + "id": 5434, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "value", "nodeType": "MemberAccess", - "referencedDeclaration": 3575, - "src": "20512:19:30", + "referencedDeclaration": 4535, + "src": "20497:19:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" @@ -112642,12 +71775,12 @@ "arguments": [ { "argumentTypes": null, - "id": 4476, + "id": 5436, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4435, - "src": "20542:6:30", + "referencedDeclaration": 5395, + "src": "20527:6:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -112661,20 +71794,20 @@ "typeString": "uint256" } ], - "id": 4475, + "id": 5435, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20534:7:30", + "src": "20519:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint128_$", "typeString": "type(uint128)" }, "typeName": "uint128" }, - "id": 4477, + "id": 5437, "isConstant": false, "isLValue": false, "isPure": false, @@ -112682,21 +71815,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20534:15:30", + "src": "20519:15:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, - "src": "20512:37:30", + "src": "20497:37:20", "typeDescriptions": { "typeIdentifier": "t_uint128", "typeString": "uint128" } }, - "id": 4479, + "id": 5439, "nodeType": "ExpressionStatement", - "src": "20512:37:30" + "src": "20497:37:20" } ] } @@ -112704,48 +71837,48 @@ ] }, "documentation": "@dev `updateValueAtNow` used to update the `balances` map and the\n `totalSupplyHistory`\n@param checkpoints The history of data being updated\n@param _value The new number of tokens", - "id": 4501, + "id": 5461, "implemented": true, "kind": "function", "modifiers": [], "name": "updateValueAtNow", "nodeType": "FunctionDefinition", "parameters": { - "id": 4436, + "id": 5396, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4433, + "id": 5393, "name": "checkpoints", "nodeType": "VariableDeclaration", - "scope": 4501, - "src": "20193:32:30", + "scope": 5461, + "src": "20178:32:20", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint[]" }, "typeName": { "baseType": { "contractScope": null, - "id": 4431, + "id": 5391, "name": "Checkpoint", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3576, - "src": "20193:10:30", + "referencedDeclaration": 4536, + "src": "20178:10:20", "typeDescriptions": { - "typeIdentifier": "t_struct$_Checkpoint_$3576_storage_ptr", + "typeIdentifier": "t_struct$_Checkpoint_$4536_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint" } }, - "id": 4432, + "id": 5392, "length": null, "nodeType": "ArrayTypeName", - "src": "20193:12:30", + "src": "20178:12:20", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_Checkpoint_$3576_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_Checkpoint_$4536_storage_$dyn_storage_ptr", "typeString": "struct MiniMeToken.Checkpoint[]" } }, @@ -112754,11 +71887,11 @@ }, { "constant": false, - "id": 4435, + "id": 5395, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 4501, - "src": "20227:11:30", + "scope": 5461, + "src": "20212:11:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -112766,10 +71899,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4434, + "id": 5394, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "20227:4:30", + "src": "20212:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -112779,38 +71912,38 @@ "visibility": "internal" } ], - "src": "20192:47:30" + "src": "20177:47:20" }, "returnParameters": { - "id": 4437, + "id": 5397, "nodeType": "ParameterList", "parameters": [], - "src": "20249:0:30" + "src": "20234:0:20" }, - "scope": 4657, - "src": "20167:549:30", + "scope": 5617, + "src": "20152:549:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 4525, + "id": 5485, "nodeType": "Block", - "src": "20963:187:30", + "src": "20948:187:20", "statements": [ { "assignments": [ - 4509 + 5469 ], "declarations": [ { "constant": false, - "id": 4509, + "id": 5469, "name": "size", "nodeType": "VariableDeclaration", - "scope": 4525, - "src": "20973:9:30", + "scope": 5485, + "src": "20958:9:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -112818,10 +71951,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4508, + "id": 5468, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "20973:4:30", + "src": "20958:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -112831,10 +71964,10 @@ "visibility": "internal" } ], - "id": 4510, + "id": 5470, "initialValue": null, "nodeType": "VariableDeclarationStatement", - "src": "20973:9:30" + "src": "20958:9:20" }, { "condition": { @@ -112843,19 +71976,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 4515, + "id": 5475, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4511, + "id": 5471, "name": "_addr", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4503, - "src": "20996:5:30", + "referencedDeclaration": 5463, + "src": "20981:5:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -112869,14 +72002,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 4513, + "id": 5473, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21013:1:30", + "src": "20998:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -112892,20 +72025,20 @@ "typeString": "int_const 0" } ], - "id": 4512, + "id": 5472, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "21005:7:30", + "src": "20990:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4514, + "id": 5474, "isConstant": false, "isLValue": false, "isPure": true, @@ -112913,39 +72046,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21005:10:30", + "src": "20990:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "20996:19:30", + "src": "20981:19:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 4519, + "id": 5479, "nodeType": "IfStatement", - "src": "20992:61:30", + "src": "20977:61:20", "trueBody": { - "id": 4518, + "id": 5478, "nodeType": "Block", - "src": "21016:37:30", + "src": "21001:37:20", "statements": [ { "expression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 4516, + "id": 5476, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "21037:5:30", + "src": "21022:5:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -112953,10 +72086,10 @@ }, "value": "false" }, - "functionReturnParameters": 4507, - "id": 4517, + "functionReturnParameters": 5467, + "id": 5477, "nodeType": "Return", - "src": "21030:12:30" + "src": "21015:12:20" } ] } @@ -112965,27 +72098,27 @@ "externalReferences": [ { "size": { - "declaration": 4509, + "declaration": 5469, "isOffset": false, "isSlot": false, - "src": "21085:4:30", + "src": "21070:4:20", "valueSize": 1 } }, { "_addr": { - "declaration": 4503, + "declaration": 5463, "isOffset": false, "isSlot": false, - "src": "21105:5:30", + "src": "21090:5:20", "valueSize": 1 } } ], - "id": 4520, + "id": 5480, "nodeType": "InlineAssembly", "operations": "{\n size := extcodesize(_addr)\n}", - "src": "21062:74:30" + "src": "21047:74:20" }, { "expression": { @@ -112994,19 +72127,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4523, + "id": 5483, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4521, + "id": 5481, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4509, - "src": "21137:4:30", + "referencedDeclaration": 5469, + "src": "21122:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -113017,14 +72150,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 4522, + "id": 5482, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21142:1:30", + "src": "21127:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -113032,37 +72165,37 @@ }, "value": "0" }, - "src": "21137:6:30", + "src": "21122:6:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 4507, - "id": 4524, + "functionReturnParameters": 5467, + "id": 5484, "nodeType": "Return", - "src": "21130:13:30" + "src": "21115:13:20" } ] }, "documentation": "@dev Internal function to determine if an address is a contract\n@param _addr The address being queried\n@return True if `_addr` is a contract", - "id": 4526, + "id": 5486, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 4504, + "id": 5464, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4503, + "id": 5463, "name": "_addr", "nodeType": "VariableDeclaration", - "scope": 4526, - "src": "20920:13:30", + "scope": 5486, + "src": "20905:13:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -113070,10 +72203,10 @@ "typeString": "address" }, "typeName": { - "id": 4502, + "id": 5462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20920:7:30", + "src": "20905:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -113084,19 +72217,19 @@ "visibility": "internal" } ], - "src": "20919:15:30" + "src": "20904:15:20" }, "returnParameters": { - "id": 4507, + "id": 5467, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4506, + "id": 5466, "name": "", "nodeType": "VariableDeclaration", - "scope": 4526, - "src": "20957:4:30", + "scope": 5486, + "src": "20942:4:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -113104,10 +72237,10 @@ "typeString": "bool" }, "typeName": { - "id": 4505, + "id": 5465, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20957:4:30", + "src": "20942:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -113117,19 +72250,19 @@ "visibility": "internal" } ], - "src": "20956:6:30" + "src": "20941:6:20" }, - "scope": 4657, - "src": "20900:250:30", + "scope": 5617, + "src": "20885:250:20", "stateMutability": "view", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 4542, + "id": 5502, "nodeType": "Block", - "src": "21295:37:30", + "src": "21280:37:20", "statements": [ { "expression": { @@ -113140,19 +72273,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 4537, + "id": 5497, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4535, + "id": 5495, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4528, - "src": "21312:1:30", + "referencedDeclaration": 5488, + "src": "21297:1:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -113162,18 +72295,18 @@ "operator": "<", "rightExpression": { "argumentTypes": null, - "id": 4536, + "id": 5496, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4530, - "src": "21316:1:30", + "referencedDeclaration": 5490, + "src": "21301:1:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21312:5:30", + "src": "21297:5:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -113181,32 +72314,32 @@ }, "falseExpression": { "argumentTypes": null, - "id": 4539, + "id": 5499, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4530, - "src": "21324:1:30", + "referencedDeclaration": 5490, + "src": "21309:1:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 4540, + "id": 5500, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "21312:13:30", + "src": "21297:13:20", "trueExpression": { "argumentTypes": null, - "id": 4538, + "id": 5498, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4528, - "src": "21320:1:30", + "referencedDeclaration": 5488, + "src": "21305:1:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -113217,31 +72350,31 @@ "typeString": "uint256" } }, - "functionReturnParameters": 4534, - "id": 4541, + "functionReturnParameters": 5494, + "id": 5501, "nodeType": "Return", - "src": "21305:20:30" + "src": "21290:20:20" } ] }, "documentation": "@dev Helper function to return a min betwen the two uints", - "id": 4543, + "id": 5503, "implemented": true, "kind": "function", "modifiers": [], "name": "min", "nodeType": "FunctionDefinition", "parameters": { - "id": 4531, + "id": 5491, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4528, + "id": 5488, "name": "a", "nodeType": "VariableDeclaration", - "scope": 4543, - "src": "21250:6:30", + "scope": 5503, + "src": "21235:6:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -113249,10 +72382,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4527, + "id": 5487, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21250:4:30", + "src": "21235:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -113263,11 +72396,11 @@ }, { "constant": false, - "id": 4530, + "id": 5490, "name": "b", "nodeType": "VariableDeclaration", - "scope": 4543, - "src": "21258:6:30", + "scope": 5503, + "src": "21243:6:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -113275,10 +72408,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4529, + "id": 5489, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21258:4:30", + "src": "21243:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -113288,19 +72421,19 @@ "visibility": "internal" } ], - "src": "21249:16:30" + "src": "21234:16:20" }, "returnParameters": { - "id": 4534, + "id": 5494, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4533, + "id": 5493, "name": "", "nodeType": "VariableDeclaration", - "scope": 4543, - "src": "21289:4:30", + "scope": 5503, + "src": "21274:4:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -113308,10 +72441,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4532, + "id": 5492, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21289:4:30", + "src": "21274:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -113321,19 +72454,19 @@ "visibility": "internal" } ], - "src": "21288:6:30" + "src": "21273:6:20" }, - "scope": 4657, - "src": "21237:95:30", + "scope": 5617, + "src": "21222:95:20", "stateMutability": "pure", "superFunction": null, "visibility": "internal" }, { "body": { - "id": 4568, + "id": 5528, "nodeType": "Block", - "src": "21618:175:30", + "src": "21603:175:20", "statements": [ { "expression": { @@ -113344,12 +72477,12 @@ "arguments": [ { "argumentTypes": null, - "id": 4548, + "id": 5508, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "21647:10:30", + "referencedDeclaration": 15, + "src": "21632:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -113363,18 +72496,18 @@ "typeString": "address payable" } ], - "id": 4547, + "id": 5507, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4526, - "src": "21636:10:30", + "referencedDeclaration": 5486, + "src": "21621:10:20", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 4549, + "id": 5509, "isConstant": false, "isLValue": false, "isPure": false, @@ -113382,7 +72515,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21636:22:30", + "src": "21621:22:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -113391,14 +72524,14 @@ { "argumentTypes": null, "hexValue": "4465706f73697420756e616c6c6f776564", - "id": 4550, + "id": 5510, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21660:19:30", + "src": "21645:19:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_6e34636caa00f82432ef286bb7055fefb539fe3abe7fd9a9b437abe0e8b874ba", @@ -113418,21 +72551,21 @@ "typeString": "literal_string \"Deposit unallowed\"" } ], - "id": 4546, + "id": 5506, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "21628:7:30", + "referencedDeclaration": 5711, + "src": "21613:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 4551, + "id": 5511, "isConstant": false, "isLValue": false, "isPure": false, @@ -113440,15 +72573,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21628:52:30", + "src": "21613:52:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4552, + "id": 5512, "nodeType": "ExpressionStatement", - "src": "21628:52:30" + "src": "21613:52:20" }, { "expression": { @@ -113461,18 +72594,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4562, + "id": 5522, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "21756:3:30", + "referencedDeclaration": 5707, + "src": "21741:3:20", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 4563, + "id": 5523, "isConstant": false, "isLValue": false, "isPure": false, @@ -113480,7 +72613,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "21756:10:30", + "src": "21741:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -113499,18 +72632,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4559, + "id": 5519, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "21745:3:30", + "referencedDeclaration": 5707, + "src": "21730:3:20", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 4560, + "id": 5520, "isConstant": false, "isLValue": false, "isPure": false, @@ -113518,7 +72651,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "21745:9:30", + "src": "21730:9:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -113539,12 +72672,12 @@ "arguments": [ { "argumentTypes": null, - "id": 4555, + "id": 5515, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "21714:10:30", + "referencedDeclaration": 15, + "src": "21699:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -113558,18 +72691,18 @@ "typeString": "address payable" } ], - "id": 4554, + "id": 5514, "name": "TokenController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6699, - "src": "21698:15:30", + "referencedDeclaration": 5692, + "src": "21683:15:20", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_TokenController_$6699_$", + "typeIdentifier": "t_type$_t_contract$_TokenController_$5692_$", "typeString": "type(contract TokenController)" } }, - "id": 4556, + "id": 5516, "isConstant": false, "isLValue": false, "isPure": false, @@ -113577,27 +72710,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21698:27:30", + "src": "21683:27:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_TokenController_$6699", + "typeIdentifier": "t_contract$_TokenController_$5692", "typeString": "contract TokenController" } }, - "id": 4557, + "id": 5517, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "proxyPayment", "nodeType": "MemberAccess", - "referencedDeclaration": 6676, - "src": "21698:40:30", + "referencedDeclaration": 5669, + "src": "21683:40:20", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$returns$_t_bool_$", "typeString": "function (address) payable external returns (bool)" } }, - "id": 4558, + "id": 5518, "isConstant": false, "isLValue": false, "isPure": false, @@ -113605,13 +72738,13 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "21698:46:30", + "src": "21683:46:20", "typeDescriptions": { "typeIdentifier": "t_function_setvalue_nonpayable$_t_uint256_$returns$_t_function_external_payable$_t_address_$returns$_t_bool_$value_$", "typeString": "function (uint256) returns (function (address) payable external returns (bool))" } }, - "id": 4561, + "id": 5521, "isConstant": false, "isLValue": false, "isPure": false, @@ -113619,13 +72752,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21698:57:30", + "src": "21683:57:20", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$returns$_t_bool_$value", "typeString": "function (address) payable external returns (bool)" } }, - "id": 4564, + "id": 5524, "isConstant": false, "isLValue": false, "isPure": false, @@ -113633,7 +72766,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21698:69:30", + "src": "21683:69:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -113642,14 +72775,14 @@ { "argumentTypes": null, "hexValue": "4465706f7369742064656e696564", - "id": 4565, + "id": 5525, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21769:16:30", + "src": "21754:16:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_stringliteral_b8cf257ed67c3fa852b866ac17f88c636a144bbf08633db27e7e2fe5cf677fa7", @@ -113669,21 +72802,21 @@ "typeString": "literal_string \"Deposit denied\"" } ], - "id": 4553, + "id": 5513, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 9456, - 9457 + 5710, + 5711 ], - "referencedDeclaration": 9457, - "src": "21690:7:30", + "referencedDeclaration": 5711, + "src": "21675:7:20", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 4566, + "id": 5526, "isConstant": false, "isLValue": false, "isPure": false, @@ -113691,48 +72824,48 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21690:96:30", + "src": "21675:96:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4567, + "id": 5527, "nodeType": "ExpressionStatement", - "src": "21690:96:30" + "src": "21675:96:20" } ] }, "documentation": "@notice The fallback function: If the contract's controller has not been\n set to 0, then the `proxyPayment` method is called which relays the\n ether and creates tokens as described in the token controller contract", - "id": 4569, + "id": 5529, "implemented": true, "kind": "fallback", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 4544, + "id": 5504, "nodeType": "ParameterList", "parameters": [], - "src": "21598:2:30" + "src": "21583:2:20" }, "returnParameters": { - "id": 4545, + "id": 5505, "nodeType": "ParameterList", "parameters": [], - "src": "21618:0:30" + "src": "21603:0:20" }, - "scope": 4657, - "src": "21589:204:30", + "scope": 5617, + "src": "21574:204:20", "stateMutability": "payable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 4625, + "id": 5585, "nodeType": "Block", - "src": "22164:354:30", + "src": "22149:354:20", "statements": [ { "condition": { @@ -113741,19 +72874,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 4580, + "id": 5540, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 4576, + "id": 5536, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4571, - "src": "22178:6:30", + "referencedDeclaration": 5531, + "src": "22163:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -113767,14 +72900,14 @@ { "argumentTypes": null, "hexValue": "30", - "id": 4578, + "id": 5538, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "22196:1:30", + "src": "22181:1:20", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -113790,20 +72923,20 @@ "typeString": "int_const 0" } ], - "id": 4577, + "id": 5537, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22188:7:30", + "src": "22173:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4579, + "id": 5539, "isConstant": false, "isLValue": false, "isPure": true, @@ -113811,26 +72944,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22188:10:30", + "src": "22173:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "22178:20:30", + "src": "22163:20:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 4592, + "id": 5552, "nodeType": "IfStatement", - "src": "22174:113:30", + "src": "22159:113:20", "trueBody": { - "id": 4591, + "id": 5551, "nodeType": "Block", - "src": "22200:87:30", + "src": "22185:87:20", "statements": [ { "expression": { @@ -113843,14 +72976,14 @@ "arguments": [ { "argumentTypes": null, - "id": 4585, + "id": 5545, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9533, - "src": "22242:4:30", + "referencedDeclaration": 5751, + "src": "22227:4:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } } @@ -113858,24 +72991,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } ], - "id": 4584, + "id": 5544, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22234:7:30", + "src": "22219:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4586, + "id": 5546, "isConstant": false, "isLValue": false, "isPure": false, @@ -113883,13 +73016,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22234:13:30", + "src": "22219:13:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 4587, + "id": 5547, "isConstant": false, "isLValue": false, "isPure": false, @@ -113897,7 +73030,7 @@ "memberName": "balance", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "22234:21:30", + "src": "22219:21:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -113913,18 +73046,18 @@ ], "expression": { "argumentTypes": null, - "id": 4581, + "id": 5541, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "22214:10:30", + "referencedDeclaration": 15, + "src": "22199:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 4583, + "id": 5543, "isConstant": false, "isLValue": false, "isPure": false, @@ -113932,13 +73065,13 @@ "memberName": "transfer", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "22214:19:30", + "src": "22199:19:20", "typeDescriptions": { "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" } }, - "id": 4588, + "id": 5548, "isConstant": false, "isLValue": false, "isPure": false, @@ -113946,53 +73079,53 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22214:42:30", + "src": "22199:42:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4589, + "id": 5549, "nodeType": "ExpressionStatement", - "src": "22214:42:30" + "src": "22199:42:20" }, { "expression": null, - "functionReturnParameters": 4575, - "id": 4590, + "functionReturnParameters": 5535, + "id": 5550, "nodeType": "Return", - "src": "22270:7:30" + "src": "22255:7:20" } ] } }, { "assignments": [ - 4594 + 5554 ], "declarations": [ { "constant": false, - "id": 4594, + "id": 5554, "name": "token", "nodeType": "VariableDeclaration", - "scope": 4625, - "src": "22297:17:30", + "scope": 5585, + "src": "22282:17:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" }, "typeName": { "contractScope": null, - "id": 4593, + "id": 5553, "name": "MiniMeToken", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 4657, - "src": "22297:11:30", + "referencedDeclaration": 5617, + "src": "22282:11:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, @@ -114000,7 +73133,7 @@ "visibility": "internal" } ], - "id": 4602, + "id": 5562, "initialValue": { "argumentTypes": null, "arguments": [ @@ -114012,12 +73145,12 @@ "arguments": [ { "argumentTypes": null, - "id": 4598, + "id": 5558, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4571, - "src": "22345:6:30", + "referencedDeclaration": 5531, + "src": "22330:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -114031,20 +73164,20 @@ "typeString": "address" } ], - "id": 4597, + "id": 5557, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22337:7:30", + "src": "22322:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": "uint160" }, - "id": 4599, + "id": 5559, "isConstant": false, "isLValue": false, "isPure": false, @@ -114052,7 +73185,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22337:15:30", + "src": "22322:15:20", "typeDescriptions": { "typeIdentifier": "t_uint160", "typeString": "uint160" @@ -114066,20 +73199,20 @@ "typeString": "uint160" } ], - "id": 4596, + "id": 5556, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22329:7:30", + "src": "22314:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4600, + "id": 5560, "isConstant": false, "isLValue": false, "isPure": false, @@ -114087,7 +73220,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22329:24:30", + "src": "22314:24:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -114101,18 +73234,18 @@ "typeString": "address payable" } ], - "id": 4595, + "id": 5555, "name": "MiniMeToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4657, - "src": "22317:11:30", + "referencedDeclaration": 5617, + "src": "22302:11:20", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_MiniMeToken_$4657_$", + "typeIdentifier": "t_type$_t_contract$_MiniMeToken_$5617_$", "typeString": "type(contract MiniMeToken)" } }, - "id": 4601, + "id": 5561, "isConstant": false, "isLValue": false, "isPure": false, @@ -114120,27 +73253,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22317:37:30", + "src": "22302:37:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, "nodeType": "VariableDeclarationStatement", - "src": "22297:57:30" + "src": "22282:57:20" }, { "assignments": [ - 4604 + 5564 ], "declarations": [ { "constant": false, - "id": 4604, + "id": 5564, "name": "balance", "nodeType": "VariableDeclaration", - "scope": 4625, - "src": "22364:12:30", + "scope": 5585, + "src": "22349:12:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114148,10 +73281,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4603, + "id": 5563, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "22364:4:30", + "src": "22349:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -114161,7 +73294,7 @@ "visibility": "internal" } ], - "id": 4611, + "id": 5571, "initialValue": { "argumentTypes": null, "arguments": [ @@ -114170,14 +73303,14 @@ "arguments": [ { "argumentTypes": null, - "id": 4608, + "id": 5568, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9533, - "src": "22403:4:30", + "referencedDeclaration": 5751, + "src": "22388:4:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } } @@ -114185,24 +73318,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } ], - "id": 4607, + "id": 5567, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22395:7:30", + "src": "22380:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4609, + "id": 5569, "isConstant": false, "isLValue": false, "isPure": false, @@ -114210,7 +73343,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22395:13:30", + "src": "22380:13:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -114226,32 +73359,32 @@ ], "expression": { "argumentTypes": null, - "id": 4605, + "id": 5565, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4594, - "src": "22379:5:30", + "referencedDeclaration": 5554, + "src": "22364:5:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 4606, + "id": 5566, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balanceOf", "nodeType": "MemberAccess", - "referencedDeclaration": 3931, - "src": "22379:15:30", + "referencedDeclaration": 4891, + "src": "22364:15:20", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 4610, + "id": 5570, "isConstant": false, "isLValue": false, "isPure": false, @@ -114259,14 +73392,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22379:30:30", + "src": "22364:30:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "22364:45:30" + "src": "22349:45:20" }, { "expression": { @@ -114274,12 +73407,12 @@ "arguments": [ { "argumentTypes": null, - "id": 4615, + "id": 5575, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "22434:10:30", + "referencedDeclaration": 15, + "src": "22419:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -114287,12 +73420,12 @@ }, { "argumentTypes": null, - "id": 4616, + "id": 5576, "name": "balance", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4604, - "src": "22446:7:30", + "referencedDeclaration": 5564, + "src": "22431:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -114312,32 +73445,32 @@ ], "expression": { "argumentTypes": null, - "id": 4612, + "id": 5572, "name": "token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4594, - "src": "22419:5:30", + "referencedDeclaration": 5554, + "src": "22404:5:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 4614, + "id": 5574, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3681, - "src": "22419:14:30", + "referencedDeclaration": 4641, + "src": "22404:14:20", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 4617, + "id": 5577, "isConstant": false, "isLValue": false, "isPure": false, @@ -114345,15 +73478,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22419:35:30", + "src": "22404:35:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 4618, + "id": 5578, "nodeType": "ExpressionStatement", - "src": "22419:35:30" + "src": "22404:35:20" }, { "eventCall": { @@ -114361,12 +73494,12 @@ "arguments": [ { "argumentTypes": null, - "id": 4620, + "id": 5580, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4571, - "src": "22483:6:30", + "referencedDeclaration": 5531, + "src": "22468:6:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -114374,12 +73507,12 @@ }, { "argumentTypes": null, - "id": 4621, + "id": 5581, "name": "controller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6906, - "src": "22491:10:30", + "referencedDeclaration": 15, + "src": "22476:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -114387,12 +73520,12 @@ }, { "argumentTypes": null, - "id": 4622, + "id": 5582, "name": "balance", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4604, - "src": "22503:7:30", + "referencedDeclaration": 5564, + "src": "22488:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -114414,18 +73547,18 @@ "typeString": "uint256" } ], - "id": 4619, + "id": 5579, "name": "ClaimedTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4634, - "src": "22469:13:30", + "referencedDeclaration": 5594, + "src": "22454:13:20", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 4623, + "id": 5583, "isConstant": false, "isLValue": false, "isPure": false, @@ -114433,56 +73566,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22469:42:30", + "src": "22454:42:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4624, + "id": 5584, "nodeType": "EmitStatement", - "src": "22464:47:30" + "src": "22449:47:20" } ] }, "documentation": "@notice This method can be used by the controller to extract mistakenly\n sent tokens to this contract.\n@param _token The address of the token contract that you want to recover\n set to 0 in case you want to extract ether.", - "id": 4626, + "id": 5586, "implemented": true, "kind": "function", "modifiers": [ { "arguments": null, - "id": 4574, + "id": 5534, "modifierName": { "argumentTypes": null, - "id": 4573, + "id": 5533, "name": "onlyController", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 6904, - "src": "22149:14:30", + "referencedDeclaration": 13, + "src": "22134:14:20", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "22149:14:30" + "src": "22134:14:20" } ], "name": "claimTokens", "nodeType": "FunctionDefinition", "parameters": { - "id": 4572, + "id": 5532, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4571, + "id": 5531, "name": "_token", "nodeType": "VariableDeclaration", - "scope": 4626, - "src": "22126:14:30", + "scope": 5586, + "src": "22111:14:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114490,10 +73623,10 @@ "typeString": "address" }, "typeName": { - "id": 4570, + "id": 5530, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22126:7:30", + "src": "22111:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -114504,16 +73637,16 @@ "visibility": "internal" } ], - "src": "22125:16:30" + "src": "22110:16:20" }, "returnParameters": { - "id": 4575, + "id": 5535, "nodeType": "ParameterList", "parameters": [], - "src": "22164:0:30" + "src": "22149:0:20" }, - "scope": 4657, - "src": "22105:413:30", + "scope": 5617, + "src": "22090:413:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" @@ -114521,21 +73654,21 @@ { "anonymous": false, "documentation": "/////////////", - "id": 4634, + "id": 5594, "name": "ClaimedTokens", "nodeType": "EventDefinition", "parameters": { - "id": 4633, + "id": 5593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4628, + "id": 5588, "indexed": true, "name": "token", "nodeType": "VariableDeclaration", - "scope": 4634, - "src": "22588:21:30", + "scope": 5594, + "src": "22573:21:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114543,10 +73676,10 @@ "typeString": "address" }, "typeName": { - "id": 4627, + "id": 5587, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22588:7:30", + "src": "22573:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -114558,12 +73691,12 @@ }, { "constant": false, - "id": 4630, + "id": 5590, "indexed": true, "name": "controller", "nodeType": "VariableDeclaration", - "scope": 4634, - "src": "22611:26:30", + "scope": 5594, + "src": "22596:26:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114571,10 +73704,10 @@ "typeString": "address" }, "typeName": { - "id": 4629, + "id": 5589, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22611:7:30", + "src": "22596:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -114586,12 +73719,12 @@ }, { "constant": false, - "id": 4632, + "id": 5592, "indexed": false, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 4634, - "src": "22639:11:30", + "scope": 5594, + "src": "22624:11:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114599,10 +73732,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4631, + "id": 5591, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "22639:4:30", + "src": "22624:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -114612,28 +73745,28 @@ "visibility": "internal" } ], - "src": "22587:64:30" + "src": "22572:64:20" }, - "src": "22568:84:30" + "src": "22553:84:20" }, { "anonymous": false, "documentation": null, - "id": 4642, + "id": 5602, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 4641, + "id": 5601, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4636, + "id": 5596, "indexed": true, "name": "from", "nodeType": "VariableDeclaration", - "scope": 4642, - "src": "22672:20:30", + "scope": 5602, + "src": "22657:20:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114641,10 +73774,10 @@ "typeString": "address" }, "typeName": { - "id": 4635, + "id": 5595, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22672:7:30", + "src": "22657:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -114656,12 +73789,12 @@ }, { "constant": false, - "id": 4638, + "id": 5598, "indexed": true, "name": "to", "nodeType": "VariableDeclaration", - "scope": 4642, - "src": "22694:18:30", + "scope": 5602, + "src": "22679:18:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114669,10 +73802,10 @@ "typeString": "address" }, "typeName": { - "id": 4637, + "id": 5597, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22694:7:30", + "src": "22679:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -114684,12 +73817,12 @@ }, { "constant": false, - "id": 4640, + "id": 5600, "indexed": true, "name": "value", "nodeType": "VariableDeclaration", - "scope": 4642, - "src": "22714:21:30", + "scope": 5602, + "src": "22699:21:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114697,10 +73830,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4639, + "id": 5599, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22714:7:30", + "src": "22699:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -114710,28 +73843,28 @@ "visibility": "internal" } ], - "src": "22671:65:30" + "src": "22656:65:20" }, - "src": "22657:80:30" + "src": "22642:80:20" }, { "anonymous": false, "documentation": null, - "id": 4648, + "id": 5608, "name": "NewCloneToken", "nodeType": "EventDefinition", "parameters": { - "id": 4647, + "id": 5607, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4644, + "id": 5604, "indexed": true, "name": "cloneToken", "nodeType": "VariableDeclaration", - "scope": 4648, - "src": "22762:26:30", + "scope": 5608, + "src": "22747:26:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114739,10 +73872,10 @@ "typeString": "address" }, "typeName": { - "id": 4643, + "id": 5603, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22762:7:30", + "src": "22747:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -114754,12 +73887,12 @@ }, { "constant": false, - "id": 4646, + "id": 5606, "indexed": false, "name": "snapshotBlock", "nodeType": "VariableDeclaration", - "scope": 4648, - "src": "22790:18:30", + "scope": 5608, + "src": "22775:18:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114767,10 +73900,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4645, + "id": 5605, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "22790:4:30", + "src": "22775:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -114780,28 +73913,28 @@ "visibility": "internal" } ], - "src": "22761:48:30" + "src": "22746:48:20" }, - "src": "22742:68:30" + "src": "22727:68:20" }, { "anonymous": false, "documentation": null, - "id": 4656, + "id": 5616, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 4655, + "id": 5615, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4650, + "id": 5610, "indexed": true, "name": "owner", "nodeType": "VariableDeclaration", - "scope": 4656, - "src": "22839:21:30", + "scope": 5616, + "src": "22824:21:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114809,10 +73942,10 @@ "typeString": "address" }, "typeName": { - "id": 4649, + "id": 5609, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22839:7:30", + "src": "22824:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -114824,12 +73957,12 @@ }, { "constant": false, - "id": 4652, + "id": 5612, "indexed": true, "name": "spender", "nodeType": "VariableDeclaration", - "scope": 4656, - "src": "22870:23:30", + "scope": 5616, + "src": "22855:23:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114837,10 +73970,10 @@ "typeString": "address" }, "typeName": { - "id": 4651, + "id": 5611, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22870:7:30", + "src": "22855:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -114852,12 +73985,12 @@ }, { "constant": false, - "id": 4654, + "id": 5614, "indexed": false, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 4656, - "src": "22903:14:30", + "scope": 5616, + "src": "22888:14:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -114865,10 +73998,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4653, + "id": 5613, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22903:7:30", + "src": "22888:7:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -114878,62 +74011,62 @@ "visibility": "internal" } ], - "src": "22829:94:30" + "src": "22814:94:20" }, - "src": "22815:109:30" + "src": "22800:109:20" } ], - "scope": 4701, - "src": "1666:21261:30" + "scope": 5661, + "src": "1651:21261:20" }, { "baseContracts": [], "contractDependencies": [ - 4657 + 5617 ], "contractKind": "contract", "documentation": "@dev This contract is used to generate clone contracts from a contract.\n In solidity this is the way to create a contract from a contract of the\n same class", "fullyImplemented": true, - "id": 4700, + "id": 5660, "linearizedBaseContracts": [ - 4700 + 5660 ], "name": "MiniMeTokenFactory", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 4698, + "id": 5658, "nodeType": "Block", - "src": "24097:331:30", + "src": "24082:331:20", "statements": [ { "assignments": [ - 4675 + 5635 ], "declarations": [ { "constant": false, - "id": 4675, + "id": 5635, "name": "newToken", "nodeType": "VariableDeclaration", - "scope": 4698, - "src": "24107:20:30", + "scope": 5658, + "src": "24092:20:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" }, "typeName": { "contractScope": null, - "id": 4674, + "id": 5634, "name": "MiniMeToken", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 4657, - "src": "24107:11:30", + "referencedDeclaration": 5617, + "src": "24092:11:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, @@ -114941,7 +74074,7 @@ "visibility": "internal" } ], - "id": 4688, + "id": 5648, "initialValue": { "argumentTypes": null, "arguments": [ @@ -114950,14 +74083,14 @@ "arguments": [ { "argumentTypes": null, - "id": 4679, + "id": 5639, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9535, - "src": "24167:4:30", + "referencedDeclaration": 5753, + "src": "24152:4:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$4700", + "typeIdentifier": "t_contract$_MiniMeTokenFactory_$5660", "typeString": "contract MiniMeTokenFactory" } } @@ -114965,24 +74098,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_MiniMeTokenFactory_$4700", + "typeIdentifier": "t_contract$_MiniMeTokenFactory_$5660", "typeString": "contract MiniMeTokenFactory" } ], - "id": 4678, + "id": 5638, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "24159:7:30", + "src": "24144:7:20", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 4680, + "id": 5640, "isConstant": false, "isLValue": false, "isPure": false, @@ -114990,7 +74123,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24159:13:30", + "src": "24144:13:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -114998,12 +74131,12 @@ }, { "argumentTypes": null, - "id": 4681, + "id": 5641, "name": "_parentToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4659, - "src": "24186:12:30", + "referencedDeclaration": 5619, + "src": "24171:12:20", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -115011,12 +74144,12 @@ }, { "argumentTypes": null, - "id": 4682, + "id": 5642, "name": "_snapshotBlock", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4661, - "src": "24212:14:30", + "referencedDeclaration": 5621, + "src": "24197:14:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -115024,12 +74157,12 @@ }, { "argumentTypes": null, - "id": 4683, + "id": 5643, "name": "_tokenName", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4663, - "src": "24240:10:30", + "referencedDeclaration": 5623, + "src": "24225:10:20", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -115037,12 +74170,12 @@ }, { "argumentTypes": null, - "id": 4684, + "id": 5644, "name": "_decimalUnits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4665, - "src": "24264:13:30", + "referencedDeclaration": 5625, + "src": "24249:13:20", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -115050,12 +74183,12 @@ }, { "argumentTypes": null, - "id": 4685, + "id": 5645, "name": "_tokenSymbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4667, - "src": "24291:12:30", + "referencedDeclaration": 5627, + "src": "24276:12:20", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -115063,12 +74196,12 @@ }, { "argumentTypes": null, - "id": 4686, + "id": 5646, "name": "_transfersEnabled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4669, - "src": "24317:17:30", + "referencedDeclaration": 5629, + "src": "24302:17:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -115106,31 +74239,31 @@ "typeString": "bool" } ], - "id": 4677, + "id": 5637, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "NewExpression", - "src": "24130:15:30", + "src": "24115:15:20", "typeDescriptions": { - "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_string_memory_ptr_$_t_uint8_$_t_string_memory_ptr_$_t_bool_$returns$_t_contract$_MiniMeToken_$4657_$", + "typeIdentifier": "t_function_creation_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_string_memory_ptr_$_t_uint8_$_t_string_memory_ptr_$_t_bool_$returns$_t_contract$_MiniMeToken_$5617_$", "typeString": "function (address,address,uint256,string memory,uint8,string memory,bool) returns (contract MiniMeToken)" }, "typeName": { "contractScope": null, - "id": 4676, + "id": 5636, "name": "MiniMeToken", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 4657, - "src": "24134:11:30", + "referencedDeclaration": 5617, + "src": "24119:11:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } } }, - "id": 4687, + "id": 5647, "isConstant": false, "isLValue": false, "isPure": false, @@ -115138,14 +74271,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24130:218:30", + "src": "24115:218:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, "nodeType": "VariableDeclarationStatement", - "src": "24107:241:30" + "src": "24092:241:20" }, { "expression": { @@ -115155,18 +74288,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 4692, + "id": 5652, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "24385:3:30", + "referencedDeclaration": 5707, + "src": "24370:3:20", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 4693, + "id": 5653, "isConstant": false, "isLValue": false, "isPure": false, @@ -115174,7 +74307,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "24385:10:30", + "src": "24370:10:20", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -115190,32 +74323,32 @@ ], "expression": { "argumentTypes": null, - "id": 4689, + "id": 5649, "name": "newToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4675, - "src": "24359:8:30", + "referencedDeclaration": 5635, + "src": "24344:8:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "id": 4691, + "id": 5651, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "changeController", "nodeType": "MemberAccess", - "referencedDeclaration": 6927, - "src": "24359:25:30", + "referencedDeclaration": 36, + "src": "24344:25:20", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_payable_$returns$__$", "typeString": "function (address payable) external" } }, - "id": 4694, + "id": 5654, "isConstant": false, "isLValue": false, "isPure": false, @@ -115223,55 +74356,55 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24359:37:30", + "src": "24344:37:20", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 4695, + "id": 5655, "nodeType": "ExpressionStatement", - "src": "24359:37:30" + "src": "24344:37:20" }, { "expression": { "argumentTypes": null, - "id": 4696, + "id": 5656, "name": "newToken", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 4675, - "src": "24413:8:30", + "referencedDeclaration": 5635, + "src": "24398:8:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, - "functionReturnParameters": 4673, - "id": 4697, + "functionReturnParameters": 5633, + "id": 5657, "nodeType": "Return", - "src": "24406:15:30" + "src": "24391:15:20" } ] }, "documentation": "@notice Update the DApp by creating a new token with new functionalities\n the msg.sender becomes the controller of this clone token\n@param _parentToken Address of the token being cloned\n@param _snapshotBlock Block of the parent token that will\n determine the initial distribution of the clone token\n@param _tokenName Name of the new token\n@param _decimalUnits Number of decimals of the new token\n@param _tokenSymbol Token Symbol for the new token\n@param _transfersEnabled If true, tokens will be able to be transferred\n@return The address of the new token contract", - "id": 4699, + "id": 5659, "implemented": true, "kind": "function", "modifiers": [], "name": "createCloneToken", "nodeType": "FunctionDefinition", "parameters": { - "id": 4670, + "id": 5630, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4659, + "id": 5619, "name": "_parentToken", "nodeType": "VariableDeclaration", - "scope": 4699, - "src": "23881:20:30", + "scope": 5659, + "src": "23866:20:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -115279,10 +74412,10 @@ "typeString": "address" }, "typeName": { - "id": 4658, + "id": 5618, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23881:7:30", + "src": "23866:7:20", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -115294,11 +74427,11 @@ }, { "constant": false, - "id": 4661, + "id": 5621, "name": "_snapshotBlock", "nodeType": "VariableDeclaration", - "scope": 4699, - "src": "23911:19:30", + "scope": 5659, + "src": "23896:19:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -115306,10 +74439,10 @@ "typeString": "uint256" }, "typeName": { - "id": 4660, + "id": 5620, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "23911:4:30", + "src": "23896:4:20", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -115320,11 +74453,11 @@ }, { "constant": false, - "id": 4663, + "id": 5623, "name": "_tokenName", "nodeType": "VariableDeclaration", - "scope": 4699, - "src": "23940:24:30", + "scope": 5659, + "src": "23925:24:20", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -115332,10 +74465,10 @@ "typeString": "string" }, "typeName": { - "id": 4662, + "id": 5622, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23940:6:30", + "src": "23925:6:20", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -115346,11 +74479,11 @@ }, { "constant": false, - "id": 4665, + "id": 5625, "name": "_decimalUnits", "nodeType": "VariableDeclaration", - "scope": 4699, - "src": "23974:19:30", + "scope": 5659, + "src": "23959:19:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -115358,10 +74491,10 @@ "typeString": "uint8" }, "typeName": { - "id": 4664, + "id": 5624, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "23974:5:30", + "src": "23959:5:20", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -115372,11 +74505,11 @@ }, { "constant": false, - "id": 4667, + "id": 5627, "name": "_tokenSymbol", "nodeType": "VariableDeclaration", - "scope": 4699, - "src": "24003:26:30", + "scope": 5659, + "src": "23988:26:20", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -115384,10 +74517,10 @@ "typeString": "string" }, "typeName": { - "id": 4666, + "id": 5626, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24003:6:30", + "src": "23988:6:20", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -115398,11 +74531,11 @@ }, { "constant": false, - "id": 4669, + "id": 5629, "name": "_transfersEnabled", "nodeType": "VariableDeclaration", - "scope": 4699, - "src": "24039:22:30", + "scope": 5659, + "src": "24024:22:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -115410,10 +74543,10 @@ "typeString": "bool" }, "typeName": { - "id": 4668, + "id": 5628, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24039:4:30", + "src": "24024:4:20", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -115423,34 +74556,34 @@ "visibility": "internal" } ], - "src": "23871:196:30" + "src": "23856:196:20" }, "returnParameters": { - "id": 4673, + "id": 5633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 4672, + "id": 5632, "name": "", "nodeType": "VariableDeclaration", - "scope": 4699, - "src": "24084:11:30", + "scope": 5659, + "src": "24069:11:20", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" }, "typeName": { "contractScope": null, - "id": 4671, + "id": 5631, "name": "MiniMeToken", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 4657, - "src": "24084:11:30", + "referencedDeclaration": 5617, + "src": "24069:11:20", "typeDescriptions": { - "typeIdentifier": "t_contract$_MiniMeToken_$4657", + "typeIdentifier": "t_contract$_MiniMeToken_$5617", "typeString": "contract MiniMeToken" } }, @@ -115458,8819 +74591,33 @@ "visibility": "internal" } ], - "src": "24083:13:30" + "src": "24068:13:20" }, - "scope": 4700, - "src": "23846:582:30", + "scope": 5660, + "src": "23831:582:20", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" } ], - "scope": 4701, - "src": "23160:1270:30" + "scope": 5661, + "src": "23145:1270:20" } ], - "src": "0:24431:30" + "src": "0:24416:20" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\NonfungibleToken.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\NonfungibleToken.sol", - "exportedSymbols": { - "NonfungibleToken": [ - 5367 - ] - }, - "id": 5368, - "nodeType": "SourceUnit", - "nodes": [ - { - "id": 4702, - "literals": [ - "solidity", - ">=", - "0.5", - ".0", - "<", - "0.6", - ".0" - ], - "nodeType": "PragmaDirective", - "src": "0:31:31" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721.sol", - "id": 4703, - "nodeType": "ImportDirective", - "scope": 5368, - "sourceUnit": 9423, - "src": "33:91:31", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721Receiver.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721Receiver.sol", - "id": 4704, - "nodeType": "ImportDirective", - "scope": 5368, - "sourceUnit": 9439, - "src": "125:99:31", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/SafeMath.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/SafeMath.sol", - "id": 4705, - "nodeType": "ImportDirective", - "scope": 5368, - "sourceUnit": 9323, - "src": "225:94:31", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Address.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Address.sol", - "id": 4706, - "nodeType": "ImportDirective", - "scope": 5368, - "sourceUnit": 9101, - "src": "320:93:31", - "symbolAliases": [], - "unitAlias": "" - }, - { - "absolutePath": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Introspective.sol", - "file": "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Introspective.sol", - "id": 4707, - "nodeType": "ImportDirective", - "scope": 5368, - "sourceUnit": 9160, - "src": "414:99:31", - "symbolAliases": [], - "unitAlias": "" - }, - { - "baseContracts": [ - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4708, - "name": "Introspective", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9159, - "src": "837:13:31", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Introspective_$9159", - "typeString": "contract Introspective" - } - }, - "id": 4709, - "nodeType": "InheritanceSpecifier", - "src": "837:13:31" - }, - { - "arguments": null, - "baseName": { - "contractScope": null, - "id": 4710, - "name": "ERC721", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9422, - "src": "852:6:31", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC721_$9422", - "typeString": "contract ERC721" - } - }, - "id": 4711, - "nodeType": "InheritanceSpecifier", - "src": "852:6:31" - } - ], - "contractDependencies": [ - 9110, - 9159, - 9422 - ], - "contractKind": "contract", - "documentation": "@title ERC721 Non-Fungible Token Standard basic implementation\n@dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md\nBased on https://github.com/OpenZeppelin/openzeppelin-solidity/blob/8dd92fd6cafe4e4ce7b8ae297a4ba1212ca21ca6/contracts/token/ERC721/ERC721.sol", - "fullyImplemented": true, - "id": 5367, - "linearizedBaseContracts": [ - 5367, - 9422, - 9159, - 9110 - ], - "name": "NonfungibleToken", - "nodeType": "ContractDefinition", - "nodes": [ - { - "id": 4714, - "libraryName": { - "contractScope": null, - "id": 4712, - "name": "SafeMath", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9322, - "src": "871:8:31", - "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$9322", - "typeString": "library SafeMath" - } - }, - "nodeType": "UsingForDirective", - "src": "865:27:31", - "typeName": { - "id": 4713, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "884:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - { - "id": 4717, - "libraryName": { - "contractScope": null, - "id": 4715, - "name": "Address", - "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 9100, - "src": "903:7:31", - "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$9100", - "typeString": "library Address" - } - }, - "nodeType": "UsingForDirective", - "src": "897:26:31", - "typeName": { - "id": 4716, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "915:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - { - "constant": true, - "id": 4720, - "name": "_ERC721_RECEIVED", - "nodeType": "VariableDeclaration", - "scope": 5367, - "src": "1100:53:31", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 4718, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1100:6:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783135306237613032", - "id": 4719, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1143:10:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_353073666_by_1", - "typeString": "int_const 353073666" - }, - "value": "0x150b7a02" - }, - "visibility": "private" - }, - { - "constant": false, - "id": 4724, - "name": "_tokenOwner", - "nodeType": "VariableDeclaration", - "scope": 5367, - "src": "1198:48:31", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "typeName": { - "id": 4723, - "keyType": { - "id": 4721, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1207:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1198:28:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "valueType": { - "id": 4722, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1218:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 4728, - "name": "_tokenApprovals", - "nodeType": "VariableDeclaration", - "scope": 5367, - "src": "1302:52:31", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "typeName": { - "id": 4727, - "keyType": { - "id": 4725, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1311:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1302:28:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - }, - "valueType": { - "id": 4726, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1322:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 4733, - "name": "_ownedTokens", - "nodeType": "VariableDeclaration", - "scope": 5367, - "src": "1398:51:31", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[])" - }, - "typeName": { - "id": 4732, - "keyType": { - "id": 4729, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1407:7:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1398:30:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[])" - }, - "valueType": { - "baseType": { - "id": 4730, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1418:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 4731, - "length": null, - "nodeType": "ArrayTypeName", - "src": "1418:9:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 4737, - "name": "_ownedTokensPos", - "nodeType": "VariableDeclaration", - "scope": 5367, - "src": "1455:52:31", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - }, - "typeName": { - "id": 4736, - "keyType": { - "id": 4734, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1464:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Mapping", - "src": "1455:28:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - }, - "valueType": { - "id": 4735, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "1475:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": false, - "id": 4743, - "name": "_operatorApprovals", - "nodeType": "VariableDeclaration", - "scope": 5367, - "src": "1562:73:31", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "typeName": { - "id": 4742, - "keyType": { - "id": 4738, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1571:7:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1562:46:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - }, - "valueType": { - "id": 4741, - "keyType": { - "id": 4739, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1591:7:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Mapping", - "src": "1582:25:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - }, - "valueType": { - "id": 4740, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "1602:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - } - }, - "value": null, - "visibility": "private" - }, - { - "constant": true, - "id": 4746, - "name": "_InterfaceId_ERC721", - "nodeType": "VariableDeclaration", - "scope": 5367, - "src": "1642:56:31", - "stateVariable": true, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 4744, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "1642:6:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": { - "argumentTypes": null, - "hexValue": "30783830616335386364", - "id": 4745, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "1688:10:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_2158778573_by_1", - "typeString": "int_const 2158778573" - }, - "value": "0x80ac58cd" - }, - "visibility": "private" - }, - { - "body": { - "id": 4781, - "nodeType": "Block", - "src": "2363:385:31", - "statements": [ - { - "assignments": [ - 4751 - ], - "declarations": [ - { - "constant": false, - "id": 4751, - "name": "spender", - "nodeType": "VariableDeclaration", - "scope": 4781, - "src": "2373:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4750, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2373:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4754, - "initialValue": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4752, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2391:3:31", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4753, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2391:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2373:28:31" - }, - { - "assignments": [ - 4756 - ], - "declarations": [ - { - "constant": false, - "id": 4756, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 4781, - "src": "2411:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4755, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2411:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4760, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4758, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "2436:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4757, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5366, - "src": "2427:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 4759, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2427:17:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2411:33:31" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4776, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4770, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4764, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4762, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4751, - "src": "2620:7:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 4763, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4756, - "src": "2631:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2620:16:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4769, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4765, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4728, - "src": "2640:15:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 4767, - "indexExpression": { - "argumentTypes": null, - "id": 4766, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4748, - "src": "2656:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2640:24:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 4768, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4751, - "src": "2668:7:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "2640:35:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2620:55:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4771, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4743, - "src": "2679:18:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 4773, - "indexExpression": { - "argumentTypes": null, - "id": 4772, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4756, - "src": "2698:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2679:25:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 4775, - "indexExpression": { - "argumentTypes": null, - "id": 4774, - "name": "spender", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4751, - "src": "2705:7:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "2679:34:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "2620:93:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 4777, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "2715:14:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - } - ], - "id": 4761, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "2612:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4778, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2612:118:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4779, - "nodeType": "ExpressionStatement", - "src": "2612:118:31" - }, - { - "id": 4780, - "nodeType": "PlaceholderStatement", - "src": "2740:1:31" - } - ] - }, - "documentation": null, - "id": 4782, - "name": "approvedOrOwner", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 4749, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4748, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 4782, - "src": "2347:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4747, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2347:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2346:17:31" - }, - "src": "2322:426:31", - "visibility": "internal" - }, - { - "body": { - "id": 4818, - "nodeType": "Block", - "src": "2831:224:31", - "statements": [ - { - "id": 4792, - "nodeType": "PlaceholderStatement", - "src": "2841:1:31" - }, - { - "condition": { - "argumentTypes": null, - "arguments": [], - "expression": { - "argumentTypes": [], - "expression": { - "argumentTypes": null, - "id": 4793, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4786, - "src": "2856:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4794, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "isContract", - "nodeType": "MemberAccess", - "referencedDeclaration": 9099, - "src": "2856:13:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", - "typeString": "function (address) view returns (bool)" - } - }, - "id": 4795, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2856:15:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 4817, - "nodeType": "IfStatement", - "src": "2852:197:31", - "trueBody": { - "id": 4816, - "nodeType": "Block", - "src": "2873:176:31", - "statements": [ - { - "assignments": [ - 4797 - ], - "declarations": [ - { - "constant": false, - "id": 4797, - "name": "retval", - "nodeType": "VariableDeclaration", - "scope": 4816, - "src": "2887:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "typeName": { - "id": 4796, - "name": "bytes4", - "nodeType": "ElementaryTypeName", - "src": "2887:6:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4808, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4802, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "2939:3:31", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4803, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "2939:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 4804, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4784, - "src": "2951:4:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4805, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4788, - "src": "2957:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 4806, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4790, - "src": "2966:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes memory" - } - ], - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4799, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4786, - "src": "2918:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - } - ], - "id": 4798, - "name": "ERC721Receiver", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9438, - "src": "2903:14:31", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721Receiver_$9438_$", - "typeString": "type(contract ERC721Receiver)" - } - }, - "id": 4800, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2903:18:31", - "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC721Receiver_$9438", - "typeString": "contract ERC721Receiver" - } - }, - "id": 4801, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "onERC721Received", - "nodeType": "MemberAccess", - "referencedDeclaration": 9437, - "src": "2903:35:31", - "typeDescriptions": { - "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", - "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" - } - }, - "id": 4807, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2903:69:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "2887:85:31" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - }, - "id": 4812, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4810, - "name": "retval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4797, - "src": "2994:6:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 4811, - "name": "_ERC721_RECEIVED", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4720, - "src": "3004:16:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - }, - "src": "2994:26:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164206f7065726174696f6e", - "id": 4813, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3022:15:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - }, - "value": "Bad operation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - } - ], - "id": 4809, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "2986:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4814, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "2986:52:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4815, - "nodeType": "ExpressionStatement", - "src": "2986:52:31" - } - ] - } - } - ] - }, - "documentation": null, - "id": 4819, - "name": "safe", - "nodeType": "ModifierDefinition", - "parameters": { - "id": 4791, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4784, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 4819, - "src": "2768:12:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4783, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2768:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4786, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 4819, - "src": "2782:10:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4785, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "2782:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4788, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 4819, - "src": "2794:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4787, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "2794:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4790, - "name": "_data", - "nodeType": "VariableDeclaration", - "scope": 4819, - "src": "2811:18:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_bytes_memory_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 4789, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "2811:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "2767:63:31" - }, - "src": "2754:301:31", - "visibility": "internal" - }, - { - "body": { - "id": 4826, - "nodeType": "Block", - "src": "3084:133:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4823, - "name": "_InterfaceId_ERC721", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4746, - "src": "3190:19:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bytes4", - "typeString": "bytes4" - } - ], - "id": 4822, - "name": "_registerInterface", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9158, - "src": "3171:18:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", - "typeString": "function (bytes4)" - } - }, - "id": 4824, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3171:39:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4825, - "nodeType": "ExpressionStatement", - "src": "3171:39:31" - } - ] - }, - "documentation": null, - "id": 4827, - "implemented": true, - "kind": "constructor", - "modifiers": [], - "name": "", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4820, - "nodeType": "ParameterList", - "parameters": [], - "src": "3074:2:31" - }, - "returnParameters": { - "id": 4821, - "nodeType": "ParameterList", - "parameters": [], - "src": "3084:0:31" - }, - "scope": 5367, - "src": "3062:155:31", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "public" - }, - { - "body": { - "id": 4848, - "nodeType": "Block", - "src": "3486:103:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4839, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4835, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4829, - "src": "3504:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 4837, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3521:1:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 4836, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "3513:7:31", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 4838, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3513:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "3504:19:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4261642061646472657373", - "id": 4840, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "3525:13:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - }, - "value": "Bad address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - } - ], - "id": 4834, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "3496:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4841, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3496:43:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4842, - "nodeType": "ExpressionStatement", - "src": "3496:43:31" - }, - { - "expression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4843, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4733, - "src": "3556:12:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 4845, - "indexExpression": { - "argumentTypes": null, - "id": 4844, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4829, - "src": "3569:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "3556:19:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 4846, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "3556:26:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 4833, - "id": 4847, - "nodeType": "Return", - "src": "3549:33:31" - } - ] - }, - "documentation": "@dev Gets the balance of the specified address\n@param owner address to query the balance of\n@return uint256 representing the amount owned by the passed address", - "id": 4849, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "balanceOf", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4830, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4829, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 4849, - "src": "3439:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4828, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3439:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3438:15:31" - }, - "returnParameters": { - "id": 4833, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4832, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 4849, - "src": "3477:7:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4831, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3477:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3476:9:31" - }, - "scope": 5367, - "src": "3420:169:31", - "stateMutability": "view", - "superFunction": 9355, - "visibility": "external" - }, - { - "body": { - "id": 4860, - "nodeType": "Block", - "src": "3879:41:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4857, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4851, - "src": "3905:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4856, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5366, - "src": "3896:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 4858, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "3896:17:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 4855, - "id": 4859, - "nodeType": "Return", - "src": "3889:24:31" - } - ] - }, - "documentation": "@dev Gets the owner of the specified token ID\n@param tokenId uint256 ID of the token to query the owner of\n@return owner address currently marked as the owner of the given token ID", - "id": 4861, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "ownerOf", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4852, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4851, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 4861, - "src": "3830:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4850, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "3830:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3829:17:31" - }, - "returnParameters": { - "id": 4855, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4854, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 4861, - "src": "3870:7:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4853, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "3870:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "3869:9:31" - }, - "scope": 5367, - "src": "3813:107:31", - "stateMutability": "view", - "superFunction": 9362, - "visibility": "external" - }, - { - "body": { - "id": 4908, - "nodeType": "Block", - "src": "4396:275:31", - "statements": [ - { - "assignments": [ - 4869 - ], - "declarations": [ - { - "constant": false, - "id": 4869, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 4908, - "src": "4406:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4868, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4406:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 4873, - "initialValue": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4871, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4865, - "src": "4431:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4870, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5366, - "src": "4422:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 4872, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4422:17:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "4406:33:31" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4877, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4875, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4863, - "src": "4457:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "id": 4876, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4869, - "src": "4463:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4457:11:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164206f7065726174696f6e", - "id": 4878, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4470:15:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - }, - "value": "Bad operation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - } - ], - "id": 4874, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "4449:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4879, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4449:37:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4880, - "nodeType": "ExpressionStatement", - "src": "4449:37:31" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "id": 4892, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4885, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4882, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "4504:3:31", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4883, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4504:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 4884, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4869, - "src": "4518:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4504:19:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "BinaryOperation", - "operator": "||", - "rightExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4886, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4743, - "src": "4527:18:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 4888, - "indexExpression": { - "argumentTypes": null, - "id": 4887, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4869, - "src": "4546:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4527:25:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 4891, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4889, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "4553:3:31", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4890, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "4553:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "4527:37:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "4504:60:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 4893, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "4566:14:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - } - ], - "id": 4881, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "4496:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4894, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4496:85:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4895, - "nodeType": "ExpressionStatement", - "src": "4496:85:31" - }, - { - "expression": { - "argumentTypes": null, - "id": 4900, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4896, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4728, - "src": "4592:15:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 4898, - "indexExpression": { - "argumentTypes": null, - "id": 4897, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4865, - "src": "4608:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "4592:24:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4899, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4863, - "src": "4619:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "4592:29:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 4901, - "nodeType": "ExpressionStatement", - "src": "4592:29:31" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4903, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4869, - "src": "4645:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4904, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4863, - "src": "4652:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4905, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4865, - "src": "4656:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4902, - "name": "Approval", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9340, - "src": "4636:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 4906, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "4636:28:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4907, - "nodeType": "EmitStatement", - "src": "4631:33:31" - } - ] - }, - "documentation": "@dev Approves another address to transfer the given token ID\nThe zero address indicates there is no approved address.\nThere can only be one approved address per token at a given time.\nCan only be called by the token owner or an approved operator.\n@param to address to be approved for the given token ID\n@param tokenId uint256 ID of the token to be approved", - "id": 4909, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "approve", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4866, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4863, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 4909, - "src": "4358:10:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4862, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "4358:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4865, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 4909, - "src": "4370:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4864, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4370:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4357:29:31" - }, - "returnParameters": { - "id": 4867, - "nodeType": "ParameterList", - "parameters": [], - "src": "4396:0:31" - }, - "scope": 5367, - "src": "4341:330:31", - "stateMutability": "nonpayable", - "superFunction": 9398, - "visibility": "external" - }, - { - "body": { - "id": 4927, - "nodeType": "Block", - "src": "5030:95:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4918, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4911, - "src": "5055:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4917, - "name": "exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "5048:6:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 4919, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5048:15:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "42616420746f6b656e", - "id": 4920, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5065:11:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", - "typeString": "literal_string \"Bad token\"" - }, - "value": "Bad token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", - "typeString": "literal_string \"Bad token\"" - } - ], - "id": 4916, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "5040:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4921, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5040:37:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4922, - "nodeType": "ExpressionStatement", - "src": "5040:37:31" - }, - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4923, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4728, - "src": "5094:15:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 4925, - "indexExpression": { - "argumentTypes": null, - "id": 4924, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4911, - "src": "5110:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5094:24:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 4915, - "id": 4926, - "nodeType": "Return", - "src": "5087:31:31" - } - ] - }, - "documentation": "@dev Gets the approved address for a token ID, or zero if no address set\nReverts if the token ID does not exist.\n@param tokenId uint256 ID of the token to query the approval of\n@return address currently approved for the given token ID", - "id": 4928, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getApproved", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4912, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4911, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 4928, - "src": "4981:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4910, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "4981:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "4980:17:31" - }, - "returnParameters": { - "id": 4915, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4914, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 4928, - "src": "5021:7:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4913, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5021:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5020:9:31" - }, - "scope": 5367, - "src": "4960:165:31", - "stateMutability": "view", - "superFunction": 9412, - "visibility": "external" - }, - { - "body": { - "id": 4959, - "nodeType": "Block", - "src": "5480:169:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 4939, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 4936, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4930, - "src": "5498:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4937, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "5504:3:31", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4938, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5504:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "5498:16:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164206f7065726174696f6e", - "id": 4940, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "5516:15:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - }, - "value": "Bad operation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - } - ], - "id": 4935, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "5490:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 4941, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5490:42:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4942, - "nodeType": "ExpressionStatement", - "src": "5490:42:31" - }, - { - "expression": { - "argumentTypes": null, - "id": 4950, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4943, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4743, - "src": "5542:18:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 4947, - "indexExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4944, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "5561:3:31", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4945, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5561:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "5542:30:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 4948, - "indexExpression": { - "argumentTypes": null, - "id": 4946, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4930, - "src": "5573:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "5542:34:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 4949, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4932, - "src": "5579:8:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "src": "5542:45:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "id": 4951, - "nodeType": "ExpressionStatement", - "src": "5542:45:31" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 4953, - "name": "msg", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9453, - "src": "5617:3:31", - "typeDescriptions": { - "typeIdentifier": "t_magic_message", - "typeString": "msg" - } - }, - "id": 4954, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "sender", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "5617:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 4955, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4930, - "src": "5629:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4956, - "name": "approved", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4932, - "src": "5633:8:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - ], - "id": 4952, - "name": "ApprovalForAll", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9348, - "src": "5602:14:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", - "typeString": "function (address,address,bool)" - } - }, - "id": 4957, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "5602:40:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4958, - "nodeType": "EmitStatement", - "src": "5597:45:31" - } - ] - }, - "documentation": "@dev Sets or unsets the approval of a given operator\nAn operator is allowed to transfer all tokens of the sender on their behalf\n@param to operator address to set the approval\n@param approved representing the status of the approval to be set", - "id": 4960, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "setApprovalForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4933, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4930, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 4960, - "src": "5444:10:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4929, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5444:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4932, - "name": "approved", - "nodeType": "VariableDeclaration", - "scope": 4960, - "src": "5456:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4931, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "5456:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5443:27:31" - }, - "returnParameters": { - "id": 4934, - "nodeType": "ParameterList", - "parameters": [], - "src": "5480:0:31" - }, - "scope": 5367, - "src": "5417:232:31", - "stateMutability": "nonpayable", - "superFunction": 9405, - "visibility": "external" - }, - { - "body": { - "id": 4975, - "nodeType": "Block", - "src": "6058:59:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 4969, - "name": "_operatorApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4743, - "src": "6075:18:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", - "typeString": "mapping(address => mapping(address => bool))" - } - }, - "id": 4971, - "indexExpression": { - "argumentTypes": null, - "id": 4970, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4962, - "src": "6094:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6075:25:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", - "typeString": "mapping(address => bool)" - } - }, - "id": 4973, - "indexExpression": { - "argumentTypes": null, - "id": 4972, - "name": "operator", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4964, - "src": "6101:8:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6075:35:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 4968, - "id": 4974, - "nodeType": "Return", - "src": "6068:42:31" - } - ] - }, - "documentation": "@dev Tells whether an operator is approved by a given owner\n@param owner owner address which you want to query the approval of\n@param operator operator address which you want to query the approval of\n@return bool whether the given operator is approved by the given owner", - "id": 4976, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "isApprovedForAll", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4965, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4962, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 4976, - "src": "5996:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4961, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "5996:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4964, - "name": "operator", - "nodeType": "VariableDeclaration", - "scope": 4976, - "src": "6011:16:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4963, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6011:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "5995:33:31" - }, - "returnParameters": { - "id": 4968, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4967, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 4976, - "src": "6052:4:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 4966, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "6052:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6051:6:31" - }, - "scope": 5367, - "src": "5970:147:31", - "stateMutability": "view", - "superFunction": 9421, - "visibility": "external" - }, - { - "body": { - "id": 4994, - "nodeType": "Block", - "src": "6649:44:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 4989, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4978, - "src": "6668:4:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4990, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4980, - "src": "6674:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 4991, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4982, - "src": "6678:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 4988, - "name": "transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5269, - "src": "6659:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 4992, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "6659:27:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 4993, - "nodeType": "ExpressionStatement", - "src": "6659:27:31" - } - ] - }, - "documentation": "@dev Transfers the ownership of a given token ID to another address\nUsage of this method is discouraged, use `safeTransferFrom` whenever possible\nRequires the msg sender to be the owner, approved, or operator\n@param from current owner of the token\n@param to address to receive the ownership of the given token ID\n@param tokenId uint256 ID of the token to be transferred", - "id": 4995, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 4985, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4982, - "src": "6640:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 4986, - "modifierName": { - "argumentTypes": null, - "id": 4984, - "name": "approvedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4782, - "src": "6624:15:31", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_uint256_$", - "typeString": "modifier (uint256)" - } - }, - "nodeType": "ModifierInvocation", - "src": "6624:24:31" - } - ], - "name": "transferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 4983, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4978, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 4995, - "src": "6572:12:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4977, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6572:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4980, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 4995, - "src": "6586:10:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4979, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "6586:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4982, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 4995, - "src": "6598:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 4981, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "6598:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "6571:43:31" - }, - "returnParameters": { - "id": 4987, - "nodeType": "ParameterList", - "parameters": [], - "src": "6649:0:31" - }, - "scope": 5367, - "src": "6550:143:31", - "stateMutability": "nonpayable", - "superFunction": 9391, - "visibility": "external" - }, - { - "body": { - "id": 5019, - "nodeType": "Block", - "src": "7497:44:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5014, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4997, - "src": "7516:4:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5015, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4999, - "src": "7522:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5016, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5001, - "src": "7526:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5013, - "name": "transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5269, - "src": "7507:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 5017, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "7507:27:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5018, - "nodeType": "ExpressionStatement", - "src": "7507:27:31" - } - ] - }, - "documentation": "@dev Safely transfers the ownership of a given token ID to another address\nIf the target address is a contract, it must implement `onERC721Received`,\nwhich is called upon a safe transfer, and return the magic value\n`bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`; otherwise,\nthe transfer is reverted.\n * Requires the msg sender to be the owner, approved, or operator\n@param from current owner of the token\n@param to address to receive the ownership of the given token ID\n@param tokenId uint256 ID of the token to be transferred", - "id": 5020, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 5004, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5001, - "src": "7444:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5005, - "modifierName": { - "argumentTypes": null, - "id": 5003, - "name": "approvedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4782, - "src": "7428:15:31", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_uint256_$", - "typeString": "modifier (uint256)" - } - }, - "nodeType": "ModifierInvocation", - "src": "7428:24:31" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 5007, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4997, - "src": "7466:4:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5008, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4999, - "src": "7472:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5009, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5001, - "src": "7476:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "hexValue": "", - "id": 5010, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "7485:2:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", - "typeString": "literal_string \"\"" - }, - "value": "" - } - ], - "id": 5011, - "modifierName": { - "argumentTypes": null, - "id": 5006, - "name": "safe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4819, - "src": "7461:4:31", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$", - "typeString": "modifier (address,address,uint256,bytes memory)" - } - }, - "nodeType": "ModifierInvocation", - "src": "7461:27:31" - } - ], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5002, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 4997, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 5020, - "src": "7358:12:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4996, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7358:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 4999, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 5020, - "src": "7372:10:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 4998, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "7372:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5001, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 5020, - "src": "7384:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5000, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "7384:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "7357:43:31" - }, - "returnParameters": { - "id": 5012, - "nodeType": "ParameterList", - "parameters": [], - "src": "7497:0:31" - }, - "scope": 5367, - "src": "7332:209:31", - "stateMutability": "nonpayable", - "superFunction": 9382, - "visibility": "external" - }, - { - "body": { - "id": 5046, - "nodeType": "Block", - "src": "8432:44:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5041, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5022, - "src": "8451:4:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5042, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5024, - "src": "8457:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5043, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5026, - "src": "8461:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5040, - "name": "transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5269, - "src": "8442:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 5044, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "8442:27:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5045, - "nodeType": "ExpressionStatement", - "src": "8442:27:31" - } - ] - }, - "documentation": "@dev Safely transfers the ownership of a given token ID to another address\nIf the target address is a contract, it must implement `onERC721Received`,\nwhich is called upon a safe transfer, and return the magic value\n`bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`; otherwise,\nthe transfer is reverted.\nRequires the msg sender to be the owner, approved, or operator\n@param from current owner of the token\n@param to address to receive the ownership of the given token ID\n@param tokenId uint256 ID of the token to be transferred\n@param _data bytes data to send along with a safe transfer check", - "id": 5047, - "implemented": true, - "kind": "function", - "modifiers": [ - { - "arguments": [ - { - "argumentTypes": null, - "id": 5031, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5026, - "src": "8379:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "id": 5032, - "modifierName": { - "argumentTypes": null, - "id": 5030, - "name": "approvedOrOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4782, - "src": "8363:15:31", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_uint256_$", - "typeString": "modifier (uint256)" - } - }, - "nodeType": "ModifierInvocation", - "src": "8363:24:31" - }, - { - "arguments": [ - { - "argumentTypes": null, - "id": 5034, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5022, - "src": "8401:4:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5035, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5024, - "src": "8407:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5036, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5026, - "src": "8411:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - { - "argumentTypes": null, - "id": 5037, - "name": "_data", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5028, - "src": "8420:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes calldata" - } - } - ], - "id": 5038, - "modifierName": { - "argumentTypes": null, - "id": 5033, - "name": "safe", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4819, - "src": "8396:4:31", - "typeDescriptions": { - "typeIdentifier": "t_modifier$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$", - "typeString": "modifier (address,address,uint256,bytes memory)" - } - }, - "nodeType": "ModifierInvocation", - "src": "8396:30:31" - } - ], - "name": "safeTransferFrom", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5029, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5022, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "8272:12:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5021, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8272:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5024, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "8286:10:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5023, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8286:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5026, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "8298:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5025, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8298:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5028, - "name": "_data", - "nodeType": "VariableDeclaration", - "scope": 5047, - "src": "8315:20:31", - "stateVariable": false, - "storageLocation": "calldata", - "typeDescriptions": { - "typeIdentifier": "t_bytes_calldata_ptr", - "typeString": "bytes" - }, - "typeName": { - "id": 5027, - "name": "bytes", - "nodeType": "ElementaryTypeName", - "src": "8315:5:31", - "typeDescriptions": { - "typeIdentifier": "t_bytes_storage_ptr", - "typeString": "bytes" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8271:65:31" - }, - "returnParameters": { - "id": 5039, - "nodeType": "ParameterList", - "parameters": [], - "src": "8432:0:31" - }, - "scope": 5367, - "src": "8246:230:31", - "stateMutability": "nonpayable", - "superFunction": 9373, - "visibility": "external" - }, - { - "body": { - "id": 5059, - "nodeType": "Block", - "src": "8571:43:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5055, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4733, - "src": "8588:12:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 5057, - "indexExpression": { - "argumentTypes": null, - "id": 5056, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5049, - "src": "8601:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "8588:19:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "functionReturnParameters": 5054, - "id": 5058, - "nodeType": "Return", - "src": "8581:26:31" - } - ] - }, - "documentation": null, - "id": 5060, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokensOwnedBy", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5050, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5049, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 5060, - "src": "8505:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5048, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "8505:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8504:15:31" - }, - "returnParameters": { - "id": 5054, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5053, - "name": "tokenList", - "nodeType": "VariableDeclaration", - "scope": 5060, - "src": "8543:26:31", - "stateVariable": false, - "storageLocation": "memory", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_memory_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 5051, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "8543:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5052, - "length": null, - "nodeType": "ArrayTypeName", - "src": "8543:9:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "8542:28:31" - }, - "scope": 5367, - "src": "8482:132:31", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 5085, - "nodeType": "Block", - "src": "9077:126:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5075, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5070, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5064, - "src": "9095:5:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "<", - "rightExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5071, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4733, - "src": "9103:12:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 5073, - "indexExpression": { - "argumentTypes": null, - "id": 5072, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5062, - "src": "9116:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9103:19:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 5074, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "9103:26:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "9095:34:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "496e646578206f7574206f6620626f756e6473", - "id": 5076, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9131:21:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_dd00b67a545791a54dd99d9c09eb42099756ea4ee2bd47188784c22234589367", - "typeString": "literal_string \"Index out of bounds\"" - }, - "value": "Index out of bounds" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_dd00b67a545791a54dd99d9c09eb42099756ea4ee2bd47188784c22234589367", - "typeString": "literal_string \"Index out of bounds\"" - } - ], - "id": 5069, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "9087:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5077, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9087:66:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5078, - "nodeType": "ExpressionStatement", - "src": "9087:66:31" - }, - { - "expression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5079, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4733, - "src": "9170:12:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 5081, - "indexExpression": { - "argumentTypes": null, - "id": 5080, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5062, - "src": "9183:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9170:19:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - "id": 5083, - "indexExpression": { - "argumentTypes": null, - "id": 5082, - "name": "index", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5064, - "src": "9190:5:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9170:26:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "functionReturnParameters": 5068, - "id": 5084, - "nodeType": "Return", - "src": "9163:33:31" - } - ] - }, - "documentation": "@dev Gets the token ID at a given index of the tokens list of the requested owner\n@param owner address owning the tokens list to be accessed\n@param index uint256 representing the index to be accessed of the requested tokens list\n@return uint256 token ID at the given index of the tokens list owned by the requested address", - "id": 5086, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "tokenOfOwnerByIndex", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5065, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5062, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 5086, - "src": "9015:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5061, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9015:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5064, - "name": "index", - "nodeType": "VariableDeclaration", - "scope": 5086, - "src": "9030:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5063, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9030:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9014:30:31" - }, - "returnParameters": { - "id": 5068, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5067, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 5086, - "src": "9068:7:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5066, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9068:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9067:9:31" - }, - "scope": 5367, - "src": "8986:217:31", - "stateMutability": "view", - "superFunction": null, - "visibility": "external" - }, - { - "body": { - "id": 5105, - "nodeType": "Block", - "src": "9454:89:31", - "statements": [ - { - "assignments": [ - 5094 - ], - "declarations": [ - { - "constant": false, - "id": 5094, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 5105, - "src": "9464:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5093, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9464:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5098, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5095, - "name": "_tokenOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4724, - "src": "9480:11:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 5097, - "indexExpression": { - "argumentTypes": null, - "id": 5096, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5088, - "src": "9492:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "9480:20:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "9464:36:31" - }, - { - "expression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5103, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5099, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5094, - "src": "9517:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5101, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9534:1:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 5100, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9526:7:31", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 5102, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9526:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "9517:19:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "functionReturnParameters": 5092, - "id": 5104, - "nodeType": "Return", - "src": "9510:26:31" - } - ] - }, - "documentation": "@dev Returns whether the specified token exists\n@param tokenId uint256 ID of the token to query the existence of\n@return whether the token exists", - "id": 5106, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "exists", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5089, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5088, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 5106, - "src": "9408:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5087, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9408:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9407:17:31" - }, - "returnParameters": { - "id": 5092, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5091, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 5106, - "src": "9448:4:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - "typeName": { - "id": 5090, - "name": "bool", - "nodeType": "ElementaryTypeName", - "src": "9448:4:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9447:6:31" - }, - "scope": 5367, - "src": "9392:151:31", - "stateMutability": "view", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 5151, - "nodeType": "Block", - "src": "9838:244:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5118, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5114, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5108, - "src": "9856:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5116, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9870:1:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 5115, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "9862:7:31", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 5117, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9862:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "9856:16:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4261642061646472657373", - "id": 5119, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9874:13:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - }, - "value": "Bad address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - } - ], - "id": 5113, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "9848:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5120, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9848:40:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5121, - "nodeType": "ExpressionStatement", - "src": "9848:40:31" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5126, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "!", - "prefix": true, - "src": "9906:16:31", - "subExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5124, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5110, - "src": "9914:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5123, - "name": "exists", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5106, - "src": "9907:6:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", - "typeString": "function (uint256) view returns (bool)" - } - }, - "id": 5125, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9907:15:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "426164206f7065726174696f6e", - "id": 5127, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "9924:15:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - }, - "value": "Bad operation" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_b2f6609b5182db4f60765c6943aa1fb5371ef13b9357a91723d75f141807fa51", - "typeString": "literal_string \"Bad operation\"" - } - ], - "id": 5122, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "9898:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5128, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9898:42:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5129, - "nodeType": "ExpressionStatement", - "src": "9898:42:31" - }, - { - "expression": { - "argumentTypes": null, - "id": 5134, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5130, - "name": "_tokenOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4724, - "src": "9951:11:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 5132, - "indexExpression": { - "argumentTypes": null, - "id": 5131, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5110, - "src": "9963:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "9951:20:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5133, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5108, - "src": "9974:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "9951:25:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5135, - "nodeType": "ExpressionStatement", - "src": "9951:25:31" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5137, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4733, - "src": "10001:12:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 5139, - "indexExpression": { - "argumentTypes": null, - "id": 5138, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5108, - "src": "10014:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "10001:16:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - { - "argumentTypes": null, - "id": 5140, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5110, - "src": "10019:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5136, - "name": "addOwnedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "9986:14:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256[] storage pointer,uint256)" - } - }, - "id": 5141, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "9986:41:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5142, - "nodeType": "ExpressionStatement", - "src": "9986:41:31" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5145, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10059:1:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 5144, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10051:7:31", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 5146, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10051:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 5147, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5108, - "src": "10063:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5148, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5110, - "src": "10067:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5143, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9332, - "src": "10042:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 5149, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10042:33:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5150, - "nodeType": "EmitStatement", - "src": "10037:38:31" - } - ] - }, - "documentation": "@dev Internal function to mint a new token\nReverts if the given token ID already exists\n@param to The address that will own the minted token\n@param tokenId uint256 ID of the token to be minted", - "id": 5152, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "mint", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5111, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5108, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 5152, - "src": "9800:10:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5107, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "9800:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5110, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 5152, - "src": "9812:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5109, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "9812:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "9799:29:31" - }, - "returnParameters": { - "id": 5112, - "nodeType": "ParameterList", - "parameters": [], - "src": "9838:0:31" - }, - "scope": 5367, - "src": "9786:296:31", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 5196, - "nodeType": "Block", - "src": "10410:262:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5164, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5161, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5156, - "src": "10437:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5160, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5366, - "src": "10428:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 5162, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10428:17:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 5163, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "10449:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "10428:26:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 5165, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10456:14:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - } - ], - "id": 5159, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "10420:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5166, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10420:51:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5167, - "nodeType": "ExpressionStatement", - "src": "10420:51:31" - }, - { - "expression": { - "argumentTypes": null, - "id": 5171, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "10482:31:31", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5168, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4728, - "src": "10489:15:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 5170, - "indexExpression": { - "argumentTypes": null, - "id": 5169, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5156, - "src": "10505:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10489:24:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5172, - "nodeType": "ExpressionStatement", - "src": "10482:31:31" - }, - { - "expression": { - "argumentTypes": null, - "id": 5179, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5173, - "name": "_tokenOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4724, - "src": "10524:11:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 5175, - "indexExpression": { - "argumentTypes": null, - "id": 5174, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5156, - "src": "10536:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "10524:20:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5177, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10555:1:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 5176, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10547:7:31", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 5178, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10547:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "10524:33:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5180, - "nodeType": "ExpressionStatement", - "src": "10524:33:31" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5182, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4733, - "src": "10585:12:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 5184, - "indexExpression": { - "argumentTypes": null, - "id": 5183, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "10598:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "10585:19:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - { - "argumentTypes": null, - "id": 5185, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5156, - "src": "10606:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5181, - "name": "removeOwnedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5341, - "src": "10567:17:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256[] storage pointer,uint256)" - } - }, - "id": 5186, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10567:47:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5187, - "nodeType": "ExpressionStatement", - "src": "10567:47:31" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5189, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5154, - "src": "10638:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5191, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "10653:1:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 5190, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "10645:7:31", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 5192, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10645:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - { - "argumentTypes": null, - "id": 5193, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5156, - "src": "10657:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5188, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9332, - "src": "10629:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 5194, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10629:36:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5195, - "nodeType": "EmitStatement", - "src": "10624:41:31" - } - ] - }, - "documentation": "@dev Internal function to burn a specific token\nReverts if the token does not exist\nDeprecated, use _burn(uint256) instead.\n@param owner owner of the token to burn\n@param tokenId uint256 ID of the token being burned", - "id": 5197, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "burn", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5157, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5154, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 5197, - "src": "10369:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5153, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "10369:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5156, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 5197, - "src": "10384:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5155, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10384:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10368:32:31" - }, - "returnParameters": { - "id": 5158, - "nodeType": "ParameterList", - "parameters": [], - "src": "10410:0:31" - }, - "scope": 5367, - "src": "10355:317:31", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 5209, - "nodeType": "Block", - "src": "10895:49:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5204, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5199, - "src": "10919:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5203, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5366, - "src": "10910:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 5205, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10910:17:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5206, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5199, - "src": "10929:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5202, - "name": "burn", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 5197, - 5210 - ], - "referencedDeclaration": 5197, - "src": "10905:4:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,uint256)" - } - }, - "id": 5207, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "10905:32:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5208, - "nodeType": "ExpressionStatement", - "src": "10905:32:31" - } - ] - }, - "documentation": "@dev Internal function to burn a specific token\nReverts if the token does not exist\n@param tokenId uint256 ID of the token being burned", - "id": 5210, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "burn", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5200, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5199, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 5210, - "src": "10869:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5198, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "10869:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "10868:17:31" - }, - "returnParameters": { - "id": 5201, - "nodeType": "ParameterList", - "parameters": [], - "src": "10895:0:31" - }, - "scope": 5367, - "src": "10855:89:31", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 5268, - "nodeType": "Block", - "src": "11387:348:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5224, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5221, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5216, - "src": "11414:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5220, - "name": "getOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5366, - "src": "11405:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", - "typeString": "function (uint256) view returns (address)" - } - }, - "id": 5222, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11405:17:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "id": 5223, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5212, - "src": "11426:4:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "11405:25:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "556e617574686f72697a6564", - "id": 5225, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11432:14:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - }, - "value": "Unauthorized" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_1b2638459828301e8cd6c7c02856073bacf975379e0867f689bb14feacb780c5", - "typeString": "literal_string \"Unauthorized\"" - } - ], - "id": 5219, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "11397:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5226, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11397:50:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5227, - "nodeType": "ExpressionStatement", - "src": "11397:50:31" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5233, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5229, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5214, - "src": "11465:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5231, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11479:1:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 5230, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "11471:7:31", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 5232, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11471:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "11465:16:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "4261642061646472657373", - "id": 5234, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "11483:13:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - }, - "value": "Bad address" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_6714697b933023aa06e28e4d9249dcbb3c583200f944258eab47d3ef9091d456", - "typeString": "literal_string \"Bad address\"" - } - ], - "id": 5228, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "11457:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5235, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11457:40:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5236, - "nodeType": "ExpressionStatement", - "src": "11457:40:31" - }, - { - "expression": { - "argumentTypes": null, - "id": 5240, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "11508:31:31", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5237, - "name": "_tokenApprovals", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4728, - "src": "11515:15:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 5239, - "indexExpression": { - "argumentTypes": null, - "id": 5238, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5216, - "src": "11531:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11515:24:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5241, - "nodeType": "ExpressionStatement", - "src": "11508:31:31" - }, - { - "expression": { - "argumentTypes": null, - "id": 5246, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5242, - "name": "_tokenOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4724, - "src": "11554:11:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 5244, - "indexExpression": { - "argumentTypes": null, - "id": 5243, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5216, - "src": "11566:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11554:20:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5245, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5214, - "src": "11577:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "src": "11554:25:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "id": 5247, - "nodeType": "ExpressionStatement", - "src": "11554:25:31" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5249, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4733, - "src": "11607:12:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 5251, - "indexExpression": { - "argumentTypes": null, - "id": 5250, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5212, - "src": "11620:4:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11607:18:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - { - "argumentTypes": null, - "id": 5252, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5216, - "src": "11627:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5248, - "name": "removeOwnedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5341, - "src": "11589:17:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256[] storage pointer,uint256)" - } - }, - "id": 5253, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11589:46:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5254, - "nodeType": "ExpressionStatement", - "src": "11589:46:31" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5256, - "name": "_ownedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4733, - "src": "11660:12:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$", - "typeString": "mapping(address => uint256[] storage ref)" - } - }, - "id": 5258, - "indexExpression": { - "argumentTypes": null, - "id": 5257, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5214, - "src": "11673:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "11660:16:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - } - }, - { - "argumentTypes": null, - "id": 5259, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5216, - "src": "11678:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage", - "typeString": "uint256[] storage ref" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5255, - "name": "addOwnedTokens", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5287, - "src": "11645:14:31", - "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$", - "typeString": "function (uint256[] storage pointer,uint256)" - } - }, - "id": 5260, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11645:41:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5261, - "nodeType": "ExpressionStatement", - "src": "11645:41:31" - }, - { - "eventCall": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5263, - "name": "from", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5212, - "src": "11710:4:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5264, - "name": "to", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5214, - "src": "11716:2:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - { - "argumentTypes": null, - "id": 5265, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5216, - "src": "11720:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_address", - "typeString": "address" - }, - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "id": 5262, - "name": "Transfer", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 9332, - "src": "11701:8:31", - "typeDescriptions": { - "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", - "typeString": "function (address,address,uint256)" - } - }, - "id": 5266, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11701:27:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5267, - "nodeType": "EmitStatement", - "src": "11696:32:31" - } - ] - }, - "documentation": "@dev Internal function to transfer ownership of a given token ID to another address.\nAs opposed to transferFrom, this imposes no restrictions on msg.sender.\n@param from current owner of the token\n@param to address to receive the ownership of the given token ID\n@param tokenId uint256 ID of the token to be transferred", - "id": 5269, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "transfer", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5217, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5212, - "name": "from", - "nodeType": "VariableDeclaration", - "scope": 5269, - "src": "11335:12:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5211, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11335:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5214, - "name": "to", - "nodeType": "VariableDeclaration", - "scope": 5269, - "src": "11349:10:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5213, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "11349:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5216, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 5269, - "src": "11361:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5215, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11361:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11334:43:31" - }, - "returnParameters": { - "id": 5218, - "nodeType": "ParameterList", - "parameters": [], - "src": "11387:0:31" - }, - "scope": 5367, - "src": "11317:418:31", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 5286, - "nodeType": "Block", - "src": "11825:69:31", - "statements": [ - { - "expression": { - "argumentTypes": null, - "id": 5284, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5277, - "name": "_ownedTokensPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4737, - "src": "11835:15:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 5279, - "indexExpression": { - "argumentTypes": null, - "id": 5278, - "name": "_tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5274, - "src": "11851:8:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "11835:25:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "id": 5282, - "name": "_tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5274, - "src": "11878:8:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - ], - "expression": { - "argumentTypes": null, - "id": 5280, - "name": "tokenList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5272, - "src": "11863:9:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[] storage pointer" - } - }, - "id": 5281, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "memberName": "push", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "11863:14:31", - "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_uint256_$returns$_t_uint256_$", - "typeString": "function (uint256) returns (uint256)" - } - }, - "id": 5283, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "11863:24:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "11835:52:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5285, - "nodeType": "ExpressionStatement", - "src": "11835:52:31" - } - ] - }, - "documentation": null, - "id": 5287, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "addOwnedTokens", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5275, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5272, - "name": "tokenList", - "nodeType": "VariableDeclaration", - "scope": 5287, - "src": "11769:27:31", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 5270, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11769:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5271, - "length": null, - "nodeType": "ArrayTypeName", - "src": "11769:9:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5274, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 5287, - "src": "11798:16:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5273, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11798:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11768:47:31" - }, - "returnParameters": { - "id": 5276, - "nodeType": "ParameterList", - "parameters": [], - "src": "11825:0:31" - }, - "scope": 5367, - "src": "11745:149:31", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 5340, - "nodeType": "Block", - "src": "11987:335:31", - "statements": [ - { - "assignments": [ - 5296 - ], - "declarations": [ - { - "constant": false, - "id": 5296, - "name": "pos", - "nodeType": "VariableDeclaration", - "scope": 5340, - "src": "11997:8:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5295, - "name": "uint", - "nodeType": "ElementaryTypeName", - "src": "11997:4:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5300, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5297, - "name": "_ownedTokensPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4737, - "src": "12008:15:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 5299, - "indexExpression": { - "argumentTypes": null, - "id": 5298, - "name": "_tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5292, - "src": "12024:8:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12008:25:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "11997:36:31" - }, - { - "condition": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5303, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5301, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5296, - "src": "12046:3:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "==", - "rightExpression": { - "argumentTypes": null, - "hexValue": "30", - "id": 5302, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12053:1:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - }, - "src": "12046:8:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - "falseBody": null, - "id": 5306, - "nodeType": "IfStatement", - "src": "12043:44:31", - "trueBody": { - "id": 5305, - "nodeType": "Block", - "src": "12056:31:31", - "statements": [ - { - "expression": null, - "functionReturnParameters": 5294, - "id": 5304, - "nodeType": "Return", - "src": "12070:7:31" - } - ] - } - }, - { - "expression": { - "argumentTypes": null, - "id": 5310, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "delete", - "prefix": true, - "src": "12096:32:31", - "subExpression": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5307, - "name": "_ownedTokensPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4737, - "src": "12103:15:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 5309, - "indexExpression": { - "argumentTypes": null, - "id": 5308, - "name": "_tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5292, - "src": "12119:8:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12103:25:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5311, - "nodeType": "ExpressionStatement", - "src": "12096:32:31" - }, - { - "assignments": [ - 5313 - ], - "declarations": [ - { - "constant": false, - "id": 5313, - "name": "movedElement", - "nodeType": "VariableDeclaration", - "scope": 5340, - "src": "12138:20:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5312, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12138:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5320, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5314, - "name": "tokenList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5290, - "src": "12161:9:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[] storage pointer" - } - }, - "id": 5319, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5318, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5315, - "name": "tokenList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5290, - "src": "12171:9:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[] storage pointer" - } - }, - "id": 5316, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12171:16:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 5317, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12188:1:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "12171:18:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12161:29:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12138:52:31" - }, - { - "expression": { - "argumentTypes": null, - "id": 5327, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5321, - "name": "tokenList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5290, - "src": "12211:9:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[] storage pointer" - } - }, - "id": 5325, - "indexExpression": { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 5324, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5322, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5296, - "src": "12221:3:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "-", - "rightExpression": { - "argumentTypes": null, - "hexValue": "31", - "id": 5323, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12225:1:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_1_by_1", - "typeString": "int_const 1" - }, - "value": "1" - }, - "src": "12221:5:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12211:16:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5326, - "name": "movedElement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5313, - "src": "12230:12:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12211:31:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5328, - "nodeType": "ExpressionStatement", - "src": "12211:31:31" - }, - { - "expression": { - "argumentTypes": null, - "id": 5332, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "nodeType": "UnaryOperation", - "operator": "--", - "prefix": false, - "src": "12252:18:31", - "subExpression": { - "argumentTypes": null, - "expression": { - "argumentTypes": null, - "id": 5329, - "name": "tokenList", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5290, - "src": "12252:9:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[] storage pointer" - } - }, - "id": 5331, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "memberName": "length", - "nodeType": "MemberAccess", - "referencedDeclaration": null, - "src": "12252:16:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5333, - "nodeType": "ExpressionStatement", - "src": "12252:18:31" - }, - { - "expression": { - "argumentTypes": null, - "id": 5338, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftHandSide": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5334, - "name": "_ownedTokensPos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4737, - "src": "12280:15:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_uint256_$", - "typeString": "mapping(uint256 => uint256)" - } - }, - "id": 5336, - "indexExpression": { - "argumentTypes": null, - "id": 5335, - "name": "movedElement", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5313, - "src": "12296:12:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": true, - "nodeType": "IndexAccess", - "src": "12280:29:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "Assignment", - "operator": "=", - "rightHandSide": { - "argumentTypes": null, - "id": 5337, - "name": "pos", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5296, - "src": "12312:3:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "src": "12280:35:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5339, - "nodeType": "ExpressionStatement", - "src": "12280:35:31" - } - ] - }, - "documentation": null, - "id": 5341, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "removeOwnedTokens", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5293, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5290, - "name": "tokenList", - "nodeType": "VariableDeclaration", - "scope": 5341, - "src": "11931:27:31", - "stateVariable": false, - "storageLocation": "storage", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - }, - "typeName": { - "baseType": { - "id": 5288, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11931:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "id": 5289, - "length": null, - "nodeType": "ArrayTypeName", - "src": "11931:9:31", - "typeDescriptions": { - "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", - "typeString": "uint256[]" - } - }, - "value": null, - "visibility": "internal" - }, - { - "constant": false, - "id": 5292, - "name": "_tokenId", - "nodeType": "VariableDeclaration", - "scope": 5341, - "src": "11960:16:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5291, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "11960:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "11930:47:31" - }, - "returnParameters": { - "id": 5294, - "nodeType": "ParameterList", - "parameters": [], - "src": "11987:0:31" - }, - "scope": 5367, - "src": "11904:418:31", - "stateMutability": "nonpayable", - "superFunction": null, - "visibility": "internal" - }, - { - "body": { - "id": 5365, - "nodeType": "Block", - "src": "12612:126:31", - "statements": [ - { - "assignments": [ - 5349 - ], - "declarations": [ - { - "constant": false, - "id": 5349, - "name": "owner", - "nodeType": "VariableDeclaration", - "scope": 5365, - "src": "12622:13:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5348, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12622:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "id": 5353, - "initialValue": { - "argumentTypes": null, - "baseExpression": { - "argumentTypes": null, - "id": 5350, - "name": "_tokenOwner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 4724, - "src": "12638:11:31", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", - "typeString": "mapping(uint256 => address)" - } - }, - "id": 5352, - "indexExpression": { - "argumentTypes": null, - "id": 5351, - "name": "tokenId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5343, - "src": "12650:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "12638:20:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "VariableDeclarationStatement", - "src": "12622:36:31" - }, - { - "expression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "commonType": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "id": 5359, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "argumentTypes": null, - "id": 5355, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5349, - "src": "12676:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "nodeType": "BinaryOperation", - "operator": "!=", - "rightExpression": { - "argumentTypes": null, - "arguments": [ - { - "argumentTypes": null, - "hexValue": "30", - "id": 5357, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "number", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12693:1:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - }, - "value": "0" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_rational_0_by_1", - "typeString": "int_const 0" - } - ], - "id": 5356, - "isConstant": false, - "isLValue": false, - "isPure": true, - "lValueRequested": false, - "nodeType": "ElementaryTypeNameExpression", - "src": "12685:7:31", - "typeDescriptions": { - "typeIdentifier": "t_type$_t_address_$", - "typeString": "type(address)" - }, - "typeName": "address" - }, - "id": 5358, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "typeConversion", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12685:10:31", - "typeDescriptions": { - "typeIdentifier": "t_address_payable", - "typeString": "address payable" - } - }, - "src": "12676:19:31", - "typeDescriptions": { - "typeIdentifier": "t_bool", - "typeString": "bool" - } - }, - { - "argumentTypes": null, - "hexValue": "42616420746f6b656e", - "id": 5360, - "isConstant": false, - "isLValue": false, - "isPure": true, - "kind": "string", - "lValueRequested": false, - "nodeType": "Literal", - "src": "12697:11:31", - "subdenomination": null, - "typeDescriptions": { - "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", - "typeString": "literal_string \"Bad token\"" - }, - "value": "Bad token" - } - ], - "expression": { - "argumentTypes": [ - { - "typeIdentifier": "t_bool", - "typeString": "bool" - }, - { - "typeIdentifier": "t_stringliteral_51c9cc272756b4677e3f32b99b99acc5e7403ae5ec9eac3978eb5c93e2e3c66e", - "typeString": "literal_string \"Bad token\"" - } - ], - "id": 5354, - "name": "require", - "nodeType": "Identifier", - "overloadedDeclarations": [ - 9456, - 9457 - ], - "referencedDeclaration": 9457, - "src": "12668:7:31", - "typeDescriptions": { - "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", - "typeString": "function (bool,string memory) pure" - } - }, - "id": 5361, - "isConstant": false, - "isLValue": false, - "isPure": false, - "kind": "functionCall", - "lValueRequested": false, - "names": [], - "nodeType": "FunctionCall", - "src": "12668:41:31", - "typeDescriptions": { - "typeIdentifier": "t_tuple$__$", - "typeString": "tuple()" - } - }, - "id": 5362, - "nodeType": "ExpressionStatement", - "src": "12668:41:31" - }, - { - "expression": { - "argumentTypes": null, - "id": 5363, - "name": "owner", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 5349, - "src": "12726:5:31", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "functionReturnParameters": 5347, - "id": 5364, - "nodeType": "Return", - "src": "12719:12:31" - } - ] - }, - "documentation": "@dev Gets the owner of the specified token ID\n@param tokenId uint256 ID of the token to query the owner of\n@return owner address currently marked as the owner of the given token ID", - "id": 5366, - "implemented": true, - "kind": "function", - "modifiers": [], - "name": "getOwner", - "nodeType": "FunctionDefinition", - "parameters": { - "id": 5344, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5343, - "name": "tokenId", - "nodeType": "VariableDeclaration", - "scope": 5366, - "src": "12563:15:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "typeName": { - "id": 5342, - "name": "uint256", - "nodeType": "ElementaryTypeName", - "src": "12563:7:31", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12562:17:31" - }, - "returnParameters": { - "id": 5347, - "nodeType": "ParameterList", - "parameters": [ - { - "constant": false, - "id": 5346, - "name": "", - "nodeType": "VariableDeclaration", - "scope": 5366, - "src": "12603:7:31", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 5345, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "12603:7:31", - "stateMutability": "nonpayable", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - } - ], - "src": "12602:9:31" - }, - "scope": 5367, - "src": "12545:193:31", - "stateMutability": "view", - "superFunction": null, - "visibility": "internal" - } - ], - "scope": 5368, - "src": "808:11937:31" - } - ], - "src": "0:12746:31" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\TokenController.sol": { - "absolutePath": "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\TokenController.sol", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/TokenController.sol": { + "absolutePath": "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/TokenController.sol", "exportedSymbols": { "TokenController": [ - 5399 + 5692 ] }, - "id": 5400, + "id": 5693, "nodeType": "SourceUnit", "nodes": [ { - "id": 5369, + "id": 5662, "literals": [ "solidity", ">=", @@ -124281,7 +74628,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "0:31:32" + "src": "0:31:21" }, { "baseContracts": [], @@ -124289,9 +74636,9 @@ "contractKind": "interface", "documentation": "@dev The token controller contract must implement these functions", "fullyImplemented": false, - "id": 5399, + "id": 5692, "linearizedBaseContracts": [ - 5399 + 5692 ], "name": "TokenController", "nodeType": "ContractDefinition", @@ -124299,23 +74646,23 @@ { "body": null, "documentation": "@notice Called when `_owner` sends ether to the MiniMe Token contract\n@param _owner The address that sent the ether to create tokens\n@return True if the ether is accepted, false if it throws", - "id": 5376, + "id": 5669, "implemented": false, "kind": "function", "modifiers": [], "name": "proxyPayment", "nodeType": "FunctionDefinition", "parameters": { - "id": 5372, + "id": 5665, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 5371, + "id": 5664, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 5376, - "src": "391:14:32", + "scope": 5669, + "src": "391:14:21", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -124323,10 +74670,10 @@ "typeString": "address" }, "typeName": { - "id": 5370, + "id": 5663, "name": "address", "nodeType": "ElementaryTypeName", - "src": "391:7:32", + "src": "391:7:21", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -124337,19 +74684,19 @@ "visibility": "internal" } ], - "src": "390:16:32" + "src": "390:16:21" }, "returnParameters": { - "id": 5375, + "id": 5668, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 5374, + "id": 5667, "name": "", "nodeType": "VariableDeclaration", - "scope": 5376, - "src": "432:4:32", + "scope": 5669, + "src": "432:4:21", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -124357,10 +74704,10 @@ "typeString": "bool" }, "typeName": { - "id": 5373, + "id": 5666, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "432:4:32", + "src": "432:4:21", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -124370,10 +74717,10 @@ "visibility": "internal" } ], - "src": "431:6:32" + "src": "431:6:21" }, - "scope": 5399, - "src": "369:69:32", + "scope": 5692, + "src": "369:69:21", "stateMutability": "payable", "superFunction": null, "visibility": "external" @@ -124381,23 +74728,23 @@ { "body": null, "documentation": "@notice Notifies the controller about a token transfer allowing the\n controller to react if desired\n@param _from The origin of the transfer\n@param _to The destination of the transfer\n@param _amount The amount of the transfer\n@return False if the controller does not authorize the transfer", - "id": 5387, + "id": 5680, "implemented": false, "kind": "function", "modifiers": [], "name": "onTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 5383, + "id": 5676, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 5378, + "id": 5671, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 5387, - "src": "811:13:32", + "scope": 5680, + "src": "811:13:21", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -124405,10 +74752,10 @@ "typeString": "address" }, "typeName": { - "id": 5377, + "id": 5670, "name": "address", "nodeType": "ElementaryTypeName", - "src": "811:7:32", + "src": "811:7:21", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -124420,11 +74767,11 @@ }, { "constant": false, - "id": 5380, + "id": 5673, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 5387, - "src": "826:11:32", + "scope": 5680, + "src": "826:11:21", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -124432,10 +74779,10 @@ "typeString": "address" }, "typeName": { - "id": 5379, + "id": 5672, "name": "address", "nodeType": "ElementaryTypeName", - "src": "826:7:32", + "src": "826:7:21", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -124447,11 +74794,11 @@ }, { "constant": false, - "id": 5382, + "id": 5675, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 5387, - "src": "839:12:32", + "scope": 5680, + "src": "839:12:21", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -124459,10 +74806,10 @@ "typeString": "uint256" }, "typeName": { - "id": 5381, + "id": 5674, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "839:4:32", + "src": "839:4:21", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -124472,19 +74819,19 @@ "visibility": "internal" } ], - "src": "810:42:32" + "src": "810:42:21" }, "returnParameters": { - "id": 5386, + "id": 5679, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 5385, + "id": 5678, "name": "", "nodeType": "VariableDeclaration", - "scope": 5387, - "src": "870:4:32", + "scope": 5680, + "src": "870:4:21", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -124492,10 +74839,10 @@ "typeString": "bool" }, "typeName": { - "id": 5384, + "id": 5677, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "870:4:32", + "src": "870:4:21", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -124505,10 +74852,10 @@ "visibility": "internal" } ], - "src": "869:6:32" + "src": "869:6:21" }, - "scope": 5399, - "src": "791:85:32", + "scope": 5692, + "src": "791:85:21", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" @@ -124516,23 +74863,23 @@ { "body": null, "documentation": "@notice Notifies the controller about an approval allowing the\n controller to react if desired\n@param _owner The address that calls `approve()`\n@param _spender The spender in the `approve()` call\n@param _amount The amount in the `approve()` call\n@return False if the controller does not authorize the approval", - "id": 5398, + "id": 5691, "implemented": false, "kind": "function", "modifiers": [], "name": "onApprove", "nodeType": "FunctionDefinition", "parameters": { - "id": 5394, + "id": 5687, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 5389, + "id": 5682, "name": "_owner", "nodeType": "VariableDeclaration", - "scope": 5398, - "src": "1269:14:32", + "scope": 5691, + "src": "1269:14:21", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -124540,10 +74887,10 @@ "typeString": "address" }, "typeName": { - "id": 5388, + "id": 5681, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1269:7:32", + "src": "1269:7:21", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -124555,11 +74902,11 @@ }, { "constant": false, - "id": 5391, + "id": 5684, "name": "_spender", "nodeType": "VariableDeclaration", - "scope": 5398, - "src": "1285:16:32", + "scope": 5691, + "src": "1285:16:21", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -124567,10 +74914,10 @@ "typeString": "address" }, "typeName": { - "id": 5390, + "id": 5683, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1285:7:32", + "src": "1285:7:21", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -124582,11 +74929,11 @@ }, { "constant": false, - "id": 5393, + "id": 5686, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 5398, - "src": "1303:12:32", + "scope": 5691, + "src": "1303:12:21", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -124594,10 +74941,10 @@ "typeString": "uint256" }, "typeName": { - "id": 5392, + "id": 5685, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1303:4:32", + "src": "1303:4:21", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -124607,19 +74954,19 @@ "visibility": "internal" } ], - "src": "1268:48:32" + "src": "1268:48:21" }, "returnParameters": { - "id": 5397, + "id": 5690, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 5396, + "id": 5689, "name": "", "nodeType": "VariableDeclaration", - "scope": 5398, - "src": "1342:4:32", + "scope": 5691, + "src": "1342:4:21", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -124627,10 +74974,10 @@ "typeString": "bool" }, "typeName": { - "id": 5395, + "id": 5688, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1342:4:32", + "src": "1342:4:21", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -124640,31 +74987,24 @@ "visibility": "internal" } ], - "src": "1341:6:32" + "src": "1341:6:21" }, - "scope": 5399, - "src": "1250:98:32", + "scope": 5692, + "src": "1250:98:21", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" } ], - "scope": 5400, - "src": "109:1241:32" + "scope": 5693, + "src": "109:1241:21" } ], - "src": "0:1351:32" + "src": "0:1351:21" } }, "contracts":{ - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Address.sol:Address": { - "bin-runtime": "73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820446ad7bd3d84f5fc04d028c08133b6b63f9e4715398f4ed79198212ade3949f30029", - "bin": "604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820446ad7bd3d84f5fc04d028c08133b6b63f9e4715398f4ed79198212ade3949f30029", - "abi": [], - "srcmap": "98:1024:0:-;;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", - "srcmap-runtime": "98:1024:0:-;;;;;;;;" - }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Controlled.sol:Controlled": { + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Controlled.sol:Controlled": { "bin-runtime": "", "bin": "", "abi": [ @@ -124706,67 +75046,7 @@ "srcmap": "", "srcmap-runtime": "" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Introspective.sol:ERC165": { - "bin-runtime": "", - "bin": "", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "interfaceID", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - } - ], - "srcmap": "", - "srcmap-runtime": "" - }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Introspective.sol:Introspective": { - "bin-runtime": "", - "bin": "", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - } - ], - "srcmap": "", - "srcmap-runtime": "" - }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/Owned.sol:Owned": { + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/common/Owned.sol:Owned": { "bin-runtime": "", "bin": "", "abi": [ @@ -124831,654 +75111,127 @@ "srcmap": "", "srcmap-runtime": "" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/common/SafeMath.sol:SafeMath": { - "bin-runtime": "73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a7230582058f63aedde7ce0e421491929d167c93f5e2a066405a7523e47bc8bf882a18a230029", - "bin": "604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a7230582058f63aedde7ce0e421491929d167c93f5e2a066405a7523e47bc8bf882a18a230029", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/math/safe-math.sol:SafeMath": { + "bin-runtime": "73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820292152cb53d07df32811b4a6034da5725c2834455ab21f1b0303637ab9e8ce850029", + "bin": "604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820292152cb53d07df32811b4a6034da5725c2834455ab21f1b0303637ab9e8ce850029", "abi": [], - "srcmap": "84:1187:4:-;;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", - "srcmap-runtime": "84:1187:4:-;;;;;;;;" + "srcmap": "254:2418:2:-;;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", + "srcmap-runtime": "254:2418:2:-;;;;;;;;" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/SNTController.sol:SNTController": { + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/ownership/ownable.sol:Ownable": { + "bin-runtime": "608060405234801561001057600080fd5b5060043610610068577c01000000000000000000000000000000000000000000000000000000006000350463538ba4f9811461006d57806371d78b12146100ea5780638da5cb5b146100f2578063f2fde38b14610116575b600080fd5b61007561013e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100af578181015183820152602001610097565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610075610175565b6100fa6101ac565b60408051600160a060020a039092168252519081900360200190f35b61013c6004803603602081101561012c57600080fd5b5035600160a060020a03166101bb565b005b60408051808201909152600681527f3031383030320000000000000000000000000000000000000000000000000000602082015281565b60408051808201909152600681527f3031383030310000000000000000000000000000000000000000000000000000602082015281565b600054600160a060020a031681565b60005460408051808201909152600681527f3031383030310000000000000000000000000000000000000000000000000000602082015290600160a060020a031633146102a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561026557818101518382015260200161024d565b50505050905090810190601f1680156102925780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060408051808201909152600681527f30313830303200000000000000000000000000000000000000000000000000006020820152600160a060020a0382161515610347576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360008381101561026557818101518382015260200161024d565b5060008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905556fea165627a7a72305820e77d489b557a2c6f5214c3ee614ef0bb3921a0a31a5cc5e80a0c0b16a57893550029", + "bin": "608060405234801561001057600080fd5b5060008054600160a060020a031916331790556103dc806100326000396000f3fe608060405234801561001057600080fd5b5060043610610068577c01000000000000000000000000000000000000000000000000000000006000350463538ba4f9811461006d57806371d78b12146100ea5780638da5cb5b146100f2578063f2fde38b14610116575b600080fd5b61007561013e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100af578181015183820152602001610097565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610075610175565b6100fa6101ac565b60408051600160a060020a039092168252519081900360200190f35b61013c6004803603602081101561012c57600080fd5b5035600160a060020a03166101bb565b005b60408051808201909152600681527f3031383030320000000000000000000000000000000000000000000000000000602082015281565b60408051808201909152600681527f3031383030310000000000000000000000000000000000000000000000000000602082015281565b600054600160a060020a031681565b60005460408051808201909152600681527f3031383030310000000000000000000000000000000000000000000000000000602082015290600160a060020a031633146102a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561026557818101518382015260200161024d565b50505050905090810190601f1680156102925780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060408051808201909152600681527f30313830303200000000000000000000000000000000000000000000000000006020820152600160a060020a0382161515610347576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360008381101561026557818101518382015260200161024d565b5060008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039290921691909117905556fea165627a7a72305820e77d489b557a2c6f5214c3ee614ef0bb3921a0a31a5cc5e80a0c0b16a57893550029", + "abi": [ + { + "constant": true, + "inputs": [], + "name": "ZERO_ADDRESS", + "outputs": [ + { + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "NOT_OWNER", + "outputs": [ + { + "name": "", + "type": "string" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [], + "name": "owner", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + } + ], + "srcmap": "333:1214:3:-;;;956:56;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;989:5:3;:18;;-1:-1:-1;;;;;;989:18:3;997:10;989:18;;;333:1214;;;;;;", + "srcmap-runtime": "333:1214:3:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;333:1214:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;443:46;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;443:46:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;396:43;;;:::i;539:20::-;;;:::i;:::-;;;;-1:-1:-1;;;;;539:20:3;;;;;;;;;;;;;;1334:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1334:210:3;-1:-1:-1;;;;;1334:210:3;;:::i;:::-;;443:46;;;;;;;;;;;;;;;;;;;:::o;396:43::-;;;;;;;;;;;;;;;;;;;:::o;539:20::-;;;-1:-1:-1;;;;;539:20:3;;:::o;1334:210::-;1143:5;;1150:9;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1143:5:3;1129:10;:19;1121:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1121:39:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1454:12:3;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1429:23:3;;;;1421:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;1421:46:3;-1:-1:-1;1499:5:3;;;1478:38;;-1:-1:-1;;;;;1478:38:3;;;;1499:5;;;1478:38;;;1522:5;:17;;-1:-1:-1;;1522:17:3;-1:-1:-1;;;;;1522:17:3;;;;;;;;;;1334:210::o" + }, + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721-enumerable.sol:ERC721Enumerable": { "bin-runtime": "", "bin": "", "abi": [ { "constant": true, "inputs": [], - "name": "snt", + "name": "totalSupply", "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_newController", - "type": "address" - } - ], - "name": "changeController", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "address" - }, { "name": "", "type": "uint256" } ], - "name": "onTransfer", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "acceptOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], "payable": false, "stateMutability": "view", "type": "function" }, - { - "constant": false, - "inputs": [ - { - "name": "_newOwner", - "type": "address" - } - ], - "name": "changeOwner", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, { "constant": true, - "inputs": [], - "name": "newOwner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "uint256" - } - ], - "name": "onApprove", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_token", - "type": "address" - } - ], - "name": "claimTokens", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "proxyPayment", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": true, - "stateMutability": "payable", - "type": "function" - }, - { "inputs": [ { "name": "_owner", "type": "address" }, { - "name": "_snt", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_token", - "type": "address" - }, - { - "indexed": true, - "name": "_controller", - "type": "address" - }, - { - "indexed": false, - "name": "_amount", - "type": "uint256" - } - ], - "name": "ClaimedTokens", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_newController", - "type": "address" - } - ], - "name": "ControllerChanged", - "type": "event" - } - ], - "srcmap": "", - "srcmap-runtime": "" - }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/StatusNetwork.sol:StatusNetwork": { - "bin-runtime": "6080604052600436106100ae576000357c010000000000000000000000000000000000000000000000000000000090048063a6f9dae111610076578063a6f9dae11461019a578063d4ee1d90146101cd578063da682aeb14610119578063df8de3e7146101e2578063f48c305414610215576100ae565b8063060eb520146100b35780633cebb823146100e45780634a3931491461011957806379ba5097146101705780638da5cb5b14610185575b600080fd5b3480156100bf57600080fd5b506100c861023b565b60408051600160a060020a039092168252519081900360200190f35b3480156100f057600080fd5b506101176004803603602081101561010757600080fd5b5035600160a060020a031661024a565b005b34801561012557600080fd5b5061015c6004803603606081101561013c57600080fd5b50600160a060020a03813581169160208101359091169060400135610379565b604080519115158252519081900360200190f35b34801561017c57600080fd5b50610117610382565b34801561019157600080fd5b506100c86103c7565b3480156101a657600080fd5b50610117600480360360208110156101bd57600080fd5b5035600160a060020a03166103d6565b3480156101d957600080fd5b506100c861047e565b3480156101ee57600080fd5b506101176004803603602081101561020557600080fd5b5035600160a060020a031661048d565b61015c6004803603602081101561022b57600080fd5b5035600160a060020a03166107eb565b600254600160a060020a031681565b600054600160a060020a031633146102c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b15801561032a57600080fd5b505af115801561033e573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027c3e080ed9215f564a9455a666f7e459b3edc0bb6e02a1bf842fde4d0ccfc19150600090a250565b60019392505050565b600154600160a060020a03163314156103c5576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b600054600160a060020a031681565b600054600160a060020a0316331461044f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600154600160a060020a031681565b600054600160a060020a0316331461050657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517ff77c479100000000000000000000000000000000000000000000000000000000815290513092600160a060020a03169163f77c4791916004808301926020929190829003018186803b15801561056357600080fd5b505afa158015610577573d6000803e3d6000fd5b505050506040513d602081101561058d57600080fd5b5051600160a060020a0316141561061e57600254604080517fdf8de3e7000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163df8de3e791602480830192600092919082900301818387803b15801561060557600080fd5b505af1158015610619573d6000803e3d6000fd5b505050505b600160a060020a038116151561066f5760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610669573d6000803e3d6000fd5b506107e8565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b1580156106d357600080fd5b505afa1580156106e7573d6000803e3d6000fd5b505050506040513d60208110156106fd57600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b15801561077357600080fd5b505af1158015610787573d6000803e3d6000fd5b505050506040513d602081101561079d57600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b5060009056fea165627a7a723058201e246de8add6564e7b201a0ed337abc2956ec33aa7c00c3cfd3d01726b9a195a0029", - "bin": "608060405234801561001057600080fd5b506040516040806108c88339810180604052604081101561003057600080fd5b50805160209091015160008054600160a060020a031916331790558181600160a060020a038216156100785760008054600160a060020a031916600160a060020a0384161790555b60028054600160a060020a03909216600160a060020a031990921691909117905550505061081d806100ab6000396000f3fe6080604052600436106100ae576000357c010000000000000000000000000000000000000000000000000000000090048063a6f9dae111610076578063a6f9dae11461019a578063d4ee1d90146101cd578063da682aeb14610119578063df8de3e7146101e2578063f48c305414610215576100ae565b8063060eb520146100b35780633cebb823146100e45780634a3931491461011957806379ba5097146101705780638da5cb5b14610185575b600080fd5b3480156100bf57600080fd5b506100c861023b565b60408051600160a060020a039092168252519081900360200190f35b3480156100f057600080fd5b506101176004803603602081101561010757600080fd5b5035600160a060020a031661024a565b005b34801561012557600080fd5b5061015c6004803603606081101561013c57600080fd5b50600160a060020a03813581169160208101359091169060400135610379565b604080519115158252519081900360200190f35b34801561017c57600080fd5b50610117610382565b34801561019157600080fd5b506100c86103c7565b3480156101a657600080fd5b50610117600480360360208110156101bd57600080fd5b5035600160a060020a03166103d6565b3480156101d957600080fd5b506100c861047e565b3480156101ee57600080fd5b506101176004803603602081101561020557600080fd5b5035600160a060020a031661048d565b61015c6004803603602081101561022b57600080fd5b5035600160a060020a03166107eb565b600254600160a060020a031681565b600054600160a060020a031633146102c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b15801561032a57600080fd5b505af115801561033e573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027c3e080ed9215f564a9455a666f7e459b3edc0bb6e02a1bf842fde4d0ccfc19150600090a250565b60019392505050565b600154600160a060020a03163314156103c5576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b600054600160a060020a031681565b600054600160a060020a0316331461044f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600154600160a060020a031681565b600054600160a060020a0316331461050657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517ff77c479100000000000000000000000000000000000000000000000000000000815290513092600160a060020a03169163f77c4791916004808301926020929190829003018186803b15801561056357600080fd5b505afa158015610577573d6000803e3d6000fd5b505050506040513d602081101561058d57600080fd5b5051600160a060020a0316141561061e57600254604080517fdf8de3e7000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163df8de3e791602480830192600092919082900301818387803b15801561060557600080fd5b505af1158015610619573d6000803e3d6000fd5b505050505b600160a060020a038116151561066f5760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610669573d6000803e3d6000fd5b506107e8565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b1580156106d357600080fd5b505afa1580156106e7573d6000803e3d6000fd5b505050506040513d60208110156106fd57600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b15801561077357600080fd5b505af1158015610787573d6000803e3d6000fd5b505050506040513d602081101561079d57600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b5060009056fea165627a7a723058201e246de8add6564e7b201a0ed337abc2956ec33aa7c00c3cfd3d01726b9a195a0029", - "abi": [ - { - "constant": true, - "inputs": [], - "name": "snt", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_newController", - "type": "address" - } - ], - "name": "changeController", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "uint256" - } - ], - "name": "onTransfer", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "acceptOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_newOwner", - "type": "address" - } - ], - "name": "changeOwner", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "newOwner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "address" - }, - { - "name": "", - "type": "uint256" - } - ], - "name": "onApprove", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_token", - "type": "address" - } - ], - "name": "claimTokens", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "proxyPayment", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": true, - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_snt", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_token", - "type": "address" - }, - { - "indexed": true, - "name": "_controller", - "type": "address" - }, - { - "indexed": false, - "name": "_amount", - "type": "uint256" - } - ], - "name": "ClaimedTokens", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_newController", - "type": "address" - } - ], - "name": "ControllerChanged", - "type": "event" - } - ], - "srcmap": "192:310:6:-;;;357:140;8:9:-1;5:2;;;30:1;27;20:12;5:2;357:140:6;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;357:140:6;;;;;;;502:5:3;:18;;-1:-1:-1;;;;;;502:18:3;510:10;502:18;;;357:140:6;;-1:-1:-1;;;;;1026:20:5;;;1023:65;;1062:5;:14;;-1:-1:-1;;;;;;1062:14:5;-1:-1:-1;;;;;1062:14:5;;;;;1023:65;1098:3;:10;;-1:-1:-1;;;;;1098:10:5;;;-1:-1:-1;;;;;;1098:10:5;;;;;;;;;-1:-1:-1;;;192:310:6;;;;;;", - "srcmap-runtime": "192:310:6:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;642:22:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;642:22:5;;;:::i;:::-;;;;-1:-1:-1;;;;;642:22:5;;;;;;;;;;;;;;1366:180;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1366:180:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1366:180:5;-1:-1:-1;;;;;1366:180:5;;:::i;:::-;;2859:219;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2859:219:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2859:219:5;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;920:123:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;920:123:3;;;:::i;357:28::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;357:28:3;;;:::i;806:104::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;806:104:3;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;806:104:3;-1:-1:-1;;;;;806:104:3;;:::i;536:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;536:31:3;;;:::i;1825:494:5:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1825:494:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1825:494:5;-1:-1:-1;;;;;1825:494:5;;:::i;2510:212::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2510:212:5;-1:-1:-1;;;;;2510:212:5;;:::i;642:22::-;;;-1:-1:-1;;;;;642:22:5;;:::o;1366:180::-;307:5:3;;-1:-1:-1;;;;;307:5:3;293:10;:19;285:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1453:3:5;;:36;;;;;;-1:-1:-1;;;;;1453:36:5;;;;;;;;;:3;;;;;:20;;:36;;;;;:3;;:36;;;;;;;:3;;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;1453:36:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;1505:33:5;;-1:-1:-1;;;;;1505:33:5;;;-1:-1:-1;1505:33:5;;-1:-1:-1;1505:33:5;;;1366:180;:::o;2859:219::-;3066:4;2859:219;;;;;:::o;920:123:3:-;983:8;;-1:-1:-1;;;;;983:8:3;969:10;:22;965:71;;;1016:8;;;1008:16;;-1:-1:-1;;1008:16:3;-1:-1:-1;;;;;1016:8:3;;;1008:16;;;;;;965:71;920:123::o;357:28::-;;;-1:-1:-1;;;;;357:28:3;;:::o;806:104::-;307:5;;-1:-1:-1;;;;;307:5:3;293:10;:19;285:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;882:8;:20;;-1:-1:-1;;882:20:3;-1:-1:-1;;;;;882:20:3;;;;;;;;;;806:104::o;536:31::-;;;-1:-1:-1;;;;;536:31:3;;:::o;1825:494:5:-;307:5:3;;-1:-1:-1;;;;;307:5:3;293:10;:19;285:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1894:3:5;;:16;;;;;;;;1922:4;;-1:-1:-1;;;;;1894:3:5;;:14;;:16;;;;;;;;;;;;;;:3;:16;;;5:2:-1;;;;30:1;27;20:12;5:2;1894:16:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1894:16:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1894:16:5;-1:-1:-1;;;;;1894:33:5;;1890:89;;;1944:3;;:23;;;;;;-1:-1:-1;;;;;1944:23:5;;;;;;;;;:3;;;;;:15;;:23;;;;;:3;;:23;;;;;;;:3;;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;1944:23:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1944:23:5;;;;1890:89;-1:-1:-1;;;;;1993:20:5;;;1989:120;;;2038:5;;;2030:46;;-1:-1:-1;;;;;2038:5:5;;;;2062:4;2054:21;2030:46;;;;;2054:21;;2030:46;2038:5;2030:46;2054:21;2038:5;2030:46;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2030:46:5;2091:7;;1989:120;2187:30;;;;;;2211:4;2187:30;;;;;;2151:6;;2121:16;;-1:-1:-1;;;;;2187:15:5;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;2187:30:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2187:30:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2187:30:5;2243:5;;;2228:30;;;;;;-1:-1:-1;;;;;2243:5:5;;;2228:30;;;;;;;;;;;;2187;;-1:-1:-1;2228:14:5;;;;;;:30;;;;;2187;;2228;;;;;;;;;;;:14;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;2228:30:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2228:30:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;2296:5:5;;2274:37;;;;;;;;-1:-1:-1;;;;;2296:5:5;;;;2274:37;;;;;;;;;2228:30;2274:37;;;340:1:3;;;1825:494:5;:::o;2510:212::-;-1:-1:-1;2567:4:5;;2510:212::o" - }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/status/sticker-market/StickerMarket.sol:StickerMarket": { - "bin-runtime": "608060405234801561001057600080fd5b506004361061026c5760003560e060020a9004806392be2ab811610155578063b7f48211116100c7578063df8de3e71161008b578063df8de3e714610d50578063e8bb714314610d76578063e985e9c514610da3578063ea66aeb314610dd1578063f77c479114610df7578063fadb10e614610dff5761026c565b8063b7f4821114610a95578063b84c139214610aba578063b88d4fde14610b88578063c19d93fb14610c18578063d2bf36c014610c445761026c565b8063a22cb46511610119578063a22cb46514610898578063a546af4c146108c6578063aeeaf3da146108e3578063b09afec114610910578063b34b5825146109f1578063b5420d6814610a685761026c565b806392be2ab8146107d65780639389c5b5146107f35780639c3a39a21461081c5780639f181b5e146108695780639f9a9b63146108715761026c565b80633cebb823116101ee5780636352211e116101b25780636352211e146106355780636a8479811461065257806370a08231146106c957806386a7413c146106ef5780638f4ffcb11461071b5780639134709e146107aa5761026c565b80633cebb823146104d657806342842e0e146104fc5780634c06dc1714610532578063536b04451461060d57806361bd67251461062d5761026c565b806312d025021161023557806312d025021461033e578063188b53721461042b578063189d165e1461045757806323b872dd146104745780632f745c59146104aa5761026c565b8062b3c91b1461027157806301ffc9a714610296578063060eb520146102d1578063081812fc146102f5578063095ea7b314610312575b600080fd5b6102946004803603604081101561028757600080fd5b5080359060200135610e2b565b005b6102bd600480360360208110156102ac57600080fd5b5035600160e060020a031916611066565b604080519115158252519081900360200190f35b6102d9611085565b60408051600160a060020a039092168252519081900360200190f35b6102d96004803603602081101561030b57600080fd5b5035611094565b6102946004803603604081101561032857600080fd5b50600160a060020a038135169060200135611111565b610419600480360360a081101561035457600080fd5b81359160208101359181019060608101604082013564010000000081111561037b57600080fd5b82018360208201111561038d57600080fd5b803590602001918460208302840111640100000000831117156103af57600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156103da57600080fd5b8201836020820111156103ec57600080fd5b8035906020019184600183028401116401000000008311171561040e57600080fd5b509092509050611257565b60408051918252519081900360200190f35b6104196004803603604081101561044157600080fd5b50600160a060020a0381351690602001356112db565b6102946004803603602081101561046d57600080fd5b503561133f565b6102946004803603606081101561048a57600080fd5b50600160a060020a03813581169160208101359091169060400135611424565b610419600480360360408110156104c057600080fd5b50600160a060020a0381351690602001356114f3565b610294600480360360208110156104ec57600080fd5b5035600160a060020a0316611599565b6102946004803603606081101561051257600080fd5b50600160a060020a03813581169160208101359091169060400135611618565b610419600480360360a081101561054857600080fd5b81359160208101359181019060608101604082013564010000000081111561056f57600080fd5b82018360208201111561058157600080fd5b803590602001918460208302840111640100000000831117156105a357600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156105ce57600080fd5b8201836020820111156105e057600080fd5b8035906020019184600183028401116401000000008311171561060257600080fd5b50909250905061186b565b6102946004803603602081101561062357600080fd5b503560ff16611931565b6104196119e7565b6102d96004803603602081101561064b57600080fd5b50356119ed565b6102946004803603604081101561066857600080fd5b8135919081019060408101602082013564010000000081111561068a57600080fd5b82018360208201111561069c57600080fd5b803590602001918460018302840111640100000000831117156106be57600080fd5b5090925090506119f8565b610419600480360360208110156106df57600080fd5b5035600160a060020a0316611a6a565b6102946004803603604081101561070557600080fd5b5080359060200135600160a060020a0316611ae8565b6102946004803603608081101561073157600080fd5b600160a060020a03823581169260208101359260408201359092169181019060808101606082013564010000000081111561076b57600080fd5b82018360208201111561077d57600080fd5b8035906020019184600183028401116401000000008311171561079f57600080fd5b509092509050611bee565b610419600480360360408110156107c057600080fd5b5080359060200135600160a060020a0316611ff0565b610294600480360360208110156107ec57600080fd5b5035611ffd565b6102946004803603606081101561080957600080fd5b5080359060208101359060400135612088565b6108396004803603602081101561083257600080fd5b50356121b1565b60408051600160a060020a0390951685529215156020850152838301919091526060830152519081900360800190f35b61041961235c565b6104196004803603602081101561088757600080fd5b5035600160e060020a031916612362565b610294600480360360408110156108ae57600080fd5b50600160a060020a038135169060200135151561237e565b610419600480360360208110156108dc57600080fd5b503561243b565b610294600480360360408110156108f957600080fd5b5080359060200135600160e060020a03191661244d565b61092d6004803603602081101561092657600080fd5b5035612523565b604051808060200184815260200180602001838103835286818151815260200191508051906020019060200280838360005b8381101561097757818101518382015260200161095f565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156109b357818101518382015260200161099b565b50505050905090810190601f1680156109e05780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b610a1860048036036020811015610a0757600080fd5b5035600160e060020a031916612554565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610a54578181015183820152602001610a3c565b505050509050019250505060405180910390f35b61041960048036036040811015610a7e57600080fd5b50600160e060020a031981351690602001356125c1565b61029460048036036040811015610aab57600080fd5b508035906020013515156125e6565b610ad760048036036020811015610ad057600080fd5b50356126ed565b6040518087600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b48578181015183820152602001610b30565b50505050905090810190601f168015610b755780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b61029460048036036080811015610b9e57600080fd5b600160a060020a03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610bd957600080fd5b820183602082011115610beb57600080fd5b80359060200191846001830284011164010000000083111715610c0d57600080fd5b5090925090506127c3565b610c20612a40565b60405180826004811115610c3057fe5b60ff16815260200191505060405180910390f35b610c6160048036036020811015610c5a57600080fd5b5035612a49565b604051808060200187600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200180602001838103835289818151815260200191508051906020019060200280838360005b83811015610cd3578181015183820152602001610cbb565b50505050905001838103825284818151815260200191508051906020019080838360005b83811015610d0f578181015183820152602001610cf7565b50505050905090810190601f168015610d3c5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b61029460048036036020811015610d6657600080fd5b5035600160a060020a0316612c05565b61029460048036036040811015610d8c57600080fd5b5080359060200135600160e060020a031916612e22565b6102bd60048036036040811015610db957600080fd5b50600160a060020a0381358116916020013516612ef3565b610a1860048036036020811015610de757600080fd5b5035600160a060020a0316612f21565b6102d9612f8b565b6102bd60048036036040811015610e1557600080fd5b5080359060200135600160a060020a0316612f9a565b600054600160a060020a03163314610e7b576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000828152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610f0157602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411610ec05790505b5050505050905060008260001415610f1b57508051610f77565b8151831115610f74576040805160e560020a62461bcd02815260206004820152600960248201527f426164206c696d69740000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50815b81516000811115610f8757600019015b60005b82811015610fbd57610fb58685838503815181101515610fa657fe5b90602001906020020151612fbe565b600101610f8a565b506000858152600b6020526040902054151561105f576000858152600b6020526040812090610fec828261460d565b60018201805474ffffffffffffffffffffffffffffffffffffffffff191690556000600283018190556003830181905560048301819055611031906005840190614632565b505060405185907f98f986773731debbbf041b73d7edaec62da3ff42b2116c45cd0001fb40ed908690600090a25b5050505050565b600160e060020a03191660009081526001602052604090205460ff1690565b600a54600160a060020a031681565b600061109f8261330a565b15156110f5576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600090815260036020526040902054600160a060020a031690565b600061111c82613327565b9050600160a060020a038381169082161415611170576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b33600160a060020a03821614806111aa5750600160a060020a038116600090815260066020908152604080832033845290915290205460ff165b15156111ee576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600082815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006112cf3387878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93508e92508d918a908a908190840183828082843760009201919091525061339692505050565b98975050505050505050565b60008054600160a060020a0316331461132c576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6113368383613582565b90505b92915050565b600054600160a060020a0316331461138f576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b60098190556127108111156113ee576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e6e6f74206265206d6f7265207468656e203130302e3030250000000000604482015290519081900360640190fd5b6040805182815290517f59701ed6f46ff3f5c94b1b741d5b3f2968eb7a0ae31d2cf2a3a9f2153d18b5149181900360200190a150565b8033600061143183613327565b905080600160a060020a031682600160a060020a0316148061146c5750600083815260036020526040902054600160a060020a038381169116145b8061149c5750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b15156114e0576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6114eb8686866135a8565b505050505050565b600160a060020a0382166000908152600460205260408120548210611562576040805160e560020a62461bcd02815260206004820152601360248201527f496e646578206f7574206f6620626f756e647300000000000000000000000000604482015290519081900360640190fd5b600160a060020a038316600090815260046020526040902080548390811061158657fe5b9060005260206000200154905092915050565b600054600160a060020a031633146115e9576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b8033600061162583613327565b905080600160a060020a031682600160a060020a031614806116605750600083815260036020526040902054600160a060020a038381169116145b806116905750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b15156116d4576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b85858560206040519081016040528060008152506116f38a8a8a6135a8565b61170583600160a060020a031661372e565b1561185f5760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561178757818101518382015260200161176f565b50505050905090810190601f1680156117b45780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156117d657600080fd5b505af11580156117ea573d6000803e3d6000fd5b505050506040513d602081101561180057600080fd5b50519050600160e060020a0319811660e160020a630a85bd01021461185d576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b505b50505050505050505050565b60008054600160a060020a031633146118bc576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6112cf86868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528993508d92508c91899089908190840183828082843760009201919091525061373692505050565b600054600160a060020a03163314611981576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6007805482919060ff1916600183600481111561199a57fe5b02179055507f9f17f1d96f7bb1d5a573d638f26fdb9fa651427eb2e7b36481cd5e1351581e5881604051808260048111156119d157fe5b60ff16815260200191505060405180910390a150565b600d5481565b600061133982613327565b600054600160a060020a03163314611a48576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000838152600b60205260409020611a64906005018383614676565b50505050565b6000600160a060020a0382161515611acc576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600160a060020a031660009081526004602052604090205490565b600160075460ff166004811115611afb57fe5b1480611b2c5750600054600160a060020a031633148015611b2c5750600360075460ff166004811115611b2a57fe5b145b1515611b70576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611ba457506000818152600b6020526040902060010154600160a060020a031633145b1515611baf57600080fd5b506000918252600b6020526040909120600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600a54600160a060020a03848116911614611c53576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0383163314611cb3576040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611cf483838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506139b992505050565b90506060611d3e84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060049250505060031986016139c0565b604080517f627579546f6b656e2875696e743235362c61646472657373290000000000000081529051908190036019019020909150600160e060020a031983811691161415611e19578051604014611de0576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b600080828060200190516040811015611df857600080fd5b5080516020909101519092509050611e11898383613a42565b505050611fe7565b6040518060346148ee823960340190506040518091039020600160e060020a03191682600160e060020a0319161415611f97578051609c1115611ea6576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b6000806060600060608580602001905160a0811015611ec457600080fd5b8151602083015160408401805192949193820192640100000000811115611eea57600080fd5b82016020810184811115611efd57600080fd5b8151856020820283011164010000000082111715611f1a57600080fd5b50506020820151604090920180519194929391640100000000811115611f3f57600080fd5b82016020810184811115611f5257600080fd5b8151640100000000811182820187101715611f6c57600080fd5b505092919050505094509450945094509450611f8c8c8484888886613396565b505050505050611fe7565b6040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50505050505050565b6000611336338484613a42565b600054600160a060020a0316331461204d576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b60088190556040805182815290517f1d4a2348bf98e0fa847f28a7db9967b1327ac954c312b659b65a860bb69591729181900360200190a150565b600160075460ff16600481111561209b57fe5b14806120cc5750600054600160a060020a0316331480156120cc5750600360075460ff1660048111156120ca57fe5b145b1515612110576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548390600160a060020a031633148061214457506000818152600b6020526040902060010154600160a060020a031633145b151561214f57600080fd5b6127108211156121935760405160e560020a62461bcd0281526004018080602001828103825260318152602001806149426031913960400191505060405180910390fd5b506000928352600b6020526040909220600381019190915560040155565b6000806000806121bf6146f4565b6000868152600b6020908152604091829020825181546101009381028201840190945260e08101848152909391928492849184018282801561225057602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a0319168152602001906004019060208260030104928301926001038202915080841161220f5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c0909401939183018282801561232d5780601f106123025761010080835404028352916020019161232d565b820191906000526020600020905b81548152906001019060200180831161231057829003601f168201915b50505050508152505090508060200151816040015182608001518360a001519450945094509450509193509193565b600e5481565b600160e060020a0319166000908152600f602052604090205490565b600160a060020a0382163314156123cd576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b336000818152600660209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b600c6020526000908152604090205481565b600160075460ff16600481111561246057fe5b14806124915750600054600160a060020a0316331480156124915750600360075460ff16600481111561248f57fe5b145b15156124d5576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061250957506000818152600b6020526040902060010154600160a060020a031633145b151561251457600080fd5b61251e838361414a565b505050565b6060600060606125316146f4565b61253a85614291565b8051606082015160c0909201519097919650945092505050565b600160e060020a031981166000908152600f60209081526040918290208054835181840281018401909452808452606093928301828280156125b557602002820191906000526020600020905b8154815260200190600101908083116125a1575b50505050509050919050565b600160e060020a031982166000908152600f6020526040812080548390811061158657fe5b600160075460ff1660048111156125f957fe5b148061262a5750600054600160a060020a03163314801561262a5750600360075460ff16600481111561262857fe5b145b151561266e576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806126a257506000818152600b6020526040902060010154600160a060020a031633145b15156126ad57600080fd5b506000918252600b6020526040909120600101805491151560a060020a0274ff000000000000000000000000000000000000000019909216919091179055565b600b60209081526000918252604091829020600180820154600280840154600385015460048601546005870180548a516101009882161598909802600019011694909404601f8101899004890287018901909952888652600160a060020a0385169860a060020a90950460ff1697929691959094919390929091908301828280156127b95780601f1061278e576101008083540402835291602001916127b9565b820191906000526020600020905b81548152906001019060200180831161279c57829003601f168201915b5050505050905086565b823360006127d083613327565b905080600160a060020a031682600160a060020a0316148061280b5750600083815260036020526040902054600160a060020a038381169116145b8061283b5750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b151561287f576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b87878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506128c692508e91508d90508c6135a8565b6128d883600160a060020a031661372e565b15612a325760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561295a578181015183820152602001612942565b50505050905090810190601f1680156129875780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156129a957600080fd5b505af11580156129bd573d6000803e3d6000fd5b505050506040513d60208110156129d357600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214612a30576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b505b505050505050505050505050565b60075460ff1681565b60606000806000806060612a5b6146f4565b6000888152600b6020908152604091829020825181546101009381028201840190945260e081018481529093919284928491840182828015612aec57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411612aab5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c09094019391830182828015612bc95780601f10612b9e57610100808354040283529160200191612bc9565b820191906000526020600020905b815481529060010190602001808311612bac57829003601f168201915b5050509190925250508151602083015160408401516060850151608086015160c090960151939e929d50909b5099509297509550909350505050565b600054600160a060020a03163314612c55576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600160a060020a0381161515612ca65760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015612ca0573d6000803e3d6000fd5b50612e1f565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b158015612d0a57600080fd5b505afa158015612d1e573d6000803e3d6000fd5b505050506040513d6020811015612d3457600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b158015612daa57600080fd5b505af1158015612dbe573d6000803e3d6000fd5b505050506040513d6020811015612dd457600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600160075460ff166004811115612e3557fe5b1480612e665750600054600160a060020a031633148015612e665750600360075460ff166004811115612e6457fe5b145b1515612eaa576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480612ede57506000818152600b6020526040902060010154600160a060020a031633145b1515612ee957600080fd5b61251e8383612fbe565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205460ff1690565b600160a060020a0381166000908152600460209081526040918290208054835181840281018401909452808452606093928301828280156125b557602002820191906000526020600020908154815260200190600101908083116125a15750505050509050919050565b600054600160a060020a031681565b6000918252600b602052604090912060010154600160a060020a0391821691161490565b600160e060020a03198116600090815260106020908152604080832085845290915281205490811161303a576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b315d00000000000000000000000000604482015290519081900360640190fd5b600160e060020a0319821660008181526010602090815260408083208784528252808320839055928252600f90522054811461310657600160e060020a031982166000908152600f602052604081208054600019810190811061309957fe5b6000918252602080832090910154600160e060020a031986168352600f90915260409091208054919250829160001985019081106130d357fe5b6000918252602080832090910192909255600160e060020a03198516815260108252604080822093825292909152208190555b600160e060020a031982166000908152600f6020526040902080549061313090600019830161473d565b506000838152601160209081526040808320600160e060020a0319861684529091528120549081116131ac576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b325d00000000000000000000000000604482015290519081900360640190fd5b6000848152601160209081526040808320600160e060020a0319871684528252808320839055868352600b90915290205481146132ad576000848152600b602052604081208054600019810190811061320157fe5b90600052602060002090600891828204019190066004029054906101000a900460e060020a02905080600b60008781526020019081526020016000206000016001840381548110151561325057fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e060020a90950492909202939093179055868152601182526040808220600160e060020a031994909416825292909152208190555b6000848152600b602052604090208054906132cc906000198301614761565b506040518490600160e060020a03198516907f9574a9d09dc883e69228a0eea15ed4da6e520b13cc84cca994c1787c234d78fe90600090a350505050565b600090815260026020526040902054600160a060020a0316151590565b600081815260026020526040812054600160a060020a0316801515611339576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600160075460ff1660048111156133ab57fe5b14806133dc5750600054600160a060020a0316331480156133dc5750600360075460ff1660048111156133da57fe5b145b1515613420576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000600854111561352657600a54600854604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b811660048301523060248301526044820193909352905191909216916323b872dd9160648083019260209291908290030181600087803b1580156134a457600080fd5b505af11580156134b8573d6000803e3d6000fd5b505050506040513d60208110156134ce57600080fd5b50511515613526576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b61271083111561356a5760405160e560020a62461bcd0281526004018080602001828103825260318152602001806149426031913960400191505060405180910390fd5b6135778686868686613736565b979650505050505050565b600e8054600181019091556000818152600c602052604090208290556113398382614421565b82600160a060020a03166135bb82613327565b600160a060020a031614613607576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600160a060020a0382161515613667576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000818152600360209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19908116909155600283528184208054600160a060020a038881169190931617905586168352600490915290206136c69082614556565b600160a060020a03821660009081526004602052604090206136e890826145e5565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000903b1190565b6000600160075460ff16600481111561374b57fe5b148061377c5750600054600160a060020a03163314801561377c5750600360075460ff16600481111561377a57fe5b145b15156137c0576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b50600d8054600180820190925560408051600060e08201818152610100830184528252600160a060020a038916602080840191909152828401959095524260608301526080820188905260a0820187905260c08201869052838152600b8552919091208151805193949293919261383c92849290910190614795565b506020828101516001830180546040860151151560a060020a0274ff000000000000000000000000000000000000000019600160a060020a0390941673ffffffffffffffffffffffffffffffffffffffff199092169190911792909216919091179055606083015160028301556080830151600383015560a0830151600483015560c083015180516138d49260058501920190614841565b50905050807f977f348a33aa09ea5592a5999ead89ce5390634d548c226c6a32c8f18b93e08285846040518083815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561393f578181015183820152602001613927565b50505050905090810190601f16801561396c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a260005b86518110156139af576139a782888381518110151561399857fe5b9060200190602002015161414a565b60010161397d565b5095945050505050565b6020015190565b60608183018451101515156139d457600080fd5b6060821580156139ef57604051915060208201604052613a39565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613a28578051835260209283019201613a10565b5050858452601f01601f1916604052505b50949350505050565b6000600160075460ff166004811115613a5757fe5b1480613a735750600260075460ff166004811115613a7157fe5b145b80613aa35750600054600160a060020a031633148015613aa35750600360075460ff166004811115613aa157fe5b145b1515613ae7576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b613aef6146f4565b6000848152600b6020908152604091829020825181546101009381028201840190945260e081018481529093919284928491840182828015613b8057602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411613b3f5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c09094019391830182828015613c5d5780601f10613c3257610100808354040283529160200191613c5d565b820191906000526020600020905b815481529060010190602001808311613c4057829003601f168201915b505050919092525050506020810151909150600160a060020a03161515613cce576040805160e560020a62461bcd02815260206004820152600860248201527f426164207061636b000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b80604001511515613d29576040805160e560020a62461bcd02815260206004820152600860248201527f44697361626c6564000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b608081015160008111613d74576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600081118015613d8657506000600954115b15613f0a57600954600a54604080517ff77c4791000000000000000000000000000000000000000000000000000000008152905161271093850293909304938490039392600160a060020a03909216916323b872dd918a91849163f77c4791916004808301926020929190829003018186803b158015613e0557600080fd5b505afa158015613e19573d6000803e3d6000fd5b505050506040513d6020811015613e2f57600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b158015613e8657600080fd5b505af1158015613e9a573d6000803e3d6000fd5b505050506040513d6020811015613eb057600080fd5b50511515613f08576040805160e560020a62461bcd02815260206004820152600860248201527f426164206275726e000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081118015613f1e575060008260a00151115b156140315760a0820151600a54604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038a811660048301523060248301526127109486029490940460448201819052915194829003949193909216916323b872dd9160648083019260209291908290030181600087803b158015613fad57600080fd5b505af1158015613fc1573d6000803e3d6000fd5b505050506040513d6020811015613fd757600080fd5b5051151561402f576040805160e560020a62461bcd02815260206004820152600a60248201527f42616420646f6e61746500000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081111561413657600a54602080840151604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152928316602482015260448101869052905191909316926323b872dd9260648083019391928290030181600087803b1580156140b457600080fd5b505af11580156140c8573d6000803e3d6000fd5b505050506040513d60208110156140de57600080fd5b50511515614136576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b6141408486613582565b9695505050505050565b6000828152601160209081526040808320600160e060020a031985168452909152902054156141c3576040805160e560020a62461bcd02815260206004820152601860248201527f4475706c69636174652063617465676f72697a6174696f6e0000000000000000604482015290519081900360640190fd5b600160e060020a031981166000818152600f602090815260408083208054600180820180845592865284862090910188905585855260108452828520888652845282852091909155600b835281842080549182018082559085528385206008830401805463ffffffff60079094166004026101000a938402191660e060020a890493909302929092179091558684526011835281842085855290925280832091909155518492917f74186c4c4ee368ea5564982241efb7357014b52d6e195d026bc4fdfaa112691b91a35050565b6142996146f4565b6000828152600c60209081526040808320548352600b825291829020825181546101009381028201840190945260e08101848152909391928492849184018282801561433457602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a031916815260200190600401906020826003010492830192600103820291508084116142f35790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c090940193918301828280156144115780601f106143e657610100808354040283529160200191614411565b820191906000526020600020905b8154815290600101906020018083116143f457829003601f168201915b5050505050815250509050919050565b600160a060020a0382161515614481576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b61448a8161330a565b156144cd576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b6000818152600260209081526040808320805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03871690811790915583526004909152902061451a90826145e5565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526005602052604090205480151561457257506145e1565b600082815260056020526040812081905583548490600019810190811061459557fe5b906000526020600020015490508084600184038154811015156145b457fe5b60009182526020909120015583546145d085600019830161473d565b506000908152600560205260409020555b5050565b8154600181018084556000938452602080852090920183905591835260059052604090912055565b508054600082556007016008900490600052602060002090810190612e1f91906148af565b50805460018160011615610100020316600290046000825580601f106146585750612e1f565b601f016020900490600052602060002090810190612e1f91906148af565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106146b75782800160ff198235161785556146e4565b828001600101855582156146e4579182015b828111156146e45782358255916020019190600101906146c9565b506146f09291506148af565b5090565b60e060405190810160405280606081526020016000600160a060020a03168152602001600015158152602001600081526020016000815260200160008152602001606081525090565b81548183558181111561251e5760008381526020902061251e9181019083016148af565b81548183558181111561251e57600701600890048160070160089004836000526020600020918201910161251e91906148af565b828054828255906000526020600020906007016008900481019282156148355791602002820160005b8382111561480357835183826101000a81548163ffffffff021916908360e060020a9004021790555092602001926004016020816003010492830192600103026147be565b80156148335782816101000a81549063ffffffff0219169055600401602081600301049283019260010302614803565b505b506146f09291506148cc565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061488257805160ff19168380011785556146e4565b828001600101855582156146e4579182015b828111156146e4578251825591602001919060010190614894565b6148c991905b808211156146f057600081556001016148b5565b90565b6148c991905b808211156146f057805463ffffffff191681556001016148d256fe72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c6279746573294d61726b65742044697361626c6564000000000000000000000000000000000042616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025426164206f7065726174696f6e00000000000000000000000000000000000000556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820c86c6a2a7a3f764c39af2bdfa20aaa4e0b0f356249d49e000bf908c48a326c800029", - "bin": "60806040526007805460ff191660011790553480156200001e57600080fd5b5060405160208062004ba2833981018060405260208110156200004057600080fd5b505160008054600160a060020a03191633179055620000887f01ffc9a700000000000000000000000000000000000000000000000000000000640100000000620000e2810204565b620000bc7f80ac58cd00000000000000000000000000000000000000000000000000000000640100000000620000e2810204565b600a8054600160a060020a031916600160a060020a0392909216919091179055620001b4565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200017457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f42616420696e7465726661636549640000000000000000000000000000000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152600160208190526040909120805460ff19169091179055565b6149de80620001c46000396000f3fe608060405234801561001057600080fd5b506004361061026c5760003560e060020a9004806392be2ab811610155578063b7f48211116100c7578063df8de3e71161008b578063df8de3e714610d50578063e8bb714314610d76578063e985e9c514610da3578063ea66aeb314610dd1578063f77c479114610df7578063fadb10e614610dff5761026c565b8063b7f4821114610a95578063b84c139214610aba578063b88d4fde14610b88578063c19d93fb14610c18578063d2bf36c014610c445761026c565b8063a22cb46511610119578063a22cb46514610898578063a546af4c146108c6578063aeeaf3da146108e3578063b09afec114610910578063b34b5825146109f1578063b5420d6814610a685761026c565b806392be2ab8146107d65780639389c5b5146107f35780639c3a39a21461081c5780639f181b5e146108695780639f9a9b63146108715761026c565b80633cebb823116101ee5780636352211e116101b25780636352211e146106355780636a8479811461065257806370a08231146106c957806386a7413c146106ef5780638f4ffcb11461071b5780639134709e146107aa5761026c565b80633cebb823146104d657806342842e0e146104fc5780634c06dc1714610532578063536b04451461060d57806361bd67251461062d5761026c565b806312d025021161023557806312d025021461033e578063188b53721461042b578063189d165e1461045757806323b872dd146104745780632f745c59146104aa5761026c565b8062b3c91b1461027157806301ffc9a714610296578063060eb520146102d1578063081812fc146102f5578063095ea7b314610312575b600080fd5b6102946004803603604081101561028757600080fd5b5080359060200135610e2b565b005b6102bd600480360360208110156102ac57600080fd5b5035600160e060020a031916611066565b604080519115158252519081900360200190f35b6102d9611085565b60408051600160a060020a039092168252519081900360200190f35b6102d96004803603602081101561030b57600080fd5b5035611094565b6102946004803603604081101561032857600080fd5b50600160a060020a038135169060200135611111565b610419600480360360a081101561035457600080fd5b81359160208101359181019060608101604082013564010000000081111561037b57600080fd5b82018360208201111561038d57600080fd5b803590602001918460208302840111640100000000831117156103af57600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156103da57600080fd5b8201836020820111156103ec57600080fd5b8035906020019184600183028401116401000000008311171561040e57600080fd5b509092509050611257565b60408051918252519081900360200190f35b6104196004803603604081101561044157600080fd5b50600160a060020a0381351690602001356112db565b6102946004803603602081101561046d57600080fd5b503561133f565b6102946004803603606081101561048a57600080fd5b50600160a060020a03813581169160208101359091169060400135611424565b610419600480360360408110156104c057600080fd5b50600160a060020a0381351690602001356114f3565b610294600480360360208110156104ec57600080fd5b5035600160a060020a0316611599565b6102946004803603606081101561051257600080fd5b50600160a060020a03813581169160208101359091169060400135611618565b610419600480360360a081101561054857600080fd5b81359160208101359181019060608101604082013564010000000081111561056f57600080fd5b82018360208201111561058157600080fd5b803590602001918460208302840111640100000000831117156105a357600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156105ce57600080fd5b8201836020820111156105e057600080fd5b8035906020019184600183028401116401000000008311171561060257600080fd5b50909250905061186b565b6102946004803603602081101561062357600080fd5b503560ff16611931565b6104196119e7565b6102d96004803603602081101561064b57600080fd5b50356119ed565b6102946004803603604081101561066857600080fd5b8135919081019060408101602082013564010000000081111561068a57600080fd5b82018360208201111561069c57600080fd5b803590602001918460018302840111640100000000831117156106be57600080fd5b5090925090506119f8565b610419600480360360208110156106df57600080fd5b5035600160a060020a0316611a6a565b6102946004803603604081101561070557600080fd5b5080359060200135600160a060020a0316611ae8565b6102946004803603608081101561073157600080fd5b600160a060020a03823581169260208101359260408201359092169181019060808101606082013564010000000081111561076b57600080fd5b82018360208201111561077d57600080fd5b8035906020019184600183028401116401000000008311171561079f57600080fd5b509092509050611bee565b610419600480360360408110156107c057600080fd5b5080359060200135600160a060020a0316611ff0565b610294600480360360208110156107ec57600080fd5b5035611ffd565b6102946004803603606081101561080957600080fd5b5080359060208101359060400135612088565b6108396004803603602081101561083257600080fd5b50356121b1565b60408051600160a060020a0390951685529215156020850152838301919091526060830152519081900360800190f35b61041961235c565b6104196004803603602081101561088757600080fd5b5035600160e060020a031916612362565b610294600480360360408110156108ae57600080fd5b50600160a060020a038135169060200135151561237e565b610419600480360360208110156108dc57600080fd5b503561243b565b610294600480360360408110156108f957600080fd5b5080359060200135600160e060020a03191661244d565b61092d6004803603602081101561092657600080fd5b5035612523565b604051808060200184815260200180602001838103835286818151815260200191508051906020019060200280838360005b8381101561097757818101518382015260200161095f565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156109b357818101518382015260200161099b565b50505050905090810190601f1680156109e05780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b610a1860048036036020811015610a0757600080fd5b5035600160e060020a031916612554565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610a54578181015183820152602001610a3c565b505050509050019250505060405180910390f35b61041960048036036040811015610a7e57600080fd5b50600160e060020a031981351690602001356125c1565b61029460048036036040811015610aab57600080fd5b508035906020013515156125e6565b610ad760048036036020811015610ad057600080fd5b50356126ed565b6040518087600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b48578181015183820152602001610b30565b50505050905090810190601f168015610b755780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b61029460048036036080811015610b9e57600080fd5b600160a060020a03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610bd957600080fd5b820183602082011115610beb57600080fd5b80359060200191846001830284011164010000000083111715610c0d57600080fd5b5090925090506127c3565b610c20612a40565b60405180826004811115610c3057fe5b60ff16815260200191505060405180910390f35b610c6160048036036020811015610c5a57600080fd5b5035612a49565b604051808060200187600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200180602001838103835289818151815260200191508051906020019060200280838360005b83811015610cd3578181015183820152602001610cbb565b50505050905001838103825284818151815260200191508051906020019080838360005b83811015610d0f578181015183820152602001610cf7565b50505050905090810190601f168015610d3c5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b61029460048036036020811015610d6657600080fd5b5035600160a060020a0316612c05565b61029460048036036040811015610d8c57600080fd5b5080359060200135600160e060020a031916612e22565b6102bd60048036036040811015610db957600080fd5b50600160a060020a0381358116916020013516612ef3565b610a1860048036036020811015610de757600080fd5b5035600160a060020a0316612f21565b6102d9612f8b565b6102bd60048036036040811015610e1557600080fd5b5080359060200135600160a060020a0316612f9a565b600054600160a060020a03163314610e7b576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000828152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610f0157602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411610ec05790505b5050505050905060008260001415610f1b57508051610f77565b8151831115610f74576040805160e560020a62461bcd02815260206004820152600960248201527f426164206c696d69740000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50815b81516000811115610f8757600019015b60005b82811015610fbd57610fb58685838503815181101515610fa657fe5b90602001906020020151612fbe565b600101610f8a565b506000858152600b6020526040902054151561105f576000858152600b6020526040812090610fec828261460d565b60018201805474ffffffffffffffffffffffffffffffffffffffffff191690556000600283018190556003830181905560048301819055611031906005840190614632565b505060405185907f98f986773731debbbf041b73d7edaec62da3ff42b2116c45cd0001fb40ed908690600090a25b5050505050565b600160e060020a03191660009081526001602052604090205460ff1690565b600a54600160a060020a031681565b600061109f8261330a565b15156110f5576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600090815260036020526040902054600160a060020a031690565b600061111c82613327565b9050600160a060020a038381169082161415611170576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b33600160a060020a03821614806111aa5750600160a060020a038116600090815260066020908152604080832033845290915290205460ff165b15156111ee576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600082815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006112cf3387878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93508e92508d918a908a908190840183828082843760009201919091525061339692505050565b98975050505050505050565b60008054600160a060020a0316331461132c576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6113368383613582565b90505b92915050565b600054600160a060020a0316331461138f576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b60098190556127108111156113ee576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e6e6f74206265206d6f7265207468656e203130302e3030250000000000604482015290519081900360640190fd5b6040805182815290517f59701ed6f46ff3f5c94b1b741d5b3f2968eb7a0ae31d2cf2a3a9f2153d18b5149181900360200190a150565b8033600061143183613327565b905080600160a060020a031682600160a060020a0316148061146c5750600083815260036020526040902054600160a060020a038381169116145b8061149c5750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b15156114e0576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6114eb8686866135a8565b505050505050565b600160a060020a0382166000908152600460205260408120548210611562576040805160e560020a62461bcd02815260206004820152601360248201527f496e646578206f7574206f6620626f756e647300000000000000000000000000604482015290519081900360640190fd5b600160a060020a038316600090815260046020526040902080548390811061158657fe5b9060005260206000200154905092915050565b600054600160a060020a031633146115e9576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b8033600061162583613327565b905080600160a060020a031682600160a060020a031614806116605750600083815260036020526040902054600160a060020a038381169116145b806116905750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b15156116d4576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b85858560206040519081016040528060008152506116f38a8a8a6135a8565b61170583600160a060020a031661372e565b1561185f5760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561178757818101518382015260200161176f565b50505050905090810190601f1680156117b45780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156117d657600080fd5b505af11580156117ea573d6000803e3d6000fd5b505050506040513d602081101561180057600080fd5b50519050600160e060020a0319811660e160020a630a85bd01021461185d576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b505b50505050505050505050565b60008054600160a060020a031633146118bc576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6112cf86868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528993508d92508c91899089908190840183828082843760009201919091525061373692505050565b600054600160a060020a03163314611981576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6007805482919060ff1916600183600481111561199a57fe5b02179055507f9f17f1d96f7bb1d5a573d638f26fdb9fa651427eb2e7b36481cd5e1351581e5881604051808260048111156119d157fe5b60ff16815260200191505060405180910390a150565b600d5481565b600061133982613327565b600054600160a060020a03163314611a48576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000838152600b60205260409020611a64906005018383614676565b50505050565b6000600160a060020a0382161515611acc576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600160a060020a031660009081526004602052604090205490565b600160075460ff166004811115611afb57fe5b1480611b2c5750600054600160a060020a031633148015611b2c5750600360075460ff166004811115611b2a57fe5b145b1515611b70576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611ba457506000818152600b6020526040902060010154600160a060020a031633145b1515611baf57600080fd5b506000918252600b6020526040909120600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600a54600160a060020a03848116911614611c53576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0383163314611cb3576040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611cf483838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506139b992505050565b90506060611d3e84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060049250505060031986016139c0565b604080517f627579546f6b656e2875696e743235362c61646472657373290000000000000081529051908190036019019020909150600160e060020a031983811691161415611e19578051604014611de0576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b600080828060200190516040811015611df857600080fd5b5080516020909101519092509050611e11898383613a42565b505050611fe7565b6040518060346148ee823960340190506040518091039020600160e060020a03191682600160e060020a0319161415611f97578051609c1115611ea6576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b6000806060600060608580602001905160a0811015611ec457600080fd5b8151602083015160408401805192949193820192640100000000811115611eea57600080fd5b82016020810184811115611efd57600080fd5b8151856020820283011164010000000082111715611f1a57600080fd5b50506020820151604090920180519194929391640100000000811115611f3f57600080fd5b82016020810184811115611f5257600080fd5b8151640100000000811182820187101715611f6c57600080fd5b505092919050505094509450945094509450611f8c8c8484888886613396565b505050505050611fe7565b6040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50505050505050565b6000611336338484613a42565b600054600160a060020a0316331461204d576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b60088190556040805182815290517f1d4a2348bf98e0fa847f28a7db9967b1327ac954c312b659b65a860bb69591729181900360200190a150565b600160075460ff16600481111561209b57fe5b14806120cc5750600054600160a060020a0316331480156120cc5750600360075460ff1660048111156120ca57fe5b145b1515612110576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548390600160a060020a031633148061214457506000818152600b6020526040902060010154600160a060020a031633145b151561214f57600080fd5b6127108211156121935760405160e560020a62461bcd0281526004018080602001828103825260318152602001806149426031913960400191505060405180910390fd5b506000928352600b6020526040909220600381019190915560040155565b6000806000806121bf6146f4565b6000868152600b6020908152604091829020825181546101009381028201840190945260e08101848152909391928492849184018282801561225057602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a0319168152602001906004019060208260030104928301926001038202915080841161220f5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c0909401939183018282801561232d5780601f106123025761010080835404028352916020019161232d565b820191906000526020600020905b81548152906001019060200180831161231057829003601f168201915b50505050508152505090508060200151816040015182608001518360a001519450945094509450509193509193565b600e5481565b600160e060020a0319166000908152600f602052604090205490565b600160a060020a0382163314156123cd576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b336000818152600660209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b600c6020526000908152604090205481565b600160075460ff16600481111561246057fe5b14806124915750600054600160a060020a0316331480156124915750600360075460ff16600481111561248f57fe5b145b15156124d5576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061250957506000818152600b6020526040902060010154600160a060020a031633145b151561251457600080fd5b61251e838361414a565b505050565b6060600060606125316146f4565b61253a85614291565b8051606082015160c0909201519097919650945092505050565b600160e060020a031981166000908152600f60209081526040918290208054835181840281018401909452808452606093928301828280156125b557602002820191906000526020600020905b8154815260200190600101908083116125a1575b50505050509050919050565b600160e060020a031982166000908152600f6020526040812080548390811061158657fe5b600160075460ff1660048111156125f957fe5b148061262a5750600054600160a060020a03163314801561262a5750600360075460ff16600481111561262857fe5b145b151561266e576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806126a257506000818152600b6020526040902060010154600160a060020a031633145b15156126ad57600080fd5b506000918252600b6020526040909120600101805491151560a060020a0274ff000000000000000000000000000000000000000019909216919091179055565b600b60209081526000918252604091829020600180820154600280840154600385015460048601546005870180548a516101009882161598909802600019011694909404601f8101899004890287018901909952888652600160a060020a0385169860a060020a90950460ff1697929691959094919390929091908301828280156127b95780601f1061278e576101008083540402835291602001916127b9565b820191906000526020600020905b81548152906001019060200180831161279c57829003601f168201915b5050505050905086565b823360006127d083613327565b905080600160a060020a031682600160a060020a0316148061280b5750600083815260036020526040902054600160a060020a038381169116145b8061283b5750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b151561287f576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b87878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506128c692508e91508d90508c6135a8565b6128d883600160a060020a031661372e565b15612a325760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561295a578181015183820152602001612942565b50505050905090810190601f1680156129875780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156129a957600080fd5b505af11580156129bd573d6000803e3d6000fd5b505050506040513d60208110156129d357600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214612a30576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b505b505050505050505050505050565b60075460ff1681565b60606000806000806060612a5b6146f4565b6000888152600b6020908152604091829020825181546101009381028201840190945260e081018481529093919284928491840182828015612aec57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411612aab5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c09094019391830182828015612bc95780601f10612b9e57610100808354040283529160200191612bc9565b820191906000526020600020905b815481529060010190602001808311612bac57829003601f168201915b5050509190925250508151602083015160408401516060850151608086015160c090960151939e929d50909b5099509297509550909350505050565b600054600160a060020a03163314612c55576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600160a060020a0381161515612ca65760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015612ca0573d6000803e3d6000fd5b50612e1f565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b158015612d0a57600080fd5b505afa158015612d1e573d6000803e3d6000fd5b505050506040513d6020811015612d3457600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b158015612daa57600080fd5b505af1158015612dbe573d6000803e3d6000fd5b505050506040513d6020811015612dd457600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600160075460ff166004811115612e3557fe5b1480612e665750600054600160a060020a031633148015612e665750600360075460ff166004811115612e6457fe5b145b1515612eaa576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480612ede57506000818152600b6020526040902060010154600160a060020a031633145b1515612ee957600080fd5b61251e8383612fbe565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205460ff1690565b600160a060020a0381166000908152600460209081526040918290208054835181840281018401909452808452606093928301828280156125b557602002820191906000526020600020908154815260200190600101908083116125a15750505050509050919050565b600054600160a060020a031681565b6000918252600b602052604090912060010154600160a060020a0391821691161490565b600160e060020a03198116600090815260106020908152604080832085845290915281205490811161303a576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b315d00000000000000000000000000604482015290519081900360640190fd5b600160e060020a0319821660008181526010602090815260408083208784528252808320839055928252600f90522054811461310657600160e060020a031982166000908152600f602052604081208054600019810190811061309957fe5b6000918252602080832090910154600160e060020a031986168352600f90915260409091208054919250829160001985019081106130d357fe5b6000918252602080832090910192909255600160e060020a03198516815260108252604080822093825292909152208190555b600160e060020a031982166000908152600f6020526040902080549061313090600019830161473d565b506000838152601160209081526040808320600160e060020a0319861684529091528120549081116131ac576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b325d00000000000000000000000000604482015290519081900360640190fd5b6000848152601160209081526040808320600160e060020a0319871684528252808320839055868352600b90915290205481146132ad576000848152600b602052604081208054600019810190811061320157fe5b90600052602060002090600891828204019190066004029054906101000a900460e060020a02905080600b60008781526020019081526020016000206000016001840381548110151561325057fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e060020a90950492909202939093179055868152601182526040808220600160e060020a031994909416825292909152208190555b6000848152600b602052604090208054906132cc906000198301614761565b506040518490600160e060020a03198516907f9574a9d09dc883e69228a0eea15ed4da6e520b13cc84cca994c1787c234d78fe90600090a350505050565b600090815260026020526040902054600160a060020a0316151590565b600081815260026020526040812054600160a060020a0316801515611339576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600160075460ff1660048111156133ab57fe5b14806133dc5750600054600160a060020a0316331480156133dc5750600360075460ff1660048111156133da57fe5b145b1515613420576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000600854111561352657600a54600854604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b811660048301523060248301526044820193909352905191909216916323b872dd9160648083019260209291908290030181600087803b1580156134a457600080fd5b505af11580156134b8573d6000803e3d6000fd5b505050506040513d60208110156134ce57600080fd5b50511515613526576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b61271083111561356a5760405160e560020a62461bcd0281526004018080602001828103825260318152602001806149426031913960400191505060405180910390fd5b6135778686868686613736565b979650505050505050565b600e8054600181019091556000818152600c602052604090208290556113398382614421565b82600160a060020a03166135bb82613327565b600160a060020a031614613607576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600160a060020a0382161515613667576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000818152600360209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19908116909155600283528184208054600160a060020a038881169190931617905586168352600490915290206136c69082614556565b600160a060020a03821660009081526004602052604090206136e890826145e5565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000903b1190565b6000600160075460ff16600481111561374b57fe5b148061377c5750600054600160a060020a03163314801561377c5750600360075460ff16600481111561377a57fe5b145b15156137c0576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b50600d8054600180820190925560408051600060e08201818152610100830184528252600160a060020a038916602080840191909152828401959095524260608301526080820188905260a0820187905260c08201869052838152600b8552919091208151805193949293919261383c92849290910190614795565b506020828101516001830180546040860151151560a060020a0274ff000000000000000000000000000000000000000019600160a060020a0390941673ffffffffffffffffffffffffffffffffffffffff199092169190911792909216919091179055606083015160028301556080830151600383015560a0830151600483015560c083015180516138d49260058501920190614841565b50905050807f977f348a33aa09ea5592a5999ead89ce5390634d548c226c6a32c8f18b93e08285846040518083815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561393f578181015183820152602001613927565b50505050905090810190601f16801561396c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a260005b86518110156139af576139a782888381518110151561399857fe5b9060200190602002015161414a565b60010161397d565b5095945050505050565b6020015190565b60608183018451101515156139d457600080fd5b6060821580156139ef57604051915060208201604052613a39565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613a28578051835260209283019201613a10565b5050858452601f01601f1916604052505b50949350505050565b6000600160075460ff166004811115613a5757fe5b1480613a735750600260075460ff166004811115613a7157fe5b145b80613aa35750600054600160a060020a031633148015613aa35750600360075460ff166004811115613aa157fe5b145b1515613ae7576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b613aef6146f4565b6000848152600b6020908152604091829020825181546101009381028201840190945260e081018481529093919284928491840182828015613b8057602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411613b3f5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c09094019391830182828015613c5d5780601f10613c3257610100808354040283529160200191613c5d565b820191906000526020600020905b815481529060010190602001808311613c4057829003601f168201915b505050919092525050506020810151909150600160a060020a03161515613cce576040805160e560020a62461bcd02815260206004820152600860248201527f426164207061636b000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b80604001511515613d29576040805160e560020a62461bcd02815260206004820152600860248201527f44697361626c6564000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b608081015160008111613d74576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600081118015613d8657506000600954115b15613f0a57600954600a54604080517ff77c4791000000000000000000000000000000000000000000000000000000008152905161271093850293909304938490039392600160a060020a03909216916323b872dd918a91849163f77c4791916004808301926020929190829003018186803b158015613e0557600080fd5b505afa158015613e19573d6000803e3d6000fd5b505050506040513d6020811015613e2f57600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b158015613e8657600080fd5b505af1158015613e9a573d6000803e3d6000fd5b505050506040513d6020811015613eb057600080fd5b50511515613f08576040805160e560020a62461bcd02815260206004820152600860248201527f426164206275726e000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081118015613f1e575060008260a00151115b156140315760a0820151600a54604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038a811660048301523060248301526127109486029490940460448201819052915194829003949193909216916323b872dd9160648083019260209291908290030181600087803b158015613fad57600080fd5b505af1158015613fc1573d6000803e3d6000fd5b505050506040513d6020811015613fd757600080fd5b5051151561402f576040805160e560020a62461bcd02815260206004820152600a60248201527f42616420646f6e61746500000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081111561413657600a54602080840151604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152928316602482015260448101869052905191909316926323b872dd9260648083019391928290030181600087803b1580156140b457600080fd5b505af11580156140c8573d6000803e3d6000fd5b505050506040513d60208110156140de57600080fd5b50511515614136576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b6141408486613582565b9695505050505050565b6000828152601160209081526040808320600160e060020a031985168452909152902054156141c3576040805160e560020a62461bcd02815260206004820152601860248201527f4475706c69636174652063617465676f72697a6174696f6e0000000000000000604482015290519081900360640190fd5b600160e060020a031981166000818152600f602090815260408083208054600180820180845592865284862090910188905585855260108452828520888652845282852091909155600b835281842080549182018082559085528385206008830401805463ffffffff60079094166004026101000a938402191660e060020a890493909302929092179091558684526011835281842085855290925280832091909155518492917f74186c4c4ee368ea5564982241efb7357014b52d6e195d026bc4fdfaa112691b91a35050565b6142996146f4565b6000828152600c60209081526040808320548352600b825291829020825181546101009381028201840190945260e08101848152909391928492849184018282801561433457602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a031916815260200190600401906020826003010492830192600103820291508084116142f35790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c090940193918301828280156144115780601f106143e657610100808354040283529160200191614411565b820191906000526020600020905b8154815290600101906020018083116143f457829003601f168201915b5050505050815250509050919050565b600160a060020a0382161515614481576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b61448a8161330a565b156144cd576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b6000818152600260209081526040808320805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03871690811790915583526004909152902061451a90826145e5565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526005602052604090205480151561457257506145e1565b600082815260056020526040812081905583548490600019810190811061459557fe5b906000526020600020015490508084600184038154811015156145b457fe5b60009182526020909120015583546145d085600019830161473d565b506000908152600560205260409020555b5050565b8154600181018084556000938452602080852090920183905591835260059052604090912055565b508054600082556007016008900490600052602060002090810190612e1f91906148af565b50805460018160011615610100020316600290046000825580601f106146585750612e1f565b601f016020900490600052602060002090810190612e1f91906148af565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106146b75782800160ff198235161785556146e4565b828001600101855582156146e4579182015b828111156146e45782358255916020019190600101906146c9565b506146f09291506148af565b5090565b60e060405190810160405280606081526020016000600160a060020a03168152602001600015158152602001600081526020016000815260200160008152602001606081525090565b81548183558181111561251e5760008381526020902061251e9181019083016148af565b81548183558181111561251e57600701600890048160070160089004836000526020600020918201910161251e91906148af565b828054828255906000526020600020906007016008900481019282156148355791602002820160005b8382111561480357835183826101000a81548163ffffffff021916908360e060020a9004021790555092602001926004016020816003010492830192600103026147be565b80156148335782816101000a81549063ffffffff0219169055600401602081600301049283019260010302614803565b505b506146f09291506148cc565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061488257805160ff19168380011785556146e4565b828001600101855582156146e4579182015b828111156146e4578251825591602001919060010190614894565b6148c991905b808211156146f057600081556001016148b5565b90565b6148c991905b808211156146f057805463ffffffff191681556001016148d256fe72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c6279746573294d61726b65742044697361626c6564000000000000000000000000000000000042616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025426164206f7065726174696f6e00000000000000000000000000000000000000556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820c86c6a2a7a3f764c39af2bdfa20aaa4e0b0f356249d49e000bf908c48a326c800029", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "_packId", - "type": "uint256" - }, - { - "name": "_limit", - "type": "uint256" - } - ], - "name": "purgePack", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "snt", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "to", - "type": "address" - }, - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_price", - "type": "uint256" - }, - { - "name": "_donate", - "type": "uint256" - }, - { - "name": "_category", - "type": "bytes4[]" - }, - { - "name": "_owner", - "type": "address" - }, - { - "name": "_contenthash", - "type": "bytes" - } - ], - "name": "registerPack", - "outputs": [ - { - "name": "packId", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_packId", - "type": "uint256" - } - ], - "name": "generateToken", - "outputs": [ - { - "name": "tokenId", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_value", - "type": "uint256" - } - ], - "name": "setBurnRate", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "from", - "type": "address" - }, - { - "name": "to", - "type": "address" - }, - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "index", + "name": "_index", "type": "uint256" } ], @@ -125493,1382 +75246,30 @@ "stateMutability": "view", "type": "function" }, - { - "constant": false, - "inputs": [ - { - "name": "_newController", - "type": "address" - } - ], - "name": "changeController", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "from", - "type": "address" - }, - { - "name": "to", - "type": "address" - }, - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_price", - "type": "uint256" - }, - { - "name": "_donate", - "type": "uint256" - }, - { - "name": "_category", - "type": "bytes4[]" - }, - { - "name": "_owner", - "type": "address" - }, - { - "name": "_contenthash", - "type": "bytes" - } - ], - "name": "generatePack", - "outputs": [ - { - "name": "packId", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_state", - "type": "uint8" - } - ], - "name": "setMarketState", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "packCount", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "constant": true, "inputs": [ - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_packId", - "type": "uint256" - }, - { - "name": "_contenthash", - "type": "bytes" - } - ], - "name": "setPackContenthash", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_packId", - "type": "uint256" - }, - { - "name": "_to", - "type": "address" - } - ], - "name": "setPackOwner", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_from", - "type": "address" - }, - { - "name": "", - "type": "uint256" - }, - { - "name": "_token", - "type": "address" - }, - { - "name": "_data", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_packId", - "type": "uint256" - }, - { - "name": "_destination", - "type": "address" - } - ], - "name": "buyToken", - "outputs": [ - { - "name": "tokenId", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_value", - "type": "uint256" - } - ], - "name": "setRegisterFee", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_packId", - "type": "uint256" - }, - { - "name": "_price", - "type": "uint256" - }, - { - "name": "_donate", - "type": "uint256" - } - ], - "name": "setPackPrice", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_packId", - "type": "uint256" - } - ], - "name": "getPaymentData", - "outputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "mintable", - "type": "bool" - }, - { - "name": "price", - "type": "uint256" - }, - { - "name": "donate", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "tokenCount", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_category", - "type": "bytes4" - } - ], - "name": "getCategoryLength", - "outputs": [ - { - "name": "size", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "to", - "type": "address" - }, - { - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "uint256" - } - ], - "name": "tokenPackId", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_packId", - "type": "uint256" - }, - { - "name": "_category", - "type": "bytes4" - } - ], - "name": "addPackCategory", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "getTokenData", - "outputs": [ - { - "name": "category", - "type": "bytes4[]" - }, - { - "name": "timestamp", - "type": "uint256" - }, - { - "name": "contenthash", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_category", - "type": "bytes4" - } - ], - "name": "getAvailablePacks", - "outputs": [ - { - "name": "availableIds", - "type": "uint256[]" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_category", - "type": "bytes4" - }, { "name": "_index", "type": "uint256" } ], - "name": "getCategoryPack", - "outputs": [ - { - "name": "packId", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_packId", - "type": "uint256" - }, - { - "name": "_mintable", - "type": "bool" - } - ], - "name": "setPackState", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "", - "type": "uint256" - } - ], - "name": "packs", - "outputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "mintable", - "type": "bool" - }, - { - "name": "timestamp", - "type": "uint256" - }, - { - "name": "price", - "type": "uint256" - }, - { - "name": "donate", - "type": "uint256" - }, - { - "name": "contenthash", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "from", - "type": "address" - }, - { - "name": "to", - "type": "address" - }, - { - "name": "tokenId", - "type": "uint256" - }, - { - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "state", + "name": "tokenByIndex", "outputs": [ { "name": "", - "type": "uint8" + "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_packId", - "type": "uint256" - } - ], - "name": "getPackData", - "outputs": [ - { - "name": "category", - "type": "bytes4[]" - }, - { - "name": "owner", - "type": "address" - }, - { - "name": "mintable", - "type": "bool" - }, - { - "name": "timestamp", - "type": "uint256" - }, - { - "name": "price", - "type": "uint256" - }, - { - "name": "contenthash", - "type": "bytes" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_token", - "type": "address" - } - ], - "name": "claimTokens", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_packId", - "type": "uint256" - }, - { - "name": "_category", - "type": "bytes4" - } - ], - "name": "removePackCategory", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "owner", - "type": "address" - } - ], - "name": "tokensOwnedBy", - "outputs": [ - { - "name": "tokenList", - "type": "uint256[]" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "controller", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_packId", - "type": "uint256" - }, - { - "name": "_owner", - "type": "address" - } - ], - "name": "isPackOwner", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_snt", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "packId", - "type": "uint256" - }, - { - "indexed": false, - "name": "dataPrice", - "type": "uint256" - }, - { - "indexed": false, - "name": "_contenthash", - "type": "bytes" - } - ], - "name": "Register", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "category", - "type": "bytes4" - }, - { - "indexed": true, - "name": "packId", - "type": "uint256" - } - ], - "name": "Categorized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "category", - "type": "bytes4" - }, - { - "indexed": true, - "name": "packId", - "type": "uint256" - } - ], - "name": "Uncategorized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "packId", - "type": "uint256" - } - ], - "name": "Unregister", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "_token", - "type": "address" - }, - { - "indexed": true, - "name": "_controller", - "type": "address" - }, - { - "indexed": false, - "name": "_amount", - "type": "uint256" - } - ], - "name": "ClaimedTokens", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "state", - "type": "uint8" - } - ], - "name": "MarketState", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "RegisterFee", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "BurnRate", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": true, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - } - ], - "srcmap": "666:21840:7:-;;;1561:31;;;-1:-1:-1;;1561:31:7;1582:10;1561:31;;;2958:97;5:2:-1;;;;30:1;27;20:12;5:2;2958:97:7;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2958:97:7;371:10:1;:23;;-1:-1:-1;;;;;;371:23:1;384:10;371:23;;;1156:40:2;1175:20;1156:18;;;;:40;:::i;:::-;3240:39:13;3259:19;3240:18;;;;:39;:::i;:::-;3037:3:7;:10;;-1:-1:-1;;;;;;3037:10:7;-1:-1:-1;;;;;3037:10:7;;;;;;;;;;666:21840;;1519:180:2;1595:25;;;;;;1587:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1651:33;;;;;;1687:4;1651:33;;;;;;;;:40;;-1:-1:-1;;1651:40:2;;;;;;1519:180::o;666:21840:7:-;;;;;;;", - "srcmap-runtime": "666:21840:7:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;666:21840:7;;;;;;;;-1:-1:-1;;;666:21840:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8703:744;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8703:744:7;;;;;;;:::i;:::-;;1300:135:2;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1300:135:2;-1:-1:-1;;;;;;1300:135:2;;:::i;:::-;;;;;;;;;;;;;;;;;;1708:21:7;;;:::i;:::-;;;;-1:-1:-1;;;;;1708:21:7;;;;;;;;;;;;;;5075:168:13;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5075:168:13;;:::i;4440:337::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4440:337:13;;;;;;;;:::i;4320:339:7:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;4320:339:7;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4320:339:7;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4320:339:7;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;4320:339:7;;;;-1:-1:-1;;;;;4320:339:7;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4320:339:7;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4320:339:7;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;4320:339:7;;-1:-1:-1;4320:339:7;-1:-1:-1;4320:339:7;:::i;:::-;;;;;;;;;;;;;;;;11400:198;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;11400:198:7;;;;;;;;:::i;10137:219::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10137:219:7;;:::i;6700:145:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6700:145:13;;;;;;;;;;;;;;;;;:::i;9189:220::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9189:220:13;;;;;;;;:::i;532:126:1:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;532:126:1;-1:-1:-1;;;;;532:126:1;;:::i;7498:215:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7498:215:13;;;;;;;;;;;;;;;;;:::i;10840:351:7:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;10840:351:7;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;10840:351:7;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;10840:351:7;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;10840:351:7;;;;-1:-1:-1;;;;;10840:351:7;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;10840:351:7;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;10840:351:7;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;10840:351:7;;-1:-1:-1;10840:351:7;-1:-1:-1;10840:351:7;:::i;9569:154::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9569:154:7;;;;:::i;1858:24::-;;;:::i;3900:109:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3900:109:13;;:::i;8298:184:7:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;8298:184:7;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;8298:184:7;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;8298:184:7;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;8298:184:7;;-1:-1:-1;8298:184:7;-1:-1:-1;8298:184:7;:::i;3497:172:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3497:172:13;-1:-1:-1;;;;;3497:172:13;;:::i;4874:177:7:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4874:177:7;;;;;;-1:-1:-1;;;;;4874:177:7;;:::i;6958:1125::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;6958:1125:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;6958:1125:7;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;6958:1125:7;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;6958:1125:7;;-1:-1:-1;6958:1125:7;-1:-1:-1;6958:1125:7;:::i;3549:207::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3549:207:7;;;;;;-1:-1:-1;;;;;3549:207:7;;:::i;9852:162::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9852:162:7;;:::i;5257:331::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5257:331:7;;;;;;;;;;;;:::i;14192:409::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14192:409:7;;:::i;:::-;;;;-1:-1:-1;;;;;14192:409:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1906:25;;;:::i;12747:175::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12747:175:7;-1:-1:-1;;;;;;12747:175:7;;:::i;5543:236:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5543:236:13;;;;;;;;;;:::i;1796:46:7:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1796:46:7;;:::i;5805:194::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5805:194:7;;;;;;-1:-1:-1;;;;;;5805:194:7;;:::i;14671:397::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14671:397:7;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14671:397:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14671:397:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12465:185;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12465:185:7;-1:-1:-1;;;;;;12465:185:7;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12465:185:7;;;;;;;;;;;;;;;;;13019:194;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;;13019:194:7;;;;;;;;:::i;6506:189::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6506:189:7;;;;;;;;;:::i;1752:37::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1752:37:7;;:::i;:::-;;;;;-1:-1:-1;;;;;1752:37:7;-1:-1:-1;;;;;1752:37:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1752:37:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8432:236:13;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;8432:236:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;8432:236:13;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;8432:236:13;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;8432:236:13;;-1:-1:-1;8432:236:13;-1:-1:-1;8432:236:13;:::i;1561:31:7:-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13558:549;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13558:549:7;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;13558:549:7;-1:-1:-1;;;;;13558:549:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13558:549:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13558:549:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11877:440;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11877:440:7;-1:-1:-1;;;;;11877:440:7;;:::i;6222:200::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6222:200:7;;;;;;-1:-1:-1;;;;;;6222:200:7;;:::i;6108:149:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6108:149:13;;;;;;;;;;:::i;8676:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8676:134:13;-1:-1:-1;;;;;8676:134:13;;:::i;295:33:1:-;;;:::i;13304:175:7:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13304:175:7;;;;;;-1:-1:-1;;;;;13304:175:7;;:::i;8703:744::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;8842:14:7;;;;:5;:14;;;;;;;;;8814:51;;;;;;;;;;;;;;;;;:25;;:51;;;8842:14;8814:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8814:51:7;-1:-1:-1;;;;;8814:51:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8876:10;8900:6;8910:1;8900:11;8897:177;;;-1:-1:-1;8936:16:7;;8897:177;;;9003:16;;8993:26;;;8985:48;;;;;-1:-1:-1;;;;;8985:48:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9056:6:7;8897:177;9108:16;;9094:11;9138:7;;9135:43;;;-1:-1:-1;;9161:5:7;9135:43;9192:6;9188:104;9208:5;9204:1;:9;9188:104;;;9234:46;9254:7;9263:9;9277:1;9273:3;:5;9263:16;;;;;;;;;;;;;;;;;;9234:19;:46::i;:::-;9215:3;;9188:104;;;-1:-1:-1;9307:14:7;;;;:5;:14;;;;;:30;:35;9304:126;;;9365:14;;;;:5;:14;;;;;;9358:21;9365:14;;9358:21;:::i;:::-;;;;;;-1:-1:-1;;9358:21:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;9399:19:7;;9410:7;;9399:19;;;;;9304:126;278:1:1;;;8703:744:7;;:::o;1300:135:2:-;-1:-1:-1;;;;;;1394:33:2;1370:4;1394:33;;;:20;:33;;;;;;;;;1300:135::o;1708:21:7:-;;;-1:-1:-1;;;;;1708:21:7;;:::o;5075:168:13:-;5136:7;5164:15;5171:7;5164:6;:15::i;:::-;5156:37;;;;;;;-1:-1:-1;;;;;5156:37:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5211:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;5211:24:13;;5075:168::o;4440:337::-;4506:13;4522:17;4531:7;4522:8;:17::i;:::-;4506:33;-1:-1:-1;;;;;;4558:11:13;;;;;;;;4550:37;;;;;-1:-1:-1;;;;;4550:37:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4550:37:13;;;;;;;;;;;;;;;4606:10;-1:-1:-1;;;;;4606:19:13;;;;:60;;-1:-1:-1;;;;;;4629:25:13;;;;;;:18;:25;;;;;;;;4655:10;4629:37;;;;;;;;;;4606:60;4598:85;;;;;;;-1:-1:-1;;;;;4598:85:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4598:85:13;;;;;;;;;;;;;;;4696:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;4696:29:13;-1:-1:-1;;;;;4696:29:13;;;;;;;;;4741:28;;4696:24;;4741:28;;;;;;;4440:337;;;:::o;4320:339:7:-;4540:14;4581:70;4590:10;4602:9;;4581:70;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;4581:70:7;;;;137:4:-1;4581:70:7;;;;;;;;;;;;;;;;;4613:6;;-1:-1:-1;4621:6:7;;-1:-1:-1;4629:7:7;;4638:12;;;;;;4581:70;;4638:12;;;;4581:70;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;4581:8:7;;-1:-1:-1;;;4581:70:7:i;:::-;4572:79;4320:339;-1:-1:-1;;;;;;;;4320:339:7:o;11400:198::-;11518:15;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;11558:32:7;11574:6;11582:7;11558:15;:32::i;:::-;11551:39;;278:1:1;11400:198:7;;;;:::o;10137:219::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;10233:8:7;:17;;;10279:5;10269:15;;;10261:55;;;;;-1:-1:-1;;;;;10261:55:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;10332:16;;;;;;;;;;;;;;;;;10137:219;:::o;6700:145:13:-;6790:7;2440:10;2422:15;2477:17;6790:7;2477:8;:17::i;:::-;2461:33;;2685:5;-1:-1:-1;;;;;2674:16:13;:7;-1:-1:-1;;;;;2674:16:13;;:55;;;-1:-1:-1;2694:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;2694:35:13;;;:24;;:35;2674:55;:93;;;-1:-1:-1;;;;;;2733:25:13;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2674:93;2666:118;;;;;;;-1:-1:-1;;;;;2666:118:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2666:118:13;;;;;;;;;;;;;;;6810:27;6819:4;6825:2;6829:7;6810:8;:27::i;:::-;6700:145;;;;;;:::o;9189:220::-;-1:-1:-1;;;;;9307:19:13;;9271:7;9307:19;;;:12;:19;;;;;:26;9299:34;;9291:66;;;;;-1:-1:-1;;;;;9291:66:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9375:19:13;;;;;;:12;:19;;;;;:26;;9395:5;;9375:26;;;;;;;;;;;;;;9368:33;;9189:220;;;;:::o;532:126:1:-;240:10;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;623:10;:27;;-1:-1:-1;;623:27:1;-1:-1:-1;;;;;623:27:1;;;;;;;;;;532:126::o;7498:215:13:-;7612:7;2440:10;2422:15;2477:17;7612:7;2477:8;:17::i;:::-;2461:33;;2685:5;-1:-1:-1;;;;;2674:16:13;:7;-1:-1:-1;;;;;2674:16:13;;:55;;;-1:-1:-1;2694:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;2694:35:13;;;:24;;:35;2674:55;:93;;;-1:-1:-1;;;;;;2733:25:13;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2674:93;2666:118;;;;;;;-1:-1:-1;;;;;2666:118:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2666:118:13;;;;;;;;;;;;;;;7635:4;7641:2;7645:7;2812:307;;;;;;;;;;;;;7678:27;7687:4;7693:2;7697:7;7678:8;:27::i;:::-;2916:15;:2;-1:-1:-1;;;;;2916:13:13;;:15::i;:::-;2912:200;;;2964:69;;-1:-1:-1;;;;;2964:69:13;;3000:10;2964:69;;;;;;-1:-1:-1;;;;;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;2948:13;;2964:35;;;;;;3000:10;;3012:4;;3018:7;;3027:5;;2964:69;;;;;;;;;;;2948:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2964:69:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2964:69:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2964:69:13;;-1:-1:-1;;;;;;;3056:26:13;;-1:-1:-1;;;;;3056:26:13;3048:52;;;;;-1:-1:-1;;;;;3048:52:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3048:52:13;;;;;;;;;;;;;;;2912:200;;2795:1;;;;7498:215;;;;;;:::o;10840:351:7:-;11084:14;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;11125:58:7;11134:9;;11125:58;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;11125:58:7;;;;137:4:-1;11125:58:7;;;;;;;;;;;;;;;;;11145:6;;-1:-1:-1;11153:6:7;;-1:-1:-1;11161:7:7;;11170:12;;;;;;11125:58;;11170:12;;;;11125:58;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;11125:8:7;;-1:-1:-1;;;11125:58:7:i;9569:154::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;9666:5:7;:14;;9674:6;;9666:5;-1:-1:-1;;9666:14:7;;9674:6;9666:14;;;;;;;;;;;;;9696:19;9708:6;9696:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;9569:154;:::o;1858:24::-;;;;:::o;3900:109:13:-;3957:7;3984:17;3993:7;3984:8;:17::i;8298:184:7:-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;8433:14:7;;;;:5;:14;;;;;:41;;:26;;8462:12;;8433:41;:::i;:::-;;8298:184;;;:::o;3497:172:13:-;3554:7;-1:-1:-1;;;;;3582:19:13;;;;3574:43;;;;;-1:-1:-1;;;;;3574:43:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3635:19:13;;;;;:12;:19;;;;;:26;;3497:172::o;4874:177:7:-;2386:10;2377:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2415:10:7;;-1:-1:-1;;;;;2415:10:7;2401;:24;:53;;;;-1:-1:-1;2438:16:7;2429:5;;;;:25;;;;;;;;;2401:53;2369:106;;;;;;;-1:-1:-1;;;;;2369:106:7;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2369:106:7;;;;;;;;;;;;;;;2833:10;;4992:7;;-1:-1:-1;;;;;2833:10:7;2819;:24;;:62;;-1:-1:-1;2847:14:7;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2847:20:7;2871:10;2847:34;2819:62;2811:71;;;;;;;;-1:-1:-1;5017:14:7;;;;:5;:14;;;;;;:20;;:26;;-1:-1:-1;;5017:26:7;-1:-1:-1;;;;;5017:26:7;;;;;;;;;4874:177::o;6958:1125::-;7150:3;;-1:-1:-1;;;;;7132:22:7;;;7150:3;;7132:22;7124:44;;;;;-1:-1:-1;;;;;7124:44:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7187:29:7;;7205:10;7187:29;7179:50;;;;;-1:-1:-1;;;;;7179:50:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;7240:10;7253:19;7266:5;;7253:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;7253:12:7;;-1:-1:-1;;;7253:19:7:i;:::-;7240:32;;7283:18;7304:29;7310:5;;7304:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;7316:1:7;;-1:-1:-1;;;;;7318:14:7;;7304:5;:29::i;:::-;7361:38;;;;;;;;;;;;;;;;7283:50;;-1:-1:-1;;;;;;;7347:53:7;;;;;;7344:732;;;7424:12;;7440:2;7424:18;7416:46;;;;;-1:-1:-1;;;;;7416:46:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;7478:14;7494:13;7522:5;7511:37;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7511:37:7;;;;;;;;;-1:-1:-1;7511:37:7;-1:-1:-1;7563:25:7;7567:5;7511:37;;7563:3;:25::i;:::-;;7344:732;;;;;7623:65;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7609:80:7;;:3;-1:-1:-1;;;;;7609:80:7;;;7606:470;;;7714:12;;7730:3;-1:-1:-1;7714:19:7;7706:47;;;;;-1:-1:-1;;;;;7706:47:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;7769:14;7785:15;7802:25;7829:14;7845:25;7885:5;7874:59;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;7874:59:7;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;;7874:59:7;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;0:372;;7874:59:7;;;;;;7768:165;;;;;;;;;;7948:65;7957:5;7964:9;7975:6;7983;7991:7;8000:12;7948:8;:65::i;:::-;;7606:470;;;;;;;;8046:18;;;-1:-1:-1;;;;;8046:18:7;;;;;;;;;;;;;;;;;;;;;;;;;;;7606:470;6958:1125;;;;;;;:::o;3549:207::-;3670:15;3710:38;3714:10;3726:7;3735:12;3710:3;:38::i;9852:162::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;9951:11:7;:20;;;9987:19;;;;;;;;;;;;;;;;;9852:162;:::o;5257:331::-;2386:10;2377:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2415:10:7;;-1:-1:-1;;;;;2415:10:7;2401;:24;:53;;;;-1:-1:-1;2438:16:7;2429:5;;;;:25;;;;;;;;;2401:53;2369:106;;;;;;;-1:-1:-1;;;;;2369:106:7;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2369:106:7;;;;;;;;;;;;;;;2833:10;;5395:7;;-1:-1:-1;;;;;2833:10:7;2819;:24;;:62;;-1:-1:-1;2847:14:7;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2847:20:7;2871:10;2847:34;2819:62;2811:71;;;;;;;;5439:5;5428:16;;;5420:78;;;;-1:-1:-1;;;;;5420:78:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5509:14:7;;;;:5;:14;;;;;;:20;;;:29;;;;5549:21;;:31;5257:331::o;14192:409::-;14300:13;14328;14356;14384:14;14427:16;;:::i;:::-;14446:14;;;;:5;:14;;;;;;;;;14427:33;;;;;;;;;;;;;;;;;;;;;;;14446:14;;14427:33;;14446:14;;14427:33;;14446:14;14427:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14427:33:7;-1:-1:-1;;;;;14427:33:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14427:33:7;;;-1:-1:-1;;14427:33:7;;;;;-1:-1:-1;;;;;14427:33:7;;;;;;;;;;-1:-1:-1;;;14427:33:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14427:33:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14493:4;:10;;;14518:4;:13;;;14546:4;:10;;;14571:4;:11;;;14471:122;;;;;;;;;14192:409;;;;;:::o;1906:25::-;;;;:::o;12747:175::-;-1:-1:-1;;;;;;12882:25:7;12845:12;12882:25;;;:14;:25;;;;;:32;;12747:175::o;5543:236:13:-;-1:-1:-1;;;;;5625:16:13;;5631:10;5625:16;;5617:42;;;;;-1:-1:-1;;;;;5617:42:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5617:42:13;;;;;;;;;;;;;;;5689:10;5670:30;;;;:18;:30;;;;;;;;-1:-1:-1;;;;;5670:34:13;;;;;;;;;;;;:45;;-1:-1:-1;;5670:45:13;;;;;;;;;;5731:40;;;;;;;5670:34;;5689:10;5731:40;;;;;;;;;;;5543:236;;:::o;1796:46:7:-;;;;;;;;;;;;;:::o;5805:194::-;2386:10;2377:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2415:10:7;;-1:-1:-1;;;;;2415:10:7;2401;:24;:53;;;;-1:-1:-1;2438:16:7;2429:5;;;;:25;;;;;;;;;2401:53;2369:106;;;;;;;-1:-1:-1;;;;;2369:106:7;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2369:106:7;;;;;;;;;;;;;;;2833:10;;5930:7;;-1:-1:-1;;;;;2833:10:7;2819;:24;;:62;;-1:-1:-1;2847:14:7;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2847:20:7;2871:10;2847:34;2819:62;2811:71;;;;;;;;5955:36;5972:7;5981:9;5955:16;:36::i;:::-;2486:1;5805:194;;:::o;14671:397::-;14778:24;14817:17;14849:24;14902:16;;:::i;:::-;14921:22;14934:8;14921:12;:22::i;:::-;14976:13;;15004:14;;;;15033:16;;;;;14976:13;;15004:14;;-1:-1:-1;15033:16:7;-1:-1:-1;14671:397:7;-1:-1:-1;;;14671:397:7:o;12465:185::-;-1:-1:-1;;;;;;12617:25:7;;;;;;:14;:25;;;;;;;;;12610:32;;;;;;;;;;;;;;;;;12563:29;;12610:32;;;12617:25;12610:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12465:185;;;:::o;13019:194::-;-1:-1:-1;;;;;;13172:25:7;;13131:14;13172:25;;;:14;:25;;;;;:33;;13198:6;;13172:33;;;;;6506:189;2386:10;2377:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2415:10:7;;-1:-1:-1;;;;;2415:10:7;2401;:24;:53;;;;-1:-1:-1;2438:16:7;2429:5;;;;:25;;;;;;;;;2401:53;2369:106;;;;;;;-1:-1:-1;;;;;2369:106:7;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2369:106:7;;;;;;;;;;;;;;;2833:10;;6627:7;;-1:-1:-1;;;;;2833:10:7;2819;:24;;:62;;-1:-1:-1;2847:14:7;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2847:20:7;2871:10;2847:34;2819:62;2811:71;;;;;;;;-1:-1:-1;6652:14:7;;;;:5;:14;;;;;;:23;;:35;;;;;-1:-1:-1;;;6652:35:7;-1:-1:-1;;6652:35:7;;;;;;;;;6506:189::o;1752:37::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1752:37:7;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1752:37:7;;;-1:-1:-1;;;1752:37:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;8432:236:13:-;8567:7;2440:10;2422:15;2477:17;8567:7;2477:8;:17::i;:::-;2461:33;;2685:5;-1:-1:-1;;;;;2674:16:13;:7;-1:-1:-1;;;;;2674:16:13;;:55;;;-1:-1:-1;2694:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;2694:35:13;;;:24;;:35;2674:55;:93;;;-1:-1:-1;;;;;;2733:25:13;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2674:93;2666:118;;;;;;;-1:-1:-1;;;;;2666:118:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2666:118:13;;;;;;;;;;;;;;;8590:4;8596:2;8600:7;8609:5;;2812:307;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;8633:27:13;;-1:-1:-1;8642:4:13;;-1:-1:-1;8648:2:13;;-1:-1:-1;8652:7:13;8633:8;:27::i;:::-;2916:15;:2;-1:-1:-1;;;;;2916:13:13;;:15::i;:::-;2912:200;;;2964:69;;-1:-1:-1;;;;;2964:69:13;;3000:10;2964:69;;;;;;-1:-1:-1;;;;;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;2948:13;;2964:35;;;;;;3000:10;;3012:4;;3018:7;;3027:5;;2964:69;;;;;;;;;;;2948:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2964:69:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2964:69:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2964:69:13;;-1:-1:-1;;;;;;;3056:26:13;;-1:-1:-1;;;;;3056:26:13;3048:52;;;;;-1:-1:-1;;;;;3048:52:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3048:52:13;;;;;;;;;;;;;;;2912:200;;2795:1;;;;8432:236;;;;;;;;:::o;1561:31:7:-;;;;;;:::o;13558:549::-;13663:24;13702:13;13730;13758:17;13790:13;13818:24;13871:16;;:::i;:::-;13890:14;;;;:5;:14;;;;;;;;;13871:33;;;;;;;;;;;;;;;;;;;;;;;13890:14;;13871:33;;13890:14;;13871:33;;13890:14;13871:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13871:33:7;-1:-1:-1;;;;;13871:33:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13871:33:7;;;-1:-1:-1;;13871:33:7;;;;;-1:-1:-1;;;;;13871:33:7;;;;;;;;;;-1:-1:-1;;;13871:33:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13871:33:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13871:33:7;;;;-1:-1:-1;;13937:13:7;;13965:10;;;;13990:13;;;;14018:14;;;;14047:10;;;;14072:16;;;;;13937:13;;13965:10;;-1:-1:-1;13990:13:7;;-1:-1:-1;14018:14:7;-1:-1:-1;14047:10:7;;-1:-1:-1;14072:16:7;-1:-1:-1;13558:549:7;;-1:-1:-1;;;;13558:549:7:o;11877:440::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;11978:20:7;;;11974:125;;;12023:10;;;12015:51;;-1:-1:-1;;;;;12023:10:7;;;;12052:4;12044:21;12015:51;;;;;12044:21;;12015:51;12023:10;12015:51;12044:21;12023:10;12015:51;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12015:51:7;12081:7;;11974:125;12175:30;;;;;;12199:4;12175:30;;;;;;12139:6;;12109:16;;-1:-1:-1;;;;;12175:15:7;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;12175:30:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12175:30:7;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12175:30:7;12231:10;;;12216:35;;;;;;-1:-1:-1;;;;;12231:10:7;;;12216:35;;;;;;;;;;;;12175:30;;-1:-1:-1;12216:14:7;;;;;;:35;;;;;12175:30;;12216:35;;;;;;;;;;;:14;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;12216:35:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12216:35:7;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;12289:10:7;;12267:42;;;;;;;;-1:-1:-1;;;;;12289:10:7;;;;12267:42;;;;;;;;;12216:35;12267:42;;;278:1:1;;;11877:440:7;:::o;6222:200::-;2386:10;2377:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2415:10:7;;-1:-1:-1;;;;;2415:10:7;2401;:24;:53;;;;-1:-1:-1;2438:16:7;2429:5;;;;:25;;;;;;;;;2401:53;2369:106;;;;;;;-1:-1:-1;;;;;2369:106:7;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2369:106:7;;;;;;;;;;;;;;;2833:10;;6350:7;;-1:-1:-1;;;;;2833:10:7;2819;:24;;:62;;-1:-1:-1;2847:14:7;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2847:20:7;2871:10;2847:34;2819:62;2811:71;;;;;;;;6375:39;6395:7;6404:9;6375:19;:39::i;6108:149:13:-;-1:-1:-1;;;;;6214:25:13;;;6190:4;6214:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;6108:149::o;8676:134::-;-1:-1:-1;;;;;8783:19:13;;;;;;:12;:19;;;;;;;;;8776:26;;;;;;;;;;;;;;;;;8737;;8776;;;8783:19;8776:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8676:134;;;:::o;295:33:1:-;;;-1:-1:-1;;;;;295:33:1;;:::o;13304:175:7:-;13411:4;13441:14;;;:5;:14;;;;;;:20;;;-1:-1:-1;;;;;13441:30:7;;;:20;;:30;;13304:175::o;18439:1152::-;-1:-1:-1;;;;;;18533:30:7;;18522:8;18533:30;;;:19;:30;;;;;;;;:39;;;;;;;;;;18591:7;;18583:39;;;;;-1:-1:-1;;;;;18583:39:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18640:30:7;;;;;;:19;:30;;;;;;;;:39;;;;;;;;18633:46;;;18700:25;;;:14;:25;;;:32;18693:39;;18690:292;;-1:-1:-1;;;;;;18771:25:7;;18748:20;18771:25;;;:14;:25;;;;;18797:32;;-1:-1:-1;;18797:34:7;;;18771:61;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18858:25:7;;;;:14;:25;;;;;;;:32;;18771:61;;-1:-1:-1;18771:61:7;;-1:-1:-1;;18884:5:7;;;18858:32;;;;;;;;;;;;;;;;;:47;;;;-1:-1:-1;;;;;;18920:30:7;;;;:19;:30;;;;;;:44;;;;;;;;:50;;;18690:292;-1:-1:-1;;;;;;18992:25:7;;;;;;:14;:25;;;;;:34;;;;;-1:-1:-1;;18992:34:7;;;:::i;:::-;-1:-1:-1;19039:9:7;19051:26;;;:17;:26;;;;;;;;-1:-1:-1;;;;;;19051:37:7;;;;;;;;;;;19107:8;;19099:40;;;;;-1:-1:-1;;;;;19099:40:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;19157:26;;;;:17;:26;;;;;;;;-1:-1:-1;;;;;;19157:37:7;;;;;;;;;19150:44;;;19216:14;;;:5;:14;;;;;:30;19208:38;;19205:285;;19262:20;19285:14;;;:5;:14;;;;;19309:30;;-1:-1:-1;;19309:32:7;;;19285:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;19285:57:7;19262:80;;19402:13;19368:5;:14;19374:7;19368:14;;;;;;;;;;;:23;;19397:1;19392:4;:6;19368:31;;;;;;;;;;;;;;;;;;;;;;:47;;;:31;;;;;;:47;;;;;;;-1:-1:-1;;;19368:47:7;;;;;;;;;;;;;19430:26;;;:17;:26;;;;;;-1:-1:-1;;;;;;19430:41:7;;;;;;;;;;;:48;;;19205:285;19500:14;;;;:5;:14;;;;;:32;;;;;-1:-1:-1;;19500:32:7;;;:::i;:::-;-1:-1:-1;19548:33:7;;19573:7;;-1:-1:-1;;;;;;19548:33:7;;;;;;;;18439:1152;;;;:::o;9605:154:13:-;9661:4;9694:20;;;:11;:20;;;;;;-1:-1:-1;;;;;9694:20:13;9732:19;;;9605:154::o;12843:197::-;12901:7;12937:20;;;:11;:20;;;;;;-1:-1:-1;;;;;12937:20:13;12976:19;;;12968:41;;;;;-1:-1:-1;;;;;12968:41:13;;;;;;;;;;;;;;;;;;;;;;;;;;;15135:598:7;15397:14;2386:10;2377:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2415:10:7;;-1:-1:-1;;;;;2415:10:7;2401;:24;:53;;;;-1:-1:-1;2438:16:7;2429:5;;;;:25;;;;;;;;;2401:53;2369:106;;;;;;;-1:-1:-1;;;;;2369:106:7;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2369:106:7;;;;;;;;;;;;;;;15447:1;15433:11;;:15;15430:123;;;15472:3;;15513:11;;15472:53;;;;;;-1:-1:-1;;;;;15472:53:7;;;;;;;15506:4;15472:53;;;;;;;;;;;;;:3;;;;;:16;;:53;;;;;;;;;;;;;;:3;;:53;;;5:2:-1;;;;30:1;27;20:12;5:2;15472:53:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15472:53:7;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15472:53:7;15464:77;;;;;;;-1:-1:-1;;;;;15464:77:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;15582:5;15571:16;;;15563:78;;;;-1:-1:-1;;;;;15563:78:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15661:58;15670:9;15681:6;15689;15697:7;15706:12;15661:8;:58::i;:::-;15652:67;15135:598;-1:-1:-1;;;;;;;15135:598:7:o;17635:256::-;17798:10;:12;;;;;;;;17755:15;17821:20;;;:11;:20;;;;;:30;;;17862:21;17867:6;17798:12;17862:4;:21::i;11582:428:13:-;11692:4;-1:-1:-1;;;;;11671:25:13;:17;11680:7;11671:8;:17::i;:::-;-1:-1:-1;;;;;11671:25:13;;11663:50;;;;;-1:-1:-1;;;;;11663:50:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11663:50:13;;;;;;;;;;;;;;;-1:-1:-1;;;;;11732:16:13;;;;11724:40;;;;;-1:-1:-1;;;;;11724:40:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;11784:24;;;;:15;:24;;;;;;;;11777:31;;-1:-1:-1;;11777:31:13;;;;;;11825:11;:20;;;;;:25;;-1:-1:-1;;;;;11825:25:13;;;;;;;;;;11879:18;;;;:12;:18;;;;;11861:46;;11800:7;11861:17;:46::i;:::-;-1:-1:-1;;;;;11933:16:13;;;;;;:12;:16;;;;;11918:41;;11951:7;11918:14;:41::i;:::-;11994:7;11990:2;-1:-1:-1;;;;;11975:27:13;11984:4;-1:-1:-1;;;;;11975:27:13;;;;;;;;;;;11582:428;;;:::o;484:635:0:-;544:4;1064:20;;1103:8;;484:635::o;15798:576:7:-;16033:14;2386:10;2377:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2415:10:7;;-1:-1:-1;;;;;2415:10:7;2401;:24;:53;;;;-1:-1:-1;2438:16:7;2429:5;;;;:25;;;;;;;;;2401:53;2369:106;;;;;;;-1:-1:-1;;;;;2369:106:7;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2369:106:7;;;;;;;;;;;;;;;-1:-1:-1;16075:9:7;:11;;;;;;;;;16113:83;;;-1:-1:-1;16113:83:7;;;16118:15;;;;;;;;16113:83;;-1:-1:-1;;;;;16113:83:7;;;;;;;;;;;;;;;;;16149:15;16113:83;;;;;;;;;;-1:-1:-1;;;16113:83:7;;;;;;;;;16097:13;;;:5;:13;;;;;;:99;;;;16075:11;;16113:83;;16097:13;;:99;;:13;;:99;;;;;:::i;:::-;-1:-1:-1;16097:99:7;;;;;;;;;;;;;;;;-1:-1:-1;;;16097:99:7;-1:-1:-1;;;;;;;16097:99:7;;;-1:-1:-1;;16097:99:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;16221:6;16212:38;16229:6;16237:12;16212:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;16212:38:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16265:6;16261:106;16280:9;:16;16276:1;:20;16261:106;;;16317:38;16334:6;16342:9;16352:1;16342:12;;;;;;;;;;;;;;;;;;16317:16;:38::i;:::-;16298:3;;16261:106;;;;15798:576;;;;;;;:::o;19794:165::-;19931:4;19916:24;19910:31;;19888:64::o;19967:2532::-;20052:12;20112:7;20103:6;:16;20085:6;:13;:35;;20077:44;;;;;;;;20134:22;20200:15;;20229:2005;;;;22378:4;22372:11;22359:24;;22431:4;22420:9;22416:20;22410:4;22403:34;20193:2259;;20229:2005;20414:4;20408:11;20395:24;;21083:2;21074:7;21070:16;21471:9;21464:17;21458:4;21454:28;21442:9;21431;21427:25;21423:60;21520:7;21516:2;21512:16;21777:6;21763:9;21756:17;21750:4;21746:28;21734:9;21726:6;21722:22;21718:57;21714:70;21548:434;21811:3;21807:2;21804:11;21548:434;;;21953:9;;21942:21;;21853:4;21845:13;;;;21886;21548:434;;;-1:-1:-1;;22002:26:7;;;22214:2;22197:11;-1:-1:-1;;22193:25:7;22187:4;22180:39;-1:-1:-1;20193:2259:7;-1:-1:-1;22482:9:7;19967:2532;-1:-1:-1;;;;19967:2532:7:o;16485:1091::-;16646:15;2621:10;2612:5;;;;:19;;;;;;;;;:45;;;-1:-1:-1;2644:13:7;2635:5;;;;:22;;;;;;;;;2612:45;:104;;;-1:-1:-1;2676:10:7;;-1:-1:-1;;;;;2676:10:7;2662;:24;:53;;;;-1:-1:-1;2699:16:7;2690:5;;;;:25;;;;;;;;;2662:53;2604:132;;;;;;;-1:-1:-1;;;;;2604:132:7;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2604:132:7;;;;;;;;;;;;;;;16679:17;;:::i;:::-;16699:14;;;;:5;:14;;;;;;;;;16679:34;;;;;;;;;;;;;;;;;;;;;;;16699:14;;16679:34;;16699:14;;16679:34;;16699:14;16679:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16679:34:7;-1:-1:-1;;;;;16679:34:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16679:34:7;;;-1:-1:-1;;16679:34:7;;;;;-1:-1:-1;;;;;16679:34:7;;;;;;;;;;-1:-1:-1;;;16679:34:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16679:34:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16679:34:7;;;;-1:-1:-1;;;16732:11:7;;;;16679:34;;-1:-1:-1;;;;;;16732:25:7;;;16724:46;;;;;-1:-1:-1;;;;;16724:46:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;16789:5;:14;;;16781:35;;;;;;;-1:-1:-1;;;;;16781:35:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;16844:11;;;;16827:14;16874:10;;16866:35;;;;;-1:-1:-1;;;;;16866:35:7;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;16866:35:7;;;;;;;;;;;;;;;16924:1;16915:6;:10;:26;;;;;16940:1;16929:8;;:12;16915:26;16912:241;;;16985:8;;17056:3;;17082:37;;;;;;;;16997:5;16976:17;;;16975:27;;;;17017:16;;;;;16975:27;-1:-1:-1;;;;;17056:3:7;;;;:16;;17073:7;;17056:3;;17082:35;;:37;;;;;;;;;;;;;;17056:3;17082:37;;;5:2:-1;;;;30:1;27;20:12;5:2;17082:37:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17082:37:7;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17082:37:7;17056:72;;;-1:-1:-1;;;17056:72:7;;;;;;-1:-1:-1;;;;;17056:72:7;;;;;;;;;;;;;;;;;;;;;;;;;;;17082:37;;17056:72;;;;;;;-1:-1:-1;17056:72:7;;;;5:2:-1;;;;30:1;27;20:12;5:2;17056:72:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17056:72:7;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17056:72:7;17048:93;;;;;;;-1:-1:-1;;;;;17048:93:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;16912:241;;17175:1;17166:6;:10;:30;;;;;17195:1;17180:5;:12;;;:16;17166:30;17163:227;;;17240:12;;;;17315:3;;:48;;;;;;-1:-1:-1;;;;;17315:48:7;;;;;;;17349:4;17315:48;;;;17256:5;17231:21;;;17230:31;;;;17315:48;;;;;;;;17276:16;;;;;17230:31;;17315:3;;;;:16;;:48;;;;;;;;;;;;;;17213:14;17315:3;:48;;;5:2:-1;;;;30:1;27;20:12;5:2;17315:48:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17315:48:7;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17315:48:7;17307:71;;;;;;;-1:-1:-1;;;;;17307:71:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;17163:227;;17413:1;17404:6;:10;17401:112;;;17439:3;;17465:11;;;;;17439:46;;;;;;-1:-1:-1;;;;;17439:46:7;;;;;;;;;;;;;;;;;;;;;;:3;;;;;:16;;:46;;;;;17465:11;;17439:46;;;;;:3;;:46;;;5:2:-1;;;;30:1;27;20:12;5:2;17439:46:7;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;17439:46:7;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17439:46:7;17431:70;;;;;;;-1:-1:-1;;;;;17431:70:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;17530:38;17546:12;17560:7;17530:15;:38::i;:::-;17523:45;16485:1091;-1:-1:-1;;;;;;16485:1091:7:o;17966:396::-;18054:26;;;;:17;:26;;;;;;;;-1:-1:-1;;;;;;18054:37:7;;;;;;;;;;:42;18046:79;;;;;-1:-1:-1;;;;;18046:79:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18178:25:7;;;;;;:14;:25;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;;18178:39:7;;;;;;;;;;;;18136:30;;;:19;:30;;;;;:39;;;;;;;;:81;;;;18268:5;:14;;;;;27:10:-1;;23:18;;;45:23;;;18268:39:7;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;18268:39:7;;;;;;;;;;;;;18228:26;;;:17;:26;;;;;:37;;;;;;;;;:79;;;;18323:31;18178:39;;:25;18323:31;;;17966:396;;:::o;19652:132::-;19713:16;;:::i;:::-;19748:28;19754:21;;;:11;:21;;;;;;;;;19748:28;;:5;:28;;;;;;19741:35;;;;;;;;;;;;;;;;;;;;;;;19748:28;;19741:35;;19748:28;;19741:35;;19748:28;19741:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;19741:35:7;-1:-1:-1;;;;;19741:35:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;19741:35:7;;;-1:-1:-1;;19741:35:7;;;;;-1:-1:-1;;;;;19741:35:7;;;;;;;;;;-1:-1:-1;;;19741:35:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19741:35:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19652:132;;;:::o;10010:303:13:-;-1:-1:-1;;;;;10081:16:13;;;;10073:40;;;;;-1:-1:-1;;;;;10073:40:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;10133:15;10140:7;10133:6;:15::i;:::-;10132:16;10124:42;;;;;-1:-1:-1;;;;;10124:42:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;10124:42:13;;;;;;;;;;;;;;;10179:20;;;;:11;:20;;;;;;;;:25;;-1:-1:-1;;10179:25:13;-1:-1:-1;;;;;10179:25:13;;;;;;;;10230:16;;:12;:16;;;;;10215:41;;10179:20;10215:14;:41::i;:::-;10272:33;;10297:7;;-1:-1:-1;;;;;10272:33:13;;;10289:1;;10272:33;;10289:1;;10272:33;10010:303;;:::o;12185:428::-;12279:8;12290:25;;;:15;:25;;;;;;12329:8;;12326:46;;;12354:7;;;12326:46;12389:25;;;;:15;:25;;;;;12382:32;;;12458:16;;12448:9;;-1:-1:-1;;12458:18:13;;;12448:29;;;;;;;;;;;;;;12425:52;;12518:12;12499:9;12513:1;12509:3;:5;12499:16;;;;;;;;;;;;;;;;;;;:31;12541:18;;;:9;-1:-1:-1;;12541:18:13;;;:::i;:::-;-1:-1:-1;12570:29:13;;;;:15;:29;;;;;:35;12185:428;;;:::o;12022:151::-;27:10:-1;;39:1;23:18;;45:23;;;-1:-1;12141:24:13;;;;;;;;;;;;;12113:25;;;:15;:25;;;;;;:52;12022:151::o;666:21840:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;666:21840:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;666:21840:7;;;-1:-1:-1;666:21840:7;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;666:21840:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;666:21840:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;666:21840:7;;;-1:-1:-1;666:21840:7;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;666:21840:7;;;;;;" - }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol:ApproveAndCallFallBack": { - "bin-runtime": "", - "bin": "", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "from", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "_token", - "type": "address" - }, - { - "name": "_data", - "type": "bytes" - } - ], - "name": "receiveApproval", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" } ], "srcmap": "", "srcmap-runtime": "" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC20Token.sol:ERC20Token": { - "bin-runtime": "", - "bin": "", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "name": "success", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "name": "supply", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_from", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "name": "success", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "balance", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_to", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "name": "success", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "name": "remaining", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - ], - "srcmap": "", - "srcmap-runtime": "" - }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721.sol:ERC721": { - "bin-runtime": "", - "bin": "", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_approved", - "type": "address" - }, - { - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_from", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_from", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_operator", - "type": "address" - }, - { - "name": "_approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_from", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_tokenId", - "type": "uint256" - }, - { - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": true, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - } - ], - "srcmap": "", - "srcmap-runtime": "" - }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/ERC721Receiver.sol:ERC721Receiver": { + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721-token-receiver.sol:ERC721TokenReceiver": { "bin-runtime": "", "bin": "", "abi": [ @@ -126907,18 +75308,23 @@ "srcmap": "", "srcmap-runtime": "" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/MiniMeToken.sol:MiniMeToken": { - "bin-runtime": "60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820876addac0a2af08dfd5f9ec1d0ccec7a82c26a52bd5d53f22594e94d1b15bffa0029", - "bin": "60c0604052600760808190527f4d4d545f302e310000000000000000000000000000000000000000000000000060a0908152620000409160049190620001e6565b503480156200004e57600080fd5b50604051620023a1380380620023a1833981018060405260e08110156200007457600080fd5b8151602083015160408401516060850180519395929491939183019291640100000000811115620000a457600080fd5b82016020810184811115620000b857600080fd5b8151640100000000811182820187101715620000d357600080fd5b50506020820151604090920180519194929391640100000000811115620000f957600080fd5b820160208101848111156200010d57600080fd5b81516401000000008111828201871017156200012857600080fd5b505060209182015160008054600160a060020a03191633179055600b8054600160a060020a038c166101000261010060a860020a0319909116179055865191945092506200017d9160019190870190620001e6565b506002805460ff191660ff85161790558151620001a2906003906020850190620001e6565b5060058054600160a060020a031916600160a060020a039790971696909617909555505050600655600b805460ff191691151591909117905550436007556200028b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022957805160ff191683800117855562000259565b8280016001018555821562000259579182015b82811115620002595782518255916020019190600101906200023c565b50620002679291506200026b565b5090565b6200028891905b8082111562000267576000815560010162000272565b90565b612106806200029b6000396000f3fe60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820876addac0a2af08dfd5f9ec1d0ccec7a82c26a52bd5d53f22594e94d1b15bffa0029", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/erc721.sol:ERC721": { + "bin-runtime": "", + "bin": "", "abi": [ { "constant": true, - "inputs": [], - "name": "name", + "inputs": [ + { + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "getApproved", "outputs": [ { "name": "", - "type": "string" + "type": "address" } ], "payable": false, @@ -126929,29 +75335,92 @@ "constant": false, "inputs": [ { - "name": "_spender", + "name": "_approved", "type": "address" }, { - "name": "_amount", + "name": "_tokenId", "type": "uint256" } ], "name": "approve", - "outputs": [ + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ { - "name": "success", - "type": "bool" + "name": "_from", + "type": "address" + }, + { + "name": "_to", + "type": "address" + }, + { + "name": "_tokenId", + "type": "uint256" } ], + "name": "transferFrom", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_from", + "type": "address" + }, + { + "name": "_to", + "type": "address" + }, + { + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "safeTransferFrom", + "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, - "inputs": [], - "name": "creationBlock", + "inputs": [ + { + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_owner", + "type": "address" + } + ], + "name": "balanceOf", "outputs": [ { "name": "", @@ -126962,6 +75431,203 @@ "stateMutability": "view", "type": "function" }, + { + "constant": false, + "inputs": [ + { + "name": "_operator", + "type": "address" + }, + { + "name": "_approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_from", + "type": "address" + }, + { + "name": "_to", + "type": "address" + }, + { + "name": "_tokenId", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_owner", + "type": "address" + }, + { + "name": "_operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "from", + "type": "address" + }, + { + "indexed": true, + "name": "to", + "type": "address" + }, + { + "indexed": true, + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "_owner", + "type": "address" + }, + { + "indexed": true, + "name": "_approved", + "type": "address" + }, + { + "indexed": true, + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "_owner", + "type": "address" + }, + { + "indexed": true, + "name": "_operator", + "type": "address" + }, + { + "indexed": false, + "name": "_approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event" + } + ], + "srcmap": "", + "srcmap-runtime": "" + }, + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/nf-token-enumerable.sol:NFTokenEnumerable": { + "bin-runtime": "608060405234801561001057600080fd5b50600436106100ec576000357c01000000000000000000000000000000000000000000000000000000009004806342842e0e116100a957806370a082311161008357806370a0823114610294578063a22cb465146102ba578063b88d4fde146102e8578063e985e9c514610378576100ec565b806342842e0e146102245780634f6ccce71461025a5780636352211e14610277576100ec565b806301ffc9a7146100f1578063081812fc14610141578063095ea7b31461017a57806318160ddd146101a857806323b872dd146101c25780632f745c59146101f8575b600080fd5b61012d6004803603602081101561010757600080fd5b50357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166103a6565b604080519115158252519081900360200190f35b61015e6004803603602081101561015757600080fd5b50356103de565b60408051600160a060020a039092168252519081900360200190f35b6101a66004803603604081101561019057600080fd5b50600160a060020a038135169060200135610420565b005b6101b0610530565b60408051918252519081900360200190f35b6101a6600480360360608110156101d857600080fd5b50600160a060020a03813581169160208101359091169060400135610537565b6101b06004803603604081101561020e57600080fd5b50600160a060020a038135169060200135610623565b6101a66004803603606081101561023a57600080fd5b50600160a060020a0381358116916020810135909116906040013561067e565b6101b06004803603602081101561027057600080fd5b503561069f565b61015e6004803603602081101561028d57600080fd5b50356106d0565b6101b0600480360360208110156102aa57600080fd5b5035600160a060020a03166106f4565b6101a6600480360360408110156102d057600080fd5b50600160a060020a038135169060200135151561071a565b6101a6600480360360808110156102fe57600080fd5b600160a060020a0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561033957600080fd5b82018360208201111561034b57600080fd5b8035906020019184600183028401116401000000008311171561036d57600080fd5b509092509050610788565b61012d6004803603604081101561038e57600080fd5b50600160a060020a03813581169160200135166107d1565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19811660009081526020819052604090205460ff165b919050565b6000818152600160205260408120548290600160a060020a0316151561040357600080fd5b5050600090815260026020526040902054600160a060020a031690565b6000818152600160205260409020548190600160a060020a03163381148061046b5750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b151561047657600080fd5b6000838152600160205260409020548390600160a060020a0316151561049b57600080fd5b600084815260016020526040902054600160a060020a039081169086168114156104c457600080fd5b600085815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038a811691821790925591518893918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050505050565b6005545b90565b6000818152600160205260409020548190600160a060020a0316338114806105755750600082815260026020526040902054600160a060020a031633145b806105a35750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b15156105ae57600080fd5b6000838152600160205260409020548390600160a060020a031615156105d357600080fd5b600084815260016020526040902054600160a060020a0390811690871681146105fb57600080fd5b600160a060020a038616151561061057600080fd5b61061a86866107ff565b50505050505050565b600160a060020a038216600090815260076020526040812054821061064757600080fd5b600160a060020a038316600090815260076020526040902080548390811061066b57fe5b9060005260206000200154905092915050565b61069a838383602060405190810160405280600081525061087a565b505050565b60055460009082106106b057600080fd5b60058054839081106106be57fe5b90600052602060002001549050919050565b600081815260016020526040902054600160a060020a03168015156103d957600080fd5b6000600160a060020a038216151561070b57600080fd5b61071482610adb565b92915050565b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b6107ca85858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061087a92505050565b5050505050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b600081815260016020526040902054600160a060020a031661082082610af6565b61082a8183610b40565b6108348383610c67565b8183600160a060020a031682600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600160205260409020548290600160a060020a0316338114806108b85750600082815260026020526040902054600160a060020a031633145b806108e65750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b15156108f157600080fd5b6000848152600160205260409020548490600160a060020a0316151561091657600080fd5b600085815260016020526040902054600160a060020a03908116908816811461093e57600080fd5b600160a060020a038716151561095357600080fd5b61095d87876107ff565b61096f87600160a060020a0316610cee565b15610ad1576040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a038b81166024850152604484018a9052608060648501908152895160848601528951600095928d169463150b7a029490938f938e938e939260a4019060208501908083838e5b83811015610a075781810151838201526020016109ef565b50505050905090810190601f168015610a345780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015610a5657600080fd5b505af1158015610a6a573d6000803e3d6000fd5b505050506040513d6020811015610a8057600080fd5b505190507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1981167f150b7a020000000000000000000000000000000000000000000000000000000014610acf57600080fd5b505b5050505050505050565b600160a060020a031660009081526007602052604090205490565b600081815260026020526040902054600160a060020a031615610b3d576000818152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff191690555b50565b600081815260016020526040902054600160a060020a03838116911614610b6657600080fd5b6000818152600160209081526040808320805473ffffffffffffffffffffffffffffffffffffffff191690556008825280832054600160a060020a038616845260079092529091205460001901808214610c3e57600160a060020a0384166000908152600760205260408120805483908110610bde57fe5b90600052602060002001549050806007600087600160a060020a0316600160a060020a0316815260200190815260200160002084815481101515610c1e57fe5b600091825260208083209091019290925591825260089052604090208290555b600160a060020a03841660009081526007602052604090208054906107ca906000198301610cf6565b600081815260016020526040902054600160a060020a031615610c8957600080fd5b60008181526001602081815260408084208054600160a060020a0390971673ffffffffffffffffffffffffffffffffffffffff199097168717905594835260078152848320805492830181558352808320820184905592825260089092529190912055565b6000903b1190565b81548183558181111561069a5760008381526020902061069a91810190830161053491905b80821115610d2f5760008155600101610d1b565b509056fea165627a7a72305820b5ffd5b198999134f815a63302f6157ef3a17179706649b5132cff5094589da90029", + "bin": "608060405234801561001057600080fd5b50600060208190527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1990811660019081179092557ff7815fccbf112960a73756e185887fedcb9fc64ca0a16cc5923b7960ed78080080548216831790557f780e9d63000000000000000000000000000000000000000000000000000000009092527f77b7bbe0e49b76487c9476b5db3354cf5270619d0037ccb899c2a4c4a75b43188054909216179055610d5f806100ce6000396000f3fe608060405234801561001057600080fd5b50600436106100ec576000357c01000000000000000000000000000000000000000000000000000000009004806342842e0e116100a957806370a082311161008357806370a0823114610294578063a22cb465146102ba578063b88d4fde146102e8578063e985e9c514610378576100ec565b806342842e0e146102245780634f6ccce71461025a5780636352211e14610277576100ec565b806301ffc9a7146100f1578063081812fc14610141578063095ea7b31461017a57806318160ddd146101a857806323b872dd146101c25780632f745c59146101f8575b600080fd5b61012d6004803603602081101561010757600080fd5b50357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166103a6565b604080519115158252519081900360200190f35b61015e6004803603602081101561015757600080fd5b50356103de565b60408051600160a060020a039092168252519081900360200190f35b6101a66004803603604081101561019057600080fd5b50600160a060020a038135169060200135610420565b005b6101b0610530565b60408051918252519081900360200190f35b6101a6600480360360608110156101d857600080fd5b50600160a060020a03813581169160208101359091169060400135610537565b6101b06004803603604081101561020e57600080fd5b50600160a060020a038135169060200135610623565b6101a66004803603606081101561023a57600080fd5b50600160a060020a0381358116916020810135909116906040013561067e565b6101b06004803603602081101561027057600080fd5b503561069f565b61015e6004803603602081101561028d57600080fd5b50356106d0565b6101b0600480360360208110156102aa57600080fd5b5035600160a060020a03166106f4565b6101a6600480360360408110156102d057600080fd5b50600160a060020a038135169060200135151561071a565b6101a6600480360360808110156102fe57600080fd5b600160a060020a0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561033957600080fd5b82018360208201111561034b57600080fd5b8035906020019184600183028401116401000000008311171561036d57600080fd5b509092509050610788565b61012d6004803603604081101561038e57600080fd5b50600160a060020a03813581169160200135166107d1565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19811660009081526020819052604090205460ff165b919050565b6000818152600160205260408120548290600160a060020a0316151561040357600080fd5b5050600090815260026020526040902054600160a060020a031690565b6000818152600160205260409020548190600160a060020a03163381148061046b5750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b151561047657600080fd5b6000838152600160205260409020548390600160a060020a0316151561049b57600080fd5b600084815260016020526040902054600160a060020a039081169086168114156104c457600080fd5b600085815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038a811691821790925591518893918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050505050565b6005545b90565b6000818152600160205260409020548190600160a060020a0316338114806105755750600082815260026020526040902054600160a060020a031633145b806105a35750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b15156105ae57600080fd5b6000838152600160205260409020548390600160a060020a031615156105d357600080fd5b600084815260016020526040902054600160a060020a0390811690871681146105fb57600080fd5b600160a060020a038616151561061057600080fd5b61061a86866107ff565b50505050505050565b600160a060020a038216600090815260076020526040812054821061064757600080fd5b600160a060020a038316600090815260076020526040902080548390811061066b57fe5b9060005260206000200154905092915050565b61069a838383602060405190810160405280600081525061087a565b505050565b60055460009082106106b057600080fd5b60058054839081106106be57fe5b90600052602060002001549050919050565b600081815260016020526040902054600160a060020a03168015156103d957600080fd5b6000600160a060020a038216151561070b57600080fd5b61071482610adb565b92915050565b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b6107ca85858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061087a92505050565b5050505050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b600081815260016020526040902054600160a060020a031661082082610af6565b61082a8183610b40565b6108348383610c67565b8183600160a060020a031682600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600160205260409020548290600160a060020a0316338114806108b85750600082815260026020526040902054600160a060020a031633145b806108e65750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b15156108f157600080fd5b6000848152600160205260409020548490600160a060020a0316151561091657600080fd5b600085815260016020526040902054600160a060020a03908116908816811461093e57600080fd5b600160a060020a038716151561095357600080fd5b61095d87876107ff565b61096f87600160a060020a0316610cee565b15610ad1576040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a038b81166024850152604484018a9052608060648501908152895160848601528951600095928d169463150b7a029490938f938e938e939260a4019060208501908083838e5b83811015610a075781810151838201526020016109ef565b50505050905090810190601f168015610a345780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015610a5657600080fd5b505af1158015610a6a573d6000803e3d6000fd5b505050506040513d6020811015610a8057600080fd5b505190507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1981167f150b7a020000000000000000000000000000000000000000000000000000000014610acf57600080fd5b505b5050505050505050565b600160a060020a031660009081526007602052604090205490565b600081815260026020526040902054600160a060020a031615610b3d576000818152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff191690555b50565b600081815260016020526040902054600160a060020a03838116911614610b6657600080fd5b6000818152600160209081526040808320805473ffffffffffffffffffffffffffffffffffffffff191690556008825280832054600160a060020a038616845260079092529091205460001901808214610c3e57600160a060020a0384166000908152600760205260408120805483908110610bde57fe5b90600052602060002001549050806007600087600160a060020a0316600160a060020a0316815260200190815260200160002084815481101515610c1e57fe5b600091825260208083209091019290925591825260089052604090208290555b600160a060020a03841660009081526007602052604090208054906107ca906000198301610cf6565b600081815260016020526040902054600160a060020a031615610c8957600080fd5b60008181526001602081815260408084208054600160a060020a0390971673ffffffffffffffffffffffffffffffffffffffff199097168717905594835260078152848320805492830181558352808320820184905592825260089092529190912055565b6000903b1190565b81548183558181111561069a5760008381526020902061069a91810190830161053491905b80821115610d2f5760008155600101610d1b565b509056fea165627a7a72305820b5ffd5b198999134f815a63302f6157ef3a17179706649b5132cff5094589da90029", + "abi": [ + { + "constant": true, + "inputs": [ + { + "name": "_interfaceID", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_approved", + "type": "address" + }, + { + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, { "constant": true, "inputs": [], @@ -126988,637 +75654,7 @@ "type": "address" }, { - "name": "_amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "name": "success", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "decimals", - "outputs": [ - { - "name": "", - "type": "uint8" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_newController", - "type": "address" - } - ], - "name": "changeController", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_blockNumber", - "type": "uint256" - } - ], - "name": "balanceOfAt", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "version", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_cloneTokenName", - "type": "string" - }, - { - "name": "_cloneDecimalUnits", - "type": "uint8" - }, - { - "name": "_cloneTokenSymbol", - "type": "string" - }, - { - "name": "_snapshotBlock", - "type": "uint256" - }, - { - "name": "_transfersEnabled", - "type": "bool" - } - ], - "name": "createCloneToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "balance", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "parentToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - } - ], - "name": "generateTokens", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "symbol", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_blockNumber", - "type": "uint256" - } - ], - "name": "totalSupplyAt", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_to", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "name": "success", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "transfersEnabled", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "parentSnapShotBlock", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "_extraData", - "type": "bytes" - } - ], - "name": "approveAndCall", - "outputs": [ - { - "name": "success", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - } - ], - "name": "destroyTokens", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "name": "remaining", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_token", - "type": "address" - } - ], - "name": "claimTokens", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "tokenFactory", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_transfersEnabled", - "type": "bool" - } - ], - "name": "enableTransfers", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "controller", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "name": "_tokenFactory", - "type": "address" - }, - { - "name": "_parentToken", - "type": "address" - }, - { - "name": "_parentSnapShotBlock", - "type": "uint256" - }, - { - "name": "_tokenName", - "type": "string" - }, - { - "name": "_decimalUnits", - "type": "uint8" - }, - { - "name": "_tokenSymbol", - "type": "string" - }, - { - "name": "_transfersEnabled", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "payable": true, - "stateMutability": "payable", - "type": "fallback" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "token", - "type": "address" - }, - { - "indexed": true, - "name": "controller", - "type": "address" - }, - { - "indexed": false, - "name": "amount", - "type": "uint256" - } - ], - "name": "ClaimedTokens", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": true, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "cloneToken", - "type": "address" - }, - { - "indexed": false, - "name": "snapshotBlock", - "type": "uint256" - } - ], - "name": "NewCloneToken", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "amount", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - } - ], - "srcmap": "1976:33:12:-;1703:21854;1976:33;;1703:21854;1976:33;;;;;;;;;;;;;;:::i;:::-;;4488:782;8:9:-1;5:2;;;30:1;27;20:12;5:2;4488:782:12;;;;;;;;;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;4488:782:12;;;;;;;;;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;-1:-1;;4488:782:12;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;-1:-1;;4488:782:12;;;;;371:10:1;:23;;384:10;-1:-1:-1;;371:23:1;;;;;;4773:12:12;:48;;-1:-1:-1;;4773:48:12;371:23:1;-1:-1:-1;4773:48:12;;;;;;4832:17;;4488:782;;-1:-1:-1;4488:782:12;-1:-1:-1;4832:17:12;;-1:-1:-1;;4832:17:12;;;;;:::i;:::-;-1:-1:-1;4908:8:12;:24;;-1:-1:-1;;4908:24:12;;;;;;;4988:21;;;;:6;;:21;;;;;:::i;:::-;-1:-1:-1;5066:11:12;:57;;-1:-1:-1;;5066:57:12;-1:-1:-1;5066:57:12;;;;;;;;;;;-1:-1:-1;;;5134:19:12;:42;5187:16;:36;;-1:-1:-1;;5187:36:12;;;;;;;;;;-1:-1:-1;5250:12:12;5234:13;:28;1703:21854;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1703:21854:12;;;-1:-1:-1;1703:21854:12;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "srcmap-runtime": "1703:21854:12:-;;;;;;;;-1:-1:-1;1703:21854:12;;;;;-1:-1:-1;1703:21854:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22239:10;;22228:22;;-1:-1:-1;;;;;22239:10:12;22228;:22::i;:::-;22220:52;;;;;;;-1:-1:-1;;;;;22220:52:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;22307:10;;22291:69;;;;;;22349:10;22291:69;;;;;;-1:-1:-1;;;;;22307:10:12;;;;22291:40;;22338:9;;22291:69;;;;;;;;;;;;;;22338:9;22307:10;22291:69;;;5:2:-1;;;;30:1;27;20:12;5:2;22291:69:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22291:69:12;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22291:69:12;22283:96;;;;;;;-1:-1:-1;;;;;22283:96:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;1703:21854;1747:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1747:18:12;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1747:18:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10716:150;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10716:150:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10716:150:12;;-1:-1:-1;;;;;10716:150:12;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2927:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2927:25:12;;;:::i;:::-;;;;;;;;;;;;;;;;12540:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12540:105:12;;;:::i;6162:827::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6162:827:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6162:827:12;;;;;;;;;;;;;;;;;:::i;1828:21::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1828:21:12;;;:::i;:::-;;;;;;;;;;;;;;;;;;;532:126:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;532:126:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;532:126:1;-1:-1:-1;;;;;532:126:1;;:::i;13024:999:12:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13024:999:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13024:999:12;;-1:-1:-1;;;;;13024:999:12;;;;;;:::i;1976:33::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1976:33:12;;;:::i;15937:908::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15937:908:12;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;15937:908:12;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;15937:908:12;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;15937:908:12;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;15937:908:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;15937:908:12;;;;;;;;;;;-1:-1:-1;15937:908:12;;;;-1:-1:-1;15937:908:12;;;;-1:-1:-1;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;15937:908:12;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;15937:908:12;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;15937:908:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;15937:908:12;;-1:-1:-1;;15937:908:12;;;-1:-1:-1;;;15937:908:12;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;15937:908:12;;;;;;;;;;;;;;10163:134;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10163:134:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10163:134:12;-1:-1:-1;;;;;10163:134:12;;:::i;2619:30::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2619:30:12;;;:::i;17198:719::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17198:719:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17198:719:12;;-1:-1:-1;;;;;17198:719:12;;;;;;:::i;1910:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1910:20:12;;;:::i;14256:921::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14256:921:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14256:921:12;;:::i;5594:198::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5594:198:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5594:198:12;;-1:-1:-1;;;;;5594:198:12;;;;;;:::i;3520:28::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3520:28:12;;;:::i;2810:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2810:31:12;;;:::i;11943:453::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11943:453:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11943:453:12;;-1:-1:-1;;;;;11943:453:12;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;11943:453:12;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;11943:453:12;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;11943:453:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;11943:453:12;;-1:-1:-1;11943:453:12;;-1:-1:-1;;;;;11943:453:12:i;18166:646::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18166:646:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18166:646:12;;-1:-1:-1;;;;;18166:646:12;;;;;;:::i;11205:203::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11205:203:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;11205:203:12;;;;;;;;;;:::i;22711:423::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22711:423:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22711:423:12;-1:-1:-1;;;;;22711:423:12;;:::i;3609:38::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3609:38:12;;;:::i;19058:126::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19058:126:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19058:126:12;;;;:::i;295:33:1:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;295:33:1;;;:::i;21468:259:12:-;21525:4;;-1:-1:-1;;;;;21566:19:12;;;21562:63;;;21608:5;21601:12;;;;;21562:63;-1:-1:-1;;21718:1:12;21667:18;;21713:6;21468:259;;;;:::o;1747:18::-;;;;;;;;;;;;;;;-1:-1:-1;;1747:18:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;10716:150::-;10786:12;10818:40;10828:10;10840:8;10850:7;10818:9;:40::i;:::-;10811:47;;10716:150;;;;;:::o;2927:25::-;;;;:::o;12540:105::-;12586:4;12610:27;12624:12;12610:13;:27::i;:::-;12603:34;;12540:105;;:::o;6162:827::-;6297:12;6627:10;;-1:-1:-1;;;;;6627:10:12;6613;:24;6609:324;;6662:16;;;;6654:47;;;;;;;-1:-1:-1;;;;;6654:47:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6785:14:12;;;;;;:7;:14;;;;;;;;6800:10;6785:26;;;;;;;;-1:-1:-1;;6781:89:12;;;-1:-1:-1;6849:5:12;6842:12;;6781:89;-1:-1:-1;;;;;6884:14:12;;;;;;:7;:14;;;;;;;;6899:10;6884:26;;;;;;;:37;;;;;;;6609:324;6950:31;6961:5;6968:3;6973:7;6950:10;:31::i;:::-;6943:38;;6162:827;;;;;;:::o;1828:21::-;;;;;;:::o;532:126:1:-;240:10;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;623:10;:27;;-1:-1:-1;;623:27:1;-1:-1:-1;;;;;623:27:1;;;;;;;;;;532:126::o;13024:999:12:-;-1:-1:-1;;;;;13514:16:12;;13153:4;13514:16;;;:8;:16;;;;;:23;:28;;13513:80;;-1:-1:-1;;;;;;13548:16:12;;;;;;:8;:16;;;;;:19;;13580:12;;13548:16;:19;;;;;;;;;;;;;;;:29;-1:-1:-1;;;;;13548:29:12;:44;13513:80;13509:507;;;13622:11;;-1:-1:-1;;;;;13622:11:12;13614:34;13610:236;;13676:11;;13726:19;;-1:-1:-1;;;;;13676:11:12;;;;:23;;13700:6;;13708:38;;13712:12;;13708:3;:38::i;:::-;13676:71;;;-1:-1:-1;13676:71:12;;;;;;-1:-1:-1;;;;;13676:71:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:2:-1;;;;30:1;27;20:12;5:2;13676:71:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13676:71:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13676:71:12;;-1:-1:-1;13669:78:12;;13610:236;-1:-1:-1;13829:1:12;13822:8;;13509:507;-1:-1:-1;;;;;13973:16:12;;;;;;:8;:16;;;;;13962:42;;13991:12;13962:10;:42::i;:::-;13955:49;;;;1976:33;;;;;;;;;;;;;;;-1:-1:-1;;1976:33:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15937:908;16195:7;16245:14;16274:18;;16270:79;;;-1:-1:-1;16325:12:12;16270:79;16359:22;16384:12;;;;;;;;;-1:-1:-1;;;;;16384:12:12;-1:-1:-1;;;;;16384:29:12;;16436:4;16456:13;16484:15;16514:18;16547:17;16579;16384:227;;;;;-1:-1:-1;;;16384:227:12;;;;;;;-1:-1:-1;;;;;16384:227:12;-1:-1:-1;;;;;16384:227:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;16384:227:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16384:227:12;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;16384:227:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16384:227:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16384:227:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16384:227:12;16624:39;;;;;;16652:10;16624:39;;;;;;16384:227;;-1:-1:-1;;;;;;16624:27:12;;;;;:39;;;;;-1:-1:-1;;16624:39:12;;;;;;;;-1:-1:-1;16624:27:12;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;16624:39:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16751:49:12;;;;;;;;-1:-1:-1;;;;;16751:49:12;;;-1:-1:-1;16751:49:12;;-1:-1:-1;16751:49:12;;;;;;;;16826:10;15937:908;-1:-1:-1;;;;;;;15937:908:12:o;10163:134::-;10221:15;10256:33;10268:6;10276:12;10256:11;:33::i;2619:30::-;;;-1:-1:-1;;;;;2619:30:12;;:::o;17198:719::-;17335:4;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;17357:19:12;17379:27;17393:12;17379:13;:27::i;:::-;17357:49;-1:-1:-1;17425:24:12;;;:42;-1:-1:-1;17425:42:12;17417:69;;;;;-1:-1:-1;;;;;17417:69:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;17519:22;17544:33;17556:6;17564:12;17544:11;:33::i;:::-;17519:58;-1:-1:-1;17596:27:12;;;:48;-1:-1:-1;17596:48:12;17588:77;;;;;-1:-1:-1;;;;;17588:77:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;17698:62;17715:18;17752:7;17735:14;:24;17698:16;:62::i;:::-;-1:-1:-1;;;;;17788:16:12;;;;;;:8;:16;;;;;17771:63;;17806:27;;;17771:16;:63::i;:::-;17850:37;;17879:7;;-1:-1:-1;;;;;17850:37:12;;;17867:1;;17850:37;;17867:1;;17850:37;-1:-1:-1;17905:4:12;;17198:719;-1:-1:-1;;;;17198:719:12:o;1910:20::-;;;;;;;;;;;;;;;-1:-1:-1;;1910:20:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14256:921;14698:18;:25;14318:4;;14698:30;;14697:84;;;14768:12;14734:18;14753:1;14734:21;;;;;;;;;;;;;;;;;;;:31;-1:-1:-1;;;;;14734:31:12;:46;14697:84;14693:477;;;14810:11;;-1:-1:-1;;;;;14810:11:12;14802:34;14798:196;;14864:11;;14908:19;;-1:-1:-1;;;;;14864:11:12;;;;:25;;14890:38;;14894:12;;14890:3;:38::i;:::-;14864:65;;;;;-1:-1:-1;;;14864:65:12;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14864:65:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14864:65:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14864:65:12;;-1:-1:-1;14857:72:12;;14798:196;-1:-1:-1;14977:1:12;14970:8;;14693:477;15114:44;15125:18;15145:12;15114:10;:44::i;:::-;15107:51;;;;5594:198;5691:16;;5658:12;;5691:16;;5683:47;;;;;;;-1:-1:-1;;;;;5683:47:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;5748:36;5759:10;5771:3;5776:7;5748:10;:36::i;3520:28::-;;;;;;:::o;2810:31::-;;;;:::o;11943:453::-;12095:12;12133:40;12143:10;12155:8;12165:7;12133:9;:40::i;:::-;12125:67;;;;;;;-1:-1:-1;;;;;12125:67:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;12205:159;;;;;12268:10;12205:159;;;;;;;;;;;;12323:4;12205:159;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12205:48:12;;;;;12268:10;12205:159;;12323:4;12205:159;;;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12205:159:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12205:159:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;12384:4:12;;11943:453;-1:-1:-1;;;;;;;11943:453:12:o;18166:646::-;18302:4;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;18324:19:12;18346:27;18360:12;18346:13;:27::i;:::-;18324:49;-1:-1:-1;18392:25:12;;;;18384:54;;;;;-1:-1:-1;;;;;18384:54:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;18449:24;18476:33;18488:6;18496:12;18476:11;:33::i;:::-;18449:60;-1:-1:-1;18528:30:12;;;;18520:60;;;;;-1:-1:-1;;;;;18520:60:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;18591:62;18608:18;18645:7;18628:14;:24;18591:16;:62::i;:::-;-1:-1:-1;;;;;18681:16:12;;;;;;:8;:16;;;;;18664:65;;18699:29;;;18664:16;:65::i;:::-;18745:37;;18774:7;;18770:1;;-1:-1:-1;;;;;18745:37:12;;;;;18770:1;;18745:37;-1:-1:-1;18800:4:12;;18166:646;-1:-1:-1;;;;18166:646:12:o;11205:203::-;-1:-1:-1;;;;;11375:15:12;;;11333:17;11375:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;11205:203::o;22711:423::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;22785:20:12;;;22781:116;;;22822:10;;;:42;;-1:-1:-1;;;;;22822:10:12;;;;22850:4;22842:21;22822:42;;;;;22842:21;;22822:42;:10;:42;22842:21;22822:10;:42;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22822:42:12;22879:7;;22781:116;22992:30;;;;;;23016:4;22992:30;;;;;;22957:6;;-1:-1:-1;;;;;;;22992:15:12;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;22992:30:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22992:30:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22992:30:12;23048:10;;;23033:35;;;;;;-1:-1:-1;;;;;23048:10:12;;;23033:35;;;;;;;;;;;;22992:30;;-1:-1:-1;23033:14:12;;;;;;:35;;;;;22992:30;;23033:35;;;;;;;;;;;:14;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;23033:35:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23033:35:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;23106:10:12;;23084:42;;;;;;;;-1:-1:-1;;;;;23106:10:12;;;;23084:42;;;;;;;;;23033:35;23084:42;;;278:1:1;;;22711:423:12;:::o;3609:38::-;;;;;;-1:-1:-1;;;;;3609:38:12;;:::o;19058:126::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;19140:16:12;:36;;-1:-1:-1;;19140:36:12;;;;;;;;;;19058:126::o;295:33:1:-;;;-1:-1:-1;;;;;295:33:1;;:::o;9038:970:12:-;9207:16;;9177:4;;9207:16;;9199:47;;;;;;;-1:-1:-1;;;;;9199:47:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;9575:12;;;9574:49;;-1:-1:-1;;;;;;9593:14:12;;;;;;;:7;:14;;;;;;;;:24;;;;;;;;;;:29;9574:49;9566:83;;;;;;;-1:-1:-1;;;;;9566:83:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;9746:10;;9735:22;;-1:-1:-1;;;;;9746:10:12;9735;:22::i;:::-;9731:151;;;9798:10;;;9782:63;;;;;;-1:-1:-1;;;;;9782:63:12;;;;;;;;;;;;;;;;;;;;;;9798:10;;;;;9782:37;;:63;;;;;;;;;;;;;;;;;;9798:10;9782:63;;;5:2:-1;;;;30:1;27;20:12;5:2;9782:63:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9782:63:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9782:63:12;9774:96;;;;;;;-1:-1:-1;;;;;9774:96:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9894:14:12;;;;;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;:34;;;9944;;;;;;;;;;;;;;;;;-1:-1:-1;9996:4:12;9038:970;;;;;:::o;7388:1642::-;7519:4;7547:12;;7543:56;;;-1:-1:-1;7583:4:12;7576:11;;7543:56;7619:19;;7641:12;-1:-1:-1;7611:67:12;;;;;-1:-1:-1;;;;;7611:67:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7770:17:12;;;;;;7769:45;;-1:-1:-1;7808:4:12;-1:-1:-1;;;;;7793:20:12;;;;7769:45;7761:69;;;;;;;-1:-1:-1;;;;;7761:69:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;7966:27;7996:32;8008:5;8015:12;7996:11;:32::i;:::-;7966:62;;8065:7;8043:19;:29;8039:74;;;8096:5;8089:12;;;;;8039:74;8196:10;;8185:22;;-1:-1:-1;;;;;8196:10:12;8185;:22::i;:::-;8181:148;;;8248:10;;;8232:59;;;;;;-1:-1:-1;;;;;8232:59:12;;;;;;;;;;;;;;;;;;;;;;8248:10;;;;;8232:38;;:59;;;;;;;;;;;;;;;;;;8248:10;8232:59;;;5:2:-1;;;;30:1;27;20:12;5:2;8232:59:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8232:59:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8232:59:12;8224:93;;;;;;;-1:-1:-1;;;;;8224:93:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8468:15:12;;;;;;:8;:15;;;;;8451:64;;8485:29;;;8451:16;:64::i;:::-;8639:25;8667:30;8679:3;8684:12;8667:11;:30::i;:::-;8639:58;-1:-1:-1;8716:27:12;;;:48;-1:-1:-1;8716:48:12;8708:77;;;;;-1:-1:-1;;;;;8708:77:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8835:13:12;;;;;;:8;:13;;;;;8818:60;;8850:27;;;8818:16;:60::i;:::-;8969:29;;8990:7;;-1:-1:-1;;;;;8969:29:12;;;;;;;;;;;;;-1:-1:-1;9018:4:12;;7388:1642;-1:-1:-1;;;;;7388:1642:12:o;21819:97::-;21871:4;21899:1;21895;:5;:13;;21907:1;21895:13;;;-1:-1:-1;21903:1:12;;21819:97;-1:-1:-1;21819:97:12:o;19582:899::-;19750:18;;19724:4;;19750:23;19746:64;;;-1:-1:-1;19797:1:12;19790:8;;19746:64;19890:18;;;;-1:-1:-1;;19890:20:12;;;19878:33;;;;;;;;;;;;;;;:43;-1:-1:-1;;;;;19878:43:12;19868:53;;19864:132;;19957:18;;;;-1:-1:-1;;19957:20:12;;;19945:33;;;;;;;;;;;;;;;:39;;;;-1:-1:-1;;;;;19945:39:12;;-1:-1:-1;19938:46:12;;19864:132;20019:11;20031:1;20019:14;;;;;;;;;;;;;;;;;;;:24;-1:-1:-1;;;;;20019:24:12;20010:33;;20006:74;;;-1:-1:-1;20067:1:12;20060:8;;20006:74;20178:18;;20144:8;;-1:-1:-1;;20178:20:12;20209:225;20222:3;20216;:9;20209:225;;;20291:16;;20271:1;20254:9;;;20266:1;20254:13;20253:19;;20319:6;;20291:11;;20253:19;;20291:16;;;;;;;;;;;;;;;:26;-1:-1:-1;;;;;20291:26:12;:34;20287:136;;20352:3;20346:9;;20287:136;;;20406:1;20402:3;:5;20396:11;;20287:136;20209:225;;;;20451:11;20463:3;20451:16;;;;;;;;;;;;;;;;;;;:22;;;;-1:-1:-1;;;;;20451:22:12;;;-1:-1:-1;;;;;19582:899:12:o;20719:558::-;20817:18;;:23;;20816:90;;-1:-1:-1;20858:18:12;;20893:12;;20858:18;;-1:-1:-1;;20858:21:12;;;20846:34;;;;;;;;;;;;;;;:44;-1:-1:-1;;;;;20846:44:12;:59;20816:90;20812:458;;;20970:20;;20923:32;;20958:11;;20970:20;20958:11;20970:20;;;;:::i;:::-;20958:33;;;;;;;;;;;;;;;;;21006:47;;-1:-1:-1;;21006:47:12;21040:12;-1:-1:-1;;;;;21006:47:12;;;;;;;21068:37;;;;;-1:-1:-1;21068:37:12;;;;-1:-1:-1;20812:458:12;;;21185:18;;21138:32;;21185:18;;-1:-1:-1;;21185:20:12;;;21173:33;;;;;;;;;;;;;;;21221:37;;-1:-1:-1;;;;;21221:37:12;;;;;;-1:-1:-1;21221:37:12;;;;-1:-1:-1;20812:458:12;20719:558;;:::o;1703:21854::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;" - }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/MiniMeToken.sol:MiniMeTokenFactory": { - "bin-runtime": "608060405234801561001057600080fd5b5060043610610047577c010000000000000000000000000000000000000000000000000000000060003504635b7b72c1811461004c575b600080fd5b6101a8600480360360c081101561006257600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561009f57600080fd5b8201836020820111156100b157600080fd5b803590602001918460018302840111640100000000831117156100d357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561013157600080fd5b82018360208201111561014357600080fd5b8035906020019184600183028401116401000000008311171561016557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050505035151590506101d1565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600080308888888888886040516101e7906103b1565b73ffffffffffffffffffffffffffffffffffffffff808916825287166020808301919091526040820187905260ff8516608083015282151560c083015260e0606083018181528751918401919091528651909160a084019161010085019189019080838360005b8381101561026657818101518382015260200161024e565b50505050905090810190601f1680156102935780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156102c65781810151838201526020016102ae565b50505050905090810190601f1680156102f35780820380516001836020036101000a031916815260200191505b509950505050505050505050604051809103906000f08015801561031b573d6000803e3d6000fd5b50604080517f3cebb823000000000000000000000000000000000000000000000000000000008152336004820152905191925073ffffffffffffffffffffffffffffffffffffffff831691633cebb8239160248082019260009290919082900301818387803b15801561038d57600080fd5b505af11580156103a1573d6000803e3d6000fd5b50929a9950505050505050505050565b6123a1806103bf8339019056fe60c0604052600760808190527f4d4d545f302e310000000000000000000000000000000000000000000000000060a0908152620000409160049190620001e6565b503480156200004e57600080fd5b50604051620023a1380380620023a1833981018060405260e08110156200007457600080fd5b8151602083015160408401516060850180519395929491939183019291640100000000811115620000a457600080fd5b82016020810184811115620000b857600080fd5b8151640100000000811182820187101715620000d357600080fd5b50506020820151604090920180519194929391640100000000811115620000f957600080fd5b820160208101848111156200010d57600080fd5b81516401000000008111828201871017156200012857600080fd5b505060209182015160008054600160a060020a03191633179055600b8054600160a060020a038c166101000261010060a860020a0319909116179055865191945092506200017d9160019190870190620001e6565b506002805460ff191660ff85161790558151620001a2906003906020850190620001e6565b5060058054600160a060020a031916600160a060020a039790971696909617909555505050600655600b805460ff191691151591909117905550436007556200028b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022957805160ff191683800117855562000259565b8280016001018555821562000259579182015b82811115620002595782518255916020019190600101906200023c565b50620002679291506200026b565b5090565b6200028891905b8082111562000267576000815560010162000272565b90565b612106806200029b6000396000f3fe60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820876addac0a2af08dfd5f9ec1d0ccec7a82c26a52bd5d53f22594e94d1b15bffa0029a165627a7a72305820868ac08a1428f8d0d0680b1886d1bfb6b1045413b7c736873d64c345f0204b690029", - "bin": "608060405234801561001057600080fd5b5061278b806100206000396000f3fe608060405234801561001057600080fd5b5060043610610047577c010000000000000000000000000000000000000000000000000000000060003504635b7b72c1811461004c575b600080fd5b6101a8600480360360c081101561006257600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561009f57600080fd5b8201836020820111156100b157600080fd5b803590602001918460018302840111640100000000831117156100d357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561013157600080fd5b82018360208201111561014357600080fd5b8035906020019184600183028401116401000000008311171561016557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050505035151590506101d1565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600080308888888888886040516101e7906103b1565b73ffffffffffffffffffffffffffffffffffffffff808916825287166020808301919091526040820187905260ff8516608083015282151560c083015260e0606083018181528751918401919091528651909160a084019161010085019189019080838360005b8381101561026657818101518382015260200161024e565b50505050905090810190601f1680156102935780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156102c65781810151838201526020016102ae565b50505050905090810190601f1680156102f35780820380516001836020036101000a031916815260200191505b509950505050505050505050604051809103906000f08015801561031b573d6000803e3d6000fd5b50604080517f3cebb823000000000000000000000000000000000000000000000000000000008152336004820152905191925073ffffffffffffffffffffffffffffffffffffffff831691633cebb8239160248082019260009290919082900301818387803b15801561038d57600080fd5b505af11580156103a1573d6000803e3d6000fd5b50929a9950505050505050505050565b6123a1806103bf8339019056fe60c0604052600760808190527f4d4d545f302e310000000000000000000000000000000000000000000000000060a0908152620000409160049190620001e6565b503480156200004e57600080fd5b50604051620023a1380380620023a1833981018060405260e08110156200007457600080fd5b8151602083015160408401516060850180519395929491939183019291640100000000811115620000a457600080fd5b82016020810184811115620000b857600080fd5b8151640100000000811182820187101715620000d357600080fd5b50506020820151604090920180519194929391640100000000811115620000f957600080fd5b820160208101848111156200010d57600080fd5b81516401000000008111828201871017156200012857600080fd5b505060209182015160008054600160a060020a03191633179055600b8054600160a060020a038c166101000261010060a860020a0319909116179055865191945092506200017d9160019190870190620001e6565b506002805460ff191660ff85161790558151620001a2906003906020850190620001e6565b5060058054600160a060020a031916600160a060020a039790971696909617909555505050600655600b805460ff191691151591909117905550436007556200028b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022957805160ff191683800117855562000259565b8280016001018555821562000259579182015b82811115620002595782518255916020019190600101906200023c565b50620002679291506200026b565b5090565b6200028891905b8082111562000267576000815560010162000272565b90565b612106806200029b6000396000f3fe60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820876addac0a2af08dfd5f9ec1d0ccec7a82c26a52bd5d53f22594e94d1b15bffa0029a165627a7a72305820868ac08a1428f8d0d0680b1886d1bfb6b1045413b7c736873d64c345f0204b690029", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "_parentToken", - "type": "address" - }, - { - "name": "_snapshotBlock", - "type": "uint256" - }, - { - "name": "_tokenName", - "type": "string" - }, - { - "name": "_decimalUnits", - "type": "uint8" - }, - { - "name": "_tokenSymbol", - "type": "string" - }, - { - "name": "_transfersEnabled", - "type": "bool" - } - ], - "name": "createCloneToken", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "srcmap": "23801:1305:12:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23801:1305:12;;;;;;;", - "srcmap-runtime": "23801:1305:12:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23801:1305:12;;;;;;;;;;;;;;;;;;;24501:602;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;24501:602:12;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;24501:602:12;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;24501:602:12;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;24501:602:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;24501:602:12;;;;;;;;;;;-1:-1:-1;24501:602:12;;;;-1:-1:-1;24501:602:12;;;;-1:-1:-1;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;24501:602:12;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;24501:602:12;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;24501:602:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;24501:602:12;;-1:-1:-1;;;;24501:602:12;;;;-1:-1:-1;24501:602:12;:::i;:::-;;;;;;;;;;;;;;;;;;;;24746:11;24770:20;24831:4;24851:12;24878:14;24907:10;24932:13;24960:12;24987:17;24793:226;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;24793:226:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24793:226:12;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;24793:226:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;25032:37:12;;;;;;25058:10;25032:37;;;;;;24770:249;;-1:-1:-1;25032:25:12;;;;;;:37;;;;;-1:-1:-1;;25032:37:12;;;;;;;;-1:-1:-1;25032:25:12;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;25032:37:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;25087:8:12;;24501:602;-1:-1:-1;;;;;;;;;;24501:602:12:o;23801:1305::-;;;;;;;;:::o" - }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/NonfungibleToken.sol:NonfungibleToken": { - "bin-runtime": "608060405234801561001057600080fd5b50600436106100d1576000357c0100000000000000000000000000000000000000000000000000000000900480636352211e1161008e5780636352211e1461022257806370a082311461023f578063a22cb46514610265578063b88d4fde14610293578063e985e9c514610323578063ea66aeb314610351576100d1565b806301ffc9a7146100d6578063081812fc14610111578063095ea7b31461014a57806323b872dd146101785780632f745c59146101ae57806342842e0e146101ec575b600080fd5b6100fd600480360360208110156100ec57600080fd5b5035600160e060020a0319166103c7565b604080519115158252519081900360200190f35b61012e6004803603602081101561012757600080fd5b50356103e6565b60408051600160a060020a039092168252519081900360200190f35b6101766004803603604081101561016057600080fd5b50600160a060020a038135169060200135610463565b005b6101766004803603606081101561018e57600080fd5b50600160a060020a038135811691602081013590911690604001356105a9565b6101da600480360360408110156101c457600080fd5b50600160a060020a038135169060200135610678565b60408051918252519081900360200190f35b6101766004803603606081101561020257600080fd5b50600160a060020a0381358116916020810135909116906040013561071e565b61012e6004803603602081101561023857600080fd5b5035610971565b6101da6004803603602081101561025557600080fd5b5035600160a060020a0316610982565b6101766004803603604081101561027b57600080fd5b50600160a060020a0381351690602001351515610a00565b610176600480360360808110156102a957600080fd5b600160a060020a038235811692602081013590911691604082013591908101906080810160608201356401000000008111156102e457600080fd5b8201836020820111156102f657600080fd5b8035906020019184600183028401116401000000008311171561031857600080fd5b509092509050610abd565b6100fd6004803603604081101561033957600080fd5b50600160a060020a0381358116916020013516610d3a565b6103776004803603602081101561036757600080fd5b5035600160a060020a0316610d68565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156103b357818101518382015260200161039b565b505050509050019250505060405180910390f35b600160e060020a03191660009081526020819052604090205460ff1690565b60006103f182610dd4565b1515610447576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600090815260026020526040902054600160a060020a031690565b600061046e82610df1565b9050600160a060020a0383811690821614156104c2576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b33600160a060020a03821614806104fc5750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b1515610540576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b803360006105b683610df1565b905080600160a060020a031682600160a060020a031614806105f15750600083815260026020526040902054600160a060020a038381169116145b806106215750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b1515610665576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b610670868686610e60565b505050505050565b600160a060020a03821660009081526003602052604081205482106106e7576040805160e560020a62461bcd02815260206004820152601360248201527f496e646578206f7574206f6620626f756e647300000000000000000000000000604482015290519081900360640190fd5b600160a060020a038316600090815260036020526040902080548390811061070b57fe5b9060005260206000200154905092915050565b8033600061072b83610df1565b905080600160a060020a031682600160a060020a031614806107665750600083815260026020526040902054600160a060020a038381169116145b806107965750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b15156107da576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b85858560206040519081016040528060008152506107f98a8a8a610e60565b61080b83600160a060020a0316610fe6565b156109655760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561088d578181015183820152602001610875565b50505050905090810190601f1680156108ba5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156108dc57600080fd5b505af11580156108f0573d6000803e3d6000fd5b505050506040513d602081101561090657600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214610963576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b505b50505050505050505050565b600061097c82610df1565b92915050565b6000600160a060020a03821615156109e4576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600160a060020a031660009081526003602052604090205490565b600160a060020a038216331415610a4f576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b336000818152600560209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b82336000610aca83610df1565b905080600160a060020a031682600160a060020a03161480610b055750600083815260026020526040902054600160a060020a038381169116145b80610b355750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b1515610b79576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b87878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610bc092508e91508d90508c610e60565b610bd283600160a060020a0316610fe6565b15610d2c5760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b83811015610c54578181015183820152602001610c3c565b50505050905090810190601f168015610c815780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015610ca357600080fd5b505af1158015610cb7573d6000803e3d6000fd5b505050506040513d6020811015610ccd57600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214610d2a576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b505b505050505050505050505050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600160a060020a038116600090815260036020908152604091829020805483518184028101840190945280845260609392830182828015610dc857602002820191906000526020600020905b815481526020019060010190808311610db4575b50505050509050919050565b600090815260016020526040902054600160a060020a0316151590565b600081815260016020526040812054600160a060020a031680151561097c576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b82600160a060020a0316610e7382610df1565b600160a060020a031614610ebf576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b600160a060020a0382161515610f1f576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000818152600260209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19908116909155600183528184208054600160a060020a03888116919093161790558616835260039091529020610f7e9082610fee565b600160a060020a0382166000908152600360205260409020610fa0908261107d565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000903b1190565b60008181526004602052604090205480151561100a5750611079565b600082815260046020526040812081905583548490600019810190811061102d57fe5b9060005260206000200154905080846001840381548110151561104c57fe5b60009182526020909120015583546110688560001983016110a5565b506000908152600460205260409020555b5050565b8154600181018084556000938452602080852090920183905591835260049052604090912055565b8154818355818111156110c9576000838152602090206110c99181019083016110ce565b505050565b6110ec91905b808211156110e857600081556001016110d4565b5090565b9056fe426164206f7065726174696f6e00000000000000000000000000000000000000556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058205a61fcbb74f27f14dec3117c5f5e119f07d7a1115c274449ac88c2a7cbd3f7fb0029", - "bin": "608060405234801561001057600080fd5b506100437f01ffc9a70000000000000000000000000000000000000000000000000000000064010000000061007a810204565b6100757f80ac58cd0000000000000000000000000000000000000000000000000000000064010000000061007a810204565b610148565b7fffffffff00000000000000000000000000000000000000000000000000000000808216141561010b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f42616420696e7465726661636549640000000000000000000000000000000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b61115b806101576000396000f3fe608060405234801561001057600080fd5b50600436106100d1576000357c0100000000000000000000000000000000000000000000000000000000900480636352211e1161008e5780636352211e1461022257806370a082311461023f578063a22cb46514610265578063b88d4fde14610293578063e985e9c514610323578063ea66aeb314610351576100d1565b806301ffc9a7146100d6578063081812fc14610111578063095ea7b31461014a57806323b872dd146101785780632f745c59146101ae57806342842e0e146101ec575b600080fd5b6100fd600480360360208110156100ec57600080fd5b5035600160e060020a0319166103c7565b604080519115158252519081900360200190f35b61012e6004803603602081101561012757600080fd5b50356103e6565b60408051600160a060020a039092168252519081900360200190f35b6101766004803603604081101561016057600080fd5b50600160a060020a038135169060200135610463565b005b6101766004803603606081101561018e57600080fd5b50600160a060020a038135811691602081013590911690604001356105a9565b6101da600480360360408110156101c457600080fd5b50600160a060020a038135169060200135610678565b60408051918252519081900360200190f35b6101766004803603606081101561020257600080fd5b50600160a060020a0381358116916020810135909116906040013561071e565b61012e6004803603602081101561023857600080fd5b5035610971565b6101da6004803603602081101561025557600080fd5b5035600160a060020a0316610982565b6101766004803603604081101561027b57600080fd5b50600160a060020a0381351690602001351515610a00565b610176600480360360808110156102a957600080fd5b600160a060020a038235811692602081013590911691604082013591908101906080810160608201356401000000008111156102e457600080fd5b8201836020820111156102f657600080fd5b8035906020019184600183028401116401000000008311171561031857600080fd5b509092509050610abd565b6100fd6004803603604081101561033957600080fd5b50600160a060020a0381358116916020013516610d3a565b6103776004803603602081101561036757600080fd5b5035600160a060020a0316610d68565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156103b357818101518382015260200161039b565b505050509050019250505060405180910390f35b600160e060020a03191660009081526020819052604090205460ff1690565b60006103f182610dd4565b1515610447576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600090815260026020526040902054600160a060020a031690565b600061046e82610df1565b9050600160a060020a0383811690821614156104c2576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b33600160a060020a03821614806104fc5750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b1515610540576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b803360006105b683610df1565b905080600160a060020a031682600160a060020a031614806105f15750600083815260026020526040902054600160a060020a038381169116145b806106215750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b1515610665576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b610670868686610e60565b505050505050565b600160a060020a03821660009081526003602052604081205482106106e7576040805160e560020a62461bcd02815260206004820152601360248201527f496e646578206f7574206f6620626f756e647300000000000000000000000000604482015290519081900360640190fd5b600160a060020a038316600090815260036020526040902080548390811061070b57fe5b9060005260206000200154905092915050565b8033600061072b83610df1565b905080600160a060020a031682600160a060020a031614806107665750600083815260026020526040902054600160a060020a038381169116145b806107965750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b15156107da576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b85858560206040519081016040528060008152506107f98a8a8a610e60565b61080b83600160a060020a0316610fe6565b156109655760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561088d578181015183820152602001610875565b50505050905090810190601f1680156108ba5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156108dc57600080fd5b505af11580156108f0573d6000803e3d6000fd5b505050506040513d602081101561090657600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214610963576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b505b50505050505050505050565b600061097c82610df1565b92915050565b6000600160a060020a03821615156109e4576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600160a060020a031660009081526003602052604090205490565b600160a060020a038216331415610a4f576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b336000818152600560209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b82336000610aca83610df1565b905080600160a060020a031682600160a060020a03161480610b055750600083815260026020526040902054600160a060020a038381169116145b80610b355750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b1515610b79576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b87878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610bc092508e91508d90508c610e60565b610bd283600160a060020a0316610fe6565b15610d2c5760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b83811015610c54578181015183820152602001610c3c565b50505050905090810190601f168015610c815780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015610ca357600080fd5b505af1158015610cb7573d6000803e3d6000fd5b505050506040513d6020811015610ccd57600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214610d2a576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b505b505050505050505050505050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600160a060020a038116600090815260036020908152604091829020805483518184028101840190945280845260609392830182828015610dc857602002820191906000526020600020905b815481526020019060010190808311610db4575b50505050509050919050565b600090815260016020526040902054600160a060020a0316151590565b600081815260016020526040812054600160a060020a031680151561097c576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b82600160a060020a0316610e7382610df1565b600160a060020a031614610ebf576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b600160a060020a0382161515610f1f576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000818152600260209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19908116909155600183528184208054600160a060020a03888116919093161790558616835260039091529020610f7e9082610fee565b600160a060020a0382166000908152600360205260409020610fa0908261107d565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000903b1190565b60008181526004602052604090205480151561100a5750611079565b600082815260046020526040812081905583548490600019810190811061102d57fe5b9060005260206000200154905080846001840381548110151561104c57fe5b60009182526020909120015583546110688560001983016110a5565b506000908152600460205260409020555b5050565b8154600181018084556000938452602080852090920183905591835260049052604090912055565b8154818355818111156110c9576000838152602090206110c99181019083016110ce565b505050565b6110ec91905b808211156110e857600081556001016110d4565b5090565b9056fe426164206f7065726174696f6e00000000000000000000000000000000000000556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058205a61fcbb74f27f14dec3117c5f5e119f07d7a1115c274449ac88c2a7cbd3f7fb0029", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "to", - "type": "address" - }, - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "from", - "type": "address" - }, - { - "name": "to", - "type": "address" - }, - { - "name": "tokenId", + "name": "_tokenId", "type": "uint256" } ], @@ -127632,11 +75668,11 @@ "constant": true, "inputs": [ { - "name": "owner", + "name": "_owner", "type": "address" }, { - "name": "index", + "name": "_index", "type": "uint256" } ], @@ -127655,15 +75691,15 @@ "constant": false, "inputs": [ { - "name": "from", + "name": "_from", "type": "address" }, { - "name": "to", + "name": "_to", "type": "address" }, { - "name": "tokenId", + "name": "_tokenId", "type": "uint256" } ], @@ -127677,14 +75713,33 @@ "constant": true, "inputs": [ { - "name": "tokenId", + "name": "_index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_tokenId", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { - "name": "", + "name": "_owner", "type": "address" } ], @@ -127696,7 +75751,7 @@ "constant": true, "inputs": [ { - "name": "owner", + "name": "_owner", "type": "address" } ], @@ -127715,11 +75770,11 @@ "constant": false, "inputs": [ { - "name": "to", + "name": "_operator", "type": "address" }, { - "name": "approved", + "name": "_approved", "type": "bool" } ], @@ -127733,15 +75788,15 @@ "constant": false, "inputs": [ { - "name": "from", + "name": "_from", "type": "address" }, { - "name": "to", + "name": "_to", "type": "address" }, { - "name": "tokenId", + "name": "_tokenId", "type": "uint256" }, { @@ -127759,11 +75814,11 @@ "constant": true, "inputs": [ { - "name": "owner", + "name": "_owner", "type": "address" }, { - "name": "operator", + "name": "_operator", "type": "address" } ], @@ -127778,25 +75833,6 @@ "stateMutability": "view", "type": "function" }, - { - "constant": true, - "inputs": [ - { - "name": "owner", - "type": "address" - } - ], - "name": "tokensOwnedBy", - "outputs": [ - { - "name": "tokenList", - "type": "uint256[]" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "inputs": [], "payable": false, @@ -127830,17 +75866,17 @@ "inputs": [ { "indexed": true, - "name": "owner", + "name": "_owner", "type": "address" }, { "indexed": true, - "name": "approved", + "name": "_approved", "type": "address" }, { "indexed": true, - "name": "tokenId", + "name": "_tokenId", "type": "uint256" } ], @@ -127852,17 +75888,17 @@ "inputs": [ { "indexed": true, - "name": "owner", + "name": "_owner", "type": "address" }, { "indexed": true, - "name": "operator", + "name": "_operator", "type": "address" }, { "indexed": false, - "name": "approved", + "name": "_approved", "type": "bool" } ], @@ -127870,13 +75906,69 @@ "type": "event" } ], - "srcmap": "821:12228:13:-;;;3129:158;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1156:40:2;1175:20;1156:18;;;;:40;:::i;:::-;3240:39:13;3259:19;3240:18;;;;:39;:::i;:::-;821:12228;;1519:180:2;1595:25;;;;;;1587:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1651:33;;:20;:33;;;;;;;;;;:40;;-1:-1:-1;;1651:40:2;1687:4;1651:40;;;1519:180::o;821:12228:13:-;;;;;;;", - "srcmap-runtime": "821:12228:13:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;821:12228:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1300:135:2;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1300:135:2;-1:-1:-1;;;;;;1300:135:2;;:::i;:::-;;;;;;;;;;;;;;;;;;5075:168:13;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5075:168:13;;:::i;:::-;;;;-1:-1:-1;;;;;5075:168:13;;;;;;;;;;;;;;4440:337;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4440:337:13;;;;;;;;:::i;:::-;;6700:145;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6700:145:13;;;;;;;;;;;;;;;;;:::i;9189:220::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9189:220:13;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;7498:215;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7498:215:13;;;;;;;;;;;;;;;;;:::i;3900:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3900:109:13;;:::i;3497:172::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3497:172:13;-1:-1:-1;;;;;3497:172:13;;:::i;5543:236::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5543:236:13;;;;;;;;;;:::i;8432:::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;8432:236:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;8432:236:13;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;8432:236:13;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;8432:236:13;;-1:-1:-1;8432:236:13;-1:-1:-1;8432:236:13;:::i;6108:149::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6108:149:13;;;;;;;;;;:::i;8676:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8676:134:13;-1:-1:-1;;;;;8676:134:13;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8676:134:13;;;;;;;;;;;;;;;;;1300:135:2;-1:-1:-1;;;;;;1394:33:2;1370:4;1394:33;;;;;;;;;;;;;;1300:135::o;5075:168:13:-;5136:7;5164:15;5171:7;5164:6;:15::i;:::-;5156:37;;;;;;;-1:-1:-1;;;;;5156:37:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5211:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;5211:24:13;;5075:168::o;4440:337::-;4506:13;4522:17;4531:7;4522:8;:17::i;:::-;4506:33;-1:-1:-1;;;;;;4558:11:13;;;;;;;;4550:37;;;;;-1:-1:-1;;;;;4550:37:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4550:37:13;;;;;;;;;;;;;;;4606:10;-1:-1:-1;;;;;4606:19:13;;;;:60;;-1:-1:-1;;;;;;4629:25:13;;;;;;:18;:25;;;;;;;;4655:10;4629:37;;;;;;;;;;4606:60;4598:85;;;;;;;-1:-1:-1;;;;;4598:85:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4598:85:13;;;;;;;;;;;;;;;4696:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;4696:29:13;-1:-1:-1;;;;;4696:29:13;;;;;;;;;4741:28;;4696:24;;4741:28;;;;;;;4440:337;;;:::o;6700:145::-;6790:7;2440:10;2422:15;2477:17;6790:7;2477:8;:17::i;:::-;2461:33;;2685:5;-1:-1:-1;;;;;2674:16:13;:7;-1:-1:-1;;;;;2674:16:13;;:55;;;-1:-1:-1;2694:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;2694:35:13;;;:24;;:35;2674:55;:93;;;-1:-1:-1;;;;;;2733:25:13;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2674:93;2666:118;;;;;;;-1:-1:-1;;;;;2666:118:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2666:118:13;;;;;;;;;;;;;;;6810:27;6819:4;6825:2;6829:7;6810:8;:27::i;:::-;6700:145;;;;;;:::o;9189:220::-;-1:-1:-1;;;;;9307:19:13;;9271:7;9307:19;;;:12;:19;;;;;:26;9299:34;;9291:66;;;;;-1:-1:-1;;;;;9291:66:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9375:19:13;;;;;;:12;:19;;;;;:26;;9395:5;;9375:26;;;;;;;;;;;;;;9368:33;;9189:220;;;;:::o;7498:215::-;7612:7;2440:10;2422:15;2477:17;7612:7;2477:8;:17::i;:::-;2461:33;;2685:5;-1:-1:-1;;;;;2674:16:13;:7;-1:-1:-1;;;;;2674:16:13;;:55;;;-1:-1:-1;2694:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;2694:35:13;;;:24;;:35;2674:55;:93;;;-1:-1:-1;;;;;;2733:25:13;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2674:93;2666:118;;;;;;;-1:-1:-1;;;;;2666:118:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2666:118:13;;;;;;;;;;;;;;;7635:4;7641:2;7645:7;2812:307;;;;;;;;;;;;;7678:27;7687:4;7693:2;7697:7;7678:8;:27::i;:::-;2916:15;:2;-1:-1:-1;;;;;2916:13:13;;:15::i;:::-;2912:200;;;2964:69;;-1:-1:-1;;;;;2964:69:13;;3000:10;2964:69;;;;;;-1:-1:-1;;;;;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;2948:13;;2964:35;;;;;;3000:10;;3012:4;;3018:7;;3027:5;;2964:69;;;;;;;;;;;2948:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2964:69:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2964:69:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2964:69:13;;-1:-1:-1;;;;;;;3056:26:13;;-1:-1:-1;;;;;3056:26:13;3048:52;;;;;-1:-1:-1;;;;;3048:52:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3048:52:13;;;;;;;;;;;;;;;2912:200;;2795:1;;;;7498:215;;;;;;:::o;3900:109::-;3957:7;3984:17;3993:7;3984:8;:17::i;:::-;3977:24;3900:109;-1:-1:-1;;3900:109:13:o;3497:172::-;3554:7;-1:-1:-1;;;;;3582:19:13;;;;3574:43;;;;;-1:-1:-1;;;;;3574:43:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3635:19:13;;;;;:12;:19;;;;;:26;;3497:172::o;5543:236::-;-1:-1:-1;;;;;5625:16:13;;5631:10;5625:16;;5617:42;;;;;-1:-1:-1;;;;;5617:42:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5617:42:13;;;;;;;;;;;;;;;5689:10;5670:30;;;;:18;:30;;;;;;;;-1:-1:-1;;;;;5670:34:13;;;;;;;;;;;;:45;;-1:-1:-1;;5670:45:13;;;;;;;;;;5731:40;;;;;;;5670:34;;5689:10;5731:40;;;;;;;;;;;5543:236;;:::o;8432:::-;8567:7;2440:10;2422:15;2477:17;8567:7;2477:8;:17::i;:::-;2461:33;;2685:5;-1:-1:-1;;;;;2674:16:13;:7;-1:-1:-1;;;;;2674:16:13;;:55;;;-1:-1:-1;2694:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;2694:35:13;;;:24;;:35;2674:55;:93;;;-1:-1:-1;;;;;;2733:25:13;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2674:93;2666:118;;;;;;;-1:-1:-1;;;;;2666:118:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2666:118:13;;;;;;;;;;;;;;;8590:4;8596:2;8600:7;8609:5;;2812:307;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;8633:27:13;;-1:-1:-1;8642:4:13;;-1:-1:-1;8648:2:13;;-1:-1:-1;8652:7:13;8633:8;:27::i;:::-;2916:15;:2;-1:-1:-1;;;;;2916:13:13;;:15::i;:::-;2912:200;;;2964:69;;-1:-1:-1;;;;;2964:69:13;;3000:10;2964:69;;;;;;-1:-1:-1;;;;;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;2948:13;;2964:35;;;;;;3000:10;;3012:4;;3018:7;;3027:5;;2964:69;;;;;;;;;;;2948:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2964:69:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2964:69:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2964:69:13;;-1:-1:-1;;;;;;;3056:26:13;;-1:-1:-1;;;;;3056:26:13;3048:52;;;;;-1:-1:-1;;;;;3048:52:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3048:52:13;;;;;;;;;;;;;;;2912:200;;2795:1;;;;8432:236;;;;;;;;:::o;6108:149::-;-1:-1:-1;;;;;6214:25:13;;;6190:4;6214:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;6108:149::o;8676:134::-;-1:-1:-1;;;;;8783:19:13;;;;;;:12;:19;;;;;;;;;8776:26;;;;;;;;;;;;;;;;;8737;;8776;;;8783:19;8776:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8676:134;;;:::o;9605:154::-;9661:4;9694:20;;;:11;:20;;;;;;-1:-1:-1;;;;;9694:20:13;9732:19;;;9605:154::o;12843:197::-;12901:7;12937:20;;;:11;:20;;;;;;-1:-1:-1;;;;;12937:20:13;12976:19;;;12968:41;;;;;-1:-1:-1;;;;;12968:41:13;;;;;;;;;;;;;;;;;;;;;;;;;;;11582:428;11692:4;-1:-1:-1;;;;;11671:25:13;:17;11680:7;11671:8;:17::i;:::-;-1:-1:-1;;;;;11671:25:13;;11663:50;;;;;-1:-1:-1;;;;;11663:50:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11663:50:13;;;;;;;;;;;;;;;-1:-1:-1;;;;;11732:16:13;;;;11724:40;;;;;-1:-1:-1;;;;;11724:40:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;11784:24;;;;:15;:24;;;;;;;;11777:31;;-1:-1:-1;;11777:31:13;;;;;;;11825:20;;;;;:25;;-1:-1:-1;;;;;11825:25:13;;;;;;;;;;11879:18;;;;:12;:18;;;;;11861:46;;11800:7;11861:17;:46::i;:::-;-1:-1:-1;;;;;11933:16:13;;;;;;:12;:16;;;;;11918:41;;11951:7;11918:14;:41::i;:::-;11994:7;11990:2;-1:-1:-1;;;;;11975:27:13;11984:4;-1:-1:-1;;;;;11975:27:13;;;;;;;;;;;11582:428;;;:::o;484:635:0:-;544:4;1064:20;;1103:8;;484:635::o;12185:428:13:-;12279:8;12290:25;;;:15;:25;;;;;;12329:8;;12326:46;;;12354:7;;;12326:46;12389:25;;;;:15;:25;;;;;12382:32;;;12458:16;;12448:9;;-1:-1:-1;;12458:18:13;;;12448:29;;;;;;;;;;;;;;12425:52;;12518:12;12499:9;12513:1;12509:3;:5;12499:16;;;;;;;;;;;;;;;;;;;:31;12541:18;;;:9;-1:-1:-1;;12541:18:13;;;:::i;:::-;-1:-1:-1;12570:29:13;;;;:15;:29;;;;;:35;12185:428;;;:::o;12022:151::-;27:10:-1;;39:1;23:18;;45:23;;;-1:-1;12141:24:13;;;;;;;;;;;;;12113:25;;;:15;:25;;;;;;:52;12022:151::o;821:12228::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o" + "srcmap": "324:4802:7:-;;;897:96;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;497:19:11;:31;;;;;:38;;-1:-1:-1;;497:38:11;;;531:4;497:38;;;;;;4202:31:8;:38;;;;;;;;930:31:7;;;;;:38;;;;;;;;324:4802;;;;;;", + "srcmap-runtime": "324:4802:7:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;324:4802:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;753:150:11;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;753:150:11;-1:-1:-1;;753:150:11;;:::i;:::-;;;;;;;;;;;;;;;;;;9173:160:8;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9173:160:8;;:::i;:::-;;;;-1:-1:-1;;;;;9173:160:8;;;;;;;;;;;;;;7135:315;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7135:315:8;;;;;;;;:::i;:::-;;1098:100:7;;;:::i;:::-;;;;;;;;;;;;;;;;6423:300:8;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6423:300:8;;;;;;;;;;;;;;;;;:::i;1722:212:7:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1722:212:7;;;;;;;;:::i;5700:157:8:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5700:157:8;;;;;;;;;;;;;;;;;:::i;1332:161:7:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1332:161:7;;:::i;8766:170:8:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8766:170:8;;:::i;8348:167::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8348:167:8;-1:-1:-1;;;;;8348:167:8;;:::i;7852:210::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7852:210:8;;;;;;;;;;:::i;5115:186::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;5115:186:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;5115:186:8;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;5115:186:8;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;5115:186:8;;-1:-1:-1;5115:186:8;-1:-1:-1;5115:186:8;:::i;9594:169::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9594:169:8;;;;;;;;;;:::i;753:150:11:-;-1:-1:-1;;865:33:11;;844:4;865:33;;;;;;;;;;;;;753:150;;;;:::o;9173:160:8:-;9282:7;4075:19;;;:9;:19;;;;;;9259:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;-1:-1:-1;;9306:22:8;;;;:12;:22;;;;;;-1:-1:-1;;;;;9306:22:8;;9173:160::o;7135:315::-;3371:18;3392:19;;;:9;:19;;;;;;7229:8;;-1:-1:-1;;;;;3392:19:8;3439:10;3425:24;;;:68;;-1:-1:-1;;;;;;3453:28:8;;;;;;:16;:28;;;;;;;;3482:10;3453:40;;;;;;;;;;3425:68;3417:77;;;;;;;;4106:1;4075:19;;;:9;:19;;;;;;7256:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;7274:18;7295:19;;;:9;:19;;;;;;-1:-1:-1;;;;;7295:19:8;;;;7328:23;;;;;7320:32;;;;;;7359:22;;;;:12;:22;;;;;;:34;;-1:-1:-1;;7359:34:8;-1:-1:-1;;;;;7359:34:8;;;;;;;;;7404:41;;7359:22;;7404:41;;;;;;;4115:1;3500;7135:315;;;;:::o;1098:100:7:-;1180:6;:13;1098:100;;:::o;6423:300:8:-;3695:18;3716:19;;;:9;:19;;;;;;6536:8;;-1:-1:-1;;;;;3716:19:8;3770:10;3756:24;;;:70;;-1:-1:-1;3790:22:8;;;;:12;:22;;;;;;-1:-1:-1;;;;;3790:22:8;3816:10;3790:36;3756:70;:120;;;-1:-1:-1;;;;;;3836:28:8;;;;;;:16;:28;;;;;;;;3865:10;3836:40;;;;;;;;;;3756:120;3741:141;;;;;;;;4106:1;4075:19;;;:9;:19;;;;;;6563:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;6581:18;6602:19;;;:9;:19;;;;;;-1:-1:-1;;;;;6602:19:8;;;;6635;;;;6627:28;;;;;;-1:-1:-1;;;;;6669:17:8;;;;6661:26;;;;;;6694:24;6704:3;6709:8;6694:9;:24::i;:::-;4115:1;3888;6423:300;;;;;:::o;1722:212:7:-;-1:-1:-1;;;;;1864:18:7;;1830:7;1864:18;;;:10;:18;;;;;:25;1855:34;;1847:43;;;;;;-1:-1:-1;;;;;1903:18:7;;;;;;:10;:18;;;;;:26;;1922:6;;1903:26;;;;;;;;;;;;;;1896:33;;1722:212;;;;:::o;5700:157:8:-;5809:43;5827:5;5834:3;5839:8;5809:43;;;;;;;;;;;;;:17;:43::i;:::-;5700:157;;;:::o;1332:161:7:-;1447:6;:13;1413:7;;1438:22;;1430:31;;;;;;1474:6;:14;;1481:6;;1474:14;;;;;;;;;;;;;;1467:21;;1332:161;;;:::o;8766:170:8:-;8844:14;8877:19;;;:9;:19;;;;;;-1:-1:-1;;;;;8877:19:8;8910:20;;;8902:29;;;;;8348:167;8426:7;-1:-1:-1;;;;;8451:20:8;;;;8443:29;;;;;;8485:25;8503:6;8485:17;:25::i;:::-;8478:32;8348:167;-1:-1:-1;;8348:167:8:o;7852:210::-;7964:10;7947:28;;;;:16;:28;;;;;;;;-1:-1:-1;;;;;7947:39:8;;;;;;;;;;;;:51;;-1:-1:-1;;7947:51:8;;;;;;;;;;8009:48;;;;;;;7947:39;;7964:10;8009:48;;;;;;;;;;;7852:210;;:::o;5115:186::-;5250:46;5268:5;5275:3;5280:8;5290:5;;5250:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;5250:17:8;;-1:-1:-1;;;5250:46:8:i;:::-;5115:186;;;;;:::o;9594:169::-;-1:-1:-1;;;;;9723:24:8;;;9702:4;9723:24;;;:16;:24;;;;;;;;:35;;;;;;;;;;;;;;;9594:169::o;9946:262::-;10029:12;10044:19;;;:9;:19;;;;;;-1:-1:-1;;;;;10044:19:8;10069:24;10054:8;10069:14;:24::i;:::-;10100:30;10115:4;10121:8;10100:14;:30::i;:::-;10136:26;10148:3;10153:8;10136:11;:26::i;:::-;10194:8;10189:3;-1:-1:-1;;;;;10174:29:8;10183:4;-1:-1:-1;;;;;10174:29:8;;;;;;;;;;;9946:262;;;:::o;13163:520::-;3695:18;3716:19;;;:9;:19;;;;;;13304:8;;-1:-1:-1;;;;;3716:19:8;3770:10;3756:24;;;:70;;-1:-1:-1;3790:22:8;;;;:12;:22;;;;;;-1:-1:-1;;;;;3790:22:8;3816:10;3790:36;3756:70;:120;;;-1:-1:-1;;;;;;3836:28:8;;;;;;:16;:28;;;;;;;;3865:10;3836:40;;;;;;;;;;3756:120;3741:141;;;;;;;;4106:1;4075:19;;;:9;:19;;;;;;13331:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;13349:18;13370:19;;;:9;:19;;;;;;-1:-1:-1;;;;;13370:19:8;;;;13403;;;;13395:28;;;;;;-1:-1:-1;;;;;13437:17:8;;;;13429:26;;;;;;13462:24;13472:3;13477:8;13462:9;:24::i;:::-;13497:16;:3;-1:-1:-1;;;;;13497:14:8;;:16::i;:::-;13493:186;;;13544:77;;;;;13586:10;13544:77;;;;;;-1:-1:-1;;;;;13544:77:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;13528:13;;13544:41;;;;;;13586:10;;13598:5;;13605:8;;13615:5;;13544:77;;;;;;;;;;;13528:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13544:77:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13544:77:8;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13544:77:8;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13544:77:8;;-1:-1:-1;;;13637:34:8;;13647:24;13637:34;13629:43;;;;;;13493:186;;4115:1;3888;13163:520;;;;;;:::o;4984:140:7:-;-1:-1:-1;;;;;5094:18:7;5070:7;5094:18;;;:10;:18;;;;;:25;;4984:140::o;13811:164:8:-;13919:1;13885:22;;;:12;:22;;;;;;-1:-1:-1;;;;;13885:22:8;:36;13881:90;;13942:22;;;;:12;:22;;;;;13935:29;;-1:-1:-1;;13935:29:8;;;13881:90;13811:164;:::o;3626:547:7:-;3724:19;;;;:9;:19;;;;;;-1:-1:-1;;;;;3724:28:7;;;:19;;:28;3716:37;;;;;;3766:19;;;;:9;:19;;;;;;;;3759:26;;-1:-1:-1;;3759:26:7;;;3821:14;:24;;;;;;-1:-1:-1;;;;;3876:17:7;;;;:10;:17;;;;;;:24;-1:-1:-1;;3876:28:7;3915:36;;;3911:225;;-1:-1:-1;;;;;3985:17:7;;3965;3985;;;:10;:17;;;;;:33;;4003:14;;3985:33;;;;;;;;;;;;;;3965:53;;4066:9;4026:10;:17;4037:5;-1:-1:-1;;;;;4026:17:7;-1:-1:-1;;;;;4026:17:7;;;;;;;;;;;;4044:18;4026:37;;;;;;;;;;;;;;;;;;;;;:49;;;;4083:25;;;:14;:25;;;;;:46;;;3911:225;-1:-1:-1;;;;;4142:17:7;;;;;;:10;:17;;;;;:26;;;;;-1:-1:-1;;4142:26:7;;;:::i;4437:260::-;4561:1;4530:19;;;:9;:19;;;;;;-1:-1:-1;;;;;4530:19:7;:33;4522:42;;;;;;4570:19;;;;:9;:19;;;;;;;;:25;;-1:-1:-1;;;;;4570:25:7;;;-1:-1:-1;;4570:25:7;;;;;;;4619:15;;;:10;:15;;;;;27:10:-1;;23:18;;;45:23;;4619:30:7;;;;;;;;;;4655:24;;;:14;:24;;;;;;;:37;4437:260::o;289:596:9:-;367:17;808:18;;872:8;;289:596::o;324:4802:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" }, - "C:/Users/schim/Documents/GitHub/sticker-market/.embark/contracts/token/TokenController.sol:TokenController": { - "bin-runtime": "", - "bin": "", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/tokens/nf-token.sol:NFToken": { + "bin-runtime": "608060405234801561001057600080fd5b50600436106100bb576000357c0100000000000000000000000000000000000000000000000000000000900480636352211e116100835780636352211e146101e357806370a0823114610200578063a22cb46514610238578063b88d4fde14610266578063e985e9c5146102f6576100bb565b806301ffc9a7146100c0578063081812fc14610110578063095ea7b31461014957806323b872dd1461017757806342842e0e146101ad575b600080fd5b6100fc600480360360208110156100d657600080fd5b50357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916610324565b604080519115158252519081900360200190f35b61012d6004803603602081101561012657600080fd5b503561035c565b60408051600160a060020a039092168252519081900360200190f35b6101756004803603604081101561015f57600080fd5b50600160a060020a03813516906020013561039e565b005b6101756004803603606081101561018d57600080fd5b50600160a060020a038135811691602081013590911690604001356104ae565b610175600480360360608110156101c357600080fd5b50600160a060020a0381358116916020810135909116906040013561059a565b61012d600480360360208110156101f957600080fd5b50356105bb565b6102266004803603602081101561021657600080fd5b5035600160a060020a03166105df565b60408051918252519081900360200190f35b6101756004803603604081101561024e57600080fd5b50600160a060020a0381351690602001351515610605565b6101756004803603608081101561027c57600080fd5b600160a060020a038235811692602081013590911691604082013591908101906080810160608201356401000000008111156102b757600080fd5b8201836020820111156102c957600080fd5b803590602001918460018302840111640100000000831117156102eb57600080fd5b509092509050610673565b6100fc6004803603604081101561030c57600080fd5b50600160a060020a03813581169160200135166106bc565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19811660009081526020819052604090205460ff165b919050565b6000818152600160205260408120548290600160a060020a0316151561038157600080fd5b5050600090815260026020526040902054600160a060020a031690565b6000818152600160205260409020548190600160a060020a0316338114806103e95750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b15156103f457600080fd5b6000838152600160205260409020548390600160a060020a0316151561041957600080fd5b600084815260016020526040902054600160a060020a0390811690861681141561044257600080fd5b600085815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038a811691821790925591518893918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050505050565b6000818152600160205260409020548190600160a060020a0316338114806104ec5750600082815260026020526040902054600160a060020a031633145b8061051a5750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b151561052557600080fd5b6000838152600160205260409020548390600160a060020a0316151561054a57600080fd5b600084815260016020526040902054600160a060020a03908116908716811461057257600080fd5b600160a060020a038616151561058757600080fd5b61059186866106ea565b50505050505050565b6105b68383836020604051908101604052806000815250610765565b505050565b600081815260016020526040902054600160a060020a031680151561035757600080fd5b6000600160a060020a03821615156105f657600080fd5b6105ff826109c6565b92915050565b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b6106b585858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061076592505050565b5050505050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b600081815260016020526040902054600160a060020a031661070b826109e1565b6107158183610a2b565b61071f8383610a9a565b8183600160a060020a031682600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600160205260409020548290600160a060020a0316338114806107a35750600082815260026020526040902054600160a060020a031633145b806107d15750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b15156107dc57600080fd5b6000848152600160205260409020548490600160a060020a0316151561080157600080fd5b600085815260016020526040902054600160a060020a03908116908816811461082957600080fd5b600160a060020a038716151561083e57600080fd5b61084887876106ea565b61085a87600160a060020a0316610b2a565b156109bc576040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a038b81166024850152604484018a9052608060648501908152895160848601528951600095928d169463150b7a029490938f938e938e939260a4019060208501908083838e5b838110156108f25781810151838201526020016108da565b50505050905090810190601f16801561091f5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561094157600080fd5b505af1158015610955573d6000803e3d6000fd5b505050506040513d602081101561096b57600080fd5b505190507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1981167f150b7a0200000000000000000000000000000000000000000000000000000000146109ba57600080fd5b505b5050505050505050565b600160a060020a031660009081526003602052604090205490565b600081815260026020526040902054600160a060020a031615610a28576000818152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff191690555b50565b600081815260016020526040902054600160a060020a03838116911614610a5157600080fd5b600160a060020a03909116600090815260036020908152604080832080546000190190559282526001905220805473ffffffffffffffffffffffffffffffffffffffff19169055565b600081815260016020526040902054600160a060020a031615610abc57600080fd5b6000818152600160208181526040808420805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0388169081179091558452600390915290912054610b0a91610b32565b600160a060020a0390921660009081526003602052604090209190915550565b6000903b1190565b818101828110156105ff57600080fdfea165627a7a72305820827588ff55e920c6dba3d7ce3f0a362485df4ecabb25594f91253a17b81c35800029", + "bin": "608060405234801561001057600080fd5b50600060208190527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1990811660019081179092557f80ac58cd000000000000000000000000000000000000000000000000000000009092527ff7815fccbf112960a73756e185887fedcb9fc64ca0a16cc5923b7960ed7808008054909216179055610b6e806100a56000396000f3fe608060405234801561001057600080fd5b50600436106100bb576000357c0100000000000000000000000000000000000000000000000000000000900480636352211e116100835780636352211e146101e357806370a0823114610200578063a22cb46514610238578063b88d4fde14610266578063e985e9c5146102f6576100bb565b806301ffc9a7146100c0578063081812fc14610110578063095ea7b31461014957806323b872dd1461017757806342842e0e146101ad575b600080fd5b6100fc600480360360208110156100d657600080fd5b50357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916610324565b604080519115158252519081900360200190f35b61012d6004803603602081101561012657600080fd5b503561035c565b60408051600160a060020a039092168252519081900360200190f35b6101756004803603604081101561015f57600080fd5b50600160a060020a03813516906020013561039e565b005b6101756004803603606081101561018d57600080fd5b50600160a060020a038135811691602081013590911690604001356104ae565b610175600480360360608110156101c357600080fd5b50600160a060020a0381358116916020810135909116906040013561059a565b61012d600480360360208110156101f957600080fd5b50356105bb565b6102266004803603602081101561021657600080fd5b5035600160a060020a03166105df565b60408051918252519081900360200190f35b6101756004803603604081101561024e57600080fd5b50600160a060020a0381351690602001351515610605565b6101756004803603608081101561027c57600080fd5b600160a060020a038235811692602081013590911691604082013591908101906080810160608201356401000000008111156102b757600080fd5b8201836020820111156102c957600080fd5b803590602001918460018302840111640100000000831117156102eb57600080fd5b509092509050610673565b6100fc6004803603604081101561030c57600080fd5b50600160a060020a03813581169160200135166106bc565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19811660009081526020819052604090205460ff165b919050565b6000818152600160205260408120548290600160a060020a0316151561038157600080fd5b5050600090815260026020526040902054600160a060020a031690565b6000818152600160205260409020548190600160a060020a0316338114806103e95750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b15156103f457600080fd5b6000838152600160205260409020548390600160a060020a0316151561041957600080fd5b600084815260016020526040902054600160a060020a0390811690861681141561044257600080fd5b600085815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038a811691821790925591518893918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050505050565b6000818152600160205260409020548190600160a060020a0316338114806104ec5750600082815260026020526040902054600160a060020a031633145b8061051a5750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b151561052557600080fd5b6000838152600160205260409020548390600160a060020a0316151561054a57600080fd5b600084815260016020526040902054600160a060020a03908116908716811461057257600080fd5b600160a060020a038616151561058757600080fd5b61059186866106ea565b50505050505050565b6105b68383836020604051908101604052806000815250610765565b505050565b600081815260016020526040902054600160a060020a031680151561035757600080fd5b6000600160a060020a03821615156105f657600080fd5b6105ff826109c6565b92915050565b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b6106b585858585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061076592505050565b5050505050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b600081815260016020526040902054600160a060020a031661070b826109e1565b6107158183610a2b565b61071f8383610a9a565b8183600160a060020a031682600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600160205260409020548290600160a060020a0316338114806107a35750600082815260026020526040902054600160a060020a031633145b806107d15750600160a060020a038116600090815260046020908152604080832033845290915290205460ff165b15156107dc57600080fd5b6000848152600160205260409020548490600160a060020a0316151561080157600080fd5b600085815260016020526040902054600160a060020a03908116908816811461082957600080fd5b600160a060020a038716151561083e57600080fd5b61084887876106ea565b61085a87600160a060020a0316610b2a565b156109bc576040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a038b81166024850152604484018a9052608060648501908152895160848601528951600095928d169463150b7a029490938f938e938e939260a4019060208501908083838e5b838110156108f25781810151838201526020016108da565b50505050905090810190601f16801561091f5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561094157600080fd5b505af1158015610955573d6000803e3d6000fd5b505050506040513d602081101561096b57600080fd5b505190507bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1981167f150b7a0200000000000000000000000000000000000000000000000000000000146109ba57600080fd5b505b5050505050505050565b600160a060020a031660009081526003602052604090205490565b600081815260026020526040902054600160a060020a031615610a28576000818152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff191690555b50565b600081815260016020526040902054600160a060020a03838116911614610a5157600080fd5b600160a060020a03909116600090815260036020908152604080832080546000190190559282526001905220805473ffffffffffffffffffffffffffffffffffffffff19169055565b600081815260016020526040902054600160a060020a031615610abc57600080fd5b6000818152600160208181526040808420805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0388169081179091558452600390915290912054610b0a91610b32565b600160a060020a0390921660009081526003602052604090209190915550565b6000903b1190565b818101828110156105ff57600080fdfea165627a7a72305820827588ff55e920c6dba3d7ce3f0a362485df4ecabb25594f91253a17b81c35800029", "abi": [ + { + "constant": true, + "inputs": [ + { + "name": "_interfaceID", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "name": "", + "type": "bool" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "name": "", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_approved", + "type": "address" + }, + { + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, { "constant": false, "inputs": [ @@ -127889,17 +75981,12 @@ "type": "address" }, { - "name": "_amount", + "name": "_tokenId", "type": "uint256" } ], - "name": "onTransfer", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], + "name": "transferFrom", + "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" @@ -127908,72 +75995,19 @@ "constant": false, "inputs": [ { - "name": "_owner", + "name": "_from", "type": "address" }, { - "name": "_spender", + "name": "_to", "type": "address" }, { - "name": "_amount", + "name": "_tokenId", "type": "uint256" } ], - "name": "onApprove", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "proxyPayment", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": true, - "stateMutability": "payable", - "type": "function" - } - ], - "srcmap": "", - "srcmap-runtime": "" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Address.sol:Address": { - "bin-runtime": "73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820c130de7d14403f1a55301774d36189bd2e0b81800c5387b88c3ce442669050310029", - "bin": "604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820c130de7d14403f1a55301774d36189bd2e0b81800c5387b88c3ce442669050310029", - "abi": [], - "srcmap": "93:1004:15:-;;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", - "srcmap-runtime": "93:1004:15:-;;;;;;;;" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Controlled.sol:Controlled": { - "bin-runtime": "", - "bin": "", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "_newController", - "type": "address" - } - ], - "name": "changeController", + "name": "safeTransferFrom", "outputs": [], "payable": false, "stateMutability": "nonpayable", @@ -127981,12 +76015,103 @@ }, { "constant": true, - "inputs": [], - "name": "controller", + "inputs": [ + { + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "name": "_owner", + "type": "address" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_owner", + "type": "address" + } + ], + "name": "balanceOf", "outputs": [ { "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_operator", "type": "address" + }, + { + "name": "_approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": false, + "inputs": [ + { + "name": "_from", + "type": "address" + }, + { + "name": "_to", + "type": "address" + }, + { + "name": "_tokenId", + "type": "uint256" + }, + { + "name": "_data", + "type": "bytes" + } + ], + "name": "safeTransferFrom", + "outputs": [], + "payable": false, + "stateMutability": "nonpayable", + "type": "function" + }, + { + "constant": true, + "inputs": [ + { + "name": "_owner", + "type": "address" + }, + { + "name": "_operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "name": "", + "type": "bool" } ], "payable": false, @@ -127998,12 +76123,85 @@ "payable": false, "stateMutability": "nonpayable", "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "from", + "type": "address" + }, + { + "indexed": true, + "name": "to", + "type": "address" + }, + { + "indexed": true, + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "_owner", + "type": "address" + }, + { + "indexed": true, + "name": "_approved", + "type": "address" + }, + { + "indexed": true, + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "_owner", + "type": "address" + }, + { + "indexed": true, + "name": "_operator", + "type": "address" + }, + { + "indexed": false, + "name": "_approved", + "type": "bool" + } + ], + "name": "ApprovalForAll", + "type": "event" } ], - "srcmap": "", - "srcmap-runtime": "" + "srcmap": "598:13380:8:-;;;4169:86;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;497:19:11;:31;;;;;:38;;-1:-1:-1;;497:38:11;;;531:4;497:38;;;;;;4202:31:8;;;;;:38;;;;;;;;598:13380;;;;;;", + "srcmap-runtime": "598:13380:8:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;598:13380:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;753:150:11;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;753:150:11;-1:-1:-1;;753:150:11;;:::i;:::-;;;;;;;;;;;;;;;;;;9173:160:8;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9173:160:8;;:::i;:::-;;;;-1:-1:-1;;;;;9173:160:8;;;;;;;;;;;;;;7135:315;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7135:315:8;;;;;;;;:::i;:::-;;6423:300;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6423:300:8;;;;;;;;;;;;;;;;;:::i;5700:157::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5700:157:8;;;;;;;;;;;;;;;;;:::i;8766:170::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8766:170:8;;:::i;8348:167::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8348:167:8;-1:-1:-1;;;;;8348:167:8;;:::i;:::-;;;;;;;;;;;;;;;;7852:210;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7852:210:8;;;;;;;;;;:::i;5115:186::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;5115:186:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;5115:186:8;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;5115:186:8;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;5115:186:8;;-1:-1:-1;5115:186:8;-1:-1:-1;5115:186:8;:::i;9594:169::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9594:169:8;;;;;;;;;;:::i;753:150:11:-;-1:-1:-1;;865:33:11;;844:4;865:33;;;;;;;;;;;;;753:150;;;;:::o;9173:160:8:-;9282:7;4075:19;;;:9;:19;;;;;;9259:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;-1:-1:-1;;9306:22:8;;;;:12;:22;;;;;;-1:-1:-1;;;;;9306:22:8;;9173:160::o;7135:315::-;3371:18;3392:19;;;:9;:19;;;;;;7229:8;;-1:-1:-1;;;;;3392:19:8;3439:10;3425:24;;;:68;;-1:-1:-1;;;;;;3453:28:8;;;;;;:16;:28;;;;;;;;3482:10;3453:40;;;;;;;;;;3425:68;3417:77;;;;;;;;4106:1;4075:19;;;:9;:19;;;;;;7256:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;7274:18;7295:19;;;:9;:19;;;;;;-1:-1:-1;;;;;7295:19:8;;;;7328:23;;;;;7320:32;;;;;;7359:22;;;;:12;:22;;;;;;:34;;-1:-1:-1;;7359:34:8;-1:-1:-1;;;;;7359:34:8;;;;;;;;;7404:41;;7359:22;;7404:41;;;;;;;4115:1;3500;7135:315;;;;:::o;6423:300::-;3695:18;3716:19;;;:9;:19;;;;;;6536:8;;-1:-1:-1;;;;;3716:19:8;3770:10;3756:24;;;:70;;-1:-1:-1;3790:22:8;;;;:12;:22;;;;;;-1:-1:-1;;;;;3790:22:8;3816:10;3790:36;3756:70;:120;;;-1:-1:-1;;;;;;3836:28:8;;;;;;:16;:28;;;;;;;;3865:10;3836:40;;;;;;;;;;3756:120;3741:141;;;;;;;;4106:1;4075:19;;;:9;:19;;;;;;6563:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;6581:18;6602:19;;;:9;:19;;;;;;-1:-1:-1;;;;;6602:19:8;;;;6635;;;;6627:28;;;;;;-1:-1:-1;;;;;6669:17:8;;;;6661:26;;;;;;6694:24;6704:3;6709:8;6694:9;:24::i;:::-;4115:1;3888;6423:300;;;;;:::o;5700:157::-;5809:43;5827:5;5834:3;5839:8;5809:43;;;;;;;;;;;;;:17;:43::i;:::-;5700:157;;;:::o;8766:170::-;8844:14;8877:19;;;:9;:19;;;;;;-1:-1:-1;;;;;8877:19:8;8910:20;;;8902:29;;;;;8348:167;8426:7;-1:-1:-1;;;;;8451:20:8;;;;8443:29;;;;;;8485:25;8503:6;8485:17;:25::i;:::-;8478:32;8348:167;-1:-1:-1;;8348:167:8:o;7852:210::-;7964:10;7947:28;;;;:16;:28;;;;;;;;-1:-1:-1;;;;;7947:39:8;;;;;;;;;;;;:51;;-1:-1:-1;;7947:51:8;;;;;;;;;;8009:48;;;;;;;7947:39;;7964:10;8009:48;;;;;;;;;;;7852:210;;:::o;5115:186::-;5250:46;5268:5;5275:3;5280:8;5290:5;;5250:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;5250:17:8;;-1:-1:-1;;;5250:46:8:i;:::-;5115:186;;;;;:::o;9594:169::-;-1:-1:-1;;;;;9723:24:8;;;9702:4;9723:24;;;:16;:24;;;;;;;;:35;;;;;;;;;;;;;;;9594:169::o;9946:262::-;10029:12;10044:19;;;:9;:19;;;;;;-1:-1:-1;;;;;10044:19:8;10069:24;10054:8;10069:14;:24::i;:::-;10100:30;10115:4;10121:8;10100:14;:30::i;:::-;10136:26;10148:3;10153:8;10136:11;:26::i;:::-;10194:8;10189:3;-1:-1:-1;;;;;10174:29:8;10183:4;-1:-1:-1;;;;;10174:29:8;;;;;;;;;;;9946:262;;;:::o;13163:520::-;3695:18;3716:19;;;:9;:19;;;;;;13304:8;;-1:-1:-1;;;;;3716:19:8;3770:10;3756:24;;;:70;;-1:-1:-1;3790:22:8;;;;:12;:22;;;;;;-1:-1:-1;;;;;3790:22:8;3816:10;3790:36;3756:70;:120;;;-1:-1:-1;;;;;;3836:28:8;;;;;;:16;:28;;;;;;;;3865:10;3836:40;;;;;;;;;;3756:120;3741:141;;;;;;;;4106:1;4075:19;;;:9;:19;;;;;;13331:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;13349:18;13370:19;;;:9;:19;;;;;;-1:-1:-1;;;;;13370:19:8;;;;13403;;;;13395:28;;;;;;-1:-1:-1;;;;;13437:17:8;;;;13429:26;;;;;;13462:24;13472:3;13477:8;13462:9;:24::i;:::-;13497:16;:3;-1:-1:-1;;;;;13497:14:8;;:16::i;:::-;13493:186;;;13544:77;;;;;13586:10;13544:77;;;;;;-1:-1:-1;;;;;13544:77:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;13528:13;;13544:41;;;;;;13586:10;;13598:5;;13605:8;;13615:5;;13544:77;;;;;;;;;;;13528:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13544:77:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13544:77:8;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13544:77:8;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13544:77:8;;-1:-1:-1;;;13637:34:8;;13647:24;13637:34;13629:43;;;;;;13493:186;;4115:1;3888;13163:520;;;;;;:::o;12752:142::-;-1:-1:-1;;;;;12862:27:8;12838:7;12862:27;;;:19;:27;;;;;;;12752:142::o;13811:164::-;13919:1;13885:22;;;:12;:22;;;;;;-1:-1:-1;;;;;13885:22:8;:36;13881:90;;13942:22;;;;:12;:22;;;;;13935:29;;-1:-1:-1;;13935:29:8;;;13881:90;13811:164;:::o;11748:229::-;11846:19;;;;:9;:19;;;;;;-1:-1:-1;;;;;11846:28:8;;;:19;;:28;11838:37;;;;;;-1:-1:-1;;;;;11910:26:8;;;;;;;:19;:26;;;;;;;;;;-1:-1:-1;;11910:30:8;11881:59;;11953:19;;;11939:1;11953:19;;;11946:26;;-1:-1:-1;;11946:26:8;;;11748:229::o;12236:228::-;12360:1;12329:19;;;:9;:19;;;;;;-1:-1:-1;;;;;12329:19:8;:33;12321:42;;;;;;12370:19;;;;:9;:19;;;;;;;;:25;;-1:-1:-1;;12370:25:8;-1:-1:-1;;;;;12370:25:8;;;;;;;;12428:24;;:19;:24;;;;;;;:31;;:28;:31::i;:::-;-1:-1:-1;;;;;12401:24:8;;;;;;;:19;:24;;;;;:58;;;;-1:-1:-1;12236:228:8:o;289:596:9:-;367:17;808:18;;872:8;;289:596::o;2078:177:2:-;2201:19;;;2234:15;;;;2226:24;;;;" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Introspective.sol:ERC165": { + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/address-utils.sol:AddressUtils": { + "bin-runtime": "73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a7230582031043cd66abab7271fc32a6c304c9491dd6c6fd4caa651ac344e8d510ae394820029", + "bin": "604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a7230582031043cd66abab7271fc32a6c304c9491dd6c6fd4caa651ac344e8d510ae394820029", + "abi": [], + "srcmap": "99:789:9:-;;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", + "srcmap-runtime": "99:789:9:-;;;;;;;;" + }, + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/erc165.sol:ERC165": { "bin-runtime": "", "bin": "", "abi": [ @@ -128011,7 +76209,7 @@ "constant": true, "inputs": [ { - "name": "interfaceID", + "name": "_interfaceID", "type": "bytes4" } ], @@ -128030,15 +76228,15 @@ "srcmap": "", "srcmap-runtime": "" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Introspective.sol:Introspective": { - "bin-runtime": "", - "bin": "", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/nft/utils/supports-interface.sol:SupportsInterface": { + "bin-runtime": "6080604052348015600f57600080fd5b50600436106044577c0100000000000000000000000000000000000000000000000000000000600035046301ffc9a781146049575b600080fd5b608260048036036020811015605d57600080fd5b50357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166096565b604080519115158252519081900360200190f35b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191660009081526020819052604090205460ff169056fea165627a7a72305820ab7e237121593882933b35c7455a38fb8f07b7e6f474ecfc9ff1384ee73002c10029", + "bin": "608060405234801561001057600080fd5b507f01ffc9a70000000000000000000000000000000000000000000000000000000060009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905560f6806100746000396000f3fe6080604052348015600f57600080fd5b50600436106044577c0100000000000000000000000000000000000000000000000000000000600035046301ffc9a781146049575b600080fd5b608260048036036020811015605d57600080fd5b50357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166096565b604080519115158252519081900360200190f35b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191660009081526020819052604090205460ff169056fea165627a7a72305820ab7e237121593882933b35c7455a38fb8f07b7e6f474ecfc9ff1384ee73002c10029", "abi": [ { "constant": true, "inputs": [ { - "name": "interfaceId", + "name": "_interfaceID", "type": "bytes4" } ], @@ -128060,82 +76258,10 @@ "type": "constructor" } ], - "srcmap": "", - "srcmap-runtime": "" + "srcmap": "206:700:11:-;;;464:86;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;497:31:11;:19;:31;;;;;;:38;;-1:-1:-1;;497:38:11;531:4;497:38;;;206:700;;;;;;", + "srcmap-runtime": "206:700:11:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;206:700:11;;;;;;;;;;;;;;;;;;;753:150;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;753:150:11;-1:-1:-1;;753:150:11;;:::i;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;865:33:11;844:4;865:33;;;;;;;;;;;;;;753:150::o" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\Owned.sol:Owned": { - "bin-runtime": "", - "bin": "", - "abi": [ - { - "constant": false, - "inputs": [], - "name": "acceptOwnership", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "owner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_newOwner", - "type": "address" - } - ], - "name": "changeOwner", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "newOwner", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - } - ], - "srcmap": "", - "srcmap-runtime": "" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\common\\SafeMath.sol:SafeMath": { - "bin-runtime": "73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820da74cb9ef53cbbe9948a59d9e2e287b127d736e23913760da644b2a5e9e975150029", - "bin": "604c602c600b82828239805160001a60731460008114601c57601e565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea165627a7a72305820da74cb9ef53cbbe9948a59d9e2e287b127d736e23913760da644b2a5e9e975150029", - "abi": [], - "srcmap": "79:1147: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", - "srcmap-runtime": "79:1147:19:-;;;;;;;;" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\SNTController.sol:SNTController": { + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/SNTController.sol:SNTController": { "bin-runtime": "", "bin": "", "abi": [ @@ -128358,9 +76484,9 @@ "srcmap": "", "srcmap-runtime": "" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\StatusNetwork.sol:StatusNetwork": { - "bin-runtime": "6080604052600436106100ae576000357c010000000000000000000000000000000000000000000000000000000090048063a6f9dae111610076578063a6f9dae11461019a578063d4ee1d90146101cd578063da682aeb14610119578063df8de3e7146101e2578063f48c305414610215576100ae565b8063060eb520146100b35780633cebb823146100e45780634a3931491461011957806379ba5097146101705780638da5cb5b14610185575b600080fd5b3480156100bf57600080fd5b506100c861023b565b60408051600160a060020a039092168252519081900360200190f35b3480156100f057600080fd5b506101176004803603602081101561010757600080fd5b5035600160a060020a031661024a565b005b34801561012557600080fd5b5061015c6004803603606081101561013c57600080fd5b50600160a060020a03813581169160208101359091169060400135610379565b604080519115158252519081900360200190f35b34801561017c57600080fd5b50610117610382565b34801561019157600080fd5b506100c86103c7565b3480156101a657600080fd5b50610117600480360360208110156101bd57600080fd5b5035600160a060020a03166103d6565b3480156101d957600080fd5b506100c861047e565b3480156101ee57600080fd5b506101176004803603602081101561020557600080fd5b5035600160a060020a031661048d565b61015c6004803603602081101561022b57600080fd5b5035600160a060020a03166107eb565b600254600160a060020a031681565b600054600160a060020a031633146102c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b15801561032a57600080fd5b505af115801561033e573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027c3e080ed9215f564a9455a666f7e459b3edc0bb6e02a1bf842fde4d0ccfc19150600090a250565b60019392505050565b600154600160a060020a03163314156103c5576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b600054600160a060020a031681565b600054600160a060020a0316331461044f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600154600160a060020a031681565b600054600160a060020a0316331461050657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517ff77c479100000000000000000000000000000000000000000000000000000000815290513092600160a060020a03169163f77c4791916004808301926020929190829003018186803b15801561056357600080fd5b505afa158015610577573d6000803e3d6000fd5b505050506040513d602081101561058d57600080fd5b5051600160a060020a0316141561061e57600254604080517fdf8de3e7000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163df8de3e791602480830192600092919082900301818387803b15801561060557600080fd5b505af1158015610619573d6000803e3d6000fd5b505050505b600160a060020a038116151561066f5760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610669573d6000803e3d6000fd5b506107e8565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b1580156106d357600080fd5b505afa1580156106e7573d6000803e3d6000fd5b505050506040513d60208110156106fd57600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b15801561077357600080fd5b505af1158015610787573d6000803e3d6000fd5b505050506040513d602081101561079d57600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b5060009056fea165627a7a723058205ec4dc814c1e26946148b43025d52c01f3bf7737aad74463615b9de00d5f08440029", - "bin": "608060405234801561001057600080fd5b506040516040806108c88339810180604052604081101561003057600080fd5b50805160209091015160008054600160a060020a031916331790558181600160a060020a038216156100785760008054600160a060020a031916600160a060020a0384161790555b60028054600160a060020a03909216600160a060020a031990921691909117905550505061081d806100ab6000396000f3fe6080604052600436106100ae576000357c010000000000000000000000000000000000000000000000000000000090048063a6f9dae111610076578063a6f9dae11461019a578063d4ee1d90146101cd578063da682aeb14610119578063df8de3e7146101e2578063f48c305414610215576100ae565b8063060eb520146100b35780633cebb823146100e45780634a3931491461011957806379ba5097146101705780638da5cb5b14610185575b600080fd5b3480156100bf57600080fd5b506100c861023b565b60408051600160a060020a039092168252519081900360200190f35b3480156100f057600080fd5b506101176004803603602081101561010757600080fd5b5035600160a060020a031661024a565b005b34801561012557600080fd5b5061015c6004803603606081101561013c57600080fd5b50600160a060020a03813581169160208101359091169060400135610379565b604080519115158252519081900360200190f35b34801561017c57600080fd5b50610117610382565b34801561019157600080fd5b506100c86103c7565b3480156101a657600080fd5b50610117600480360360208110156101bd57600080fd5b5035600160a060020a03166103d6565b3480156101d957600080fd5b506100c861047e565b3480156101ee57600080fd5b506101176004803603602081101561020557600080fd5b5035600160a060020a031661048d565b61015c6004803603602081101561022b57600080fd5b5035600160a060020a03166107eb565b600254600160a060020a031681565b600054600160a060020a031633146102c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b15801561032a57600080fd5b505af115801561033e573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027c3e080ed9215f564a9455a666f7e459b3edc0bb6e02a1bf842fde4d0ccfc19150600090a250565b60019392505050565b600154600160a060020a03163314156103c5576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b600054600160a060020a031681565b600054600160a060020a0316331461044f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600154600160a060020a031681565b600054600160a060020a0316331461050657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517ff77c479100000000000000000000000000000000000000000000000000000000815290513092600160a060020a03169163f77c4791916004808301926020929190829003018186803b15801561056357600080fd5b505afa158015610577573d6000803e3d6000fd5b505050506040513d602081101561058d57600080fd5b5051600160a060020a0316141561061e57600254604080517fdf8de3e7000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163df8de3e791602480830192600092919082900301818387803b15801561060557600080fd5b505af1158015610619573d6000803e3d6000fd5b505050505b600160a060020a038116151561066f5760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610669573d6000803e3d6000fd5b506107e8565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b1580156106d357600080fd5b505afa1580156106e7573d6000803e3d6000fd5b505050506040513d60208110156106fd57600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b15801561077357600080fd5b505af1158015610787573d6000803e3d6000fd5b505050506040513d602081101561079d57600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b5060009056fea165627a7a723058205ec4dc814c1e26946148b43025d52c01f3bf7737aad74463615b9de00d5f08440029", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/StatusNetwork.sol:StatusNetwork": { + "bin-runtime": "6080604052600436106100ae576000357c010000000000000000000000000000000000000000000000000000000090048063a6f9dae111610076578063a6f9dae11461019a578063d4ee1d90146101cd578063da682aeb14610119578063df8de3e7146101e2578063f48c305414610215576100ae565b8063060eb520146100b35780633cebb823146100e45780634a3931491461011957806379ba5097146101705780638da5cb5b14610185575b600080fd5b3480156100bf57600080fd5b506100c861023b565b60408051600160a060020a039092168252519081900360200190f35b3480156100f057600080fd5b506101176004803603602081101561010757600080fd5b5035600160a060020a031661024a565b005b34801561012557600080fd5b5061015c6004803603606081101561013c57600080fd5b50600160a060020a03813581169160208101359091169060400135610379565b604080519115158252519081900360200190f35b34801561017c57600080fd5b50610117610382565b34801561019157600080fd5b506100c86103c7565b3480156101a657600080fd5b50610117600480360360208110156101bd57600080fd5b5035600160a060020a03166103d6565b3480156101d957600080fd5b506100c861047e565b3480156101ee57600080fd5b506101176004803603602081101561020557600080fd5b5035600160a060020a031661048d565b61015c6004803603602081101561022b57600080fd5b5035600160a060020a03166107eb565b600254600160a060020a031681565b600054600160a060020a031633146102c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b15801561032a57600080fd5b505af115801561033e573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027c3e080ed9215f564a9455a666f7e459b3edc0bb6e02a1bf842fde4d0ccfc19150600090a250565b60019392505050565b600154600160a060020a03163314156103c5576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b600054600160a060020a031681565b600054600160a060020a0316331461044f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600154600160a060020a031681565b600054600160a060020a0316331461050657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517ff77c479100000000000000000000000000000000000000000000000000000000815290513092600160a060020a03169163f77c4791916004808301926020929190829003018186803b15801561056357600080fd5b505afa158015610577573d6000803e3d6000fd5b505050506040513d602081101561058d57600080fd5b5051600160a060020a0316141561061e57600254604080517fdf8de3e7000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163df8de3e791602480830192600092919082900301818387803b15801561060557600080fd5b505af1158015610619573d6000803e3d6000fd5b505050505b600160a060020a038116151561066f5760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610669573d6000803e3d6000fd5b506107e8565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b1580156106d357600080fd5b505afa1580156106e7573d6000803e3d6000fd5b505050506040513d60208110156106fd57600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b15801561077357600080fd5b505af1158015610787573d6000803e3d6000fd5b505050506040513d602081101561079d57600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b5060009056fea165627a7a723058202a32874b4a997ef4b629688873dbe2047dc739bdb5b7dba2ba0bc9d3e46299920029", + "bin": "608060405234801561001057600080fd5b506040516040806108c88339810180604052604081101561003057600080fd5b50805160209091015160008054600160a060020a031916331790558181600160a060020a038216156100785760008054600160a060020a031916600160a060020a0384161790555b60028054600160a060020a03909216600160a060020a031990921691909117905550505061081d806100ab6000396000f3fe6080604052600436106100ae576000357c010000000000000000000000000000000000000000000000000000000090048063a6f9dae111610076578063a6f9dae11461019a578063d4ee1d90146101cd578063da682aeb14610119578063df8de3e7146101e2578063f48c305414610215576100ae565b8063060eb520146100b35780633cebb823146100e45780634a3931491461011957806379ba5097146101705780638da5cb5b14610185575b600080fd5b3480156100bf57600080fd5b506100c861023b565b60408051600160a060020a039092168252519081900360200190f35b3480156100f057600080fd5b506101176004803603602081101561010757600080fd5b5035600160a060020a031661024a565b005b34801561012557600080fd5b5061015c6004803603606081101561013c57600080fd5b50600160a060020a03813581169160208101359091169060400135610379565b604080519115158252519081900360200190f35b34801561017c57600080fd5b50610117610382565b34801561019157600080fd5b506100c86103c7565b3480156101a657600080fd5b50610117600480360360208110156101bd57600080fd5b5035600160a060020a03166103d6565b3480156101d957600080fd5b506100c861047e565b3480156101ee57600080fd5b506101176004803603602081101561020557600080fd5b5035600160a060020a031661048d565b61015c6004803603602081101561022b57600080fd5b5035600160a060020a03166107eb565b600254600160a060020a031681565b600054600160a060020a031633146102c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b15801561032a57600080fd5b505af115801561033e573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027c3e080ed9215f564a9455a666f7e459b3edc0bb6e02a1bf842fde4d0ccfc19150600090a250565b60019392505050565b600154600160a060020a03163314156103c5576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b600054600160a060020a031681565b600054600160a060020a0316331461044f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600154600160a060020a031681565b600054600160a060020a0316331461050657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f556e617574686f72697a65640000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517ff77c479100000000000000000000000000000000000000000000000000000000815290513092600160a060020a03169163f77c4791916004808301926020929190829003018186803b15801561056357600080fd5b505afa158015610577573d6000803e3d6000fd5b505050506040513d602081101561058d57600080fd5b5051600160a060020a0316141561061e57600254604080517fdf8de3e7000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163df8de3e791602480830192600092919082900301818387803b15801561060557600080fd5b505af1158015610619573d6000803e3d6000fd5b505050505b600160a060020a038116151561066f5760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610669573d6000803e3d6000fd5b506107e8565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b1580156106d357600080fd5b505afa1580156106e7573d6000803e3d6000fd5b505050506040513d60208110156106fd57600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b15801561077357600080fd5b505af1158015610787573d6000803e3d6000fd5b505050506040513d602081101561079d57600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b5060009056fea165627a7a723058202a32874b4a997ef4b629688873dbe2047dc739bdb5b7dba2ba0bc9d3e46299920029", "abi": [ { "constant": true, @@ -128578,12 +76704,12 @@ "type": "event" } ], - "srcmap": "185:295:21:-;;;343:134;8:9:-1;5:2;;;30:1;27;20:12;5:2;343:134:21;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;343:134:21;;;;;;;502:5:3;:18;;-1:-1:-1;;;;;;502:18:3;510:10;502:18;;;343:134:21;;-1:-1:-1;;;;;1026:20:5;;;1023:65;;1062:5;:14;;-1:-1:-1;;;;;;1062:14:5;-1:-1:-1;;;;;1062:14:5;;;;;1023:65;1098:3;:10;;-1:-1:-1;;;;;1098:10:5;;;-1:-1:-1;;;;;;1098:10:5;;;;;;;;;-1:-1:-1;;;185:295:21;;;;;;", - "srcmap-runtime": "185:295:21:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;642:22:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;642:22:5;;;:::i;:::-;;;;-1:-1:-1;;;;;642:22:5;;;;;;;;;;;;;;1366:180;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1366:180:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1366:180:5;-1:-1:-1;;;;;1366:180:5;;:::i;:::-;;2859:219;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2859:219:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2859:219:5;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;920:123:3;;8:9:-1;5:2;;;30:1;27;20:12;5:2;920:123:3;;;:::i;357:28::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;357:28:3;;;:::i;806:104::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;806:104:3;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;806:104:3;-1:-1:-1;;;;;806:104:3;;:::i;536:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;536:31:3;;;:::i;1825:494:5:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1825:494:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1825:494:5;-1:-1:-1;;;;;1825:494:5;;:::i;2510:212::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2510:212:5;-1:-1:-1;;;;;2510:212:5;;:::i;642:22::-;;;-1:-1:-1;;;;;642:22:5;;:::o;1366:180::-;307:5:3;;-1:-1:-1;;;;;307:5:3;293:10;:19;285:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1453:3:5;;:36;;;;;;-1:-1:-1;;;;;1453:36:5;;;;;;;;;:3;;;;;:20;;:36;;;;;:3;;:36;;;;;;;:3;;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;1453:36:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;1505:33:5;;-1:-1:-1;;;;;1505:33:5;;;-1:-1:-1;1505:33:5;;-1:-1:-1;1505:33:5;;;1366:180;:::o;2859:219::-;3066:4;2859:219;;;;;:::o;920:123:3:-;983:8;;-1:-1:-1;;;;;983:8:3;969:10;:22;965:71;;;1016:8;;;1008:16;;-1:-1:-1;;1008:16:3;-1:-1:-1;;;;;1016:8:3;;;1008:16;;;;;;965:71;920:123::o;357:28::-;;;-1:-1:-1;;;;;357:28:3;;:::o;806:104::-;307:5;;-1:-1:-1;;;;;307:5:3;293:10;:19;285:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;882:8;:20;;-1:-1:-1;;882:20:3;-1:-1:-1;;;;;882:20:3;;;;;;;;;;806:104::o;536:31::-;;;-1:-1:-1;;;;;536:31:3;;:::o;1825:494:5:-;307:5:3;;-1:-1:-1;;;;;307:5:3;293:10;:19;285:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1894:3:5;;:16;;;;;;;;1922:4;;-1:-1:-1;;;;;1894:3:5;;:14;;:16;;;;;;;;;;;;;;:3;:16;;;5:2:-1;;;;30:1;27;20:12;5:2;1894:16:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1894:16:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1894:16:5;-1:-1:-1;;;;;1894:33:5;;1890:89;;;1944:3;;:23;;;;;;-1:-1:-1;;;;;1944:23:5;;;;;;;;;:3;;;;;:15;;:23;;;;;:3;;:23;;;;;;;:3;;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;1944:23:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1944:23:5;;;;1890:89;-1:-1:-1;;;;;1993:20:5;;;1989:120;;;2038:5;;;2030:46;;-1:-1:-1;;;;;2038:5:5;;;;2062:4;2054:21;2030:46;;;;;2054:21;;2030:46;2038:5;2030:46;2054:21;2038:5;2030:46;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2030:46:5;2091:7;;1989:120;2187:30;;;;;;2211:4;2187:30;;;;;;2151:6;;2121:16;;-1:-1:-1;;;;;2187:15:5;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;2187:30:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2187:30:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2187:30:5;2243:5;;;2228:30;;;;;;-1:-1:-1;;;;;2243:5:5;;;2228:30;;;;;;;;;;;;2187;;-1:-1:-1;2228:14:5;;;;;;:30;;;;;2187;;2228;;;;;;;;;;;:14;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;2228:30:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2228:30:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;2296:5:5;;2274:37;;;;;;;;-1:-1:-1;;;;;2296:5:5;;;;2274:37;;;;;;;;;2228:30;2274:37;;;340:1:3;;;1825:494:5;:::o;2510:212::-;-1:-1:-1;2567:4:5;;2510:212::o" + "srcmap": "180:295:13:-;;;338:134;8:9:-1;5:2;;;30:1;27;20:12;5:2;338:134:13;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;338:134:13;;;;;;;485:5:1;:18;;-1:-1:-1;;;;;;485:18:1;493:10;485:18;;;338:134:13;;-1:-1:-1;;;;;982:20:12;;;979:63;;1017:5;:14;;-1:-1:-1;;;;;;1017:14:12;-1:-1:-1;;;;;1017:14:12;;;;;979:63;1051:3;:10;;-1:-1:-1;;;;;1051:10:12;;;-1:-1:-1;;;;;;1051:10:12;;;;;;;;;-1:-1:-1;;;180:295:13;;;;;;", + "srcmap-runtime": "180:295:13:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;609:22:12;;8:9:-1;5:2;;;30:1;27;20:12;5:2;609:22:12;;;:::i;:::-;;;;-1:-1:-1;;;;;609:22:12;;;;;;;;;;;;;;1312:177;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1312:177:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1312:177:12;-1:-1:-1;;;;;1312:177:12;;:::i;:::-;;2765:215;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2765:215:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2765:215:12;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;890:119:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;890:119:1;;;:::i;344:28::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;344:28:1;;;:::i;781:102::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;781:102:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;781:102:1;-1:-1:-1;;;;;781:102:1;;:::i;516:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;516:31:1;;;:::i;1760:481:12:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1760:481:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1760:481:12;-1:-1:-1;;;;;1760:481:12;;:::i;2426:208::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2426:208:12;-1:-1:-1;;;;;2426:208:12;;:::i;609:22::-;;;-1:-1:-1;;;;;609:22:12;;:::o;1312:177::-;298:5:1;;-1:-1:-1;;;;;298:5:1;284:10;:19;276:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1398:3:12;;:36;;;;;;-1:-1:-1;;;;;1398:36:12;;;;;;;;;:3;;;;;:20;;:36;;;;;:3;;:36;;;;;;;:3;;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;1398:36:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;1449:33:12;;-1:-1:-1;;;;;1449:33:12;;;-1:-1:-1;1449:33:12;;-1:-1:-1;1449:33:12;;;1312:177;:::o;2765:215::-;2969:4;2765:215;;;;;:::o;890:119:1:-;952:8;;-1:-1:-1;;;;;952:8:1;938:10;:22;934:69;;;984:8;;;976:16;;-1:-1:-1;;976:16:1;-1:-1:-1;;;;;984:8:1;;;976:16;;;;;;934:69;890:119::o;344:28::-;;;-1:-1:-1;;;;;344:28:1;;:::o;781:102::-;298:5;;-1:-1:-1;;;;;298:5:1;284:10;:19;276:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;856:8;:20;;-1:-1:-1;;856:20:1;-1:-1:-1;;;;;856:20:1;;;;;;;;;;781:102::o;516:31::-;;;-1:-1:-1;;;;;516:31:1;;:::o;1760:481:12:-;298:5:1;;-1:-1:-1;;;;;298:5:1;284:10;:19;276:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1828:3:12;;:16;;;;;;;;1856:4;;-1:-1:-1;;;;;1828:3:12;;:14;;:16;;;;;;;;;;;;;;:3;:16;;;5:2:-1;;;;30:1;27;20:12;5:2;1828:16:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1828:16:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1828:16:12;-1:-1:-1;;;;;1828:33:12;;1824:87;;;1877:3;;:23;;;;;;-1:-1:-1;;;;;1877:23:12;;;;;;;;;:3;;;;;:15;;:23;;;;;:3;;:23;;;;;;;:3;;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;1877:23:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1877:23:12;;;;1824:87;-1:-1:-1;;;;;1924:20:12;;;1920:117;;;1968:5;;;1960:46;;-1:-1:-1;;;;;1968:5:12;;;;1992:4;1984:21;1960:46;;;;;1984:21;;1960:46;1968:5;1960:46;1984:21;1968:5;1960:46;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1960:46:12;2020:7;;1920:117;2112:30;;;;;;2136:4;2112:30;;;;;;2077:6;;2047:16;;-1:-1:-1;;;;;2112:15:12;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;2112:30:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2112:30:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2112:30:12;2167:5;;;2152:30;;;;;;-1:-1:-1;;;;;2167:5:12;;;2152:30;;;;;;;;;;;;2112;;-1:-1:-1;2152:14:12;;;;;;:30;;;;;2112;;2152;;;;;;;;;;;:14;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;2152:30:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2152:30:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;2219:5:12;;2197:37;;;;;;;;-1:-1:-1;;;;;2219:5:12;;;;2197:37;;;;;;;;;2152:30;2197:37;;;330:1:1;;;1760:481:12;:::o;2426:208::-;-1:-1:-1;2483:4:12;;2426:208::o" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\TestStatusNetwork.sol:TestStatusNetwork": { - "bin-runtime": "6080604052600436106100ec5760003560e060020a90048063a0712d681161008e578063da682aeb1161005d578063da682aeb146101ef578063df8de3e714610380578063f48c3054146103b3578063fcfff16f146103d9576100ec565b8063a0712d68146102d5578063a6f9dae1146102ff578063d3ce77fe14610332578063d4ee1d901461036b576100ec565b80636fdca5e0116100ca5780636fdca5e01461024657806379ba509714610272578063827f32c0146102875780638da5cb5b146102c0576100ec565b8063060eb5201461018b5780633cebb823146101bc5780634a393149146101ef575b3480156100f857600080fd5b5061018933600260009054906101000a9004600160a060020a0316600160a060020a031663313ce5676040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561014e57600080fd5b505afa158015610162573d6000803e3d6000fd5b505050506040513d602081101561017857600080fd5b505160ff16600a0a6103e8026103ee565b005b34801561019757600080fd5b506101a0610636565b60408051600160a060020a039092168252519081900360200190f35b3480156101c857600080fd5b50610189600480360360208110156101df57600080fd5b5035600160a060020a0316610645565b3480156101fb57600080fd5b506102326004803603606081101561021257600080fd5b50600160a060020a0381358116916020810135909116906040013561074b565b604080519115158252519081900360200190f35b34801561025257600080fd5b506101896004803603602081101561026957600080fd5b50351515610754565b34801561027e57600080fd5b506101896107e4565b34801561029357600080fd5b50610189600480360360408110156102aa57600080fd5b50600160a060020a038135169060200135610829565b3480156102cc57600080fd5b506101a0610837565b3480156102e157600080fd5b50610189600480360360208110156102f857600080fd5b5035610846565b34801561030b57600080fd5b506101896004803603602081101561032257600080fd5b5035600160a060020a0316610853565b34801561033e57600080fd5b506101896004803603604081101561035557600080fd5b50600160a060020a0381351690602001356108d2565b34801561037757600080fd5b506101a06109c1565b34801561038c57600080fd5b50610189600480360360208110156103a357600080fd5b5035600160a060020a03166109d0565b610232600480360360208110156103c957600080fd5b5035600160a060020a0316610d04565b3480156103e557600080fd5b50610232610d0a565b600054600160a060020a0316331480610421575060025474010000000000000000000000000000000000000000900460ff165b1515610477576040805160e560020a62461bcd02815260206004820152601260248201527f54657374204d696e742044697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600254604080517ff77c47910000000000000000000000000000000000000000000000000000000081529051600092600160a060020a03169163f77c4791916004808301926020929190829003018186803b1580156104d557600080fd5b505afa1580156104e9573d6000803e3d6000fd5b505050506040513d60208110156104ff57600080fd5b50519050600160a060020a0381163014156105b557600254604080517f827f32c0000000000000000000000000000000000000000000000000000000008152600160a060020a038681166004830152602482018690529151919092169163827f32c09160448083019260209291908290030181600087803b15801561058357600080fd5b505af1158015610597573d6000803e3d6000fd5b505050506040513d60208110156105ad57600080fd5b506106319050565b80600160a060020a031663827f32c084846040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050600060405180830381600087803b15801561061857600080fd5b505af115801561062c573d6000803e3d6000fd5b505050505b505050565b600254600160a060020a031681565b600054600160a060020a03163314610695576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b1580156106fc57600080fd5b505af1158015610710573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027c3e080ed9215f564a9455a666f7e459b3edc0bb6e02a1bf842fde4d0ccfc19150600090a250565b60019392505050565b600054600160a060020a031633146107a4576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b60028054911515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019909216919091179055565b600154600160a060020a0316331415610827576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b61083382826103ee565b5050565b600054600160a060020a031681565b61085033826103ee565b50565b600054600160a060020a031633146108a3576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a03163314610922576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517fd3ce77fe000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152602482018590529151919092169163d3ce77fe9160448083019260209291908290030181600087803b15801561099157600080fd5b505af11580156109a5573d6000803e3d6000fd5b505050506040513d60208110156109bb57600080fd5b50505050565b600154600160a060020a031681565b600054600160a060020a03163314610a20576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517ff77c479100000000000000000000000000000000000000000000000000000000815290513092600160a060020a03169163f77c4791916004808301926020929190829003018186803b158015610a7d57600080fd5b505afa158015610a91573d6000803e3d6000fd5b505050506040513d6020811015610aa757600080fd5b5051600160a060020a03161415610b3857600254604080517fdf8de3e7000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163df8de3e791602480830192600092919082900301818387803b158015610b1f57600080fd5b505af1158015610b33573d6000803e3d6000fd5b505050505b600160a060020a0381161515610b895760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610b83573d6000803e3d6000fd5b50610850565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b158015610bed57600080fd5b505afa158015610c01573d6000803e3d6000fd5b505050506040513d6020811015610c1757600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b158015610c8d57600080fd5b505af1158015610ca1573d6000803e3d6000fd5b505050506040513d6020811015610cb757600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a3505050565b50600090565b60025474010000000000000000000000000000000000000000900460ff168156fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820eb0f8ef019975555a9fab39beb56ccc12aa958fb70fe1154c6dfa9c976b10c7b0029", - "bin": "60806040526002805460a060020a60ff021916905534801561002057600080fd5b50604051604080610e368339810180604052604081101561004057600080fd5b50805160209091015160008054600160a060020a0319163317905581818181600160a060020a0382161561008a5760008054600160a060020a031916600160a060020a0384161790555b60028054600160a060020a03909216600160a060020a03199092169190911790555050505050610d77806100bf6000396000f3fe6080604052600436106100ec5760003560e060020a90048063a0712d681161008e578063da682aeb1161005d578063da682aeb146101ef578063df8de3e714610380578063f48c3054146103b3578063fcfff16f146103d9576100ec565b8063a0712d68146102d5578063a6f9dae1146102ff578063d3ce77fe14610332578063d4ee1d901461036b576100ec565b80636fdca5e0116100ca5780636fdca5e01461024657806379ba509714610272578063827f32c0146102875780638da5cb5b146102c0576100ec565b8063060eb5201461018b5780633cebb823146101bc5780634a393149146101ef575b3480156100f857600080fd5b5061018933600260009054906101000a9004600160a060020a0316600160a060020a031663313ce5676040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561014e57600080fd5b505afa158015610162573d6000803e3d6000fd5b505050506040513d602081101561017857600080fd5b505160ff16600a0a6103e8026103ee565b005b34801561019757600080fd5b506101a0610636565b60408051600160a060020a039092168252519081900360200190f35b3480156101c857600080fd5b50610189600480360360208110156101df57600080fd5b5035600160a060020a0316610645565b3480156101fb57600080fd5b506102326004803603606081101561021257600080fd5b50600160a060020a0381358116916020810135909116906040013561074b565b604080519115158252519081900360200190f35b34801561025257600080fd5b506101896004803603602081101561026957600080fd5b50351515610754565b34801561027e57600080fd5b506101896107e4565b34801561029357600080fd5b50610189600480360360408110156102aa57600080fd5b50600160a060020a038135169060200135610829565b3480156102cc57600080fd5b506101a0610837565b3480156102e157600080fd5b50610189600480360360208110156102f857600080fd5b5035610846565b34801561030b57600080fd5b506101896004803603602081101561032257600080fd5b5035600160a060020a0316610853565b34801561033e57600080fd5b506101896004803603604081101561035557600080fd5b50600160a060020a0381351690602001356108d2565b34801561037757600080fd5b506101a06109c1565b34801561038c57600080fd5b50610189600480360360208110156103a357600080fd5b5035600160a060020a03166109d0565b610232600480360360208110156103c957600080fd5b5035600160a060020a0316610d04565b3480156103e557600080fd5b50610232610d0a565b600054600160a060020a0316331480610421575060025474010000000000000000000000000000000000000000900460ff165b1515610477576040805160e560020a62461bcd02815260206004820152601260248201527f54657374204d696e742044697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600254604080517ff77c47910000000000000000000000000000000000000000000000000000000081529051600092600160a060020a03169163f77c4791916004808301926020929190829003018186803b1580156104d557600080fd5b505afa1580156104e9573d6000803e3d6000fd5b505050506040513d60208110156104ff57600080fd5b50519050600160a060020a0381163014156105b557600254604080517f827f32c0000000000000000000000000000000000000000000000000000000008152600160a060020a038681166004830152602482018690529151919092169163827f32c09160448083019260209291908290030181600087803b15801561058357600080fd5b505af1158015610597573d6000803e3d6000fd5b505050506040513d60208110156105ad57600080fd5b506106319050565b80600160a060020a031663827f32c084846040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050600060405180830381600087803b15801561061857600080fd5b505af115801561062c573d6000803e3d6000fd5b505050505b505050565b600254600160a060020a031681565b600054600160a060020a03163314610695576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b1580156106fc57600080fd5b505af1158015610710573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027c3e080ed9215f564a9455a666f7e459b3edc0bb6e02a1bf842fde4d0ccfc19150600090a250565b60019392505050565b600054600160a060020a031633146107a4576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b60028054911515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019909216919091179055565b600154600160a060020a0316331415610827576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b61083382826103ee565b5050565b600054600160a060020a031681565b61085033826103ee565b50565b600054600160a060020a031633146108a3576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a03163314610922576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517fd3ce77fe000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152602482018590529151919092169163d3ce77fe9160448083019260209291908290030181600087803b15801561099157600080fd5b505af11580156109a5573d6000803e3d6000fd5b505050506040513d60208110156109bb57600080fd5b50505050565b600154600160a060020a031681565b600054600160a060020a03163314610a20576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517ff77c479100000000000000000000000000000000000000000000000000000000815290513092600160a060020a03169163f77c4791916004808301926020929190829003018186803b158015610a7d57600080fd5b505afa158015610a91573d6000803e3d6000fd5b505050506040513d6020811015610aa757600080fd5b5051600160a060020a03161415610b3857600254604080517fdf8de3e7000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163df8de3e791602480830192600092919082900301818387803b158015610b1f57600080fd5b505af1158015610b33573d6000803e3d6000fd5b505050505b600160a060020a0381161515610b895760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610b83573d6000803e3d6000fd5b50610850565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b158015610bed57600080fd5b505afa158015610c01573d6000803e3d6000fd5b505050506040513d6020811015610c1757600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b158015610c8d57600080fd5b505af1158015610ca1573d6000803e3d6000fd5b505050506040513d6020811015610cb757600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a3505050565b50600090565b60025474010000000000000000000000000000000000000000900460ff168156fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820eb0f8ef019975555a9fab39beb56ccc12aa958fb70fe1154c6dfa9c976b10c7b0029", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/TestStatusNetwork.sol:TestStatusNetwork": { + "bin-runtime": "6080604052600436106100ec5760003560e060020a90048063a0712d681161008e578063da682aeb1161005d578063da682aeb146101ef578063df8de3e714610380578063f48c3054146103b3578063fcfff16f146103d9576100ec565b8063a0712d68146102d5578063a6f9dae1146102ff578063d3ce77fe14610332578063d4ee1d901461036b576100ec565b80636fdca5e0116100ca5780636fdca5e01461024657806379ba509714610272578063827f32c0146102875780638da5cb5b146102c0576100ec565b8063060eb5201461018b5780633cebb823146101bc5780634a393149146101ef575b3480156100f857600080fd5b5061018933600260009054906101000a9004600160a060020a0316600160a060020a031663313ce5676040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561014e57600080fd5b505afa158015610162573d6000803e3d6000fd5b505050506040513d602081101561017857600080fd5b505160ff16600a0a6103e8026103ee565b005b34801561019757600080fd5b506101a0610636565b60408051600160a060020a039092168252519081900360200190f35b3480156101c857600080fd5b50610189600480360360208110156101df57600080fd5b5035600160a060020a0316610645565b3480156101fb57600080fd5b506102326004803603606081101561021257600080fd5b50600160a060020a0381358116916020810135909116906040013561074b565b604080519115158252519081900360200190f35b34801561025257600080fd5b506101896004803603602081101561026957600080fd5b50351515610754565b34801561027e57600080fd5b506101896107e4565b34801561029357600080fd5b50610189600480360360408110156102aa57600080fd5b50600160a060020a038135169060200135610829565b3480156102cc57600080fd5b506101a0610837565b3480156102e157600080fd5b50610189600480360360208110156102f857600080fd5b5035610846565b34801561030b57600080fd5b506101896004803603602081101561032257600080fd5b5035600160a060020a0316610853565b34801561033e57600080fd5b506101896004803603604081101561035557600080fd5b50600160a060020a0381351690602001356108d2565b34801561037757600080fd5b506101a06109c1565b34801561038c57600080fd5b50610189600480360360208110156103a357600080fd5b5035600160a060020a03166109d0565b610232600480360360208110156103c957600080fd5b5035600160a060020a0316610d04565b3480156103e557600080fd5b50610232610d0a565b600054600160a060020a0316331480610421575060025474010000000000000000000000000000000000000000900460ff165b1515610477576040805160e560020a62461bcd02815260206004820152601260248201527f54657374204d696e742044697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600254604080517ff77c47910000000000000000000000000000000000000000000000000000000081529051600092600160a060020a03169163f77c4791916004808301926020929190829003018186803b1580156104d557600080fd5b505afa1580156104e9573d6000803e3d6000fd5b505050506040513d60208110156104ff57600080fd5b50519050600160a060020a0381163014156105b557600254604080517f827f32c0000000000000000000000000000000000000000000000000000000008152600160a060020a038681166004830152602482018690529151919092169163827f32c09160448083019260209291908290030181600087803b15801561058357600080fd5b505af1158015610597573d6000803e3d6000fd5b505050506040513d60208110156105ad57600080fd5b506106319050565b80600160a060020a031663827f32c084846040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050600060405180830381600087803b15801561061857600080fd5b505af115801561062c573d6000803e3d6000fd5b505050505b505050565b600254600160a060020a031681565b600054600160a060020a03163314610695576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b1580156106fc57600080fd5b505af1158015610710573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027c3e080ed9215f564a9455a666f7e459b3edc0bb6e02a1bf842fde4d0ccfc19150600090a250565b60019392505050565b600054600160a060020a031633146107a4576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b60028054911515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019909216919091179055565b600154600160a060020a0316331415610827576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b61083382826103ee565b5050565b600054600160a060020a031681565b61085033826103ee565b50565b600054600160a060020a031633146108a3576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a03163314610922576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517fd3ce77fe000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152602482018590529151919092169163d3ce77fe9160448083019260209291908290030181600087803b15801561099157600080fd5b505af11580156109a5573d6000803e3d6000fd5b505050506040513d60208110156109bb57600080fd5b50505050565b600154600160a060020a031681565b600054600160a060020a03163314610a20576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517ff77c479100000000000000000000000000000000000000000000000000000000815290513092600160a060020a03169163f77c4791916004808301926020929190829003018186803b158015610a7d57600080fd5b505afa158015610a91573d6000803e3d6000fd5b505050506040513d6020811015610aa757600080fd5b5051600160a060020a03161415610b3857600254604080517fdf8de3e7000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163df8de3e791602480830192600092919082900301818387803b158015610b1f57600080fd5b505af1158015610b33573d6000803e3d6000fd5b505050505b600160a060020a0381161515610b895760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610b83573d6000803e3d6000fd5b50610850565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b158015610bed57600080fd5b505afa158015610c01573d6000803e3d6000fd5b505050506040513d6020811015610c1757600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b158015610c8d57600080fd5b505af1158015610ca1573d6000803e3d6000fd5b505050506040513d6020811015610cb757600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a3505050565b50600090565b60025474010000000000000000000000000000000000000000900460ff168156fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058202a2aafea742092afe2796fc0179bb5fbad3bc914229e33d5eb598ccf53dacf190029", + "bin": "60806040526002805460a060020a60ff021916905534801561002057600080fd5b50604051604080610e368339810180604052604081101561004057600080fd5b50805160209091015160008054600160a060020a0319163317905581818181600160a060020a0382161561008a5760008054600160a060020a031916600160a060020a0384161790555b60028054600160a060020a03909216600160a060020a03199092169190911790555050505050610d77806100bf6000396000f3fe6080604052600436106100ec5760003560e060020a90048063a0712d681161008e578063da682aeb1161005d578063da682aeb146101ef578063df8de3e714610380578063f48c3054146103b3578063fcfff16f146103d9576100ec565b8063a0712d68146102d5578063a6f9dae1146102ff578063d3ce77fe14610332578063d4ee1d901461036b576100ec565b80636fdca5e0116100ca5780636fdca5e01461024657806379ba509714610272578063827f32c0146102875780638da5cb5b146102c0576100ec565b8063060eb5201461018b5780633cebb823146101bc5780634a393149146101ef575b3480156100f857600080fd5b5061018933600260009054906101000a9004600160a060020a0316600160a060020a031663313ce5676040518163ffffffff1660e060020a02815260040160206040518083038186803b15801561014e57600080fd5b505afa158015610162573d6000803e3d6000fd5b505050506040513d602081101561017857600080fd5b505160ff16600a0a6103e8026103ee565b005b34801561019757600080fd5b506101a0610636565b60408051600160a060020a039092168252519081900360200190f35b3480156101c857600080fd5b50610189600480360360208110156101df57600080fd5b5035600160a060020a0316610645565b3480156101fb57600080fd5b506102326004803603606081101561021257600080fd5b50600160a060020a0381358116916020810135909116906040013561074b565b604080519115158252519081900360200190f35b34801561025257600080fd5b506101896004803603602081101561026957600080fd5b50351515610754565b34801561027e57600080fd5b506101896107e4565b34801561029357600080fd5b50610189600480360360408110156102aa57600080fd5b50600160a060020a038135169060200135610829565b3480156102cc57600080fd5b506101a0610837565b3480156102e157600080fd5b50610189600480360360208110156102f857600080fd5b5035610846565b34801561030b57600080fd5b506101896004803603602081101561032257600080fd5b5035600160a060020a0316610853565b34801561033e57600080fd5b506101896004803603604081101561035557600080fd5b50600160a060020a0381351690602001356108d2565b34801561037757600080fd5b506101a06109c1565b34801561038c57600080fd5b50610189600480360360208110156103a357600080fd5b5035600160a060020a03166109d0565b610232600480360360208110156103c957600080fd5b5035600160a060020a0316610d04565b3480156103e557600080fd5b50610232610d0a565b600054600160a060020a0316331480610421575060025474010000000000000000000000000000000000000000900460ff165b1515610477576040805160e560020a62461bcd02815260206004820152601260248201527f54657374204d696e742044697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600254604080517ff77c47910000000000000000000000000000000000000000000000000000000081529051600092600160a060020a03169163f77c4791916004808301926020929190829003018186803b1580156104d557600080fd5b505afa1580156104e9573d6000803e3d6000fd5b505050506040513d60208110156104ff57600080fd5b50519050600160a060020a0381163014156105b557600254604080517f827f32c0000000000000000000000000000000000000000000000000000000008152600160a060020a038681166004830152602482018690529151919092169163827f32c09160448083019260209291908290030181600087803b15801561058357600080fd5b505af1158015610597573d6000803e3d6000fd5b505050506040513d60208110156105ad57600080fd5b506106319050565b80600160a060020a031663827f32c084846040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050600060405180830381600087803b15801561061857600080fd5b505af115801561062c573d6000803e3d6000fd5b505050505b505050565b600254600160a060020a031681565b600054600160a060020a03163314610695576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633cebb82391602480830192600092919082900301818387803b1580156106fc57600080fd5b505af1158015610710573d6000803e3d6000fd5b5050604051600160a060020a03841692507f027c3e080ed9215f564a9455a666f7e459b3edc0bb6e02a1bf842fde4d0ccfc19150600090a250565b60019392505050565b600054600160a060020a031633146107a4576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b60028054911515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019909216919091179055565b600154600160a060020a0316331415610827576001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b565b61083382826103ee565b5050565b600054600160a060020a031681565b61085033826103ee565b50565b600054600160a060020a031633146108a3576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a03163314610922576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517fd3ce77fe000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152602482018590529151919092169163d3ce77fe9160448083019260209291908290030181600087803b15801561099157600080fd5b505af11580156109a5573d6000803e3d6000fd5b505050506040513d60208110156109bb57600080fd5b50505050565b600154600160a060020a031681565b600054600160a060020a03163314610a20576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020610d2c833981519152604482015290519081900360640190fd5b600254604080517ff77c479100000000000000000000000000000000000000000000000000000000815290513092600160a060020a03169163f77c4791916004808301926020929190829003018186803b158015610a7d57600080fd5b505afa158015610a91573d6000803e3d6000fd5b505050506040513d6020811015610aa757600080fd5b5051600160a060020a03161415610b3857600254604080517fdf8de3e7000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163df8de3e791602480830192600092919082900301818387803b158015610b1f57600080fd5b505af1158015610b33573d6000803e3d6000fd5b505050505b600160a060020a0381161515610b895760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015610b83573d6000803e3d6000fd5b50610850565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b158015610bed57600080fd5b505afa158015610c01573d6000803e3d6000fd5b505050506040513d6020811015610c1757600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b158015610c8d57600080fd5b505af1158015610ca1573d6000803e3d6000fd5b505050506040513d6020811015610cb757600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a3505050565b50600090565b60025474010000000000000000000000000000000000000000900460ff168156fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058202a2aafea742092afe2796fc0179bb5fbad3bc914229e33d5eb598ccf53dacf190029", "abi": [ { "constant": true, @@ -128884,12 +77010,12 @@ "type": "event" } ], - "srcmap": "308:1225:22:-;;;359:24;;;-1:-1:-1;;;;;;359:24:22;;;501:112;5:2:-1;;;;30:1;27;20:12;5:2;501:112:22;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;501:112:22;;;;;;;502:5:3;:18;;-1:-1:-1;;;;;;502:18:3;510:10;502:18;;;501:112:22;;;;-1:-1:-1;;;;;1026:20:5;;;1023:65;;1062:5;:14;;-1:-1:-1;;;;;;1062:14:5;-1:-1:-1;;;;;1062:14:5;;;;;1023:65;1098:3;:10;;-1:-1:-1;;;;;1098:10:5;;;-1:-1:-1;;;;;;1098:10:5;;;;;;;;;-1:-1:-1;;;;;308:1225:22;;;;;;", - "srcmap-runtime": "308:1225:22:-;;;;;;;;;;-1:-1:-1;;;308:1225:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;308:1225:22;650:64;666:10;697:3;;;;;;;;;-1:-1:-1;;;;;697:3:22;-1:-1:-1;;;;;697:12:22;;:14;;;;;-1:-1:-1;;;697:14:22;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;697:14:22;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;697:14:22;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;697:14:22;692:20;;686:2;:26;678:4;:35;650:15;:64::i;:::-;308:1225;642:22:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;642:22:5;;;:::i;:::-;;;;-1:-1:-1;;;;;642:22:5;;;;;;;;;;;;;;1366:180;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1366:180:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1366:180:5;-1:-1:-1;;;;;1366:180:5;;:::i;2859:219::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2859:219:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2859:219:5;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1065:77:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1065:77:22;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1065:77:22;;;;:::i;920:123:3:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;920:123:3;;;:::i;826:108:22:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;826:108:22;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;826:108:22;;;;;;;;:::i;357:28:3:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;357:28:3;;;:::i;727:93:22:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;727:93:22;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;727:93:22;;:::i;806:104:3:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;806:104:3;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;806:104:3;-1:-1:-1;;;;;806:104:3;;:::i;940:119:22:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;940:119:22;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;940:119:22;;;;;;;;:::i;536:31:3:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;536:31:3;;;:::i;1825:494:5:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1825:494:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1825:494:5;-1:-1:-1;;;;;1825:494:5;;:::i;2510:212::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2510:212:5;-1:-1:-1;;;;;2510:212:5;;:::i;359:24:22:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;359:24:22;;;:::i;1148:381::-;1241:5;;-1:-1:-1;;;;;1241:5:22;1227:10;:19;;:27;;-1:-1:-1;1250:4:22;;;;;;;1227:27;1219:58;;;;;;;-1:-1:-1;;;;;1219:58:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;1311:3;;:16;;;;;;;;1287:21;;-1:-1:-1;;;;;1311:3:22;;:14;;:16;;;;;;;;;;;;;;:3;:16;;;5:2:-1;;;;30:1;27;20:12;5:2;1311:16:22;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1311:16:22;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1311:16:22;;-1:-1:-1;;;;;;1340:30:22;;1365:4;1340:30;1337:185;;;1385:3;;:33;;;;;;-1:-1:-1;;;;;1385:33:22;;;;;;;;;;;;;;;:3;;;;;:18;;:33;;;;;;;;;;;;;;:3;;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;1385:33:22;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1385:33:22;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1337:185:22;;-1:-1:-1;1337:185:22;;1467:13;-1:-1:-1;;;;;1449:47:22;;1497:4;1503:7;1449:62;;;;;-1:-1:-1;;;1449:62:22;;;;;;;-1:-1:-1;;;;;1449:62:22;-1:-1:-1;;;;;1449:62:22;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1449:62:22;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1449:62:22;;;;1337:185;1148:381;;;:::o;642:22:5:-;;;-1:-1:-1;;;;;642:22:5;;:::o;1366:180::-;307:5:3;;-1:-1:-1;;;;;307:5:3;293:10;:19;285:44;;;;;-1:-1:-1;;;;;285:44:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;285:44:3;;;;;;;;;;;;;;;1453:3:5;;:36;;;;;;-1:-1:-1;;;;;1453:36:5;;;;;;;;;:3;;;;;:20;;:36;;;;;:3;;:36;;;;;;;:3;;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;1453:36:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;1505:33:5;;-1:-1:-1;;;;;1505:33:5;;;-1:-1:-1;1505:33:5;;-1:-1:-1;1505:33:5;;;1366:180;:::o;2859:219::-;3066:4;2859:219;;;;;:::o;1065:77:22:-;307:5:3;;-1:-1:-1;;;;;307:5:3;293:10;:19;285:44;;;;;-1:-1:-1;;;;;285:44:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;285:44:3;;;;;;;;;;;;;;;1123:4:22;:12;;;;;;;-1:-1:-1;;1123:12:22;;;;;;;;;1065:77::o;920:123:3:-;983:8;;-1:-1:-1;;;;;983:8:3;969:10;:22;965:71;;;1016:8;;;1008:16;;-1:-1:-1;;1008:16:3;-1:-1:-1;;;;;1016:8:3;;;1008:16;;;;;;965:71;920:123::o;826:108:22:-;897:30;913:4;919:7;897:15;:30::i;:::-;826:108;;:::o;357:28:3:-;;;-1:-1:-1;;;;;357:28:3;;:::o;727:93:22:-;777:36;793:10;805:7;777:15;:36::i;:::-;727:93;:::o;806:104:3:-;307:5;;-1:-1:-1;;;;;307:5:3;293:10;:19;285:44;;;;;-1:-1:-1;;;;;285:44:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;285:44:3;;;;;;;;;;;;;;;882:8;:20;;-1:-1:-1;;882:20:3;-1:-1:-1;;;;;882:20:3;;;;;;;;;;806:104::o;940:119:22:-;307:5:3;;-1:-1:-1;;;;;307:5:3;293:10;:19;285:44;;;;;-1:-1:-1;;;;;285:44:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;285:44:3;;;;;;;;;;;;;;;1020:3:22;;:32;;;;;;-1:-1:-1;;;;;1020:32:22;;;;;;;;;;;;;;;:3;;;;;:17;;:32;;;;;;;;;;;;;;:3;;:32;;;5:2:-1;;;;30:1;27;20:12;5:2;1020:32:22;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1020:32:22;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;940:119:22:o;536:31:3:-;;;-1:-1:-1;;;;;536:31:3;;:::o;1825:494:5:-;307:5:3;;-1:-1:-1;;;;;307:5:3;293:10;:19;285:44;;;;;-1:-1:-1;;;;;285:44:3;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;285:44:3;;;;;;;;;;;;;;;1894:3:5;;:16;;;;;;;;1922:4;;-1:-1:-1;;;;;1894:3:5;;:14;;:16;;;;;;;;;;;;;;:3;:16;;;5:2:-1;;;;30:1;27;20:12;5:2;1894:16:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1894:16:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1894:16:5;-1:-1:-1;;;;;1894:33:5;;1890:89;;;1944:3;;:23;;;;;;-1:-1:-1;;;;;1944:23:5;;;;;;;;;:3;;;;;:15;;:23;;;;;:3;;:23;;;;;;;:3;;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;1944:23:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1944:23:5;;;;1890:89;-1:-1:-1;;;;;1993:20:5;;;1989:120;;;2038:5;;;2030:46;;-1:-1:-1;;;;;2038:5:5;;;;2062:4;2054:21;2030:46;;;;;2054:21;;2030:46;2038:5;2030:46;2054:21;2038:5;2030:46;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2030:46:5;2091:7;;1989:120;2187:30;;;;;;2211:4;2187:30;;;;;;2151:6;;2121:16;;-1:-1:-1;;;;;2187:15:5;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;2187:30:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2187:30:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2187:30:5;2243:5;;;2228:30;;;;;;-1:-1:-1;;;;;2243:5:5;;;2228:30;;;;;;;;;;;;2187;;-1:-1:-1;2228:14:5;;;;;;:30;;;;;2187;;2228;;;;;;;;;;;:14;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;2228:30:5;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2228:30:5;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;2296:5:5;;2274:37;;;;;;;;-1:-1:-1;;;;;2296:5:5;;;;2274:37;;;;;;;;;2228:30;2274:37;;;340:1:3;;1825:494:5;:::o;2510:212::-;-1:-1:-1;2567:4:5;;2510:212::o;359:24:22:-;;;;;;;;;:::o" + "srcmap": "303:1225:14:-;;;354:24;;;-1:-1:-1;;;;;;354:24:14;;;496:112;5:2:-1;;;;30:1;27;20:12;5:2;496:112:14;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;496:112:14;;;;;;;485:5:1;:18;;-1:-1:-1;;;;;;485:18:1;493:10;485:18;;;496:112:14;;;;-1:-1:-1;;;;;982:20:12;;;979:63;;1017:5;:14;;-1:-1:-1;;;;;;1017:14:12;-1:-1:-1;;;;;1017:14:12;;;;;979:63;1051:3;:10;;-1:-1:-1;;;;;1051:10:12;;;-1:-1:-1;;;;;;1051:10:12;;;;;;;;;-1:-1:-1;;;;;303:1225:14;;;;;;", + "srcmap-runtime": "303:1225:14:-;;;;;;;;;;-1:-1:-1;;;303:1225:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;303:1225:14;645:64;661:10;692:3;;;;;;;;;-1:-1:-1;;;;;692:3:14;-1:-1:-1;;;;;692:12:14;;:14;;;;;-1:-1:-1;;;692:14:14;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;692:14:14;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;692:14:14;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;692:14:14;687:20;;681:2;:26;673:4;:35;645:15;:64::i;:::-;303:1225;609:22:12;;8:9:-1;5:2;;;30:1;27;20:12;5:2;609:22:12;;;:::i;:::-;;;;-1:-1:-1;;;;;609:22:12;;;;;;;;;;;;;;1312:177;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1312:177:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1312:177:12;-1:-1:-1;;;;;1312:177:12;;:::i;2765:215::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2765:215:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2765:215:12;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1060:77:14;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1060:77:14;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1060:77:14;;;;:::i;890:119:1:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;890:119:1;;;:::i;821:108:14:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;821:108:14;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;821:108:14;;;;;;;;:::i;344:28:1:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;344:28:1;;;:::i;722:93:14:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;722:93:14;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;722:93:14;;:::i;781:102:1:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;781:102:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;781:102:1;-1:-1:-1;;;;;781:102:1;;:::i;935:119:14:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;935:119:14;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;935:119:14;;;;;;;;:::i;516:31:1:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;516:31:1;;;:::i;1760:481:12:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1760:481:12;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1760:481:12;-1:-1:-1;;;;;1760:481:12;;:::i;2426:208::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2426:208:12;-1:-1:-1;;;;;2426:208:12;;:::i;354:24:14:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;354:24:14;;;:::i;1143:381::-;1236:5;;-1:-1:-1;;;;;1236:5:14;1222:10;:19;;:27;;-1:-1:-1;1245:4:14;;;;;;;1222:27;1214:58;;;;;;;-1:-1:-1;;;;;1214:58:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;1306:3;;:16;;;;;;;;1282:21;;-1:-1:-1;;;;;1306:3:14;;:14;;:16;;;;;;;;;;;;;;:3;:16;;;5:2:-1;;;;30:1;27;20:12;5:2;1306:16:14;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1306:16:14;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1306:16:14;;-1:-1:-1;;;;;;1335:30:14;;1360:4;1335:30;1332:185;;;1380:3;;:33;;;;;;-1:-1:-1;;;;;1380:33:14;;;;;;;;;;;;;;;:3;;;;;:18;;:33;;;;;;;;;;;;;;:3;;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;1380:33:14;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1380:33:14;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1332:185:14;;-1:-1:-1;1332:185:14;;1462:13;-1:-1:-1;;;;;1444:47:14;;1492:4;1498:7;1444:62;;;;;-1:-1:-1;;;1444:62:14;;;;;;;-1:-1:-1;;;;;1444:62:14;-1:-1:-1;;;;;1444:62:14;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1444:62:14;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1444:62:14;;;;1332:185;1143:381;;;:::o;609:22:12:-;;;-1:-1:-1;;;;;609:22:12;;:::o;1312:177::-;298:5:1;;-1:-1:-1;;;;;298:5:1;284:10;:19;276:44;;;;;-1:-1:-1;;;;;276:44:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;276:44:1;;;;;;;;;;;;;;;1398:3:12;;:36;;;;;;-1:-1:-1;;;;;1398:36:12;;;;;;;;;:3;;;;;:20;;:36;;;;;:3;;:36;;;;;;;:3;;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;1398:36:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;1449:33:12;;-1:-1:-1;;;;;1449:33:12;;;-1:-1:-1;1449:33:12;;-1:-1:-1;1449:33:12;;;1312:177;:::o;2765:215::-;2969:4;2765:215;;;;;:::o;1060:77:14:-;298:5:1;;-1:-1:-1;;;;;298:5:1;284:10;:19;276:44;;;;;-1:-1:-1;;;;;276:44:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;276:44:1;;;;;;;;;;;;;;;1118:4:14;:12;;;;;;;-1:-1:-1;;1118:12:14;;;;;;;;;1060:77::o;890:119:1:-;952:8;;-1:-1:-1;;;;;952:8:1;938:10;:22;934:69;;;984:8;;;976:16;;-1:-1:-1;;976:16:1;-1:-1:-1;;;;;984:8:1;;;976:16;;;;;;934:69;890:119::o;821:108:14:-;892:30;908:4;914:7;892:15;:30::i;:::-;821:108;;:::o;344:28:1:-;;;-1:-1:-1;;;;;344:28:1;;:::o;722:93:14:-;772:36;788:10;800:7;772:15;:36::i;:::-;722:93;:::o;781:102:1:-;298:5;;-1:-1:-1;;;;;298:5:1;284:10;:19;276:44;;;;;-1:-1:-1;;;;;276:44:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;276:44:1;;;;;;;;;;;;;;;856:8;:20;;-1:-1:-1;;856:20:1;-1:-1:-1;;;;;856:20:1;;;;;;;;;;781:102::o;935:119:14:-;298:5:1;;-1:-1:-1;;;;;298:5:1;284:10;:19;276:44;;;;;-1:-1:-1;;;;;276:44:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;276:44:1;;;;;;;;;;;;;;;1015:3:14;;:32;;;;;;-1:-1:-1;;;;;1015:32:14;;;;;;;;;;;;;;;:3;;;;;:17;;:32;;;;;;;;;;;;;;:3;;:32;;;5:2:-1;;;;30:1;27;20:12;5:2;1015:32:14;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1015:32:14;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;935:119:14:o;516:31:1:-;;;-1:-1:-1;;;;;516:31:1;;:::o;1760:481:12:-;298:5:1;;-1:-1:-1;;;;;298:5:1;284:10;:19;276:44;;;;;-1:-1:-1;;;;;276:44:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;276:44:1;;;;;;;;;;;;;;;1828:3:12;;:16;;;;;;;;1856:4;;-1:-1:-1;;;;;1828:3:12;;:14;;:16;;;;;;;;;;;;;;:3;:16;;;5:2:-1;;;;30:1;27;20:12;5:2;1828:16:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1828:16:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1828:16:12;-1:-1:-1;;;;;1828:33:12;;1824:87;;;1877:3;;:23;;;;;;-1:-1:-1;;;;;1877:23:12;;;;;;;;;:3;;;;;:15;;:23;;;;;:3;;:23;;;;;;;:3;;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;1877:23:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1877:23:12;;;;1824:87;-1:-1:-1;;;;;1924:20:12;;;1920:117;;;1968:5;;;1960:46;;-1:-1:-1;;;;;1968:5:12;;;;1992:4;1984:21;1960:46;;;;;1984:21;;1960:46;1968:5;1960:46;1984:21;1968:5;1960:46;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1960:46:12;2020:7;;1920:117;2112:30;;;;;;2136:4;2112:30;;;;;;2077:6;;2047:16;;-1:-1:-1;;;;;2112:15:12;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;2112:30:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2112:30:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2112:30:12;2167:5;;;2152:30;;;;;;-1:-1:-1;;;;;2167:5:12;;;2152:30;;;;;;;;;;;;2112;;-1:-1:-1;2152:14:12;;;;;;:30;;;;;2112;;2152;;;;;;;;;;;:14;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;2152:30:12;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2152:30:12;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;2219:5:12;;2197:37;;;;;;;;-1:-1:-1;;;;;2219:5:12;;;;2197:37;;;;;;;;;2152:30;2197:37;;;330:1:1;;1760:481:12;:::o;2426:208::-;-1:-1:-1;2483:4:12;;2426:208::o;354:24:14:-;;;;;;;;;:::o" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\sticker-market\\StickerMarket.sol:StickerMarket": { - "bin-runtime": "608060405234801561001057600080fd5b506004361061026c5760003560e060020a9004806392be2ab811610155578063b7f48211116100c7578063df8de3e71161008b578063df8de3e714610d50578063e8bb714314610d76578063e985e9c514610da3578063ea66aeb314610dd1578063f77c479114610df7578063fadb10e614610dff5761026c565b8063b7f4821114610a95578063b84c139214610aba578063b88d4fde14610b88578063c19d93fb14610c18578063d2bf36c014610c445761026c565b8063a22cb46511610119578063a22cb46514610898578063a546af4c146108c6578063aeeaf3da146108e3578063b09afec114610910578063b34b5825146109f1578063b5420d6814610a685761026c565b806392be2ab8146107d65780639389c5b5146107f35780639c3a39a21461081c5780639f181b5e146108695780639f9a9b63146108715761026c565b80633cebb823116101ee5780636352211e116101b25780636352211e146106355780636a8479811461065257806370a08231146106c957806386a7413c146106ef5780638f4ffcb11461071b5780639134709e146107aa5761026c565b80633cebb823146104d657806342842e0e146104fc5780634c06dc1714610532578063536b04451461060d57806361bd67251461062d5761026c565b806312d025021161023557806312d025021461033e578063188b53721461042b578063189d165e1461045757806323b872dd146104745780632f745c59146104aa5761026c565b8062b3c91b1461027157806301ffc9a714610296578063060eb520146102d1578063081812fc146102f5578063095ea7b314610312575b600080fd5b6102946004803603604081101561028757600080fd5b5080359060200135610e2b565b005b6102bd600480360360208110156102ac57600080fd5b5035600160e060020a031916611066565b604080519115158252519081900360200190f35b6102d9611085565b60408051600160a060020a039092168252519081900360200190f35b6102d96004803603602081101561030b57600080fd5b5035611094565b6102946004803603604081101561032857600080fd5b50600160a060020a038135169060200135611111565b610419600480360360a081101561035457600080fd5b81359160208101359181019060608101604082013564010000000081111561037b57600080fd5b82018360208201111561038d57600080fd5b803590602001918460208302840111640100000000831117156103af57600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156103da57600080fd5b8201836020820111156103ec57600080fd5b8035906020019184600183028401116401000000008311171561040e57600080fd5b509092509050611257565b60408051918252519081900360200190f35b6104196004803603604081101561044157600080fd5b50600160a060020a0381351690602001356112db565b6102946004803603602081101561046d57600080fd5b503561133f565b6102946004803603606081101561048a57600080fd5b50600160a060020a03813581169160208101359091169060400135611424565b610419600480360360408110156104c057600080fd5b50600160a060020a0381351690602001356114f3565b610294600480360360208110156104ec57600080fd5b5035600160a060020a0316611599565b6102946004803603606081101561051257600080fd5b50600160a060020a03813581169160208101359091169060400135611618565b610419600480360360a081101561054857600080fd5b81359160208101359181019060608101604082013564010000000081111561056f57600080fd5b82018360208201111561058157600080fd5b803590602001918460208302840111640100000000831117156105a357600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156105ce57600080fd5b8201836020820111156105e057600080fd5b8035906020019184600183028401116401000000008311171561060257600080fd5b50909250905061186b565b6102946004803603602081101561062357600080fd5b503560ff16611931565b6104196119e7565b6102d96004803603602081101561064b57600080fd5b50356119ed565b6102946004803603604081101561066857600080fd5b8135919081019060408101602082013564010000000081111561068a57600080fd5b82018360208201111561069c57600080fd5b803590602001918460018302840111640100000000831117156106be57600080fd5b5090925090506119f8565b610419600480360360208110156106df57600080fd5b5035600160a060020a0316611a6a565b6102946004803603604081101561070557600080fd5b5080359060200135600160a060020a0316611ae8565b6102946004803603608081101561073157600080fd5b600160a060020a03823581169260208101359260408201359092169181019060808101606082013564010000000081111561076b57600080fd5b82018360208201111561077d57600080fd5b8035906020019184600183028401116401000000008311171561079f57600080fd5b509092509050611bee565b610419600480360360408110156107c057600080fd5b5080359060200135600160a060020a0316611ff0565b610294600480360360208110156107ec57600080fd5b5035611ffd565b6102946004803603606081101561080957600080fd5b5080359060208101359060400135612088565b6108396004803603602081101561083257600080fd5b50356121b1565b60408051600160a060020a0390951685529215156020850152838301919091526060830152519081900360800190f35b61041961235c565b6104196004803603602081101561088757600080fd5b5035600160e060020a031916612362565b610294600480360360408110156108ae57600080fd5b50600160a060020a038135169060200135151561237e565b610419600480360360208110156108dc57600080fd5b503561243b565b610294600480360360408110156108f957600080fd5b5080359060200135600160e060020a03191661244d565b61092d6004803603602081101561092657600080fd5b5035612523565b604051808060200184815260200180602001838103835286818151815260200191508051906020019060200280838360005b8381101561097757818101518382015260200161095f565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156109b357818101518382015260200161099b565b50505050905090810190601f1680156109e05780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b610a1860048036036020811015610a0757600080fd5b5035600160e060020a031916612554565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610a54578181015183820152602001610a3c565b505050509050019250505060405180910390f35b61041960048036036040811015610a7e57600080fd5b50600160e060020a031981351690602001356125c1565b61029460048036036040811015610aab57600080fd5b508035906020013515156125e6565b610ad760048036036020811015610ad057600080fd5b50356126ed565b6040518087600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b48578181015183820152602001610b30565b50505050905090810190601f168015610b755780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b61029460048036036080811015610b9e57600080fd5b600160a060020a03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610bd957600080fd5b820183602082011115610beb57600080fd5b80359060200191846001830284011164010000000083111715610c0d57600080fd5b5090925090506127c3565b610c20612a40565b60405180826004811115610c3057fe5b60ff16815260200191505060405180910390f35b610c6160048036036020811015610c5a57600080fd5b5035612a49565b604051808060200187600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200180602001838103835289818151815260200191508051906020019060200280838360005b83811015610cd3578181015183820152602001610cbb565b50505050905001838103825284818151815260200191508051906020019080838360005b83811015610d0f578181015183820152602001610cf7565b50505050905090810190601f168015610d3c5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b61029460048036036020811015610d6657600080fd5b5035600160a060020a0316612c05565b61029460048036036040811015610d8c57600080fd5b5080359060200135600160e060020a031916612e22565b6102bd60048036036040811015610db957600080fd5b50600160a060020a0381358116916020013516612ef3565b610a1860048036036020811015610de757600080fd5b5035600160a060020a0316612f21565b6102d9612f8b565b6102bd60048036036040811015610e1557600080fd5b5080359060200135600160a060020a0316612f9a565b600054600160a060020a03163314610e7b576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000828152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610f0157602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411610ec05790505b5050505050905060008260001415610f1b57508051610f77565b8151831115610f74576040805160e560020a62461bcd02815260206004820152600960248201527f426164206c696d69740000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50815b81516000811115610f8757600019015b60005b82811015610fbd57610fb58685838503815181101515610fa657fe5b90602001906020020151612fbe565b600101610f8a565b506000858152600b6020526040902054151561105f576000858152600b6020526040812090610fec828261460d565b60018201805474ffffffffffffffffffffffffffffffffffffffffff191690556000600283018190556003830181905560048301819055611031906005840190614632565b505060405185907f98f986773731debbbf041b73d7edaec62da3ff42b2116c45cd0001fb40ed908690600090a25b5050505050565b600160e060020a03191660009081526001602052604090205460ff1690565b600a54600160a060020a031681565b600061109f8261330a565b15156110f5576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600090815260036020526040902054600160a060020a031690565b600061111c82613327565b9050600160a060020a038381169082161415611170576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b33600160a060020a03821614806111aa5750600160a060020a038116600090815260066020908152604080832033845290915290205460ff165b15156111ee576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600082815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006112cf3387878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93508e92508d918a908a908190840183828082843760009201919091525061339692505050565b98975050505050505050565b60008054600160a060020a0316331461132c576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6113368383613582565b90505b92915050565b600054600160a060020a0316331461138f576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b60098190556127108111156113ee576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e6e6f74206265206d6f7265207468656e203130302e3030250000000000604482015290519081900360640190fd5b6040805182815290517f59701ed6f46ff3f5c94b1b741d5b3f2968eb7a0ae31d2cf2a3a9f2153d18b5149181900360200190a150565b8033600061143183613327565b905080600160a060020a031682600160a060020a0316148061146c5750600083815260036020526040902054600160a060020a038381169116145b8061149c5750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b15156114e0576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6114eb8686866135a8565b505050505050565b600160a060020a0382166000908152600460205260408120548210611562576040805160e560020a62461bcd02815260206004820152601360248201527f496e646578206f7574206f6620626f756e647300000000000000000000000000604482015290519081900360640190fd5b600160a060020a038316600090815260046020526040902080548390811061158657fe5b9060005260206000200154905092915050565b600054600160a060020a031633146115e9576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b8033600061162583613327565b905080600160a060020a031682600160a060020a031614806116605750600083815260036020526040902054600160a060020a038381169116145b806116905750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b15156116d4576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b85858560206040519081016040528060008152506116f38a8a8a6135a8565b61170583600160a060020a031661372e565b1561185f5760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561178757818101518382015260200161176f565b50505050905090810190601f1680156117b45780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156117d657600080fd5b505af11580156117ea573d6000803e3d6000fd5b505050506040513d602081101561180057600080fd5b50519050600160e060020a0319811660e160020a630a85bd01021461185d576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b505b50505050505050505050565b60008054600160a060020a031633146118bc576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6112cf86868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528993508d92508c91899089908190840183828082843760009201919091525061373692505050565b600054600160a060020a03163314611981576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6007805482919060ff1916600183600481111561199a57fe5b02179055507f9f17f1d96f7bb1d5a573d638f26fdb9fa651427eb2e7b36481cd5e1351581e5881604051808260048111156119d157fe5b60ff16815260200191505060405180910390a150565b600d5481565b600061133982613327565b600054600160a060020a03163314611a48576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000838152600b60205260409020611a64906005018383614676565b50505050565b6000600160a060020a0382161515611acc576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600160a060020a031660009081526004602052604090205490565b600160075460ff166004811115611afb57fe5b1480611b2c5750600054600160a060020a031633148015611b2c5750600360075460ff166004811115611b2a57fe5b145b1515611b70576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611ba457506000818152600b6020526040902060010154600160a060020a031633145b1515611baf57600080fd5b506000918252600b6020526040909120600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600a54600160a060020a03848116911614611c53576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0383163314611cb3576040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611cf483838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506139b992505050565b90506060611d3e84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060049250505060031986016139c0565b604080517f627579546f6b656e2875696e743235362c61646472657373290000000000000081529051908190036019019020909150600160e060020a031983811691161415611e19578051604014611de0576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b600080828060200190516040811015611df857600080fd5b5080516020909101519092509050611e11898383613a42565b505050611fe7565b6040518060346148ee823960340190506040518091039020600160e060020a03191682600160e060020a0319161415611f97578051609c1115611ea6576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b6000806060600060608580602001905160a0811015611ec457600080fd5b8151602083015160408401805192949193820192640100000000811115611eea57600080fd5b82016020810184811115611efd57600080fd5b8151856020820283011164010000000082111715611f1a57600080fd5b50506020820151604090920180519194929391640100000000811115611f3f57600080fd5b82016020810184811115611f5257600080fd5b8151640100000000811182820187101715611f6c57600080fd5b505092919050505094509450945094509450611f8c8c8484888886613396565b505050505050611fe7565b6040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50505050505050565b6000611336338484613a42565b600054600160a060020a0316331461204d576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b60088190556040805182815290517f1d4a2348bf98e0fa847f28a7db9967b1327ac954c312b659b65a860bb69591729181900360200190a150565b600160075460ff16600481111561209b57fe5b14806120cc5750600054600160a060020a0316331480156120cc5750600360075460ff1660048111156120ca57fe5b145b1515612110576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548390600160a060020a031633148061214457506000818152600b6020526040902060010154600160a060020a031633145b151561214f57600080fd5b6127108211156121935760405160e560020a62461bcd0281526004018080602001828103825260318152602001806149426031913960400191505060405180910390fd5b506000928352600b6020526040909220600381019190915560040155565b6000806000806121bf6146f4565b6000868152600b6020908152604091829020825181546101009381028201840190945260e08101848152909391928492849184018282801561225057602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a0319168152602001906004019060208260030104928301926001038202915080841161220f5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c0909401939183018282801561232d5780601f106123025761010080835404028352916020019161232d565b820191906000526020600020905b81548152906001019060200180831161231057829003601f168201915b50505050508152505090508060200151816040015182608001518360a001519450945094509450509193509193565b600e5481565b600160e060020a0319166000908152600f602052604090205490565b600160a060020a0382163314156123cd576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b336000818152600660209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b600c6020526000908152604090205481565b600160075460ff16600481111561246057fe5b14806124915750600054600160a060020a0316331480156124915750600360075460ff16600481111561248f57fe5b145b15156124d5576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061250957506000818152600b6020526040902060010154600160a060020a031633145b151561251457600080fd5b61251e838361414a565b505050565b6060600060606125316146f4565b61253a85614291565b8051606082015160c0909201519097919650945092505050565b600160e060020a031981166000908152600f60209081526040918290208054835181840281018401909452808452606093928301828280156125b557602002820191906000526020600020905b8154815260200190600101908083116125a1575b50505050509050919050565b600160e060020a031982166000908152600f6020526040812080548390811061158657fe5b600160075460ff1660048111156125f957fe5b148061262a5750600054600160a060020a03163314801561262a5750600360075460ff16600481111561262857fe5b145b151561266e576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806126a257506000818152600b6020526040902060010154600160a060020a031633145b15156126ad57600080fd5b506000918252600b6020526040909120600101805491151560a060020a0274ff000000000000000000000000000000000000000019909216919091179055565b600b60209081526000918252604091829020600180820154600280840154600385015460048601546005870180548a516101009882161598909802600019011694909404601f8101899004890287018901909952888652600160a060020a0385169860a060020a90950460ff1697929691959094919390929091908301828280156127b95780601f1061278e576101008083540402835291602001916127b9565b820191906000526020600020905b81548152906001019060200180831161279c57829003601f168201915b5050505050905086565b823360006127d083613327565b905080600160a060020a031682600160a060020a0316148061280b5750600083815260036020526040902054600160a060020a038381169116145b8061283b5750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b151561287f576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b87878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506128c692508e91508d90508c6135a8565b6128d883600160a060020a031661372e565b15612a325760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561295a578181015183820152602001612942565b50505050905090810190601f1680156129875780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156129a957600080fd5b505af11580156129bd573d6000803e3d6000fd5b505050506040513d60208110156129d357600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214612a30576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b505b505050505050505050505050565b60075460ff1681565b60606000806000806060612a5b6146f4565b6000888152600b6020908152604091829020825181546101009381028201840190945260e081018481529093919284928491840182828015612aec57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411612aab5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c09094019391830182828015612bc95780601f10612b9e57610100808354040283529160200191612bc9565b820191906000526020600020905b815481529060010190602001808311612bac57829003601f168201915b5050509190925250508151602083015160408401516060850151608086015160c090960151939e929d50909b5099509297509550909350505050565b600054600160a060020a03163314612c55576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600160a060020a0381161515612ca65760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015612ca0573d6000803e3d6000fd5b50612e1f565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b158015612d0a57600080fd5b505afa158015612d1e573d6000803e3d6000fd5b505050506040513d6020811015612d3457600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b158015612daa57600080fd5b505af1158015612dbe573d6000803e3d6000fd5b505050506040513d6020811015612dd457600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600160075460ff166004811115612e3557fe5b1480612e665750600054600160a060020a031633148015612e665750600360075460ff166004811115612e6457fe5b145b1515612eaa576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480612ede57506000818152600b6020526040902060010154600160a060020a031633145b1515612ee957600080fd5b61251e8383612fbe565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205460ff1690565b600160a060020a0381166000908152600460209081526040918290208054835181840281018401909452808452606093928301828280156125b557602002820191906000526020600020908154815260200190600101908083116125a15750505050509050919050565b600054600160a060020a031681565b6000918252600b602052604090912060010154600160a060020a0391821691161490565b600160e060020a03198116600090815260106020908152604080832085845290915281205490811161303a576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b315d00000000000000000000000000604482015290519081900360640190fd5b600160e060020a0319821660008181526010602090815260408083208784528252808320839055928252600f90522054811461310657600160e060020a031982166000908152600f602052604081208054600019810190811061309957fe5b6000918252602080832090910154600160e060020a031986168352600f90915260409091208054919250829160001985019081106130d357fe5b6000918252602080832090910192909255600160e060020a03198516815260108252604080822093825292909152208190555b600160e060020a031982166000908152600f6020526040902080549061313090600019830161473d565b506000838152601160209081526040808320600160e060020a0319861684529091528120549081116131ac576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b325d00000000000000000000000000604482015290519081900360640190fd5b6000848152601160209081526040808320600160e060020a0319871684528252808320839055868352600b90915290205481146132ad576000848152600b602052604081208054600019810190811061320157fe5b90600052602060002090600891828204019190066004029054906101000a900460e060020a02905080600b60008781526020019081526020016000206000016001840381548110151561325057fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e060020a90950492909202939093179055868152601182526040808220600160e060020a031994909416825292909152208190555b6000848152600b602052604090208054906132cc906000198301614761565b506040518490600160e060020a03198516907f9574a9d09dc883e69228a0eea15ed4da6e520b13cc84cca994c1787c234d78fe90600090a350505050565b600090815260026020526040902054600160a060020a0316151590565b600081815260026020526040812054600160a060020a0316801515611339576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600160075460ff1660048111156133ab57fe5b14806133dc5750600054600160a060020a0316331480156133dc5750600360075460ff1660048111156133da57fe5b145b1515613420576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000600854111561352657600a54600854604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b811660048301523060248301526044820193909352905191909216916323b872dd9160648083019260209291908290030181600087803b1580156134a457600080fd5b505af11580156134b8573d6000803e3d6000fd5b505050506040513d60208110156134ce57600080fd5b50511515613526576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b61271083111561356a5760405160e560020a62461bcd0281526004018080602001828103825260318152602001806149426031913960400191505060405180910390fd5b6135778686868686613736565b979650505050505050565b600e8054600181019091556000818152600c602052604090208290556113398382614421565b82600160a060020a03166135bb82613327565b600160a060020a031614613607576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600160a060020a0382161515613667576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000818152600360209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19908116909155600283528184208054600160a060020a038881169190931617905586168352600490915290206136c69082614556565b600160a060020a03821660009081526004602052604090206136e890826145e5565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000903b1190565b6000600160075460ff16600481111561374b57fe5b148061377c5750600054600160a060020a03163314801561377c5750600360075460ff16600481111561377a57fe5b145b15156137c0576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b50600d8054600180820190925560408051600060e08201818152610100830184528252600160a060020a038916602080840191909152828401959095524260608301526080820188905260a0820187905260c08201869052838152600b8552919091208151805193949293919261383c92849290910190614795565b506020828101516001830180546040860151151560a060020a0274ff000000000000000000000000000000000000000019600160a060020a0390941673ffffffffffffffffffffffffffffffffffffffff199092169190911792909216919091179055606083015160028301556080830151600383015560a0830151600483015560c083015180516138d49260058501920190614841565b50905050807f977f348a33aa09ea5592a5999ead89ce5390634d548c226c6a32c8f18b93e08285846040518083815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561393f578181015183820152602001613927565b50505050905090810190601f16801561396c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a260005b86518110156139af576139a782888381518110151561399857fe5b9060200190602002015161414a565b60010161397d565b5095945050505050565b6020015190565b60608183018451101515156139d457600080fd5b6060821580156139ef57604051915060208201604052613a39565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613a28578051835260209283019201613a10565b5050858452601f01601f1916604052505b50949350505050565b6000600160075460ff166004811115613a5757fe5b1480613a735750600260075460ff166004811115613a7157fe5b145b80613aa35750600054600160a060020a031633148015613aa35750600360075460ff166004811115613aa157fe5b145b1515613ae7576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b613aef6146f4565b6000848152600b6020908152604091829020825181546101009381028201840190945260e081018481529093919284928491840182828015613b8057602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411613b3f5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c09094019391830182828015613c5d5780601f10613c3257610100808354040283529160200191613c5d565b820191906000526020600020905b815481529060010190602001808311613c4057829003601f168201915b505050919092525050506020810151909150600160a060020a03161515613cce576040805160e560020a62461bcd02815260206004820152600860248201527f426164207061636b000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b80604001511515613d29576040805160e560020a62461bcd02815260206004820152600860248201527f44697361626c6564000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b608081015160008111613d74576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600081118015613d8657506000600954115b15613f0a57600954600a54604080517ff77c4791000000000000000000000000000000000000000000000000000000008152905161271093850293909304938490039392600160a060020a03909216916323b872dd918a91849163f77c4791916004808301926020929190829003018186803b158015613e0557600080fd5b505afa158015613e19573d6000803e3d6000fd5b505050506040513d6020811015613e2f57600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b158015613e8657600080fd5b505af1158015613e9a573d6000803e3d6000fd5b505050506040513d6020811015613eb057600080fd5b50511515613f08576040805160e560020a62461bcd02815260206004820152600860248201527f426164206275726e000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081118015613f1e575060008260a00151115b156140315760a0820151600a54604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038a811660048301523060248301526127109486029490940460448201819052915194829003949193909216916323b872dd9160648083019260209291908290030181600087803b158015613fad57600080fd5b505af1158015613fc1573d6000803e3d6000fd5b505050506040513d6020811015613fd757600080fd5b5051151561402f576040805160e560020a62461bcd02815260206004820152600a60248201527f42616420646f6e61746500000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081111561413657600a54602080840151604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152928316602482015260448101869052905191909316926323b872dd9260648083019391928290030181600087803b1580156140b457600080fd5b505af11580156140c8573d6000803e3d6000fd5b505050506040513d60208110156140de57600080fd5b50511515614136576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b6141408486613582565b9695505050505050565b6000828152601160209081526040808320600160e060020a031985168452909152902054156141c3576040805160e560020a62461bcd02815260206004820152601860248201527f4475706c69636174652063617465676f72697a6174696f6e0000000000000000604482015290519081900360640190fd5b600160e060020a031981166000818152600f602090815260408083208054600180820180845592865284862090910188905585855260108452828520888652845282852091909155600b835281842080549182018082559085528385206008830401805463ffffffff60079094166004026101000a938402191660e060020a890493909302929092179091558684526011835281842085855290925280832091909155518492917f74186c4c4ee368ea5564982241efb7357014b52d6e195d026bc4fdfaa112691b91a35050565b6142996146f4565b6000828152600c60209081526040808320548352600b825291829020825181546101009381028201840190945260e08101848152909391928492849184018282801561433457602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a031916815260200190600401906020826003010492830192600103820291508084116142f35790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c090940193918301828280156144115780601f106143e657610100808354040283529160200191614411565b820191906000526020600020905b8154815290600101906020018083116143f457829003601f168201915b5050505050815250509050919050565b600160a060020a0382161515614481576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b61448a8161330a565b156144cd576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b6000818152600260209081526040808320805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03871690811790915583526004909152902061451a90826145e5565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526005602052604090205480151561457257506145e1565b600082815260056020526040812081905583548490600019810190811061459557fe5b906000526020600020015490508084600184038154811015156145b457fe5b60009182526020909120015583546145d085600019830161473d565b506000908152600560205260409020555b5050565b8154600181018084556000938452602080852090920183905591835260059052604090912055565b508054600082556007016008900490600052602060002090810190612e1f91906148af565b50805460018160011615610100020316600290046000825580601f106146585750612e1f565b601f016020900490600052602060002090810190612e1f91906148af565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106146b75782800160ff198235161785556146e4565b828001600101855582156146e4579182015b828111156146e45782358255916020019190600101906146c9565b506146f09291506148af565b5090565b60e060405190810160405280606081526020016000600160a060020a03168152602001600015158152602001600081526020016000815260200160008152602001606081525090565b81548183558181111561251e5760008381526020902061251e9181019083016148af565b81548183558181111561251e57600701600890048160070160089004836000526020600020918201910161251e91906148af565b828054828255906000526020600020906007016008900481019282156148355791602002820160005b8382111561480357835183826101000a81548163ffffffff021916908360e060020a9004021790555092602001926004016020816003010492830192600103026147be565b80156148335782816101000a81549063ffffffff0219169055600401602081600301049283019260010302614803565b505b506146f09291506148cc565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061488257805160ff19168380011785556146e4565b828001600101855582156146e4579182015b828111156146e4578251825591602001919060010190614894565b6148c991905b808211156146f057600081556001016148b5565b90565b6148c991905b808211156146f057805463ffffffff191681556001016148d256fe72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c6279746573294d61726b65742044697361626c6564000000000000000000000000000000000042616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025426164206f7065726174696f6e00000000000000000000000000000000000000556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a7230582054484fe4fead16760e19e9ffc232f53ae78d835c5b9695df5a7cb47132dccc850029", - "bin": "60806040526007805460ff191660011790553480156200001e57600080fd5b5060405160208062004ba2833981018060405260208110156200004057600080fd5b505160008054600160a060020a03191633179055620000887f01ffc9a700000000000000000000000000000000000000000000000000000000640100000000620000e2810204565b620000bc7f80ac58cd00000000000000000000000000000000000000000000000000000000640100000000620000e2810204565b600a8054600160a060020a031916600160a060020a0392909216919091179055620001b4565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200017457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f42616420696e7465726661636549640000000000000000000000000000000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152600160208190526040909120805460ff19169091179055565b6149de80620001c46000396000f3fe608060405234801561001057600080fd5b506004361061026c5760003560e060020a9004806392be2ab811610155578063b7f48211116100c7578063df8de3e71161008b578063df8de3e714610d50578063e8bb714314610d76578063e985e9c514610da3578063ea66aeb314610dd1578063f77c479114610df7578063fadb10e614610dff5761026c565b8063b7f4821114610a95578063b84c139214610aba578063b88d4fde14610b88578063c19d93fb14610c18578063d2bf36c014610c445761026c565b8063a22cb46511610119578063a22cb46514610898578063a546af4c146108c6578063aeeaf3da146108e3578063b09afec114610910578063b34b5825146109f1578063b5420d6814610a685761026c565b806392be2ab8146107d65780639389c5b5146107f35780639c3a39a21461081c5780639f181b5e146108695780639f9a9b63146108715761026c565b80633cebb823116101ee5780636352211e116101b25780636352211e146106355780636a8479811461065257806370a08231146106c957806386a7413c146106ef5780638f4ffcb11461071b5780639134709e146107aa5761026c565b80633cebb823146104d657806342842e0e146104fc5780634c06dc1714610532578063536b04451461060d57806361bd67251461062d5761026c565b806312d025021161023557806312d025021461033e578063188b53721461042b578063189d165e1461045757806323b872dd146104745780632f745c59146104aa5761026c565b8062b3c91b1461027157806301ffc9a714610296578063060eb520146102d1578063081812fc146102f5578063095ea7b314610312575b600080fd5b6102946004803603604081101561028757600080fd5b5080359060200135610e2b565b005b6102bd600480360360208110156102ac57600080fd5b5035600160e060020a031916611066565b604080519115158252519081900360200190f35b6102d9611085565b60408051600160a060020a039092168252519081900360200190f35b6102d96004803603602081101561030b57600080fd5b5035611094565b6102946004803603604081101561032857600080fd5b50600160a060020a038135169060200135611111565b610419600480360360a081101561035457600080fd5b81359160208101359181019060608101604082013564010000000081111561037b57600080fd5b82018360208201111561038d57600080fd5b803590602001918460208302840111640100000000831117156103af57600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156103da57600080fd5b8201836020820111156103ec57600080fd5b8035906020019184600183028401116401000000008311171561040e57600080fd5b509092509050611257565b60408051918252519081900360200190f35b6104196004803603604081101561044157600080fd5b50600160a060020a0381351690602001356112db565b6102946004803603602081101561046d57600080fd5b503561133f565b6102946004803603606081101561048a57600080fd5b50600160a060020a03813581169160208101359091169060400135611424565b610419600480360360408110156104c057600080fd5b50600160a060020a0381351690602001356114f3565b610294600480360360208110156104ec57600080fd5b5035600160a060020a0316611599565b6102946004803603606081101561051257600080fd5b50600160a060020a03813581169160208101359091169060400135611618565b610419600480360360a081101561054857600080fd5b81359160208101359181019060608101604082013564010000000081111561056f57600080fd5b82018360208201111561058157600080fd5b803590602001918460208302840111640100000000831117156105a357600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156105ce57600080fd5b8201836020820111156105e057600080fd5b8035906020019184600183028401116401000000008311171561060257600080fd5b50909250905061186b565b6102946004803603602081101561062357600080fd5b503560ff16611931565b6104196119e7565b6102d96004803603602081101561064b57600080fd5b50356119ed565b6102946004803603604081101561066857600080fd5b8135919081019060408101602082013564010000000081111561068a57600080fd5b82018360208201111561069c57600080fd5b803590602001918460018302840111640100000000831117156106be57600080fd5b5090925090506119f8565b610419600480360360208110156106df57600080fd5b5035600160a060020a0316611a6a565b6102946004803603604081101561070557600080fd5b5080359060200135600160a060020a0316611ae8565b6102946004803603608081101561073157600080fd5b600160a060020a03823581169260208101359260408201359092169181019060808101606082013564010000000081111561076b57600080fd5b82018360208201111561077d57600080fd5b8035906020019184600183028401116401000000008311171561079f57600080fd5b509092509050611bee565b610419600480360360408110156107c057600080fd5b5080359060200135600160a060020a0316611ff0565b610294600480360360208110156107ec57600080fd5b5035611ffd565b6102946004803603606081101561080957600080fd5b5080359060208101359060400135612088565b6108396004803603602081101561083257600080fd5b50356121b1565b60408051600160a060020a0390951685529215156020850152838301919091526060830152519081900360800190f35b61041961235c565b6104196004803603602081101561088757600080fd5b5035600160e060020a031916612362565b610294600480360360408110156108ae57600080fd5b50600160a060020a038135169060200135151561237e565b610419600480360360208110156108dc57600080fd5b503561243b565b610294600480360360408110156108f957600080fd5b5080359060200135600160e060020a03191661244d565b61092d6004803603602081101561092657600080fd5b5035612523565b604051808060200184815260200180602001838103835286818151815260200191508051906020019060200280838360005b8381101561097757818101518382015260200161095f565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156109b357818101518382015260200161099b565b50505050905090810190601f1680156109e05780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b610a1860048036036020811015610a0757600080fd5b5035600160e060020a031916612554565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610a54578181015183820152602001610a3c565b505050509050019250505060405180910390f35b61041960048036036040811015610a7e57600080fd5b50600160e060020a031981351690602001356125c1565b61029460048036036040811015610aab57600080fd5b508035906020013515156125e6565b610ad760048036036020811015610ad057600080fd5b50356126ed565b6040518087600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b48578181015183820152602001610b30565b50505050905090810190601f168015610b755780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b61029460048036036080811015610b9e57600080fd5b600160a060020a03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610bd957600080fd5b820183602082011115610beb57600080fd5b80359060200191846001830284011164010000000083111715610c0d57600080fd5b5090925090506127c3565b610c20612a40565b60405180826004811115610c3057fe5b60ff16815260200191505060405180910390f35b610c6160048036036020811015610c5a57600080fd5b5035612a49565b604051808060200187600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200180602001838103835289818151815260200191508051906020019060200280838360005b83811015610cd3578181015183820152602001610cbb565b50505050905001838103825284818151815260200191508051906020019080838360005b83811015610d0f578181015183820152602001610cf7565b50505050905090810190601f168015610d3c5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b61029460048036036020811015610d6657600080fd5b5035600160a060020a0316612c05565b61029460048036036040811015610d8c57600080fd5b5080359060200135600160e060020a031916612e22565b6102bd60048036036040811015610db957600080fd5b50600160a060020a0381358116916020013516612ef3565b610a1860048036036020811015610de757600080fd5b5035600160a060020a0316612f21565b6102d9612f8b565b6102bd60048036036040811015610e1557600080fd5b5080359060200135600160a060020a0316612f9a565b600054600160a060020a03163314610e7b576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000828152600b6020908152604091829020805483518184028101840190945280845260609392830182828015610f0157602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411610ec05790505b5050505050905060008260001415610f1b57508051610f77565b8151831115610f74576040805160e560020a62461bcd02815260206004820152600960248201527f426164206c696d69740000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50815b81516000811115610f8757600019015b60005b82811015610fbd57610fb58685838503815181101515610fa657fe5b90602001906020020151612fbe565b600101610f8a565b506000858152600b6020526040902054151561105f576000858152600b6020526040812090610fec828261460d565b60018201805474ffffffffffffffffffffffffffffffffffffffffff191690556000600283018190556003830181905560048301819055611031906005840190614632565b505060405185907f98f986773731debbbf041b73d7edaec62da3ff42b2116c45cd0001fb40ed908690600090a25b5050505050565b600160e060020a03191660009081526001602052604090205460ff1690565b600a54600160a060020a031681565b600061109f8261330a565b15156110f5576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600090815260036020526040902054600160a060020a031690565b600061111c82613327565b9050600160a060020a038381169082161415611170576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b33600160a060020a03821614806111aa5750600160a060020a038116600090815260066020908152604080832033845290915290205460ff165b15156111ee576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600082815260036020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006112cf3387878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93508e92508d918a908a908190840183828082843760009201919091525061339692505050565b98975050505050505050565b60008054600160a060020a0316331461132c576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6113368383613582565b90505b92915050565b600054600160a060020a0316331461138f576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b60098190556127108111156113ee576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e6e6f74206265206d6f7265207468656e203130302e3030250000000000604482015290519081900360640190fd5b6040805182815290517f59701ed6f46ff3f5c94b1b741d5b3f2968eb7a0ae31d2cf2a3a9f2153d18b5149181900360200190a150565b8033600061143183613327565b905080600160a060020a031682600160a060020a0316148061146c5750600083815260036020526040902054600160a060020a038381169116145b8061149c5750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b15156114e0576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6114eb8686866135a8565b505050505050565b600160a060020a0382166000908152600460205260408120548210611562576040805160e560020a62461bcd02815260206004820152601360248201527f496e646578206f7574206f6620626f756e647300000000000000000000000000604482015290519081900360640190fd5b600160a060020a038316600090815260046020526040902080548390811061158657fe5b9060005260206000200154905092915050565b600054600160a060020a031633146115e9576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b8033600061162583613327565b905080600160a060020a031682600160a060020a031614806116605750600083815260036020526040902054600160a060020a038381169116145b806116905750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b15156116d4576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b85858560206040519081016040528060008152506116f38a8a8a6135a8565b61170583600160a060020a031661372e565b1561185f5760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561178757818101518382015260200161176f565b50505050905090810190601f1680156117b45780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156117d657600080fd5b505af11580156117ea573d6000803e3d6000fd5b505050506040513d602081101561180057600080fd5b50519050600160e060020a0319811660e160020a630a85bd01021461185d576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b505b50505050505050505050565b60008054600160a060020a031633146118bc576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6112cf86868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528993508d92508c91899089908190840183828082843760009201919091525061373692505050565b600054600160a060020a03163314611981576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6007805482919060ff1916600183600481111561199a57fe5b02179055507f9f17f1d96f7bb1d5a573d638f26fdb9fa651427eb2e7b36481cd5e1351581e5881604051808260048111156119d157fe5b60ff16815260200191505060405180910390a150565b600d5481565b600061133982613327565b600054600160a060020a03163314611a48576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b6000838152600b60205260409020611a64906005018383614676565b50505050565b6000600160a060020a0382161515611acc576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600160a060020a031660009081526004602052604090205490565b600160075460ff166004811115611afb57fe5b1480611b2c5750600054600160a060020a031633148015611b2c5750600360075460ff166004811115611b2a57fe5b145b1515611b70576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611ba457506000818152600b6020526040902060010154600160a060020a031633145b1515611baf57600080fd5b506000918252600b6020526040909120600101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600a54600160a060020a03848116911614611c53576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0383163314611cb3576040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611cf483838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506139b992505050565b90506060611d3e84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060049250505060031986016139c0565b604080517f627579546f6b656e2875696e743235362c61646472657373290000000000000081529051908190036019019020909150600160e060020a031983811691161415611e19578051604014611de0576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b600080828060200190516040811015611df857600080fd5b5080516020909101519092509050611e11898383613a42565b505050611fe7565b6040518060346148ee823960340190506040518091039020600160e060020a03191682600160e060020a0319161415611f97578051609c1115611ea6576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b6000806060600060608580602001905160a0811015611ec457600080fd5b8151602083015160408401805192949193820192640100000000811115611eea57600080fd5b82016020810184811115611efd57600080fd5b8151856020820283011164010000000082111715611f1a57600080fd5b50506020820151604090920180519194929391640100000000811115611f3f57600080fd5b82016020810184811115611f5257600080fd5b8151640100000000811182820187101715611f6c57600080fd5b505092919050505094509450945094509450611f8c8c8484888886613396565b505050505050611fe7565b6040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50505050505050565b6000611336338484613a42565b600054600160a060020a0316331461204d576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b60088190556040805182815290517f1d4a2348bf98e0fa847f28a7db9967b1327ac954c312b659b65a860bb69591729181900360200190a150565b600160075460ff16600481111561209b57fe5b14806120cc5750600054600160a060020a0316331480156120cc5750600360075460ff1660048111156120ca57fe5b145b1515612110576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548390600160a060020a031633148061214457506000818152600b6020526040902060010154600160a060020a031633145b151561214f57600080fd5b6127108211156121935760405160e560020a62461bcd0281526004018080602001828103825260318152602001806149426031913960400191505060405180910390fd5b506000928352600b6020526040909220600381019190915560040155565b6000806000806121bf6146f4565b6000868152600b6020908152604091829020825181546101009381028201840190945260e08101848152909391928492849184018282801561225057602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a0319168152602001906004019060208260030104928301926001038202915080841161220f5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c0909401939183018282801561232d5780601f106123025761010080835404028352916020019161232d565b820191906000526020600020905b81548152906001019060200180831161231057829003601f168201915b50505050508152505090508060200151816040015182608001518360a001519450945094509450509193509193565b600e5481565b600160e060020a0319166000908152600f602052604090205490565b600160a060020a0382163314156123cd576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b336000818152600660209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b600c6020526000908152604090205481565b600160075460ff16600481111561246057fe5b14806124915750600054600160a060020a0316331480156124915750600360075460ff16600481111561248f57fe5b145b15156124d5576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061250957506000818152600b6020526040902060010154600160a060020a031633145b151561251457600080fd5b61251e838361414a565b505050565b6060600060606125316146f4565b61253a85614291565b8051606082015160c0909201519097919650945092505050565b600160e060020a031981166000908152600f60209081526040918290208054835181840281018401909452808452606093928301828280156125b557602002820191906000526020600020905b8154815260200190600101908083116125a1575b50505050509050919050565b600160e060020a031982166000908152600f6020526040812080548390811061158657fe5b600160075460ff1660048111156125f957fe5b148061262a5750600054600160a060020a03163314801561262a5750600360075460ff16600481111561262857fe5b145b151561266e576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806126a257506000818152600b6020526040902060010154600160a060020a031633145b15156126ad57600080fd5b506000918252600b6020526040909120600101805491151560a060020a0274ff000000000000000000000000000000000000000019909216919091179055565b600b60209081526000918252604091829020600180820154600280840154600385015460048601546005870180548a516101009882161598909802600019011694909404601f8101899004890287018901909952888652600160a060020a0385169860a060020a90950460ff1697929691959094919390929091908301828280156127b95780601f1061278e576101008083540402835291602001916127b9565b820191906000526020600020905b81548152906001019060200180831161279c57829003601f168201915b5050505050905086565b823360006127d083613327565b905080600160a060020a031682600160a060020a0316148061280b5750600083815260036020526040902054600160a060020a038381169116145b8061283b5750600160a060020a0380821660009081526006602090815260408083209386168352929052205460ff165b151561287f576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b87878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506128c692508e91508d90508c6135a8565b6128d883600160a060020a031661372e565b15612a325760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561295a578181015183820152602001612942565b50505050905090810190601f1680156129875780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156129a957600080fd5b505af11580156129bd573d6000803e3d6000fd5b505050506040513d60208110156129d357600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214612a30576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b505b505050505050505050505050565b60075460ff1681565b60606000806000806060612a5b6146f4565b6000888152600b6020908152604091829020825181546101009381028201840190945260e081018481529093919284928491840182828015612aec57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411612aab5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c09094019391830182828015612bc95780601f10612b9e57610100808354040283529160200191612bc9565b820191906000526020600020905b815481529060010190602001808311612bac57829003601f168201915b5050509190925250508151602083015160408401516060850151608086015160c090960151939e929d50909b5099509297509550909350505050565b600054600160a060020a03163314612c55576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600160a060020a0381161515612ca65760008054604051600160a060020a0390911691303180156108fc02929091818181858888f19350505050158015612ca0573d6000803e3d6000fd5b50612e1f565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b158015612d0a57600080fd5b505afa158015612d1e573d6000803e3d6000fd5b505050506040513d6020811015612d3457600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b158015612daa57600080fd5b505af1158015612dbe573d6000803e3d6000fd5b505050506040513d6020811015612dd457600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600160075460ff166004811115612e3557fe5b1480612e665750600054600160a060020a031633148015612e665750600360075460ff166004811115612e6457fe5b145b1515612eaa576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480612ede57506000818152600b6020526040902060010154600160a060020a031633145b1515612ee957600080fd5b61251e8383612fbe565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205460ff1690565b600160a060020a0381166000908152600460209081526040918290208054835181840281018401909452808452606093928301828280156125b557602002820191906000526020600020908154815260200190600101908083116125a15750505050509050919050565b600054600160a060020a031681565b6000918252600b602052604090912060010154600160a060020a0391821691161490565b600160e060020a03198116600090815260106020908152604080832085845290915281205490811161303a576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b315d00000000000000000000000000604482015290519081900360640190fd5b600160e060020a0319821660008181526010602090815260408083208784528252808320839055928252600f90522054811461310657600160e060020a031982166000908152600f602052604081208054600019810190811061309957fe5b6000918252602080832090910154600160e060020a031986168352600f90915260409091208054919250829160001985019081106130d357fe5b6000918252602080832090910192909255600160e060020a03198516815260108252604080822093825292909152208190555b600160e060020a031982166000908152600f6020526040902080549061313090600019830161473d565b506000838152601160209081526040808320600160e060020a0319861684529091528120549081116131ac576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b325d00000000000000000000000000604482015290519081900360640190fd5b6000848152601160209081526040808320600160e060020a0319871684528252808320839055868352600b90915290205481146132ad576000848152600b602052604081208054600019810190811061320157fe5b90600052602060002090600891828204019190066004029054906101000a900460e060020a02905080600b60008781526020019081526020016000206000016001840381548110151561325057fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e060020a90950492909202939093179055868152601182526040808220600160e060020a031994909416825292909152208190555b6000848152600b602052604090208054906132cc906000198301614761565b506040518490600160e060020a03198516907f9574a9d09dc883e69228a0eea15ed4da6e520b13cc84cca994c1787c234d78fe90600090a350505050565b600090815260026020526040902054600160a060020a0316151590565b600081815260026020526040812054600160a060020a0316801515611339576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600160075460ff1660048111156133ab57fe5b14806133dc5750600054600160a060020a0316331480156133dc5750600360075460ff1660048111156133da57fe5b145b1515613420576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b6000600854111561352657600a54600854604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b811660048301523060248301526044820193909352905191909216916323b872dd9160648083019260209291908290030181600087803b1580156134a457600080fd5b505af11580156134b8573d6000803e3d6000fd5b505050506040513d60208110156134ce57600080fd5b50511515613526576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b61271083111561356a5760405160e560020a62461bcd0281526004018080602001828103825260318152602001806149426031913960400191505060405180910390fd5b6135778686868686613736565b979650505050505050565b600e8054600181019091556000818152600c602052604090208290556113398382614421565b82600160a060020a03166135bb82613327565b600160a060020a031614613607576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600160a060020a0382161515613667576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000818152600360209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19908116909155600283528184208054600160a060020a038881169190931617905586168352600490915290206136c69082614556565b600160a060020a03821660009081526004602052604090206136e890826145e5565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000903b1190565b6000600160075460ff16600481111561374b57fe5b148061377c5750600054600160a060020a03163314801561377c5750600360075460ff16600481111561377a57fe5b145b15156137c0576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b50600d8054600180820190925560408051600060e08201818152610100830184528252600160a060020a038916602080840191909152828401959095524260608301526080820188905260a0820187905260c08201869052838152600b8552919091208151805193949293919261383c92849290910190614795565b506020828101516001830180546040860151151560a060020a0274ff000000000000000000000000000000000000000019600160a060020a0390941673ffffffffffffffffffffffffffffffffffffffff199092169190911792909216919091179055606083015160028301556080830151600383015560a0830151600483015560c083015180516138d49260058501920190614841565b50905050807f977f348a33aa09ea5592a5999ead89ce5390634d548c226c6a32c8f18b93e08285846040518083815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561393f578181015183820152602001613927565b50505050905090810190601f16801561396c5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a260005b86518110156139af576139a782888381518110151561399857fe5b9060200190602002015161414a565b60010161397d565b5095945050505050565b6020015190565b60608183018451101515156139d457600080fd5b6060821580156139ef57604051915060208201604052613a39565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613a28578051835260209283019201613a10565b5050858452601f01601f1916604052505b50949350505050565b6000600160075460ff166004811115613a5757fe5b1480613a735750600260075460ff166004811115613a7157fe5b145b80613aa35750600054600160a060020a031633148015613aa35750600360075460ff166004811115613aa157fe5b145b1515613ae7576040805160e560020a62461bcd02815260206004820152600f6024820152600080516020614922833981519152604482015290519081900360640190fd5b613aef6146f4565b6000848152600b6020908152604091829020825181546101009381028201840190945260e081018481529093919284928491840182828015613b8057602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411613b3f5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c09094019391830182828015613c5d5780601f10613c3257610100808354040283529160200191613c5d565b820191906000526020600020905b815481529060010190602001808311613c4057829003601f168201915b505050919092525050506020810151909150600160a060020a03161515613cce576040805160e560020a62461bcd02815260206004820152600860248201527f426164207061636b000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b80604001511515613d29576040805160e560020a62461bcd02815260206004820152600860248201527f44697361626c6564000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b608081015160008111613d74576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020614993833981519152604482015290519081900360640190fd5b600081118015613d8657506000600954115b15613f0a57600954600a54604080517ff77c4791000000000000000000000000000000000000000000000000000000008152905161271093850293909304938490039392600160a060020a03909216916323b872dd918a91849163f77c4791916004808301926020929190829003018186803b158015613e0557600080fd5b505afa158015613e19573d6000803e3d6000fd5b505050506040513d6020811015613e2f57600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b158015613e8657600080fd5b505af1158015613e9a573d6000803e3d6000fd5b505050506040513d6020811015613eb057600080fd5b50511515613f08576040805160e560020a62461bcd02815260206004820152600860248201527f426164206275726e000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081118015613f1e575060008260a00151115b156140315760a0820151600a54604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038a811660048301523060248301526127109486029490940460448201819052915194829003949193909216916323b872dd9160648083019260209291908290030181600087803b158015613fad57600080fd5b505af1158015613fc1573d6000803e3d6000fd5b505050506040513d6020811015613fd757600080fd5b5051151561402f576040805160e560020a62461bcd02815260206004820152600a60248201527f42616420646f6e61746500000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081111561413657600a54602080840151604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152928316602482015260448101869052905191909316926323b872dd9260648083019391928290030181600087803b1580156140b457600080fd5b505af11580156140c8573d6000803e3d6000fd5b505050506040513d60208110156140de57600080fd5b50511515614136576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b6141408486613582565b9695505050505050565b6000828152601160209081526040808320600160e060020a031985168452909152902054156141c3576040805160e560020a62461bcd02815260206004820152601860248201527f4475706c69636174652063617465676f72697a6174696f6e0000000000000000604482015290519081900360640190fd5b600160e060020a031981166000818152600f602090815260408083208054600180820180845592865284862090910188905585855260108452828520888652845282852091909155600b835281842080549182018082559085528385206008830401805463ffffffff60079094166004026101000a938402191660e060020a890493909302929092179091558684526011835281842085855290925280832091909155518492917f74186c4c4ee368ea5564982241efb7357014b52d6e195d026bc4fdfaa112691b91a35050565b6142996146f4565b6000828152600c60209081526040808320548352600b825291829020825181546101009381028201840190945260e08101848152909391928492849184018282801561433457602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a031916815260200190600401906020826003010492830192600103820291508084116142f35790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c090940193918301828280156144115780601f106143e657610100808354040283529160200191614411565b820191906000526020600020905b8154815290600101906020018083116143f457829003601f168201915b5050505050815250509050919050565b600160a060020a0382161515614481576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b61448a8161330a565b156144cd576040805160e560020a62461bcd02815260206004820152600d6024820152600080516020614973833981519152604482015290519081900360640190fd5b6000818152600260209081526040808320805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03871690811790915583526004909152902061451a90826145e5565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526005602052604090205480151561457257506145e1565b600082815260056020526040812081905583548490600019810190811061459557fe5b906000526020600020015490508084600184038154811015156145b457fe5b60009182526020909120015583546145d085600019830161473d565b506000908152600560205260409020555b5050565b8154600181018084556000938452602080852090920183905591835260059052604090912055565b508054600082556007016008900490600052602060002090810190612e1f91906148af565b50805460018160011615610100020316600290046000825580601f106146585750612e1f565b601f016020900490600052602060002090810190612e1f91906148af565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106146b75782800160ff198235161785556146e4565b828001600101855582156146e4579182015b828111156146e45782358255916020019190600101906146c9565b506146f09291506148af565b5090565b60e060405190810160405280606081526020016000600160a060020a03168152602001600015158152602001600081526020016000815260200160008152602001606081525090565b81548183558181111561251e5760008381526020902061251e9181019083016148af565b81548183558181111561251e57600701600890048160070160089004836000526020600020918201910161251e91906148af565b828054828255906000526020600020906007016008900481019282156148355791602002820160005b8382111561480357835183826101000a81548163ffffffff021916908360e060020a9004021790555092602001926004016020816003010492830192600103026147be565b80156148335782816101000a81549063ffffffff0219169055600401602081600301049283019260010302614803565b505b506146f09291506148cc565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061488257805160ff19168380011785556146e4565b828001600101855582156146e4579182015b828111156146e4578251825591602001919060010190614894565b6148c991905b808211156146f057600081556001016148b5565b90565b6148c991905b808211156146f057805463ffffffff191681556001016148d256fe72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c6279746573294d61726b65742044697361626c6564000000000000000000000000000000000042616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025426164206f7065726174696f6e00000000000000000000000000000000000000556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a7230582054484fe4fead16760e19e9ffc232f53ae78d835c5b9695df5a7cb47132dccc850029", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/sticker-market/StickerMarket.sol:StickerMarket": { + "bin-runtime": "608060405234801561001057600080fd5b50600436106102775760003560e060020a900480639134709e11610155578063b5420d68116100c7578063d2bf36c01161008b578063d2bf36c014610c74578063df8de3e714610d80578063e8bb714314610da6578063e985e9c514610dd3578063f77c479114610e01578063fadb10e614610e0957610277565b8063b5420d6814610a98578063b7f4821114610ac5578063b84c139214610aea578063b88d4fde14610bb8578063c19d93fb14610c4857610277565b80639f9a9b63116101195780639f9a9b63146108a1578063a22cb465146108c8578063a546af4c146108f6578063aeeaf3da14610913578063b09afec114610940578063b34b582514610a2157610277565b80639134709e146107da57806392be2ab8146108065780639389c5b5146108235780639c3a39a21461084c5780639f181b5e1461089957610277565b80633cebb823116101ee57806361bd6725116101b257806361bd67251461065d5780636352211e146106655780636a8479811461068257806370a08231146106f957806386a7413c1461071f5780638f4ffcb11461074b57610277565b80633cebb823146104e957806342842e0e1461050f5780634c06dc17146105455780634f6ccce714610620578063536b04451461063d57610277565b806312d025021161024057806312d025021461034957806318160ddd14610436578063188b53721461043e578063189d165e1461046a57806323b872dd146104875780632f745c59146104bd57610277565b8062b3c91b1461027c57806301ffc9a7146102a1578063060eb520146102dc578063081812fc14610300578063095ea7b31461031d575b600080fd5b61029f6004803603604081101561029257600080fd5b5080359060200135610e35565b005b6102c8600480360360208110156102b757600080fd5b5035600160e060020a031916611070565b604080519115158252519081900360200190f35b6102e4611093565b60408051600160a060020a039092168252519081900360200190f35b6102e46004803603602081101561031657600080fd5b50356110a2565b61029f6004803603604081101561033357600080fd5b50600160a060020a0381351690602001356110e4565b610424600480360360a081101561035f57600080fd5b81359160208101359181019060608101604082013564010000000081111561038657600080fd5b82018360208201111561039857600080fd5b803590602001918460208302840111640100000000831117156103ba57600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156103e557600080fd5b8201836020820111156103f757600080fd5b8035906020019184600183028401116401000000008311171561041957600080fd5b5090925090506111e7565b60408051918252519081900360200190f35b61042461126b565b6104246004803603604081101561045457600080fd5b50600160a060020a038135169060200135611272565b61029f6004803603602081101561048057600080fd5b50356112d6565b61029f6004803603606081101561049d57600080fd5b50600160a060020a038135811691602081013590911690604001356113bb565b610424600480360360408110156104d357600080fd5b50600160a060020a0381351690602001356114a7565b61029f600480360360208110156104ff57600080fd5b5035600160a060020a0316611502565b61029f6004803603606081101561052557600080fd5b50600160a060020a03813581169160208101359091169060400135611574565b610424600480360360a081101561055b57600080fd5b81359160208101359181019060608101604082013564010000000081111561058257600080fd5b82018360208201111561059457600080fd5b803590602001918460208302840111640100000000831117156105b657600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156105e157600080fd5b8201836020820111156105f357600080fd5b8035906020019184600183028401116401000000008311171561061557600080fd5b509092509050611595565b6104246004803603602081101561063657600080fd5b503561165b565b61029f6004803603602081101561065357600080fd5b503560ff1661168c565b610424611742565b6102e46004803603602081101561067b57600080fd5b5035611748565b61029f6004803603604081101561069857600080fd5b813591908101906040810160208201356401000000008111156106ba57600080fd5b8201836020820111156106cc57600080fd5b803590602001918460018302840111640100000000831117156106ee57600080fd5b50909250905061176c565b6104246004803603602081101561070f57600080fd5b5035600160a060020a03166117de565b61029f6004803603604081101561073557600080fd5b5080359060200135600160a060020a03166117fe565b61029f6004803603608081101561076157600080fd5b600160a060020a03823581169260208101359260408201359092169181019060808101606082013564010000000081111561079b57600080fd5b8201836020820111156107ad57600080fd5b803590602001918460018302840111640100000000831117156107cf57600080fd5b5090925090506118f7565b610424600480360360408110156107f057600080fd5b5080359060200135600160a060020a0316611cf0565b61029f6004803603602081101561081c57600080fd5b5035611cfd565b61029f6004803603606081101561083957600080fd5b5080359060208101359060400135611d88565b6108696004803603602081101561086257600080fd5b5035611eb1565b60408051600160a060020a0390951685529215156020850152838301919091526060830152519081900360800190f35b61042461205c565b610424600480360360208110156108b757600080fd5b5035600160e060020a031916612062565b61029f600480360360408110156108de57600080fd5b50600160a060020a038135169060200135151561207e565b6104246004803603602081101561090c57600080fd5b50356120ec565b61029f6004803603604081101561092957600080fd5b5080359060200135600160e060020a0319166120fe565b61095d6004803603602081101561095657600080fd5b50356121cf565b604051808060200184815260200180602001838103835286818151815260200191508051906020019060200280838360005b838110156109a757818101518382015260200161098f565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156109e35781810151838201526020016109cb565b50505050905090810190601f168015610a105780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b610a4860048036036020811015610a3757600080fd5b5035600160e060020a031916612200565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610a84578181015183820152602001610a6c565b505050509050019250505060405180910390f35b61042460048036036040811015610aae57600080fd5b50600160e060020a0319813516906020013561226d565b61029f60048036036040811015610adb57600080fd5b50803590602001351515612292565b610b0760048036036020811015610b0057600080fd5b5035612399565b6040518087600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b78578181015183820152602001610b60565b50505050905090810190601f168015610ba55780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b61029f60048036036080811015610bce57600080fd5b600160a060020a03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610c0957600080fd5b820183602082011115610c1b57600080fd5b80359060200191846001830284011164010000000083111715610c3d57600080fd5b50909250905061246f565b610c506124b1565b60405180826004811115610c6057fe5b60ff16815260200191505060405180910390f35b610c9160048036036020811015610c8a57600080fd5b50356124ba565b604051808060200187600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200180602001838103835289818151815260200191508051906020019060200280838360005b83811015610d03578181015183820152602001610ceb565b50505050905001838103825284818151815260200191508051906020019080838360005b83811015610d3f578181015183820152602001610d27565b50505050905090810190601f168015610d6c5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b61029f60048036036020811015610d9657600080fd5b5035600160a060020a0316612676565b61029f60048036036040811015610dbc57600080fd5b5080359060200135600160e060020a031916612895565b6102c860048036036040811015610de957600080fd5b50600160a060020a0381358116916020013516612966565b6102e4612994565b6102c860048036036040811015610e1f57600080fd5b5080359060200135600160a060020a03166129a3565b600054600160a060020a03163314610e85576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b6000828152600e6020908152604091829020805483518184028101840190945280845260609392830182828015610f0b57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411610eca5790505b5050505050905060008260001415610f2557508051610f81565b8151831115610f7e576040805160e560020a62461bcd02815260206004820152600960248201527f426164206c696d69740000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50815b81516000811115610f9157600019015b60005b82811015610fc757610fbf8685838503815181101515610fb057fe5b906020019060200201516129c7565b600101610f94565b506000858152600e60205260409020541515611069576000858152600e6020526040812090610ff6828261419c565b60018201805474ffffffffffffffffffffffffffffffffffffffffff19169055600060028301819055600383018190556004830181905561103b9060058401906141c1565b505060405185907f98f986773731debbbf041b73d7edaec62da3ff42b2116c45cd0001fb40ed908690600090a25b5050505050565b600160e060020a0319811660009081526001602052604090205460ff165b919050565b600d54600160a060020a031681565b6000818152600260205260408120548290600160a060020a031615156110c757600080fd5b5050600090815260036020526040902054600160a060020a031690565b6000818152600260205260409020548190600160a060020a03163381148061112f5750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b151561113a57600080fd5b6000838152600260205260409020548390600160a060020a0316151561115f57600080fd5b600084815260026020526040902054600160a060020a0390811690861681141561118857600080fd5b6000858152600360205260408082208054600160a060020a031916600160a060020a038a811691821790925591518893918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050505050565b600061125f3387878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93508e92508d918a908a9081908401838280828437600092019190915250612d1392505050565b98975050505050505050565b6006545b90565b60008054600160a060020a031633146112c3576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b6112cd8383612f07565b90505b92915050565b600054600160a060020a03163314611326576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b600c819055612710811115611385576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e6e6f74206265206d6f7265207468656e203130302e3030250000000000604482015290519081900360640190fd5b6040805182815290517f59701ed6f46ff3f5c94b1b741d5b3f2968eb7a0ae31d2cf2a3a9f2153d18b5149181900360200190a150565b6000818152600260205260409020548190600160a060020a0316338114806113f95750600082815260036020526040902054600160a060020a031633145b806114275750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b151561143257600080fd5b6000838152600260205260409020548390600160a060020a0316151561145757600080fd5b600084815260026020526040902054600160a060020a03908116908716811461147f57600080fd5b600160a060020a038616151561149457600080fd5b61149e8686612f2d565b50505050505050565b600160a060020a03821660009081526008602052604081205482106114cb57600080fd5b600160a060020a03831660009081526008602052604090208054839081106114ef57fe5b9060005260206000200154905092915050565b600054600160a060020a03163314611552576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b60008054600160a060020a031916600160a060020a0392909216919091179055565b6115908383836020604051908101604052806000815250612fa8565b505050565b60008054600160a060020a031633146115e6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b61125f86868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528993508d92508c9189908990819084018382808284376000920191909152506131f492505050565b600654600090821061166c57600080fd5b600680548390811061167a57fe5b90600052602060002001549050919050565b600054600160a060020a031633146116dc576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b600a805482919060ff191660018360048111156116f557fe5b02179055507f9f17f1d96f7bb1d5a573d638f26fdb9fa651427eb2e7b36481cd5e1351581e58816040518082600481111561172c57fe5b60ff16815260200191505060405180910390a150565b60105481565b600081815260026020526040902054600160a060020a031680151561108e57600080fd5b600054600160a060020a031633146117bc576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b6000838152600e602052604090206117d8906005018383614205565b50505050565b6000600160a060020a03821615156117f557600080fd5b6112d08261346a565b6001600a5460ff16600481111561181157fe5b14806118425750600054600160a060020a03163314801561184257506003600a5460ff16600481111561184057fe5b145b1515611886576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806118ba57506000818152600e6020526040902060010154600160a060020a031633145b15156118c557600080fd5b506000918252600e60205260409091206001018054600160a060020a031916600160a060020a03909216919091179055565b600d54600160a060020a0384811691161461195c576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831633146119bc576040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60006119fd83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061348592505050565b90506060611a4784848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250600492505050600319860161348c565b604080517f627579546f6b656e2875696e743235362c61646472657373290000000000000081529051908190036019019020909150600160e060020a031983811691161415611b22578051604014611ae9576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b600080828060200190516040811015611b0157600080fd5b5080516020909101519092509050611b1a89838361350e565b50505061149e565b60405180603461447a823960340190506040518091039020600160e060020a03191682600160e060020a0319161415611ca0578051609c1115611baf576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b6000806060600060608580602001905160a0811015611bcd57600080fd5b8151602083015160408401805192949193820192640100000000811115611bf357600080fd5b82016020810184811115611c0657600080fd5b8151856020820283011164010000000082111715611c2357600080fd5b50506020820151604090920180519194929391640100000000811115611c4857600080fd5b82016020810184811115611c5b57600080fd5b8151640100000000811182820187101715611c7557600080fd5b505092919050505094509450945094509450611c958c8484888886612d13565b50505050505061149e565b6040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60006112cd33848461350e565b600054600160a060020a03163314611d4d576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b600b8190556040805182815290517f1d4a2348bf98e0fa847f28a7db9967b1327ac954c312b659b65a860bb69591729181900360200190a150565b6001600a5460ff166004811115611d9b57fe5b1480611dcc5750600054600160a060020a031633148015611dcc57506003600a5460ff166004811115611dca57fe5b145b1515611e10576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000548390600160a060020a0316331480611e4457506000818152600e6020526040902060010154600160a060020a031633145b1515611e4f57600080fd5b612710821115611e935760405160e560020a62461bcd0281526004018080602001828103825260318152602001806144ce6031913960400191505060405180910390fd5b506000928352600e6020526040909220600381019190915560040155565b600080600080611ebf614283565b6000868152600e6020908152604091829020825181546101009381028201840190945260e081018481529093919284928491840182828015611f5057602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411611f0f5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c0909401939183018282801561202d5780601f106120025761010080835404028352916020019161202d565b820191906000526020600020905b81548152906001019060200180831161201057829003601f168201915b50505050508152505090508060200151816040015182608001518360a001519450945094509450509193509193565b60115481565b600160e060020a03191660009081526012602052604090205490565b336000818152600560209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b600f6020526000908152604090205481565b6001600a5460ff16600481111561211157fe5b14806121425750600054600160a060020a03163314801561214257506003600a5460ff16600481111561214057fe5b145b1515612186576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806121ba57506000818152600e6020526040902060010154600160a060020a031633145b15156121c557600080fd5b6115908383613c20565b6060600060606121dd614283565b6121e685613d67565b8051606082015160c0909201519097919650945092505050565b600160e060020a0319811660009081526012602090815260409182902080548351818402810184019094528084526060939283018282801561226157602002820191906000526020600020905b81548152602001906001019080831161224d575b50505050509050919050565b600160e060020a0319821660009081526012602052604081208054839081106114ef57fe5b6001600a5460ff1660048111156122a557fe5b14806122d65750600054600160a060020a0316331480156122d657506003600a5460ff1660048111156122d457fe5b145b151561231a576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061234e57506000818152600e6020526040902060010154600160a060020a031633145b151561235957600080fd5b506000918252600e6020526040909120600101805491151560a060020a0274ff000000000000000000000000000000000000000019909216919091179055565b600e60209081526000918252604091829020600180820154600280840154600385015460048601546005870180548a516101009882161598909802600019011694909404601f8101899004890287018901909952888652600160a060020a0385169860a060020a90950460ff1697929691959094919390929091908301828280156124655780601f1061243a57610100808354040283529160200191612465565b820191906000526020600020905b81548152906001019060200180831161244857829003601f168201915b5050505050905086565b61106985858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612fa892505050565b600a5460ff1681565b606060008060008060606124cc614283565b6000888152600e6020908152604091829020825181546101009381028201840190945260e08101848152909391928492849184018282801561255d57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a0319168152602001906004019060208260030104928301926001038202915080841161251c5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c0909401939183018282801561263a5780601f1061260f5761010080835404028352916020019161263a565b820191906000526020600020905b81548152906001019060200180831161261d57829003601f168201915b5050509190925250508151602083015160408401516060850151608086015160c090960151939e929d50909b5099509297509550909350505050565b600054600160a060020a031633146126c6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b6000600160a060020a038216151561271b575060008054604051303192600160a060020a03909216916108fc841502918491818181858888f19350505050158015612715573d6000803e3d6000fd5b5061284b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518391600160a060020a038316916370a0823191602480820192602092909190829003018186803b15801561277d57600080fd5b505afa158015612791573d6000803e3d6000fd5b505050506040513d60208110156127a757600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519395509084169263a9059cbb92604480840193602093929083900390910190829087803b15801561281d57600080fd5b505af1158015612831573d6000803e3d6000fd5b505050506040513d602081101561284757600080fd5b5050505b600054604080518381529051600160a060020a03928316928516917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a35050565b6001600a5460ff1660048111156128a857fe5b14806128d95750600054600160a060020a0316331480156128d957506003600a5460ff1660048111156128d757fe5b145b151561291d576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061295157506000818152600e6020526040902060010154600160a060020a031633145b151561295c57600080fd5b61159083836129c7565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600054600160a060020a031681565b6000918252600e602052604090912060010154600160a060020a0391821691161490565b600160e060020a031981166000908152601360209081526040808320858452909152812054908111612a43576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b315d00000000000000000000000000604482015290519081900360640190fd5b600160e060020a03198216600081815260136020908152604080832087845282528083208390559282526012905220548114612b0f57600160e060020a03198216600090815260126020526040812080546000198101908110612aa257fe5b6000918252602080832090910154600160e060020a03198616835260129091526040909120805491925082916000198501908110612adc57fe5b6000918252602080832090910192909255600160e060020a03198516815260138252604080822093825292909152208190555b600160e060020a031982166000908152601260205260409020805490612b399060001983016142cc565b506000838152601460209081526040808320600160e060020a031986168452909152812054908111612bb5576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b325d00000000000000000000000000604482015290519081900360640190fd5b6000848152601460209081526040808320600160e060020a0319871684528252808320839055868352600e9091529020548114612cb6576000848152600e6020526040812080546000198101908110612c0a57fe5b90600052602060002090600891828204019190066004029054906101000a900460e060020a02905080600e600087815260200190815260200160002060000160018403815481101515612c5957fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e060020a90950492909202939093179055868152601482526040808220600160e060020a031994909416825292909152208190555b6000848152600e60205260409020805490612cd59060001983016142f0565b506040518490600160e060020a03198516907f9574a9d09dc883e69228a0eea15ed4da6e520b13cc84cca994c1787c234d78fe90600090a350505050565b60006001600a5460ff166004811115612d2857fe5b1480612d595750600054600160a060020a031633148015612d5957506003600a5460ff166004811115612d5757fe5b145b1515612d9d576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000600b541115612eab57600d5460008054600b54604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038d81166004830152938416602482015260448101929092525191909316926323b872dd9260648083019360209390929083900390910190829087803b158015612e2957600080fd5b505af1158015612e3d573d6000803e3d6000fd5b505050506040513d6020811015612e5357600080fd5b50511515612eab576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b612710831115612eef5760405160e560020a62461bcd0281526004018080602001828103825260318152602001806144ce6031913960400191505060405180910390fd5b612efc86868686866131f4565b979650505050505050565b60118054600181019091556000818152600f602052604090208290556112d08382613ef7565b600081815260026020526040902054600160a060020a0316612f4e82613f45565b612f588183613f82565b612f62838361409c565b8183600160a060020a031682600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600260205260409020548290600160a060020a031633811480612fe65750600082815260036020526040902054600160a060020a031633145b806130145750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b151561301f57600080fd5b6000848152600260205260409020548490600160a060020a0316151561304457600080fd5b600085815260026020526040902054600160a060020a03908116908816811461306c57600080fd5b600160a060020a038716151561308157600080fd5b61308b8787612f2d565b61309d87600160a060020a0316614117565b156131ea576040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a038b81166024850152604484018a9052608060648501908152895160848601528951600095928d169463150b7a029490938f938e938e939260a4019060208501908083838e5b8381101561313557818101518382015260200161311d565b50505050905090810190601f1680156131625780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561318457600080fd5b505af1158015613198573d6000803e3d6000fd5b505050506040513d60208110156131ae57600080fd5b50519050600160e060020a031981167f150b7a0200000000000000000000000000000000000000000000000000000000146131e857600080fd5b505b5050505050505050565b60006001600a5460ff16600481111561320957fe5b148061323a5750600054600160a060020a03163314801561323a57506003600a5460ff16600481111561323857fe5b145b151561327e576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b5060108054600180820190925560408051600060e08201818152610100830184528252600160a060020a038916602080840191909152828401959095524260608301526080820188905260a0820187905260c08201869052838152600e855291909120815180519394929391926132fa92849290910190614324565b506020828101516001830180546040860151151560a060020a0274ff000000000000000000000000000000000000000019600160a060020a03909416600160a060020a03199092169190911792909216919091179055606083015160028301556080830151600383015560a0830151600483015560c0830151805161338592600585019201906143d0565b50905050807f977f348a33aa09ea5592a5999ead89ce5390634d548c226c6a32c8f18b93e08285846040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156133f05781810151838201526020016133d8565b50505050905090810190601f16801561341d5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a260005b86518110156134605761345882888381518110151561344957fe5b90602001906020020151613c20565b60010161342e565b5095945050505050565b600160a060020a031660009081526008602052604090205490565b6020015190565b60608183018451101515156134a057600080fd5b6060821580156134bb57604051915060208201604052613505565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156134f45780518352602092830192016134dc565b5050858452601f01601f1916604052505b50949350505050565b60006001600a5460ff16600481111561352357fe5b148061353f57506002600a5460ff16600481111561353d57fe5b145b8061356f5750600054600160a060020a03163314801561356f57506003600a5460ff16600481111561356d57fe5b145b15156135b3576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6135bb614283565b6000848152600e6020908152604091829020825181546101009381028201840190945260e08101848152909391928492849184018282801561364c57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a0319168152602001906004019060208260030104928301926001038202915080841161360b5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c090940193918301828280156137295780601f106136fe57610100808354040283529160200191613729565b820191906000526020600020905b81548152906001019060200180831161370c57829003601f168201915b505050919092525050506020810151909150600160a060020a0316151561379a576040805160e560020a62461bcd02815260206004820152600860248201527f426164207061636b000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b806040015115156137f5576040805160e560020a62461bcd02815260206004820152600860248201527f44697361626c6564000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b608081015160008111613840576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b60008111801561385257506000600c54115b156139d657600c54600d54604080517ff77c4791000000000000000000000000000000000000000000000000000000008152905161271093850293909304938490039392600160a060020a03909216916323b872dd918a91849163f77c4791916004808301926020929190829003018186803b1580156138d157600080fd5b505afa1580156138e5573d6000803e3d6000fd5b505050506040513d60208110156138fb57600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b15801561395257600080fd5b505af1158015613966573d6000803e3d6000fd5b505050506040513d602081101561397c57600080fd5b505115156139d4576040805160e560020a62461bcd02815260206004820152600860248201527f426164206275726e000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b6000811180156139ea575060008260a00151115b15613b075760a0820151600090612710908302600d5460008054604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038e811660048301529283166024820152959094046044860181905293519684900396939550909116926323b872dd9260648083019360209383900390910190829087803b158015613a8357600080fd5b505af1158015613a97573d6000803e3d6000fd5b505050506040513d6020811015613aad57600080fd5b50511515613b05576040805160e560020a62461bcd02815260206004820152600a60248201527f42616420646f6e61746500000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b6000811115613c0c57600d54602080840151604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152928316602482015260448101869052905191909316926323b872dd9260648083019391928290030181600087803b158015613b8a57600080fd5b505af1158015613b9e573d6000803e3d6000fd5b505050506040513d6020811015613bb457600080fd5b50511515613c0c576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b613c168486612f07565b9695505050505050565b6000828152601460209081526040808320600160e060020a03198516845290915290205415613c99576040805160e560020a62461bcd02815260206004820152601860248201527f4475706c69636174652063617465676f72697a6174696f6e0000000000000000604482015290519081900360640190fd5b600160e060020a0319811660008181526012602090815260408083208054600180820180845592865284862090910188905585855260138452828520888652845282852091909155600e835281842080549182018082559085528385206008830401805463ffffffff60079094166004026101000a938402191660e060020a890493909302929092179091558684526014835281842085855290925280832091909155518492917f74186c4c4ee368ea5564982241efb7357014b52d6e195d026bc4fdfaa112691b91a35050565b613d6f614283565b6000828152600f60209081526040808320548352600e825291829020825181546101009381028201840190945260e081018481529093919284928491840182828015613e0a57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411613dc95790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c09094019391830182828015613ee75780601f10613ebc57610100808354040283529160200191613ee7565b820191906000526020600020905b815481529060010190602001808311613eca57829003601f168201915b5050505050815250509050919050565b613f01828261411f565b60068054600181019091557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f81018290556000918252600760205260409091205550565b600081815260036020526040902054600160a060020a031615613f7f5760008181526003602052604090208054600160a060020a03191690555b50565b600081815260026020526040902054600160a060020a03838116911614613fa857600080fd5b60008181526002602090815260408083208054600160a060020a03191690556009825280832054600160a060020a03861684526008909252909120546000190180821461407357600160a060020a038416600090815260086020526040812080548390811061401357fe5b90600052602060002001549050806008600087600160a060020a0316600160a060020a031681526020019081526020016000208481548110151561405357fe5b600091825260208083209091019290925591825260099052604090208290555b600160a060020a03841660009081526008602052604090208054906110699060001983016142cc565b600081815260026020526040902054600160a060020a0316156140be57600080fd5b60008181526002602090815260408083208054600160a060020a03909616600160a060020a0319909616861790559382526008815283822080546001810182559083528183208101849055928252600990529190912055565b6000903b1190565b600160a060020a038216151561413457600080fd5b600081815260026020526040902054600160a060020a03161561415657600080fd5b614160828261409c565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b508054600082556007016008900490600052602060002090810190613f7f919061443e565b50805460018160011615610100020316600290046000825580601f106141e75750613f7f565b601f016020900490600052602060002090810190613f7f919061443e565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106142465782800160ff19823516178555614273565b82800160010185558215614273579182015b82811115614273578235825591602001919060010190614258565b5061427f92915061443e565b5090565b60e060405190810160405280606081526020016000600160a060020a03168152602001600015158152602001600081526020016000815260200160008152602001606081525090565b8154818355818111156115905760008381526020902061159091810190830161443e565b815481835581811115611590576007016008900481600701600890048360005260206000209182019101611590919061443e565b828054828255906000526020600020906007016008900481019282156143c45791602002820160005b8382111561439257835183826101000a81548163ffffffff021916908360e060020a90040217905550926020019260040160208160030104928301926001030261434d565b80156143c25782816101000a81549063ffffffff0219169055600401602081600301049283019260010302614392565b505b5061427f929150614458565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061441157805160ff1916838001178555614273565b82800160010185558215614273579182015b82811115614273578251825591602001919060010190614423565b61126f91905b8082111561427f5760008155600101614444565b61126f91905b8082111561427f57805463ffffffff1916815560010161445e56fe72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c6279746573294d61726b65742044697361626c6564000000000000000000000000000000000042616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058205d70bbb9756a9a4ff58d74c2f4ea4122f54fb504c60a93163c4c702e877c63010029", + "bin": "6080604052600a805460ff1916600117905534801561001d57600080fd5b50604051602080620046738339810180604052602081101561003e57600080fd5b505160008054600160a060020a031990811633178255600160208190527fb45820386466a8e01597d6e1efaf8f11ba4467972de5ca6c1f8aa3544ac2888e805460ff1990811683179091557fb8349d7b7b0b2b924bf96f90971cda8c7ac1ea4cde292a182bd2a203eef6c5d080548216831790557f780e9d63000000000000000000000000000000000000000000000000000000009093527f0e20bd7b4297895bdd985faac9360f413d46658b4c96e853899576249f1474ab805490931617909155600d8054600160a060020a039093169290911691909117905561454a80620001296000396000f3fe608060405234801561001057600080fd5b50600436106102775760003560e060020a900480639134709e11610155578063b5420d68116100c7578063d2bf36c01161008b578063d2bf36c014610c74578063df8de3e714610d80578063e8bb714314610da6578063e985e9c514610dd3578063f77c479114610e01578063fadb10e614610e0957610277565b8063b5420d6814610a98578063b7f4821114610ac5578063b84c139214610aea578063b88d4fde14610bb8578063c19d93fb14610c4857610277565b80639f9a9b63116101195780639f9a9b63146108a1578063a22cb465146108c8578063a546af4c146108f6578063aeeaf3da14610913578063b09afec114610940578063b34b582514610a2157610277565b80639134709e146107da57806392be2ab8146108065780639389c5b5146108235780639c3a39a21461084c5780639f181b5e1461089957610277565b80633cebb823116101ee57806361bd6725116101b257806361bd67251461065d5780636352211e146106655780636a8479811461068257806370a08231146106f957806386a7413c1461071f5780638f4ffcb11461074b57610277565b80633cebb823146104e957806342842e0e1461050f5780634c06dc17146105455780634f6ccce714610620578063536b04451461063d57610277565b806312d025021161024057806312d025021461034957806318160ddd14610436578063188b53721461043e578063189d165e1461046a57806323b872dd146104875780632f745c59146104bd57610277565b8062b3c91b1461027c57806301ffc9a7146102a1578063060eb520146102dc578063081812fc14610300578063095ea7b31461031d575b600080fd5b61029f6004803603604081101561029257600080fd5b5080359060200135610e35565b005b6102c8600480360360208110156102b757600080fd5b5035600160e060020a031916611070565b604080519115158252519081900360200190f35b6102e4611093565b60408051600160a060020a039092168252519081900360200190f35b6102e46004803603602081101561031657600080fd5b50356110a2565b61029f6004803603604081101561033357600080fd5b50600160a060020a0381351690602001356110e4565b610424600480360360a081101561035f57600080fd5b81359160208101359181019060608101604082013564010000000081111561038657600080fd5b82018360208201111561039857600080fd5b803590602001918460208302840111640100000000831117156103ba57600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156103e557600080fd5b8201836020820111156103f757600080fd5b8035906020019184600183028401116401000000008311171561041957600080fd5b5090925090506111e7565b60408051918252519081900360200190f35b61042461126b565b6104246004803603604081101561045457600080fd5b50600160a060020a038135169060200135611272565b61029f6004803603602081101561048057600080fd5b50356112d6565b61029f6004803603606081101561049d57600080fd5b50600160a060020a038135811691602081013590911690604001356113bb565b610424600480360360408110156104d357600080fd5b50600160a060020a0381351690602001356114a7565b61029f600480360360208110156104ff57600080fd5b5035600160a060020a0316611502565b61029f6004803603606081101561052557600080fd5b50600160a060020a03813581169160208101359091169060400135611574565b610424600480360360a081101561055b57600080fd5b81359160208101359181019060608101604082013564010000000081111561058257600080fd5b82018360208201111561059457600080fd5b803590602001918460208302840111640100000000831117156105b657600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156105e157600080fd5b8201836020820111156105f357600080fd5b8035906020019184600183028401116401000000008311171561061557600080fd5b509092509050611595565b6104246004803603602081101561063657600080fd5b503561165b565b61029f6004803603602081101561065357600080fd5b503560ff1661168c565b610424611742565b6102e46004803603602081101561067b57600080fd5b5035611748565b61029f6004803603604081101561069857600080fd5b813591908101906040810160208201356401000000008111156106ba57600080fd5b8201836020820111156106cc57600080fd5b803590602001918460018302840111640100000000831117156106ee57600080fd5b50909250905061176c565b6104246004803603602081101561070f57600080fd5b5035600160a060020a03166117de565b61029f6004803603604081101561073557600080fd5b5080359060200135600160a060020a03166117fe565b61029f6004803603608081101561076157600080fd5b600160a060020a03823581169260208101359260408201359092169181019060808101606082013564010000000081111561079b57600080fd5b8201836020820111156107ad57600080fd5b803590602001918460018302840111640100000000831117156107cf57600080fd5b5090925090506118f7565b610424600480360360408110156107f057600080fd5b5080359060200135600160a060020a0316611cf0565b61029f6004803603602081101561081c57600080fd5b5035611cfd565b61029f6004803603606081101561083957600080fd5b5080359060208101359060400135611d88565b6108696004803603602081101561086257600080fd5b5035611eb1565b60408051600160a060020a0390951685529215156020850152838301919091526060830152519081900360800190f35b61042461205c565b610424600480360360208110156108b757600080fd5b5035600160e060020a031916612062565b61029f600480360360408110156108de57600080fd5b50600160a060020a038135169060200135151561207e565b6104246004803603602081101561090c57600080fd5b50356120ec565b61029f6004803603604081101561092957600080fd5b5080359060200135600160e060020a0319166120fe565b61095d6004803603602081101561095657600080fd5b50356121cf565b604051808060200184815260200180602001838103835286818151815260200191508051906020019060200280838360005b838110156109a757818101518382015260200161098f565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156109e35781810151838201526020016109cb565b50505050905090810190601f168015610a105780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b610a4860048036036020811015610a3757600080fd5b5035600160e060020a031916612200565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610a84578181015183820152602001610a6c565b505050509050019250505060405180910390f35b61042460048036036040811015610aae57600080fd5b50600160e060020a0319813516906020013561226d565b61029f60048036036040811015610adb57600080fd5b50803590602001351515612292565b610b0760048036036020811015610b0057600080fd5b5035612399565b6040518087600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b78578181015183820152602001610b60565b50505050905090810190601f168015610ba55780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b61029f60048036036080811015610bce57600080fd5b600160a060020a03823581169260208101359091169160408201359190810190608081016060820135640100000000811115610c0957600080fd5b820183602082011115610c1b57600080fd5b80359060200191846001830284011164010000000083111715610c3d57600080fd5b50909250905061246f565b610c506124b1565b60405180826004811115610c6057fe5b60ff16815260200191505060405180910390f35b610c9160048036036020811015610c8a57600080fd5b50356124ba565b604051808060200187600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200180602001838103835289818151815260200191508051906020019060200280838360005b83811015610d03578181015183820152602001610ceb565b50505050905001838103825284818151815260200191508051906020019080838360005b83811015610d3f578181015183820152602001610d27565b50505050905090810190601f168015610d6c5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b61029f60048036036020811015610d9657600080fd5b5035600160a060020a0316612676565b61029f60048036036040811015610dbc57600080fd5b5080359060200135600160e060020a031916612895565b6102c860048036036040811015610de957600080fd5b50600160a060020a0381358116916020013516612966565b6102e4612994565b6102c860048036036040811015610e1f57600080fd5b5080359060200135600160a060020a03166129a3565b600054600160a060020a03163314610e85576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b6000828152600e6020908152604091829020805483518184028101840190945280845260609392830182828015610f0b57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411610eca5790505b5050505050905060008260001415610f2557508051610f81565b8151831115610f7e576040805160e560020a62461bcd02815260206004820152600960248201527f426164206c696d69740000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50815b81516000811115610f9157600019015b60005b82811015610fc757610fbf8685838503815181101515610fb057fe5b906020019060200201516129c7565b600101610f94565b506000858152600e60205260409020541515611069576000858152600e6020526040812090610ff6828261419c565b60018201805474ffffffffffffffffffffffffffffffffffffffffff19169055600060028301819055600383018190556004830181905561103b9060058401906141c1565b505060405185907f98f986773731debbbf041b73d7edaec62da3ff42b2116c45cd0001fb40ed908690600090a25b5050505050565b600160e060020a0319811660009081526001602052604090205460ff165b919050565b600d54600160a060020a031681565b6000818152600260205260408120548290600160a060020a031615156110c757600080fd5b5050600090815260036020526040902054600160a060020a031690565b6000818152600260205260409020548190600160a060020a03163381148061112f5750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b151561113a57600080fd5b6000838152600260205260409020548390600160a060020a0316151561115f57600080fd5b600084815260026020526040902054600160a060020a0390811690861681141561118857600080fd5b6000858152600360205260408082208054600160a060020a031916600160a060020a038a811691821790925591518893918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050505050565b600061125f3387878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93508e92508d918a908a9081908401838280828437600092019190915250612d1392505050565b98975050505050505050565b6006545b90565b60008054600160a060020a031633146112c3576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b6112cd8383612f07565b90505b92915050565b600054600160a060020a03163314611326576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b600c819055612710811115611385576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e6e6f74206265206d6f7265207468656e203130302e3030250000000000604482015290519081900360640190fd5b6040805182815290517f59701ed6f46ff3f5c94b1b741d5b3f2968eb7a0ae31d2cf2a3a9f2153d18b5149181900360200190a150565b6000818152600260205260409020548190600160a060020a0316338114806113f95750600082815260036020526040902054600160a060020a031633145b806114275750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b151561143257600080fd5b6000838152600260205260409020548390600160a060020a0316151561145757600080fd5b600084815260026020526040902054600160a060020a03908116908716811461147f57600080fd5b600160a060020a038616151561149457600080fd5b61149e8686612f2d565b50505050505050565b600160a060020a03821660009081526008602052604081205482106114cb57600080fd5b600160a060020a03831660009081526008602052604090208054839081106114ef57fe5b9060005260206000200154905092915050565b600054600160a060020a03163314611552576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b60008054600160a060020a031916600160a060020a0392909216919091179055565b6115908383836020604051908101604052806000815250612fa8565b505050565b60008054600160a060020a031633146115e6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b61125f86868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f89018190048102820181019092528781528993508d92508c9189908990819084018382808284376000920191909152506131f492505050565b600654600090821061166c57600080fd5b600680548390811061167a57fe5b90600052602060002001549050919050565b600054600160a060020a031633146116dc576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b600a805482919060ff191660018360048111156116f557fe5b02179055507f9f17f1d96f7bb1d5a573d638f26fdb9fa651427eb2e7b36481cd5e1351581e58816040518082600481111561172c57fe5b60ff16815260200191505060405180910390a150565b60105481565b600081815260026020526040902054600160a060020a031680151561108e57600080fd5b600054600160a060020a031633146117bc576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b6000838152600e602052604090206117d8906005018383614205565b50505050565b6000600160a060020a03821615156117f557600080fd5b6112d08261346a565b6001600a5460ff16600481111561181157fe5b14806118425750600054600160a060020a03163314801561184257506003600a5460ff16600481111561184057fe5b145b1515611886576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806118ba57506000818152600e6020526040902060010154600160a060020a031633145b15156118c557600080fd5b506000918252600e60205260409091206001018054600160a060020a031916600160a060020a03909216919091179055565b600d54600160a060020a0384811691161461195c576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831633146119bc576040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60006119fd83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061348592505050565b90506060611a4784848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250600492505050600319860161348c565b604080517f627579546f6b656e2875696e743235362c61646472657373290000000000000081529051908190036019019020909150600160e060020a031983811691161415611b22578051604014611ae9576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b600080828060200190516040811015611b0157600080fd5b5080516020909101519092509050611b1a89838361350e565b50505061149e565b60405180603461447a823960340190506040518091039020600160e060020a03191682600160e060020a0319161415611ca0578051609c1115611baf576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b6000806060600060608580602001905160a0811015611bcd57600080fd5b8151602083015160408401805192949193820192640100000000811115611bf357600080fd5b82016020810184811115611c0657600080fd5b8151856020820283011164010000000082111715611c2357600080fd5b50506020820151604090920180519194929391640100000000811115611c4857600080fd5b82016020810184811115611c5b57600080fd5b8151640100000000811182820187101715611c7557600080fd5b505092919050505094509450945094509450611c958c8484888886612d13565b50505050505061149e565b6040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60006112cd33848461350e565b600054600160a060020a03163314611d4d576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b600b8190556040805182815290517f1d4a2348bf98e0fa847f28a7db9967b1327ac954c312b659b65a860bb69591729181900360200190a150565b6001600a5460ff166004811115611d9b57fe5b1480611dcc5750600054600160a060020a031633148015611dcc57506003600a5460ff166004811115611dca57fe5b145b1515611e10576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000548390600160a060020a0316331480611e4457506000818152600e6020526040902060010154600160a060020a031633145b1515611e4f57600080fd5b612710821115611e935760405160e560020a62461bcd0281526004018080602001828103825260318152602001806144ce6031913960400191505060405180910390fd5b506000928352600e6020526040909220600381019190915560040155565b600080600080611ebf614283565b6000868152600e6020908152604091829020825181546101009381028201840190945260e081018481529093919284928491840182828015611f5057602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411611f0f5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c0909401939183018282801561202d5780601f106120025761010080835404028352916020019161202d565b820191906000526020600020905b81548152906001019060200180831161201057829003601f168201915b50505050508152505090508060200151816040015182608001518360a001519450945094509450509193509193565b60115481565b600160e060020a03191660009081526012602052604090205490565b336000818152600560209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b600f6020526000908152604090205481565b6001600a5460ff16600481111561211157fe5b14806121425750600054600160a060020a03163314801561214257506003600a5460ff16600481111561214057fe5b145b1515612186576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806121ba57506000818152600e6020526040902060010154600160a060020a031633145b15156121c557600080fd5b6115908383613c20565b6060600060606121dd614283565b6121e685613d67565b8051606082015160c0909201519097919650945092505050565b600160e060020a0319811660009081526012602090815260409182902080548351818402810184019094528084526060939283018282801561226157602002820191906000526020600020905b81548152602001906001019080831161224d575b50505050509050919050565b600160e060020a0319821660009081526012602052604081208054839081106114ef57fe5b6001600a5460ff1660048111156122a557fe5b14806122d65750600054600160a060020a0316331480156122d657506003600a5460ff1660048111156122d457fe5b145b151561231a576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061234e57506000818152600e6020526040902060010154600160a060020a031633145b151561235957600080fd5b506000918252600e6020526040909120600101805491151560a060020a0274ff000000000000000000000000000000000000000019909216919091179055565b600e60209081526000918252604091829020600180820154600280840154600385015460048601546005870180548a516101009882161598909802600019011694909404601f8101899004890287018901909952888652600160a060020a0385169860a060020a90950460ff1697929691959094919390929091908301828280156124655780601f1061243a57610100808354040283529160200191612465565b820191906000526020600020905b81548152906001019060200180831161244857829003601f168201915b5050505050905086565b61106985858585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612fa892505050565b600a5460ff1681565b606060008060008060606124cc614283565b6000888152600e6020908152604091829020825181546101009381028201840190945260e08101848152909391928492849184018282801561255d57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a0319168152602001906004019060208260030104928301926001038202915080841161251c5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c0909401939183018282801561263a5780601f1061260f5761010080835404028352916020019161263a565b820191906000526020600020905b81548152906001019060200180831161261d57829003601f168201915b5050509190925250508151602083015160408401516060850151608086015160c090960151939e929d50909b5099509297509550909350505050565b600054600160a060020a031633146126c6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b6000600160a060020a038216151561271b575060008054604051303192600160a060020a03909216916108fc841502918491818181858888f19350505050158015612715573d6000803e3d6000fd5b5061284b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518391600160a060020a038316916370a0823191602480820192602092909190829003018186803b15801561277d57600080fd5b505afa158015612791573d6000803e3d6000fd5b505050506040513d60208110156127a757600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519395509084169263a9059cbb92604480840193602093929083900390910190829087803b15801561281d57600080fd5b505af1158015612831573d6000803e3d6000fd5b505050506040513d602081101561284757600080fd5b5050505b600054604080518381529051600160a060020a03928316928516917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a35050565b6001600a5460ff1660048111156128a857fe5b14806128d95750600054600160a060020a0316331480156128d957506003600a5460ff1660048111156128d757fe5b145b151561291d576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061295157506000818152600e6020526040902060010154600160a060020a031633145b151561295c57600080fd5b61159083836129c7565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600054600160a060020a031681565b6000918252600e602052604090912060010154600160a060020a0391821691161490565b600160e060020a031981166000908152601360209081526040808320858452909152812054908111612a43576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b315d00000000000000000000000000604482015290519081900360640190fd5b600160e060020a03198216600081815260136020908152604080832087845282528083208390559282526012905220548114612b0f57600160e060020a03198216600090815260126020526040812080546000198101908110612aa257fe5b6000918252602080832090910154600160e060020a03198616835260129091526040909120805491925082916000198501908110612adc57fe5b6000918252602080832090910192909255600160e060020a03198516815260138252604080822093825292909152208190555b600160e060020a031982166000908152601260205260409020805490612b399060001983016142cc565b506000838152601460209081526040808320600160e060020a031986168452909152812054908111612bb5576040805160e560020a62461bcd02815260206004820152601360248201527f4e6f742063617465676f72697a6564205b325d00000000000000000000000000604482015290519081900360640190fd5b6000848152601460209081526040808320600160e060020a0319871684528252808320839055868352600e9091529020548114612cb6576000848152600e6020526040812080546000198101908110612c0a57fe5b90600052602060002090600891828204019190066004029054906101000a900460e060020a02905080600e600087815260200190815260200160002060000160018403815481101515612c5957fe5b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e060020a90950492909202939093179055868152601482526040808220600160e060020a031994909416825292909152208190555b6000848152600e60205260409020805490612cd59060001983016142f0565b506040518490600160e060020a03198516907f9574a9d09dc883e69228a0eea15ed4da6e520b13cc84cca994c1787c234d78fe90600090a350505050565b60006001600a5460ff166004811115612d2857fe5b1480612d595750600054600160a060020a031633148015612d5957506003600a5460ff166004811115612d5757fe5b145b1515612d9d576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6000600b541115612eab57600d5460008054600b54604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038d81166004830152938416602482015260448101929092525191909316926323b872dd9260648083019360209390929083900390910190829087803b158015612e2957600080fd5b505af1158015612e3d573d6000803e3d6000fd5b505050506040513d6020811015612e5357600080fd5b50511515612eab576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b612710831115612eef5760405160e560020a62461bcd0281526004018080602001828103825260318152602001806144ce6031913960400191505060405180910390fd5b612efc86868686866131f4565b979650505050505050565b60118054600181019091556000818152600f602052604090208290556112d08382613ef7565b600081815260026020526040902054600160a060020a0316612f4e82613f45565b612f588183613f82565b612f62838361409c565b8183600160a060020a031682600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600260205260409020548290600160a060020a031633811480612fe65750600082815260036020526040902054600160a060020a031633145b806130145750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b151561301f57600080fd5b6000848152600260205260409020548490600160a060020a0316151561304457600080fd5b600085815260026020526040902054600160a060020a03908116908816811461306c57600080fd5b600160a060020a038716151561308157600080fd5b61308b8787612f2d565b61309d87600160a060020a0316614117565b156131ea576040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a038b81166024850152604484018a9052608060648501908152895160848601528951600095928d169463150b7a029490938f938e938e939260a4019060208501908083838e5b8381101561313557818101518382015260200161311d565b50505050905090810190601f1680156131625780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561318457600080fd5b505af1158015613198573d6000803e3d6000fd5b505050506040513d60208110156131ae57600080fd5b50519050600160e060020a031981167f150b7a0200000000000000000000000000000000000000000000000000000000146131e857600080fd5b505b5050505050505050565b60006001600a5460ff16600481111561320957fe5b148061323a5750600054600160a060020a03163314801561323a57506003600a5460ff16600481111561323857fe5b145b151561327e576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b5060108054600180820190925560408051600060e08201818152610100830184528252600160a060020a038916602080840191909152828401959095524260608301526080820188905260a0820187905260c08201869052838152600e855291909120815180519394929391926132fa92849290910190614324565b506020828101516001830180546040860151151560a060020a0274ff000000000000000000000000000000000000000019600160a060020a03909416600160a060020a03199092169190911792909216919091179055606083015160028301556080830151600383015560a0830151600483015560c0830151805161338592600585019201906143d0565b50905050807f977f348a33aa09ea5592a5999ead89ce5390634d548c226c6a32c8f18b93e08285846040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156133f05781810151838201526020016133d8565b50505050905090810190601f16801561341d5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a260005b86518110156134605761345882888381518110151561344957fe5b90602001906020020151613c20565b60010161342e565b5095945050505050565b600160a060020a031660009081526008602052604090205490565b6020015190565b60608183018451101515156134a057600080fd5b6060821580156134bb57604051915060208201604052613505565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156134f45780518352602092830192016134dc565b5050858452601f01601f1916604052505b50949350505050565b60006001600a5460ff16600481111561352357fe5b148061353f57506002600a5460ff16600481111561353d57fe5b145b8061356f5750600054600160a060020a03163314801561356f57506003600a5460ff16600481111561356d57fe5b145b15156135b3576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206144ae833981519152604482015290519081900360640190fd5b6135bb614283565b6000848152600e6020908152604091829020825181546101009381028201840190945260e08101848152909391928492849184018282801561364c57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a0319168152602001906004019060208260030104928301926001038202915080841161360b5790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c090940193918301828280156137295780601f106136fe57610100808354040283529160200191613729565b820191906000526020600020905b81548152906001019060200180831161370c57829003601f168201915b505050919092525050506020810151909150600160a060020a0316151561379a576040805160e560020a62461bcd02815260206004820152600860248201527f426164207061636b000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b806040015115156137f5576040805160e560020a62461bcd02815260206004820152600860248201527f44697361626c6564000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b608081015160008111613840576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206144ff833981519152604482015290519081900360640190fd5b60008111801561385257506000600c54115b156139d657600c54600d54604080517ff77c4791000000000000000000000000000000000000000000000000000000008152905161271093850293909304938490039392600160a060020a03909216916323b872dd918a91849163f77c4791916004808301926020929190829003018186803b1580156138d157600080fd5b505afa1580156138e5573d6000803e3d6000fd5b505050506040513d60208110156138fb57600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b15801561395257600080fd5b505af1158015613966573d6000803e3d6000fd5b505050506040513d602081101561397c57600080fd5b505115156139d4576040805160e560020a62461bcd02815260206004820152600860248201527f426164206275726e000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b6000811180156139ea575060008260a00151115b15613b075760a0820151600090612710908302600d5460008054604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038e811660048301529283166024820152959094046044860181905293519684900396939550909116926323b872dd9260648083019360209383900390910190829087803b158015613a8357600080fd5b505af1158015613a97573d6000803e3d6000fd5b505050506040513d6020811015613aad57600080fd5b50511515613b05576040805160e560020a62461bcd02815260206004820152600a60248201527f42616420646f6e61746500000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b6000811115613c0c57600d54602080840151604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152928316602482015260448101869052905191909316926323b872dd9260648083019391928290030181600087803b158015613b8a57600080fd5b505af1158015613b9e573d6000803e3d6000fd5b505050506040513d6020811015613bb457600080fd5b50511515613c0c576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b613c168486612f07565b9695505050505050565b6000828152601460209081526040808320600160e060020a03198516845290915290205415613c99576040805160e560020a62461bcd02815260206004820152601860248201527f4475706c69636174652063617465676f72697a6174696f6e0000000000000000604482015290519081900360640190fd5b600160e060020a0319811660008181526012602090815260408083208054600180820180845592865284862090910188905585855260138452828520888652845282852091909155600e835281842080549182018082559085528385206008830401805463ffffffff60079094166004026101000a938402191660e060020a890493909302929092179091558684526014835281842085855290925280832091909155518492917f74186c4c4ee368ea5564982241efb7357014b52d6e195d026bc4fdfaa112691b91a35050565b613d6f614283565b6000828152600f60209081526040808320548352600e825291829020825181546101009381028201840190945260e081018481529093919284928491840182828015613e0a57602002820191906000526020600020906000905b82829054906101000a900460e060020a02600160e060020a03191681526020019060040190602082600301049283019260010382029150808411613dc95790505b5050509183525050600182810154600160a060020a03811660208085019190915260a060020a90910460ff161515604080850191909152600280860154606086015260038601546080860152600486015460a086015260058601805483516101009682161596909602600019011691909104601f810184900484028501840190925281845260c09094019391830182828015613ee75780601f10613ebc57610100808354040283529160200191613ee7565b820191906000526020600020905b815481529060010190602001808311613eca57829003601f168201915b5050505050815250509050919050565b613f01828261411f565b60068054600181019091557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f81018290556000918252600760205260409091205550565b600081815260036020526040902054600160a060020a031615613f7f5760008181526003602052604090208054600160a060020a03191690555b50565b600081815260026020526040902054600160a060020a03838116911614613fa857600080fd5b60008181526002602090815260408083208054600160a060020a03191690556009825280832054600160a060020a03861684526008909252909120546000190180821461407357600160a060020a038416600090815260086020526040812080548390811061401357fe5b90600052602060002001549050806008600087600160a060020a0316600160a060020a031681526020019081526020016000208481548110151561405357fe5b600091825260208083209091019290925591825260099052604090208290555b600160a060020a03841660009081526008602052604090208054906110699060001983016142cc565b600081815260026020526040902054600160a060020a0316156140be57600080fd5b60008181526002602090815260408083208054600160a060020a03909616600160a060020a0319909616861790559382526008815283822080546001810182559083528183208101849055928252600990529190912055565b6000903b1190565b600160a060020a038216151561413457600080fd5b600081815260026020526040902054600160a060020a03161561415657600080fd5b614160828261409c565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b508054600082556007016008900490600052602060002090810190613f7f919061443e565b50805460018160011615610100020316600290046000825580601f106141e75750613f7f565b601f016020900490600052602060002090810190613f7f919061443e565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106142465782800160ff19823516178555614273565b82800160010185558215614273579182015b82811115614273578235825591602001919060010190614258565b5061427f92915061443e565b5090565b60e060405190810160405280606081526020016000600160a060020a03168152602001600015158152602001600081526020016000815260200160008152602001606081525090565b8154818355818111156115905760008381526020902061159091810190830161443e565b815481835581811115611590576007016008900481600701600890048360005260206000209182019101611590919061443e565b828054828255906000526020600020906007016008900481019282156143c45791602002820160005b8382111561439257835183826101000a81548163ffffffff021916908360e060020a90040217905550926020019260040160208160030104928301926001030261434d565b80156143c25782816101000a81549063ffffffff0219169055600401602081600301049283019260010302614392565b505b5061427f929150614458565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061441157805160ff1916838001178555614273565b82800160010185558215614273579182015b82811115614273578251825591602001919060010190614423565b61126f91905b8082111561427f5760008155600101614444565b61126f91905b8082111561427f57805463ffffffff1916815560010161445e56fe72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c6279746573294d61726b65742044697361626c6564000000000000000000000000000000000042616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058205d70bbb9756a9a4ff58d74c2f4ea4122f54fb504c60a93163c4c702e877c63010029", "abi": [ { "constant": false, @@ -128913,7 +77039,7 @@ "constant": true, "inputs": [ { - "name": "interfaceId", + "name": "_interfaceID", "type": "bytes4" } ], @@ -128946,7 +77072,7 @@ "constant": true, "inputs": [ { - "name": "tokenId", + "name": "_tokenId", "type": "uint256" } ], @@ -128965,11 +77091,11 @@ "constant": false, "inputs": [ { - "name": "to", + "name": "_approved", "type": "address" }, { - "name": "tokenId", + "name": "_tokenId", "type": "uint256" } ], @@ -129014,6 +77140,20 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "constant": true, + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, { "constant": false, "inputs": [ @@ -129055,15 +77195,15 @@ "constant": false, "inputs": [ { - "name": "from", + "name": "_from", "type": "address" }, { - "name": "to", + "name": "_to", "type": "address" }, { - "name": "tokenId", + "name": "_tokenId", "type": "uint256" } ], @@ -129077,11 +77217,11 @@ "constant": true, "inputs": [ { - "name": "owner", + "name": "_owner", "type": "address" }, { - "name": "index", + "name": "_index", "type": "uint256" } ], @@ -129114,15 +77254,15 @@ "constant": false, "inputs": [ { - "name": "from", + "name": "_from", "type": "address" }, { - "name": "to", + "name": "_to", "type": "address" }, { - "name": "tokenId", + "name": "_tokenId", "type": "uint256" } ], @@ -129167,6 +77307,25 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "constant": true, + "inputs": [ + { + "name": "_index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "name": "", + "type": "uint256" + } + ], + "payable": false, + "stateMutability": "view", + "type": "function" + }, { "constant": false, "inputs": [ @@ -129199,14 +77358,14 @@ "constant": true, "inputs": [ { - "name": "tokenId", + "name": "_tokenId", "type": "uint256" } ], "name": "ownerOf", "outputs": [ { - "name": "", + "name": "_owner", "type": "address" } ], @@ -129236,7 +77395,7 @@ "constant": true, "inputs": [ { - "name": "owner", + "name": "_owner", "type": "address" } ], @@ -129422,11 +77581,11 @@ "constant": false, "inputs": [ { - "name": "to", + "name": "_operator", "type": "address" }, { - "name": "approved", + "name": "_approved", "type": "bool" } ], @@ -129603,15 +77762,15 @@ "constant": false, "inputs": [ { - "name": "from", + "name": "_from", "type": "address" }, { - "name": "to", + "name": "_to", "type": "address" }, { - "name": "tokenId", + "name": "_tokenId", "type": "uint256" }, { @@ -129714,11 +77873,11 @@ "constant": true, "inputs": [ { - "name": "owner", + "name": "_owner", "type": "address" }, { - "name": "operator", + "name": "_operator", "type": "address" } ], @@ -129733,25 +77892,6 @@ "stateMutability": "view", "type": "function" }, - { - "constant": true, - "inputs": [ - { - "name": "owner", - "type": "address" - } - ], - "name": "tokensOwnedBy", - "outputs": [ - { - "name": "tokenList", - "type": "uint256[]" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, { "constant": true, "inputs": [], @@ -129953,17 +78093,17 @@ "inputs": [ { "indexed": true, - "name": "owner", + "name": "_owner", "type": "address" }, { "indexed": true, - "name": "approved", + "name": "_approved", "type": "address" }, { "indexed": true, - "name": "tokenId", + "name": "_tokenId", "type": "uint256" } ], @@ -129975,17 +78115,17 @@ "inputs": [ { "indexed": true, - "name": "owner", + "name": "_owner", "type": "address" }, { "indexed": true, - "name": "operator", + "name": "_operator", "type": "address" }, { "indexed": false, - "name": "approved", + "name": "_approved", "type": "bool" } ], @@ -129993,12 +78133,12 @@ "type": "event" } ], - "srcmap": "655:21176:23:-;;;1528:31;;;-1:-1:-1;;1528:31:23;1549:10;1528:31;;;2886:91;5:2:-1;;;;30:1;27;20:12;5:2;2886:91:23;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2886:91:23;371:10:1;:23;;-1:-1:-1;;;;;;371:23:1;384:10;371:23;;;1156:40:2;1175:20;1156:18;;;;:40;:::i;:::-;3240:39:13;3259:19;3240:18;;;;:39;:::i;:::-;2960:3:23;:10;;-1:-1:-1;;;;;;2960:10:23;-1:-1:-1;;;;;2960:10:23;;;;;;;;;;655:21176;;1519:180:2;1595:25;;;;;;1587:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1651:33;;;;;;1687:4;1651:33;;;;;;;;:40;;-1:-1:-1;;1651:40:2;;;;;;1519:180::o;655:21176:23:-;;;;;;;", - "srcmap-runtime": "655:21176:23:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;655:21176:23;;;;;;;;-1:-1:-1;;;655:21176:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8467:718;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8467:718:23;;;;;;;:::i;:::-;;1300:135:2;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1300:135:2;-1:-1:-1;;;;;;1300:135:2;;:::i;:::-;;;;;;;;;;;;;;;;;;1670:21:23;;;:::i;:::-;;;;-1:-1:-1;;;;;1670:21:23;;;;;;;;;;;;;;5075:168:13;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5075:168:13;;:::i;4440:337::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4440:337:13;;;;;;;;:::i;4212:328:23:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;4212:328:23;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4212:328:23;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4212:328:23;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;4212:328:23;;;;-1:-1:-1;;;;;4212:328:23;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4212:328:23;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4212:328:23;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;4212:328:23;;-1:-1:-1;4212:328:23;-1:-1:-1;4212:328:23;:::i;:::-;;;;;;;;;;;;;;;;11069:192;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;11069:192:23;;;;;;;;:::i;9845:212::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9845:212:23;;:::i;6700:145:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6700:145:13;;;;;;;;;;;;;;;;;:::i;9189:220::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9189:220:13;;;;;;;;:::i;532:126:1:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;532:126:1;-1:-1:-1;;;;;532:126:1;;:::i;7498:215:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7498:215:13;;;;;;;;;;;;;;;;;:::i;10529:339:23:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;10529:339:23;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;10529:339:23;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;10529:339:23;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;10529:339:23;;;;-1:-1:-1;;;;;10529:339:23;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;10529:339:23;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;10529:339:23;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;10529:339:23;;-1:-1:-1;10529:339:23;-1:-1:-1;10529:339:23;:::i;9301:148::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9301:148:23;;;;:::i;1817:24::-;;;:::i;3900:109:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3900:109:13;;:::i;8073:179:23:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;8073:179:23;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;8073:179:23;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;8073:179:23;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;8073:179:23;;-1:-1:-1;8073:179:23;-1:-1:-1;8073:179:23;:::i;3497:172:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3497:172:13;-1:-1:-1;;;;;3497:172:13;;:::i;4748:171:23:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4748:171:23;;;;;;-1:-1:-1;;;;;4748:171:23;;:::i;6763:1102::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;6763:1102:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;6763:1102:23;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;6763:1102:23;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;6763:1102:23;;-1:-1:-1;6763:1102:23;-1:-1:-1;6763:1102:23;:::i;3461:199::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3461:199:23;;;;;;-1:-1:-1;;;;;3461:199:23;;:::i;9572:156::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9572:156:23;;:::i;5118:323::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5118:323:23;;;;;;;;;;;;:::i;13757:392::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13757:392:23;;:::i;:::-;;;;-1:-1:-1;;;;;13757:392:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1864:25;;;:::i;12372:169::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12372:169:23;-1:-1:-1;;;;;;12372:169:23;;:::i;5543:236:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5543:236:13;;;;;;;;;;:::i;1756:46:23:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1756:46:23;;:::i;5650:188::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5650:188:23;;;;;;-1:-1:-1;;;;;;5650:188:23;;:::i;14214:382::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14214:382:23;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14214:382:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14214:382:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12102:179;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12102:179:23;-1:-1:-1;;;;;;12102:179:23;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12102:179:23;;;;;;;;;;;;;;;;;12632:188;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;;12632:188:23;;;;;;;;:::i;6325:183::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6325:183:23;;;;;;;;;:::i;1713:37::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1713:37:23;;:::i;:::-;;;;;-1:-1:-1;;;;;1713:37:23;-1:-1:-1;;;;;1713:37:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1713:37:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8432:236:13;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;8432:236:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;8432:236:13;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;8432:236:13;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;8432:236:13;;-1:-1:-1;8432:236:13;-1:-1:-1;8432:236:13;:::i;1528:31:23:-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13149:528;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13149:528:23;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;13149:528:23;-1:-1:-1;;;;;13149:528:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13149:528:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13149:528:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11532:428;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11532:428:23;-1:-1:-1;;;;;11532:428:23;;:::i;6053:194::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6053:194:23;;;;;;-1:-1:-1;;;;;;6053:194:23;;:::i;6108:149:13:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6108:149:13;;;;;;;;;;:::i;8676:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8676:134:13;-1:-1:-1;;;;;8676:134:13;;:::i;295:33:1:-;;;:::i;12906:169:23:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12906:169:23;;;;;;-1:-1:-1;;;;;12906:169:23;;:::i;8467:718::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;8602:14:23;;;;:5;:14;;;;;;;;;8574:51;;;;;;;;;;;;;;;;;:25;;:51;;;8602:14;8574:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8574:51:23;-1:-1:-1;;;;;8574:51:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8635:10;8658:6;8668:1;8658:11;8655:172;;;-1:-1:-1;8693:16:23;;8655:172;;;8758:16;;8748:26;;;8740:48;;;;;-1:-1:-1;;;;;8740:48:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8810:6:23;8655:172;8859:16;;8845:11;8888:7;;8885:41;;;-1:-1:-1;;8910:5:23;8885:41;8939:6;8935:102;8955:5;8951:1;:9;8935:102;;;8980:46;9000:7;9009:9;9023:1;9019:3;:5;9009:16;;;;;;;;;;;;;;;;;;8980:19;:46::i;:::-;8962:3;;8935:102;;;-1:-1:-1;9050:14:23;;;;:5;:14;;;;;:30;:35;9047:123;;;9107:14;;;;:5;:14;;;;;;9100:21;9107:14;;9100:21;:::i;:::-;;;;;;-1:-1:-1;;9100:21:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;9140:19:23;;9151:7;;9140:19;;;;;9047:123;278:1:1;;;8467:718:23;;:::o;1300:135:2:-;-1:-1:-1;;;;;;1394:33:2;1370:4;1394:33;;;:20;:33;;;;;;;;;1300:135::o;1670:21:23:-;;;-1:-1:-1;;;;;1670:21:23;;:::o;5075:168:13:-;5136:7;5164:15;5171:7;5164:6;:15::i;:::-;5156:37;;;;;;;-1:-1:-1;;;;;5156:37:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5211:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;5211:24:13;;5075:168::o;4440:337::-;4506:13;4522:17;4531:7;4522:8;:17::i;:::-;4506:33;-1:-1:-1;;;;;;4558:11:13;;;;;;;;4550:37;;;;;-1:-1:-1;;;;;4550:37:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4550:37:13;;;;;;;;;;;;;;;4606:10;-1:-1:-1;;;;;4606:19:13;;;;:60;;-1:-1:-1;;;;;;4629:25:13;;;;;;:18;:25;;;;;;;;4655:10;4629:37;;;;;;;;;;4606:60;4598:85;;;;;;;-1:-1:-1;;;;;4598:85:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4598:85:13;;;;;;;;;;;;;;;4696:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;4696:29:13;-1:-1:-1;;;;;4696:29:13;;;;;;;;;4741:28;;4696:24;;4741:28;;;;;;;4440:337;;;:::o;4212:328:23:-;4424:14;4463:70;4472:10;4484:9;;4463:70;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;4463:70:23;;;;137:4:-1;4463:70:23;;;;;;;;;;;;;;;;;4495:6;;-1:-1:-1;4503:6:23;;-1:-1:-1;4511:7:23;;4520:12;;;;;;4463:70;;4520:12;;;;4463:70;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;4463:8:23;;-1:-1:-1;;;4463:70:23:i;:::-;4454:79;4212:328;-1:-1:-1;;;;;;;;4212:328:23:o;11069:192::-;11184:15;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;11222:32:23;11238:6;11246:7;11222:15;:32::i;:::-;11215:39;;278:1:1;11069:192:23;;;;:::o;9845:212::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;9937:8:23;:17;;;9982:5;9972:15;;;9964:55;;;;;-1:-1:-1;;;;;9964:55:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;10034:16;;;;;;;;;;;;;;;;;9845:212;:::o;6700:145:13:-;6790:7;2440:10;2422:15;2477:17;6790:7;2477:8;:17::i;:::-;2461:33;;2685:5;-1:-1:-1;;;;;2674:16:13;:7;-1:-1:-1;;;;;2674:16:13;;:55;;;-1:-1:-1;2694:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;2694:35:13;;;:24;;:35;2674:55;:93;;;-1:-1:-1;;;;;;2733:25:13;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2674:93;2666:118;;;;;;;-1:-1:-1;;;;;2666:118:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2666:118:13;;;;;;;;;;;;;;;6810:27;6819:4;6825:2;6829:7;6810:8;:27::i;:::-;6700:145;;;;;;:::o;9189:220::-;-1:-1:-1;;;;;9307:19:13;;9271:7;9307:19;;;:12;:19;;;;;:26;9299:34;;9291:66;;;;;-1:-1:-1;;;;;9291:66:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9375:19:13;;;;;;:12;:19;;;;;:26;;9395:5;;9375:26;;;;;;;;;;;;;;9368:33;;9189:220;;;;:::o;532:126:1:-;240:10;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;623:10;:27;;-1:-1:-1;;623:27:1;-1:-1:-1;;;;;623:27:1;;;;;;;;;;532:126::o;7498:215:13:-;7612:7;2440:10;2422:15;2477:17;7612:7;2477:8;:17::i;:::-;2461:33;;2685:5;-1:-1:-1;;;;;2674:16:13;:7;-1:-1:-1;;;;;2674:16:13;;:55;;;-1:-1:-1;2694:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;2694:35:13;;;:24;;:35;2674:55;:93;;;-1:-1:-1;;;;;;2733:25:13;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2674:93;2666:118;;;;;;;-1:-1:-1;;;;;2666:118:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2666:118:13;;;;;;;;;;;;;;;7635:4;7641:2;7645:7;2812:307;;;;;;;;;;;;;7678:27;7687:4;7693:2;7697:7;7678:8;:27::i;:::-;2916:15;:2;-1:-1:-1;;;;;2916:13:13;;:15::i;:::-;2912:200;;;2964:69;;-1:-1:-1;;;;;2964:69:13;;3000:10;2964:69;;;;;;-1:-1:-1;;;;;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;2948:13;;2964:35;;;;;;3000:10;;3012:4;;3018:7;;3027:5;;2964:69;;;;;;;;;;;2948:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2964:69:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2964:69:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2964:69:13;;-1:-1:-1;;;;;;;3056:26:13;;-1:-1:-1;;;;;3056:26:13;3048:52;;;;;-1:-1:-1;;;;;3048:52:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3048:52:13;;;;;;;;;;;;;;;2912:200;;2795:1;;;;7498:215;;;;;;:::o;10529:339:23:-;10764:14;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;10803:58:23;10812:9;;10803:58;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;10803:58:23;;;;137:4:-1;10803:58:23;;;;;;;;;;;;;;;;;10823:6;;-1:-1:-1;10831:6:23;;-1:-1:-1;10839:7:23;;10848:12;;;;;;10803:58;;10848:12;;;;10803:58;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;10803:8:23;;-1:-1:-1;;;10803:58:23:i;9301:148::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;9394:5:23;:14;;9402:6;;9394:5;-1:-1:-1;;9394:14:23;;9402:6;9394:14;;;;;;;;;;;;;9423:19;9435:6;9423:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;9301:148;:::o;1817:24::-;;;;:::o;3900:109:13:-;3957:7;3984:17;3993:7;3984:8;:17::i;8073:179:23:-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;8204:14:23;;;;:5;:14;;;;;:41;;:26;;8233:12;;8204:41;:::i;:::-;;8073:179;;;:::o;3497:172:13:-;3554:7;-1:-1:-1;;;;;3582:19:13;;;;3574:43;;;;;-1:-1:-1;;;;;3574:43:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3635:19:13;;;;;:12;:19;;;;;:26;;3497:172::o;4748:171:23:-;2334:10;2325:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2363:10:23;;-1:-1:-1;;;;;2363:10:23;2349;:24;:53;;;;-1:-1:-1;2386:16:23;2377:5;;;;:25;;;;;;;;;2349:53;2317:106;;;;;;;-1:-1:-1;;;;;2317:106:23;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2317:106:23;;;;;;;;;;;;;;;2768:10;;4863:7;;-1:-1:-1;;;;;2768:10:23;2754;:24;;:62;;-1:-1:-1;2782:14:23;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2782:20:23;2806:10;2782:34;2754:62;2746:71;;;;;;;;-1:-1:-1;4886:14:23;;;;:5;:14;;;;;;:20;;:26;;-1:-1:-1;;4886:26:23;-1:-1:-1;;;;;4886:26:23;;;;;;;;;4748:171::o;6763:1102::-;6947:3;;-1:-1:-1;;;;;6929:22:23;;;6947:3;;6929:22;6921:44;;;;;-1:-1:-1;;;;;6921:44:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6983:29:23;;7001:10;6983:29;6975:50;;;;;-1:-1:-1;;;;;6975:50:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;7035:10;7048:19;7061:5;;7048:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;7048:12:23;;-1:-1:-1;;;7048:19:23:i;:::-;7035:32;;7077:18;7098:29;7104:5;;7098:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;7110:1:23;;-1:-1:-1;;;;;7112:14:23;;7098:5;:29::i;:::-;7154:38;;;;;;;;;;;;;;;;7077:50;;-1:-1:-1;;;;;;;7140:53:23;;;;;;7137:722;;;7216:12;;7232:2;7216:18;7208:46;;;;;-1:-1:-1;;;;;7208:46:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;7269:14;7285:13;7313:5;7302:37;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7302:37:23;;;;;;;;;-1:-1:-1;7302:37:23;-1:-1:-1;7353:25:23;7357:5;7302:37;;7353:3;:25::i;:::-;;7137:722;;;;;7412:65;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7398:80:23;;:3;-1:-1:-1;;;;;7398:80:23;;;7395:464;;;7502:12;;7518:3;-1:-1:-1;7502:19:23;7494:47;;;;;-1:-1:-1;;;;;7494:47:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;7556:14;7572:15;7589:25;7616:14;7632:25;7672:5;7661:59;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;7661:59:23;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;;7661:59:23;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;0:372;;7661:59:23;;;;;;7555:165;;;;;;;;;;7734:65;7743:5;7750:9;7761:6;7769;7777:7;7786:12;7734:8;:65::i;:::-;;7395:464;;;;;;;;7830:18;;;-1:-1:-1;;;;;7830:18:23;;;;;;;;;;;;;;;;;;;;;;;;;;;7395:464;6763:1102;;;;;;;:::o;3461:199::-;3577:15;3615:38;3619:10;3631:7;3640:12;3615:3;:38::i;9572:156::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;9667:11:23;:20;;;9702:19;;;;;;;;;;;;;;;;;9572:156;:::o;5118:323::-;2334:10;2325:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2363:10:23;;-1:-1:-1;;;;;2363:10:23;2349;:24;:53;;;;-1:-1:-1;2386:16:23;2377:5;;;;:25;;;;;;;;;2349:53;2317:106;;;;;;;-1:-1:-1;;;;;2317:106:23;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2317:106:23;;;;;;;;;;;;;;;2768:10;;5253:7;;-1:-1:-1;;;;;2768:10:23;2754;:24;;:62;;-1:-1:-1;2782:14:23;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2782:20:23;2806:10;2782:34;2754:62;2746:71;;;;;;;;5295:5;5284:16;;;5276:78;;;;-1:-1:-1;;;;;5276:78:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5364:14:23;;;;:5;:14;;;;;;:20;;;:29;;;;5403:21;;:31;5118:323::o;13757:392::-;13861:13;13888;13915;13942:14;13982:16;;:::i;:::-;14001:14;;;;:5;:14;;;;;;;;;13982:33;;;;;;;;;;;;;;;;;;;;;;;14001:14;;13982:33;;14001:14;;13982:33;;14001:14;13982:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13982:33:23;-1:-1:-1;;;;;13982:33:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13982:33:23;;;-1:-1:-1;;13982:33:23;;;;;-1:-1:-1;;;;;13982:33:23;;;;;;;;;;-1:-1:-1;;;13982:33:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13982:33:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14046:4;:10;;;14070:4;:13;;;14097:4;:10;;;14121:4;:11;;;14025:117;;;;;;;;;13757:392;;;;;:::o;1864:25::-;;;;:::o;12372:169::-;-1:-1:-1;;;;;;12502:25:23;12467:12;12502:25;;;:14;:25;;;;;:32;;12372:169::o;5543:236:13:-;-1:-1:-1;;;;;5625:16:13;;5631:10;5625:16;;5617:42;;;;;-1:-1:-1;;;;;5617:42:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5617:42:13;;;;;;;;;;;;;;;5689:10;5670:30;;;;:18;:30;;;;;;;;-1:-1:-1;;;;;5670:34:13;;;;;;;;;;;;:45;;-1:-1:-1;;5670:45:13;;;;;;;;;;5731:40;;;;;;;5670:34;;5689:10;5731:40;;;;;;;;;;;5543:236;;:::o;1756:46:23:-;;;;;;;;;;;;;:::o;5650:188::-;2334:10;2325:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2363:10:23;;-1:-1:-1;;;;;2363:10:23;2349;:24;:53;;;;-1:-1:-1;2386:16:23;2377:5;;;;:25;;;;;;;;;2349:53;2317:106;;;;;;;-1:-1:-1;;;;;2317:106:23;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2317:106:23;;;;;;;;;;;;;;;2768:10;;5772:7;;-1:-1:-1;;;;;2768:10:23;2754;:24;;:62;;-1:-1:-1;2782:14:23;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2782:20:23;2806:10;2782:34;2754:62;2746:71;;;;;;;;5795:36;5812:7;5821:9;5795:16;:36::i;:::-;2433:1;5650:188;;:::o;14214:382::-;14317:24;14355:17;14386:24;14436:16;;:::i;:::-;14455:22;14468:8;14455:12;:22::i;:::-;14508:13;;14535:14;;;;14563:16;;;;;14508:13;;14535:14;;-1:-1:-1;14563:16:23;-1:-1:-1;14214:382:23;-1:-1:-1;;;14214:382:23:o;12102:179::-;-1:-1:-1;;;;;;12249:25:23;;;;;;:14;:25;;;;;;;;;12242:32;;;;;;;;;;;;;;;;;12197:29;;12242:32;;;12249:25;12242:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12102:179;;;:::o;12632:188::-;-1:-1:-1;;;;;;12780:25:23;;12741:14;12780:25;;;:14;:25;;;;;:33;;12806:6;;12780:33;;;;;6325:183;2334:10;2325:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2363:10:23;;-1:-1:-1;;;;;2363:10:23;2349;:24;:53;;;;-1:-1:-1;2386:16:23;2377:5;;;;:25;;;;;;;;;2349:53;2317:106;;;;;;;-1:-1:-1;;;;;2317:106:23;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2317:106:23;;;;;;;;;;;;;;;2768:10;;6443:7;;-1:-1:-1;;;;;2768:10:23;2754;:24;;:62;;-1:-1:-1;2782:14:23;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2782:20:23;2806:10;2782:34;2754:62;2746:71;;;;;;;;-1:-1:-1;6466:14:23;;;;:5;:14;;;;;;:23;;:35;;;;;-1:-1:-1;;;6466:35:23;-1:-1:-1;;6466:35:23;;;;;;;;;6325:183::o;1713:37::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1713:37:23;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1713:37:23;;;-1:-1:-1;;;1713:37:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;8432:236:13:-;8567:7;2440:10;2422:15;2477:17;8567:7;2477:8;:17::i;:::-;2461:33;;2685:5;-1:-1:-1;;;;;2674:16:13;:7;-1:-1:-1;;;;;2674:16:13;;:55;;;-1:-1:-1;2694:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;2694:35:13;;;:24;;:35;2674:55;:93;;;-1:-1:-1;;;;;;2733:25:13;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2674:93;2666:118;;;;;;;-1:-1:-1;;;;;2666:118:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2666:118:13;;;;;;;;;;;;;;;8590:4;8596:2;8600:7;8609:5;;2812:307;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;8633:27:13;;-1:-1:-1;8642:4:13;;-1:-1:-1;8648:2:13;;-1:-1:-1;8652:7:13;8633:8;:27::i;:::-;2916:15;:2;-1:-1:-1;;;;;2916:13:13;;:15::i;:::-;2912:200;;;2964:69;;-1:-1:-1;;;;;2964:69:13;;3000:10;2964:69;;;;;;-1:-1:-1;;;;;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;2948:13;;2964:35;;;;;;3000:10;;3012:4;;3018:7;;3027:5;;2964:69;;;;;;;;;;;2948:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2964:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2964:69:13;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2964:69:13;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2964:69:13;;-1:-1:-1;;;;;;;3056:26:13;;-1:-1:-1;;;;;3056:26:13;3048:52;;;;;-1:-1:-1;;;;;3048:52:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3048:52:13;;;;;;;;;;;;;;;2912:200;;2795:1;;;;8432:236;;;;;;;;:::o;1528:31:23:-;;;;;;:::o;13149:528::-;13250:24;13288:13;13315;13342:17;13373:13;13400:24;13450:16;;:::i;:::-;13469:14;;;;:5;:14;;;;;;;;;13450:33;;;;;;;;;;;;;;;;;;;;;;;13469:14;;13450:33;;13469:14;;13450:33;;13469:14;13450:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13450:33:23;-1:-1:-1;;;;;13450:33:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13450:33:23;;;-1:-1:-1;;13450:33:23;;;;;-1:-1:-1;;;;;13450:33:23;;;;;;;;;;-1:-1:-1;;;13450:33:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13450:33:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13450:33:23;;;;-1:-1:-1;;13514:13:23;;13541:10;;;;13565:13;;;;13592:14;;;;13620:10;;;;13644:16;;;;;13514:13;;13541:10;;-1:-1:-1;13565:13:23;;-1:-1:-1;13592:14:23;-1:-1:-1;13620:10:23;;-1:-1:-1;13644:16:23;-1:-1:-1;13149:528:23;;-1:-1:-1;;;;13149:528:23:o;11532:428::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;11629:20:23;;;11625:122;;;11673:10;;;11665:51;;-1:-1:-1;;;;;11673:10:23;;;;11702:4;11694:21;11665:51;;;;;11694:21;;11665:51;11673:10;11665:51;11694:21;11673:10;11665:51;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11665:51:23;11730:7;;11625:122;11821:30;;;;;;11845:4;11821:30;;;;;;11786:6;;11756:16;;-1:-1:-1;;;;;11821:15:23;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;11821:30:23;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11821:30:23;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11821:30:23;11876:10;;;11861:35;;;;;;-1:-1:-1;;;;;11876:10:23;;;11861:35;;;;;;;;;;;;11821:30;;-1:-1:-1;11861:14:23;;;;;;:35;;;;;11821:30;;11861:35;;;;;;;;;;;:14;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;11861:35:23;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11861:35:23;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;11933:10:23;;11911:42;;;;;;;;-1:-1:-1;;;;;11933:10:23;;;;11911:42;;;;;;;;;11861:35;11911:42;;;278:1:1;;;11532:428:23;:::o;6053:194::-;2334:10;2325:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2363:10:23;;-1:-1:-1;;;;;2363:10:23;2349;:24;:53;;;;-1:-1:-1;2386:16:23;2377:5;;;;:25;;;;;;;;;2349:53;2317:106;;;;;;;-1:-1:-1;;;;;2317:106:23;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2317:106:23;;;;;;;;;;;;;;;2768:10;;6178:7;;-1:-1:-1;;;;;2768:10:23;2754;:24;;:62;;-1:-1:-1;2782:14:23;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2782:20:23;2806:10;2782:34;2754:62;2746:71;;;;;;;;6201:39;6221:7;6230:9;6201:19;:39::i;6108:149:13:-;-1:-1:-1;;;;;6214:25:13;;;6190:4;6214:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;6108:149::o;8676:134::-;-1:-1:-1;;;;;8783:19:13;;;;;;:12;:19;;;;;;;;;8776:26;;;;;;;;;;;;;;;;;8737;;8776;;;8783:19;8776:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8676:134;;;:::o;295:33:1:-;;;-1:-1:-1;;;;;295:33:1;;:::o;12906:169:23:-;13010:4;13038:14;;;:5;:14;;;;;;:20;;;-1:-1:-1;;;;;13038:30:23;;;:20;;:30;;12906:169::o;17860:1130::-;-1:-1:-1;;;;;;17953:30:23;;17942:8;17953:30;;;:19;:30;;;;;;;;:39;;;;;;;;;;18010:7;;18002:39;;;;;-1:-1:-1;;;;;18002:39:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18058:30:23;;;;;;:19;:30;;;;;;;;:39;;;;;;;;18051:46;;;18117:25;;;:14;:25;;;:32;18110:39;;18107:288;;-1:-1:-1;;;;;;18187:25:23;;18164:20;18187:25;;;:14;:25;;;;;18213:32;;-1:-1:-1;;18213:34:23;;;18187:61;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18273:25:23;;;;:14;:25;;;;;;;:32;;18187:61;;-1:-1:-1;18187:61:23;;-1:-1:-1;;18299:5:23;;;18273:32;;;;;;;;;;;;;;;;;:47;;;;-1:-1:-1;;;;;;18334:30:23;;;;:19;:30;;;;;;:44;;;;;;;;:50;;;18107:288;-1:-1:-1;;;;;;18404:25:23;;;;;;:14;:25;;;;;:34;;;;;-1:-1:-1;;18404:34:23;;;:::i;:::-;-1:-1:-1;18449:9:23;18461:26;;;:17;:26;;;;;;;;-1:-1:-1;;;;;;18461:37:23;;;;;;;;;;;18516:8;;18508:40;;;;;-1:-1:-1;;;;;18508:40:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;18565:26;;;;:17;:26;;;;;;;;-1:-1:-1;;;;;;18565:37:23;;;;;;;;;18558:44;;;18623:14;;;:5;:14;;;;;:30;18615:38;;18612:281;;18668:20;18691:14;;;:5;:14;;;;;18715:30;;-1:-1:-1;;18715:32:23;;;18691:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;18691:57:23;18668:80;;18807:13;18773:5;:14;18779:7;18773:14;;;;;;;;;;;:23;;18802:1;18797:4;:6;18773:31;;;;;;;;;;;;;;;;;;;;;;:47;;;:31;;;;;;:47;;;;;;;-1:-1:-1;;;18773:47:23;;;;;;;;;;;;;18834:26;;;:17;:26;;;;;;-1:-1:-1;;;;;;18834:41:23;;;;;;;;;;;:48;;;18612:281;18902:14;;;;:5;:14;;;;;:32;;;;;-1:-1:-1;;18902:32:23;;;:::i;:::-;-1:-1:-1;18949:33:23;;18974:7;;-1:-1:-1;;;;;;18949:33:23;;;;;;;;17860:1130;;;;:::o;9605:154:13:-;9661:4;9694:20;;;:11;:20;;;;;;-1:-1:-1;;;;;9694:20:13;9732:19;;;9605:154::o;12843:197::-;12901:7;12937:20;;;:11;:20;;;;;;-1:-1:-1;;;;;12937:20:13;12976:19;;;12968:41;;;;;-1:-1:-1;;;;;12968:41:13;;;;;;;;;;;;;;;;;;;;;;;;;;;14658:580:23;14910:14;2334:10;2325:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2363:10:23;;-1:-1:-1;;;;;2363:10:23;2349;:24;:53;;;;-1:-1:-1;2386:16:23;2377:5;;;;:25;;;;;;;;;2349:53;2317:106;;;;;;;-1:-1:-1;;;;;2317:106:23;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2317:106:23;;;;;;;;;;;;;;;14958:1;14944:11;;:15;14941:121;;;14982:3;;15023:11;;14982:53;;;;;;-1:-1:-1;;;;;14982:53:23;;;;;;;15016:4;14982:53;;;;;;;;;;;;;:3;;;;;:16;;:53;;;;;;;;;;;;;;:3;;:53;;;5:2:-1;;;;30:1;27;20:12;5:2;14982:53:23;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14982:53:23;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14982:53:23;14974:77;;;;;;;-1:-1:-1;;;;;14974:77:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;15090:5;15079:16;;;15071:78;;;;-1:-1:-1;;;;;15071:78:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15168:58;15177:9;15188:6;15196;15204:7;15213:12;15168:8;:58::i;:::-;15159:67;14658:580;-1:-1:-1;;;;;;;14658:580:23:o;17081:246::-;17237:10;:12;;;;;;;;17196:15;17259:20;;;:11;:20;;;;;:30;;;17299:21;17304:6;17237:12;17299:4;:21::i;11582:428:13:-;11692:4;-1:-1:-1;;;;;11671:25:13;:17;11680:7;11671:8;:17::i;:::-;-1:-1:-1;;;;;11671:25:13;;11663:50;;;;;-1:-1:-1;;;;;11663:50:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11663:50:13;;;;;;;;;;;;;;;-1:-1:-1;;;;;11732:16:13;;;;11724:40;;;;;-1:-1:-1;;;;;11724:40:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;11784:24;;;;:15;:24;;;;;;;;11777:31;;-1:-1:-1;;11777:31:13;;;;;;11825:11;:20;;;;;:25;;-1:-1:-1;;;;;11825:25:13;;;;;;;;;;11879:18;;;;:12;:18;;;;;11861:46;;11800:7;11861:17;:46::i;:::-;-1:-1:-1;;;;;11933:16:13;;;;;;:12;:16;;;;;11918:41;;11951:7;11918:14;:41::i;:::-;11994:7;11990:2;-1:-1:-1;;;;;11975:27:13;11984:4;-1:-1:-1;;;;;11975:27:13;;;;;;;;;;;11582:428;;;:::o;484:635:0:-;544:4;1064:20;;1103:8;;484:635::o;15299:559:23:-;15525:14;2334:10;2325:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2363:10:23;;-1:-1:-1;;;;;2363:10:23;2349;:24;:53;;;;-1:-1:-1;2386:16:23;2377:5;;;;:25;;;;;;;;;2349:53;2317:106;;;;;;;-1:-1:-1;;;;;2317:106:23;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2317:106:23;;;;;;;;;;;;;;;-1:-1:-1;15565:9:23;:11;;;;;;;;;15602:83;;;-1:-1:-1;15602:83:23;;;15607:15;;;;;;;;15602:83;;-1:-1:-1;;;;;15602:83:23;;;;;;;;;;;;;;;;;15638:15;15602:83;;;;;;;;;;-1:-1:-1;;;15602:83:23;;;;;;;;;15586:13;;;:5;:13;;;;;;:99;;;;15565:11;;15602:83;;15586:13;;:99;;:13;;:99;;;;;:::i;:::-;-1:-1:-1;15586:99:23;;;;;;;;;;;;;;;;-1:-1:-1;;;15586:99:23;-1:-1:-1;;;;;;;15586:99:23;;;-1:-1:-1;;15586:99:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;15709:6;15700:38;15717:6;15725:12;15700:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;15700:38:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15752:6;15748:104;15767:9;:16;15763:1;:20;15748:104;;;15803:38;15820:6;15828:9;15838:1;15828:12;;;;;;;;;;;;;;;;;;15803:16;:38::i;:::-;15785:3;;15748:104;;;;15299:559;;;;;;;:::o;19183:161::-;19318:4;19303:24;19297:31;;19276:62::o;19350:2477::-;19435:12;19494:7;19485:6;:16;19467:6;:13;:35;;19459:44;;;;;;;;19514:22;19577:15;;19605:1967;;;;21713:4;21707:11;21694:24;;21764:4;21753:9;21749:20;21743:4;21736:34;19570:2214;;19605:1967;19787:4;19781:11;19768:24;;20446:2;20437:7;20433:16;20828:9;20821:17;20815:4;20811:28;20799:9;20788;20784:25;20780:60;20876:7;20872:2;20868:16;21128:6;21114:9;21107:17;21101:4;21097:28;21085:9;21077:6;21073:22;21069:57;21065:70;20902:425;21161:3;21157:2;21154:11;20902:425;;;21299:9;;21288:21;;21202:4;21194:13;;;;21234;20902:425;;;-1:-1:-1;;21345:26:23;;;21553:2;21536:11;-1:-1:-1;;21532:25:23;21526:4;21519:39;-1:-1:-1;19570:2214:23;-1:-1:-1;21811:9:23;19350:2477;-1:-1:-1;;;;19350:2477:23:o;15964:1063::-;16118:15;2561:10;2552:5;;;;:19;;;;;;;;;:45;;;-1:-1:-1;2584:13:23;2575:5;;;;:22;;;;;;;;;2552:45;:104;;;-1:-1:-1;2616:10:23;;-1:-1:-1;;;;;2616:10:23;2602;:24;:53;;;;-1:-1:-1;2639:16:23;2630:5;;;;:25;;;;;;;;;2602:53;2544:132;;;;;;;-1:-1:-1;;;;;2544:132:23;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2544:132:23;;;;;;;;;;;;;;;16149:17;;:::i;:::-;16169:14;;;;:5;:14;;;;;;;;;16149:34;;;;;;;;;;;;;;;;;;;;;;;16169:14;;16149:34;;16169:14;;16149:34;;16169:14;16149:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16149:34:23;-1:-1:-1;;;;;16149:34:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16149:34:23;;;-1:-1:-1;;16149:34:23;;;;;-1:-1:-1;;;;;16149:34:23;;;;;;;;;;-1:-1:-1;;;16149:34:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16149:34:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16149:34:23;;;;-1:-1:-1;;;16201:11:23;;;;16149:34;;-1:-1:-1;;;;;;16201:25:23;;;16193:46;;;;;-1:-1:-1;;;;;16193:46:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;16257:5;:14;;;16249:35;;;;;;;-1:-1:-1;;;;;16249:35:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;16311:11;;;;16294:14;16340:10;;16332:35;;;;;-1:-1:-1;;;;;16332:35:23;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;16332:35:23;;;;;;;;;;;;;;;16389:1;16380:6;:10;:26;;;;;16405:1;16394:8;;:12;16380:26;16377:237;;;16449:8;;16518:3;;16544:37;;;;;;;;16461:5;16440:17;;;16439:27;;;;16480:16;;;;;16439:27;-1:-1:-1;;;;;16518:3:23;;;;:16;;16535:7;;16518:3;;16544:35;;:37;;;;;;;;;;;;;;16518:3;16544:37;;;5:2:-1;;;;30:1;27;20:12;5:2;16544:37:23;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16544:37:23;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16544:37:23;16518:72;;;-1:-1:-1;;;16518:72:23;;;;;;-1:-1:-1;;;;;16518:72:23;;;;;;;;;;;;;;;;;;;;;;;;;;;16544:37;;16518:72;;;;;;;-1:-1:-1;16518:72:23;;;;5:2:-1;;;;30:1;27;20:12;5:2;16518:72:23;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16518:72:23;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16518:72:23;16510:93;;;;;;;-1:-1:-1;;;;;16510:93:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;16377:237;;16635:1;16626:6;:10;:30;;;;;16655:1;16640:5;:12;;;:16;16626:30;16623:223;;;16699:12;;;;16772:3;;:48;;;;;;-1:-1:-1;;;;;16772:48:23;;;;;;;16806:4;16772:48;;;;16715:5;16690:21;;;16689:31;;;;16772:48;;;;;;;;16734:16;;;;;16689:31;;16772:3;;;;:16;;:48;;;;;;;;;;;;;;16672:14;16772:3;:48;;;5:2:-1;;;;30:1;27;20:12;5:2;16772:48:23;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16772:48:23;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16772:48:23;16764:71;;;;;;;-1:-1:-1;;;;;16764:71:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;16623:223;;16868:1;16859:6;:10;16856:110;;;16893:3;;16919:11;;;;;16893:46;;;;;;-1:-1:-1;;;;;16893:46:23;;;;;;;;;;;;;;;;;;;;;;:3;;;;;:16;;:46;;;;;16919:11;;16893:46;;;;;:3;;:46;;;5:2:-1;;;;30:1;27;20:12;5:2;16893:46:23;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16893:46:23;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16893:46:23;16885:70;;;;;;;-1:-1:-1;;;;;16885:70:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;16982:38;16998:12;17012:7;16982:15;:38::i;:::-;16975:45;15964:1063;-1:-1:-1;;;;;;15964:1063:23:o;17397:391::-;17484:26;;;;:17;:26;;;;;;;;-1:-1:-1;;;;;;17484:37:23;;;;;;;;;;:42;17476:79;;;;;-1:-1:-1;;;;;17476:79:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17607:25:23;;;;;;:14;:25;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;;17607:39:23;;;;;;;;;;;;17565:30;;;:19;:30;;;;;:39;;;;;;;;:81;;;;17696:5;:14;;;;;27:10:-1;;23:18;;;45:23;;;17696:39:23;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17696:39:23;;;;;;;;;;;;;17656:26;;;:17;:26;;;;;:37;;;;;;;;;:79;;;;17750:31;17607:39;;:25;17750:31;;;17397:391;;:::o;19046:130::-;19107:16;;:::i;:::-;19141:28;19147:21;;;:11;:21;;;;;;;;;19141:28;;:5;:28;;;;;;19134:35;;;;;;;;;;;;;;;;;;;;;;;19141:28;;19134:35;;19141:28;;19134:35;;19141:28;19134:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;19134:35:23;-1:-1:-1;;;;;19134:35:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;19134:35:23;;;-1:-1:-1;;19134:35:23;;;;;-1:-1:-1;;;;;19134:35:23;;;;;;;;;;-1:-1:-1;;;19134:35:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19134:35:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19046:130;;;:::o;10010:303:13:-;-1:-1:-1;;;;;10081:16:13;;;;10073:40;;;;;-1:-1:-1;;;;;10073:40:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;10133:15;10140:7;10133:6;:15::i;:::-;10132:16;10124:42;;;;;-1:-1:-1;;;;;10124:42:13;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;10124:42:13;;;;;;;;;;;;;;;10179:20;;;;:11;:20;;;;;;;;:25;;-1:-1:-1;;10179:25:13;-1:-1:-1;;;;;10179:25:13;;;;;;;;10230:16;;:12;:16;;;;;10215:41;;10179:20;10215:14;:41::i;:::-;10272:33;;10297:7;;-1:-1:-1;;;;;10272:33:13;;;10289:1;;10272:33;;10289:1;;10272:33;10010:303;;:::o;12185:428::-;12279:8;12290:25;;;:15;:25;;;;;;12329:8;;12326:46;;;12354:7;;;12326:46;12389:25;;;;:15;:25;;;;;12382:32;;;12458:16;;12448:9;;-1:-1:-1;;12458:18:13;;;12448:29;;;;;;;;;;;;;;12425:52;;12518:12;12499:9;12513:1;12509:3;:5;12499:16;;;;;;;;;;;;;;;;;;;:31;12541:18;;;:9;-1:-1:-1;;12541:18:13;;;:::i;:::-;-1:-1:-1;12570:29:13;;;;:15;:29;;;;;:35;12185:428;;;:::o;12022:151::-;27:10:-1;;39:1;23:18;;45:23;;;-1:-1;12141:24:13;;;;;;;;;;;;;12113:25;;;:15;:25;;;;;;:52;12022:151::o;655:21176:23:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;655:21176:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;655:21176:23;;;-1:-1:-1;655:21176:23;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;655:21176:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;655:21176:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;655:21176:23;;;-1:-1:-1;655:21176:23;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;655:21176:23;;;;;;" + "srcmap": "643:21253:15:-;;;1517:31;;;-1:-1:-1;;1517:31:15;1538:10;1517:31;;;2875:91;5:2:-1;;;;30:1;27;20:12;5:2;2875:91:15;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2875:91:15;358:10:0;:23;;-1:-1:-1;;;;;;358:23:0;;;371:10;358:23;;;;2875:91:15;497:31:11;;;;:38;;-1:-1:-1;;497:38:11;;;;;;;;4202:31:8;:38;;;;;;;;930:31:7;;;;;:38;;;;;;;;;2949:3:15;:10;;-1:-1:-1;;;;;2949:10:15;;;;;;;;;;;;;643:21253;;;;;;", + "srcmap-runtime": "643:21253:15:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;643:21253:15;;;;;;;;-1:-1:-1;;;643:21253:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8456:718;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8456:718:15;;;;;;;:::i;:::-;;753:150:11;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;753:150:11;-1:-1:-1;;;;;;753:150:11;;:::i;:::-;;;;;;;;;;;;;;;;;;1659:21:15;;;:::i;:::-;;;;-1:-1:-1;;;;;1659:21:15;;;;;;;;;;;;;;9173:160:8;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9173:160:8;;:::i;7135:315::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7135:315:8;;;;;;;;:::i;4201:328:15:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;4201:328:15;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4201:328:15;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4201:328:15;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;4201:328:15;;;;-1:-1:-1;;;;;4201:328:15;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4201:328:15;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4201:328:15;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;4201:328:15;;-1:-1:-1;4201:328:15;-1:-1:-1;4201:328:15;:::i;:::-;;;;;;;;;;;;;;;;1098:100:7;;;:::i;11058:192:15:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;11058:192:15;;;;;;;;:::i;9834:212::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9834:212:15;;:::i;6423:300:8:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6423:300:8;;;;;;;;;;;;;;;;;:::i;1722:212:7:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1722:212:7;;;;;;;;:::i;514:124:0:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;514:124:0;-1:-1:-1;;;;;514:124:0;;:::i;5700:157:8:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5700:157:8;;;;;;;;;;;;;;;;;:::i;10518:339:15:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;10518:339:15;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;10518:339:15;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;10518:339:15;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;10518:339:15;;;;-1:-1:-1;;;;;10518:339:15;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;10518:339:15;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;10518:339:15;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;10518:339:15;;-1:-1:-1;10518:339:15;-1:-1:-1;10518:339:15;:::i;1332:161:7:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1332:161:7;;:::i;9290:148:15:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9290:148:15;;;;:::i;1806:24::-;;;:::i;8766:170:8:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8766:170:8;;:::i;8062:179:15:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;8062:179:15;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;8062:179:15;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;8062:179:15;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;8062:179:15;;-1:-1:-1;8062:179:15;-1:-1:-1;8062:179:15;:::i;8348:167:8:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8348:167:8;-1:-1:-1;;;;;8348:167:8;;:::i;4737:171:15:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4737:171:15;;;;;;-1:-1:-1;;;;;4737:171:15;;:::i;6752:1102::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;6752:1102:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;6752:1102:15;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;6752:1102:15;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;6752:1102:15;;-1:-1:-1;6752:1102:15;-1:-1:-1;6752:1102:15;:::i;3450:199::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3450:199:15;;;;;;-1:-1:-1;;;;;3450:199:15;;:::i;9561:156::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9561:156:15;;:::i;5107:323::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5107:323:15;;;;;;;;;;;;:::i;13803:392::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13803:392:15;;:::i;:::-;;;;-1:-1:-1;;;;;13803:392:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1853:25;;;:::i;12418:169::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12418:169:15;-1:-1:-1;;;;;;12418:169:15;;:::i;7852:210:8:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7852:210:8;;;;;;;;;;:::i;1745:46:15:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1745:46:15;;:::i;5639:188::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5639:188:15;;;;;;-1:-1:-1;;;;;;5639:188:15;;:::i;14260:382::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14260:382:15;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14260:382:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14260:382:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12148:179;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12148:179:15;-1:-1:-1;;;;;;12148:179:15;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12148:179:15;;;;;;;;;;;;;;;;;12678:188;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;;12678:188:15;;;;;;;;:::i;6314:183::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6314:183:15;;;;;;;;;:::i;1702:37::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1702:37:15;;:::i;:::-;;;;;-1:-1:-1;;;;;1702:37:15;-1:-1:-1;;;;;1702:37:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1702:37:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5115:186:8;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;5115:186:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;5115:186:8;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;5115:186:8;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;5115:186:8;;-1:-1:-1;5115:186:8;-1:-1:-1;5115:186:8;:::i;1517:31:15:-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13195:528;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13195:528:15;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;13195:528:15;-1:-1:-1;;;;;13195:528:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13195:528:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13195:528:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11521:485;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11521:485:15;-1:-1:-1;;;;;11521:485:15;;:::i;6042:194::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6042:194:15;;;;;;-1:-1:-1;;;;;;6042:194:15;;:::i;9594:169:8:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9594:169:8;;;;;;;;;;:::i;285:33:0:-;;;:::i;12952:169:15:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12952:169:15;;;;;;-1:-1:-1;;;;;12952:169:15;;:::i;8456:718::-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;8591:14:15;;;;:5;:14;;;;;;;;;8563:51;;;;;;;;;;;;;;;;;:25;;:51;;;8591:14;8563:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8563:51:15;-1:-1:-1;;;;;8563:51:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8624:10;8647:6;8657:1;8647:11;8644:172;;;-1:-1:-1;8682:16:15;;8644:172;;;8747:16;;8737:26;;;8729:48;;;;;-1:-1:-1;;;;;8729:48:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8799:6:15;8644:172;8848:16;;8834:11;8877:7;;8874:41;;;-1:-1:-1;;8899:5:15;8874:41;8928:6;8924:102;8944:5;8940:1;:9;8924:102;;;8969:46;8989:7;8998:9;9012:1;9008:3;:5;8998:16;;;;;;;;;;;;;;;;;;8969:19;:46::i;:::-;8951:3;;8924:102;;;-1:-1:-1;9039:14:15;;;;:5;:14;;;;;:30;:35;9036:123;;;9096:14;;;;:5;:14;;;;;;9089:21;9096:14;;9089:21;:::i;:::-;;;;;;-1:-1:-1;;9089:21:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;9129:19:15;;9140:7;;9129:19;;;;;9036:123;271:1:0;;;8456:718:15;;:::o;753:150:11:-;-1:-1:-1;;;;;;865:33:11;;844:4;865:33;;;:19;:33;;;;;;;;753:150;;;;:::o;1659:21:15:-;;;-1:-1:-1;;;;;1659:21:15;;:::o;9173:160:8:-;9282:7;4075:19;;;:9;:19;;;;;;9259:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;-1:-1:-1;;9306:22:8;;;;:12;:22;;;;;;-1:-1:-1;;;;;9306:22:8;;9173:160::o;7135:315::-;3371:18;3392:19;;;:9;:19;;;;;;7229:8;;-1:-1:-1;;;;;3392:19:8;3439:10;3425:24;;;:68;;-1:-1:-1;;;;;;3453:28:8;;;;;;:16;:28;;;;;;;;3482:10;3453:40;;;;;;;;;;3425:68;3417:77;;;;;;;;4106:1;4075:19;;;:9;:19;;;;;;7256:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;7274:18;7295:19;;;:9;:19;;;;;;-1:-1:-1;;;;;7295:19:8;;;;7328:23;;;;;7320:32;;;;;;7359:22;;;;:12;:22;;;;;;:34;;-1:-1:-1;;;;;;7359:34:8;-1:-1:-1;;;;;7359:34:8;;;;;;;;;7404:41;;7359:22;;7404:41;;;;;;;4115:1;3500;7135:315;;;;:::o;4201:328:15:-;4413:14;4452:70;4461:10;4473:9;;4452:70;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;4452:70:15;;;;137:4:-1;4452:70:15;;;;;;;;;;;;;;;;;4484:6;;-1:-1:-1;4492:6:15;;-1:-1:-1;4500:7:15;;4509:12;;;;;;4452:70;;4509:12;;;;4452:70;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;4452:8:15;;-1:-1:-1;;;4452:70:15:i;:::-;4443:79;4201:328;-1:-1:-1;;;;;;;;4201:328:15:o;1098:100:7:-;1180:6;:13;1098:100;;:::o;11058:192:15:-;11173:15;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;11211:32:15;11227:6;11235:7;11211:15;:32::i;:::-;11204:39;;271:1:0;11058:192:15;;;;:::o;9834:212::-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;9926:8:15;:17;;;9971:5;9961:15;;;9953:55;;;;;-1:-1:-1;;;;;9953:55:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;10023:16;;;;;;;;;;;;;;;;;9834:212;:::o;6423:300:8:-;3695:18;3716:19;;;:9;:19;;;;;;6536:8;;-1:-1:-1;;;;;3716:19:8;3770:10;3756:24;;;:70;;-1:-1:-1;3790:22:8;;;;:12;:22;;;;;;-1:-1:-1;;;;;3790:22:8;3816:10;3790:36;3756:70;:120;;;-1:-1:-1;;;;;;3836:28:8;;;;;;:16;:28;;;;;;;;3865:10;3836:40;;;;;;;;;;3756:120;3741:141;;;;;;;;4106:1;4075:19;;;:9;:19;;;;;;6563:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;6581:18;6602:19;;;:9;:19;;;;;;-1:-1:-1;;;;;6602:19:8;;;;6635;;;;6627:28;;;;;;-1:-1:-1;;;;;6669:17:8;;;;6661:26;;;;;;6694:24;6704:3;6709:8;6694:9;:24::i;:::-;4115:1;3888;6423:300;;;;;:::o;1722:212:7:-;-1:-1:-1;;;;;1864:18:7;;1830:7;1864:18;;;:10;:18;;;;;:25;1855:34;;1847:43;;;;;;-1:-1:-1;;;;;1903:18:7;;;;;;:10;:18;;;;;:26;;1922:6;;1903:26;;;;;;;;;;;;;;1896:33;;1722:212;;;;:::o;514:124:0:-;234:10;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;604:10;:27;;-1:-1:-1;;;;;;604:27:0;-1:-1:-1;;;;;604:27:0;;;;;;;;;;514:124::o;5700:157:8:-;5809:43;5827:5;5834:3;5839:8;5809:43;;;;;;;;;;;;;:17;:43::i;:::-;5700:157;;;:::o;10518:339:15:-;10753:14;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;10792:58:15;10801:9;;10792:58;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;10792:58:15;;;;137:4:-1;10792:58:15;;;;;;;;;;;;;;;;;10812:6;;-1:-1:-1;10820:6:15;;-1:-1:-1;10828:7:15;;10837:12;;;;;;10792:58;;10837:12;;;;10792:58;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;10792:8:15;;-1:-1:-1;;;10792:58:15:i;1332:161:7:-;1447:6;:13;1413:7;;1438:22;;1430:31;;;;;;1474:6;:14;;1481:6;;1474:14;;;;;;;;;;;;;;1467:21;;1332:161;;;:::o;9290:148:15:-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;9383:5:15;:14;;9391:6;;9383:5;-1:-1:-1;;9383:14:15;;9391:6;9383:14;;;;;;;;;;;;;9412:19;9424:6;9412:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;9290:148;:::o;1806:24::-;;;;:::o;8766:170:8:-;8844:14;8877:19;;;:9;:19;;;;;;-1:-1:-1;;;;;8877:19:8;8910:20;;;8902:29;;;;;8062:179:15;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;8193:14:15;;;;:5;:14;;;;;:41;;:26;;8222:12;;8193:41;:::i;:::-;;8062:179;;;:::o;8348:167:8:-;8426:7;-1:-1:-1;;;;;8451:20:8;;;;8443:29;;;;;;8485:25;8503:6;8485:17;:25::i;4737:171:15:-;2323:10;2314:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2352:10:15;;-1:-1:-1;;;;;2352:10:15;2338;:24;:53;;;;-1:-1:-1;2375:16:15;2366:5;;;;:25;;;;;;;;;2338:53;2306:106;;;;;;;-1:-1:-1;;;;;2306:106:15;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2306:106:15;;;;;;;;;;;;;;;2757:10;;4852:7;;-1:-1:-1;;;;;2757:10:15;2743;:24;;:62;;-1:-1:-1;2771:14:15;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2771:20:15;2795:10;2771:34;2743:62;2735:71;;;;;;;;-1:-1:-1;4875:14:15;;;;:5;:14;;;;;;:20;;:26;;-1:-1:-1;;;;;;4875:26:15;-1:-1:-1;;;;;4875:26:15;;;;;;;;;4737:171::o;6752:1102::-;6936:3;;-1:-1:-1;;;;;6918:22:15;;;6936:3;;6918:22;6910:44;;;;;-1:-1:-1;;;;;6910:44:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6972:29:15;;6990:10;6972:29;6964:50;;;;;-1:-1:-1;;;;;6964:50:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;7024:10;7037:19;7050:5;;7037:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;7037:12:15;;-1:-1:-1;;;7037:19:15:i;:::-;7024:32;;7066:18;7087:29;7093:5;;7087:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;7099:1:15;;-1:-1:-1;;;;;7101:14:15;;7087:5;:29::i;:::-;7143:38;;;;;;;;;;;;;;;;7066:50;;-1:-1:-1;;;;;;;7129:53:15;;;;;;7126:722;;;7205:12;;7221:2;7205:18;7197:46;;;;;-1:-1:-1;;;;;7197:46:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;7258:14;7274:13;7302:5;7291:37;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7291:37:15;;;;;;;;;-1:-1:-1;7291:37:15;-1:-1:-1;7342:25:15;7346:5;7291:37;;7342:3;:25::i;:::-;;7126:722;;;;;7401:65;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7387:80:15;;:3;-1:-1:-1;;;;;7387:80:15;;;7384:464;;;7491:12;;7507:3;-1:-1:-1;7491:19:15;7483:47;;;;;-1:-1:-1;;;;;7483:47:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;7545:14;7561:15;7578:25;7605:14;7621:25;7661:5;7650:59;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;7650:59:15;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;;7650:59:15;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;0:372;;7650:59:15;;;;;;7544:165;;;;;;;;;;7723:65;7732:5;7739:9;7750:6;7758;7766:7;7775:12;7723:8;:65::i;:::-;;7384:464;;;;;;;;7819:18;;;-1:-1:-1;;;;;7819:18:15;;;;;;;;;;;;;;;;;;;;;;;;;;;3450:199;3566:15;3604:38;3608:10;3620:7;3629:12;3604:3;:38::i;9561:156::-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;9656:11:15;:20;;;9691:19;;;;;;;;;;;;;;;;;9561:156;:::o;5107:323::-;2323:10;2314:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2352:10:15;;-1:-1:-1;;;;;2352:10:15;2338;:24;:53;;;;-1:-1:-1;2375:16:15;2366:5;;;;:25;;;;;;;;;2338:53;2306:106;;;;;;;-1:-1:-1;;;;;2306:106:15;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2306:106:15;;;;;;;;;;;;;;;2757:10;;5242:7;;-1:-1:-1;;;;;2757:10:15;2743;:24;;:62;;-1:-1:-1;2771:14:15;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2771:20:15;2795:10;2771:34;2743:62;2735:71;;;;;;;;5284:5;5273:16;;;5265:78;;;;-1:-1:-1;;;;;5265:78:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5353:14:15;;;;:5;:14;;;;;;:20;;;:29;;;;5392:21;;:31;5107:323::o;13803:392::-;13907:13;13934;13961;13988:14;14028:16;;:::i;:::-;14047:14;;;;:5;:14;;;;;;;;;14028:33;;;;;;;;;;;;;;;;;;;;;;;14047:14;;14028:33;;14047:14;;14028:33;;14047:14;14028:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14028:33:15;-1:-1:-1;;;;;14028:33:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14028:33:15;;;-1:-1:-1;;14028:33:15;;;;;-1:-1:-1;;;;;14028:33:15;;;;;;;;;;-1:-1:-1;;;14028:33:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14028:33:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14092:4;:10;;;14116:4;:13;;;14143:4;:10;;;14167:4;:11;;;14071:117;;;;;;;;;13803:392;;;;;:::o;1853:25::-;;;;:::o;12418:169::-;-1:-1:-1;;;;;;12548:25:15;12513:12;12548:25;;;:14;:25;;;;;:32;;12418:169::o;7852:210:8:-;7964:10;7947:28;;;;:16;:28;;;;;;;;-1:-1:-1;;;;;7947:39:8;;;;;;;;;;;;:51;;-1:-1:-1;;7947:51:8;;;;;;;;;;8009:48;;;;;;;7947:39;;7964:10;8009:48;;;;;;;;;;;7852:210;;:::o;1745:46:15:-;;;;;;;;;;;;;:::o;5639:188::-;2323:10;2314:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2352:10:15;;-1:-1:-1;;;;;2352:10:15;2338;:24;:53;;;;-1:-1:-1;2375:16:15;2366:5;;;;:25;;;;;;;;;2338:53;2306:106;;;;;;;-1:-1:-1;;;;;2306:106:15;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2306:106:15;;;;;;;;;;;;;;;2757:10;;5761:7;;-1:-1:-1;;;;;2757:10:15;2743;:24;;:62;;-1:-1:-1;2771:14:15;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2771:20:15;2795:10;2771:34;2743:62;2735:71;;;;;;;;5784:36;5801:7;5810:9;5784:16;:36::i;14260:382::-;14363:24;14401:17;14432:24;14482:16;;:::i;:::-;14501:22;14514:8;14501:12;:22::i;:::-;14554:13;;14581:14;;;;14609:16;;;;;14554:13;;14581:14;;-1:-1:-1;14609:16:15;-1:-1:-1;14260:382:15;-1:-1:-1;;;14260:382:15:o;12148:179::-;-1:-1:-1;;;;;;12295:25:15;;;;;;:14;:25;;;;;;;;;12288:32;;;;;;;;;;;;;;;;;12243:29;;12288:32;;;12295:25;12288:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12148:179;;;:::o;12678:188::-;-1:-1:-1;;;;;;12826:25:15;;12787:14;12826:25;;;:14;:25;;;;;:33;;12852:6;;12826:33;;;;;6314:183;2323:10;2314:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2352:10:15;;-1:-1:-1;;;;;2352:10:15;2338;:24;:53;;;;-1:-1:-1;2375:16:15;2366:5;;;;:25;;;;;;;;;2338:53;2306:106;;;;;;;-1:-1:-1;;;;;2306:106:15;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2306:106:15;;;;;;;;;;;;;;;2757:10;;6432:7;;-1:-1:-1;;;;;2757:10:15;2743;:24;;:62;;-1:-1:-1;2771:14:15;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2771:20:15;2795:10;2771:34;2743:62;2735:71;;;;;;;;-1:-1:-1;6455:14:15;;;;:5;:14;;;;;;:23;;:35;;;;;-1:-1:-1;;;6455:35:15;-1:-1:-1;;6455:35:15;;;;;;;;;6314:183::o;1702:37::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1702:37:15;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1702:37:15;;;-1:-1:-1;;;1702:37:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5115:186:8:-;5250:46;5268:5;5275:3;5280:8;5290:5;;5250:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;5250:17:8;;-1:-1:-1;;;5250:46:8:i;1517:31:15:-;;;;;;:::o;13195:528::-;13296:24;13334:13;13361;13388:17;13419:13;13446:24;13496:16;;:::i;:::-;13515:14;;;;:5;:14;;;;;;;;;13496:33;;;;;;;;;;;;;;;;;;;;;;;13515:14;;13496:33;;13515:14;;13496:33;;13515:14;13496:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13496:33:15;-1:-1:-1;;;;;13496:33:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13496:33:15;;;-1:-1:-1;;13496:33:15;;;;;-1:-1:-1;;;;;13496:33:15;;;;;;;;;;-1:-1:-1;;;13496:33:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13496:33:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13496:33:15;;;;-1:-1:-1;;13560:13:15;;13587:10;;;;13611:13;;;;13638:14;;;;13666:10;;;;13690:16;;;;;13560:13;;13587:10;;-1:-1:-1;13611:13:15;;-1:-1:-1;13638:14:15;-1:-1:-1;13666:10:15;;-1:-1:-1;13690:16:15;-1:-1:-1;13195:528:15;;-1:-1:-1;;;;13195:528:15:o;11521:485::-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;11614:15:15;-1:-1:-1;;;;;11643:20:15;;;11639:304;;;-1:-1:-1;11732:10:15;;;11724:37;;11697:4;11689:21;;-1:-1:-1;;;;;11732:10:15;;;;11724:37;;;;;11689:21;;11724:37;11732:10;11724:37;11689:21;11732:10;11724:37;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11724:37:15;11639:304;;;11853:30;;;;;;11877:4;11853:30;;;;;;11822:6;;-1:-1:-1;;;;;11853:15:15;;;;;:30;;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;11853:30:15;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11853:30:15;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11853:30:15;11912:10;;;11897:35;;;;;;-1:-1:-1;;;;;11912:10:15;;;11897:35;;;;;;;;;;;;11853:30;;-1:-1:-1;11897:14:15;;;;;;:35;;;;;11853:30;;11897:35;;;;;;;;;;;:14;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;11897:35:15;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11897:35:15;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;11639:304:15;11979:10;;11957:42;;;;;;;;-1:-1:-1;;;;;11979:10:15;;;;11957:42;;;;;;;;;;;;;271:1:0;11521:485:15;:::o;6042:194::-;2323:10;2314:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2352:10:15;;-1:-1:-1;;;;;2352:10:15;2338;:24;:53;;;;-1:-1:-1;2375:16:15;2366:5;;;;:25;;;;;;;;;2338:53;2306:106;;;;;;;-1:-1:-1;;;;;2306:106:15;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2306:106:15;;;;;;;;;;;;;;;2757:10;;6167:7;;-1:-1:-1;;;;;2757:10:15;2743;:24;;:62;;-1:-1:-1;2771:14:15;;;;:5;:14;;;;;:20;;;-1:-1:-1;;;;;2771:20:15;2795:10;2771:34;2743:62;2735:71;;;;;;;;6190:39;6210:7;6219:9;6190:19;:39::i;9594:169:8:-;-1:-1:-1;;;;;9723:24:8;;;9702:4;9723:24;;;:16;:24;;;;;;;;:35;;;;;;;;;;;;;;;9594:169::o;285:33:0:-;;;-1:-1:-1;;;;;285:33:0;;:::o;12952:169:15:-;13056:4;13084:14;;;:5;:14;;;;;;:20;;;-1:-1:-1;;;;;13084:30:15;;;:20;;:30;;12952:169::o;17925:1130::-;-1:-1:-1;;;;;;18018:30:15;;18007:8;18018:30;;;:19;:30;;;;;;;;:39;;;;;;;;;;18075:7;;18067:39;;;;;-1:-1:-1;;;;;18067:39:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18123:30:15;;;;;;:19;:30;;;;;;;;:39;;;;;;;;18116:46;;;18182:25;;;:14;:25;;;:32;18175:39;;18172:288;;-1:-1:-1;;;;;;18252:25:15;;18229:20;18252:25;;;:14;:25;;;;;18278:32;;-1:-1:-1;;18278:34:15;;;18252:61;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18338:25:15;;;;:14;:25;;;;;;;:32;;18252:61;;-1:-1:-1;18252:61:15;;-1:-1:-1;;18364:5:15;;;18338:32;;;;;;;;;;;;;;;;;:47;;;;-1:-1:-1;;;;;;18399:30:15;;;;:19;:30;;;;;;:44;;;;;;;;:50;;;18172:288;-1:-1:-1;;;;;;18469:25:15;;;;;;:14;:25;;;;;:34;;;;;-1:-1:-1;;18469:34:15;;;:::i;:::-;-1:-1:-1;18514:9:15;18526:26;;;:17;:26;;;;;;;;-1:-1:-1;;;;;;18526:37:15;;;;;;;;;;;18581:8;;18573:40;;;;;-1:-1:-1;;;;;18573:40:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;18630:26;;;;:17;:26;;;;;;;;-1:-1:-1;;;;;;18630:37:15;;;;;;;;;18623:44;;;18688:14;;;:5;:14;;;;;:30;18680:38;;18677:281;;18733:20;18756:14;;;:5;:14;;;;;18780:30;;-1:-1:-1;;18780:32:15;;;18756:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;18756:57:15;18733:80;;18872:13;18838:5;:14;18844:7;18838:14;;;;;;;;;;;:23;;18867:1;18862:4;:6;18838:31;;;;;;;;;;;;;;;;;;;;;;:47;;;:31;;;;;;:47;;;;;;;-1:-1:-1;;;18838:47:15;;;;;;;;;;;;;18899:26;;;:17;:26;;;;;;-1:-1:-1;;;;;;18899:41:15;;;;;;;;;;;:48;;;18677:281;18967:14;;;;:5;:14;;;;;:32;;;;;-1:-1:-1;;18967:32:15;;;:::i;:::-;-1:-1:-1;19014:33:15;;19039:7;;-1:-1:-1;;;;;;19014:33:15;;;;;;;;17925:1130;;;;:::o;14728:577::-;14980:14;2323:10;2314:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2352:10:15;;-1:-1:-1;;;;;2352:10:15;2338;:24;:53;;;;-1:-1:-1;2375:16:15;2366:5;;;;:25;;;;;;;;;2338:53;2306:106;;;;;;;-1:-1:-1;;;;;2306:106:15;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2306:106:15;;;;;;;;;;;;;;;15028:1;15014:11;;:15;15011:118;;;15052:3;;;15078:10;;15090:11;;15052:50;;;;;;-1:-1:-1;;;;;15052:50:15;;;;;;;15078:10;;;15052:50;;;;;;;;;;;;:3;;;;;:16;;:50;;;;;;;;;;;;;;;;;;;:3;:50;;;5:2:-1;;;;30:1;27;20:12;5:2;15052:50:15;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15052:50:15;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15052:50:15;15044:74;;;;;;;-1:-1:-1;;;;;15044:74:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;15157:5;15146:16;;;15138:78;;;;-1:-1:-1;;;;;15138:78:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15235:58;15244:9;15255:6;15263;15271:7;15280:12;15235:8;:58::i;:::-;15226:67;14728:577;-1:-1:-1;;;;;;;14728:577:15:o;17145:247::-;17301:10;:12;;;;;;;;17260:15;17323:20;;;:11;:20;;;;;:30;;;17363:22;17369:6;17301:12;17363:5;:22::i;9946:262:8:-;10029:12;10044:19;;;:9;:19;;;;;;-1:-1:-1;;;;;10044:19:8;10069:24;10054:8;10069:14;:24::i;:::-;10100:30;10115:4;10121:8;10100:14;:30::i;:::-;10136:26;10148:3;10153:8;10136:11;:26::i;:::-;10194:8;10189:3;-1:-1:-1;;;;;10174:29:8;10183:4;-1:-1:-1;;;;;10174:29:8;;;;;;;;;;;9946:262;;;:::o;13163:520::-;3695:18;3716:19;;;:9;:19;;;;;;13304:8;;-1:-1:-1;;;;;3716:19:8;3770:10;3756:24;;;:70;;-1:-1:-1;3790:22:8;;;;:12;:22;;;;;;-1:-1:-1;;;;;3790:22:8;3816:10;3790:36;3756:70;:120;;;-1:-1:-1;;;;;;3836:28:8;;;;;;:16;:28;;;;;;;;3865:10;3836:40;;;;;;;;;;3756:120;3741:141;;;;;;;;4106:1;4075:19;;;:9;:19;;;;;;13331:8;;-1:-1:-1;;;;;4075:19:8;:33;;4067:42;;;;;;13349:18;13370:19;;;:9;:19;;;;;;-1:-1:-1;;;;;13370:19:8;;;;13403;;;;13395:28;;;;;;-1:-1:-1;;;;;13437:17:8;;;;13429:26;;;;;;13462:24;13472:3;13477:8;13462:9;:24::i;:::-;13497:16;:3;-1:-1:-1;;;;;13497:14:8;;:16::i;:::-;13493:186;;;13544:77;;;;;13586:10;13544:77;;;;;;-1:-1:-1;;;;;13544:77:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;13528:13;;13544:41;;;;;;13586:10;;13598:5;;13605:8;;13615:5;;13544:77;;;;;;;;;;;13528:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13544:77:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13544:77:8;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13544:77:8;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13544:77:8;;-1:-1:-1;;;;;;;13637:34:8;;13647:24;13637:34;13629:43;;;;;;13493:186;;4115:1;3888;13163:520;;;;;;:::o;15366:559:15:-;15592:14;2323:10;2314:5;;;;:19;;;;;;;;;:78;;;-1:-1:-1;2352:10:15;;-1:-1:-1;;;;;2352:10:15;2338;:24;:53;;;;-1:-1:-1;2375:16:15;2366:5;;;;:25;;;;;;;;;2338:53;2306:106;;;;;;;-1:-1:-1;;;;;2306:106:15;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2306:106:15;;;;;;;;;;;;;;;-1:-1:-1;15632:9:15;:11;;;;;;;;;15669:83;;;-1:-1:-1;15669:83:15;;;15674:15;;;;;;;;15669:83;;-1:-1:-1;;;;;15669:83:15;;;;;;;;;;;;;;;;;15705:15;15669:83;;;;;;;;;;-1:-1:-1;;;15669:83:15;;;;;;;;;15653:13;;;:5;:13;;;;;;:99;;;;15632:11;;15669:83;;15653:13;;:99;;:13;;:99;;;;;:::i;:::-;-1:-1:-1;15653:99:15;;;;;;;;;;;;;;;;-1:-1:-1;;;15653:99:15;-1:-1:-1;;;;;;;15653:99:15;;;-1:-1:-1;;;;;;15653:99:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;15776:6;15767:38;15784:6;15792:12;15767:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;15767:38:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15819:6;15815:104;15834:9;:16;15830:1;:20;15815:104;;;15870:38;15887:6;15895:9;15905:1;15895:12;;;;;;;;;;;;;;;;;;15870:16;:38::i;:::-;15852:3;;15815:104;;;;15366:559;;;;;;;:::o;4984:140:7:-;-1:-1:-1;;;;;5094:18:7;5070:7;5094:18;;;:10;:18;;;;;:25;;4984:140::o;19248:161:15:-;19383:4;19368:24;19362:31;;19341:62::o;19415:2477::-;19500:12;19559:7;19550:6;:16;19532:6;:13;:35;;19524:44;;;;;;;;19579:22;19642:15;;19670:1967;;;;21778:4;21772:11;21759:24;;21829:4;21818:9;21814:20;21808:4;21801:34;19635:2214;;19670:1967;19852:4;19846:11;19833:24;;20511:2;20502:7;20498:16;20893:9;20886:17;20880:4;20876:28;20864:9;20853;20849:25;20845:60;20941:7;20937:2;20933:16;21193:6;21179:9;21172:17;21166:4;21162:28;21150:9;21142:6;21138:22;21134:57;21130:70;20967:425;21226:3;21222:2;21219:11;20967:425;;;21364:9;;21353:21;;21267:4;21259:13;;;;21299;20967:425;;;-1:-1:-1;;21410:26:15;;;21618:2;21601:11;-1:-1:-1;;21597:25:15;21591:4;21584:39;-1:-1:-1;19635:2214:15;-1:-1:-1;21876:9:15;19415:2477;-1:-1:-1;;;;19415:2477:15:o;16031:1060::-;16185:15;2550:10;2541:5;;;;:19;;;;;;;;;:45;;;-1:-1:-1;2573:13:15;2564:5;;;;:22;;;;;;;;;2541:45;:104;;;-1:-1:-1;2605:10:15;;-1:-1:-1;;;;;2605:10:15;2591;:24;:53;;;;-1:-1:-1;2628:16:15;2619:5;;;;:25;;;;;;;;;2591:53;2533:132;;;;;;;-1:-1:-1;;;;;2533:132:15;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2533:132:15;;;;;;;;;;;;;;;16216:17;;:::i;:::-;16236:14;;;;:5;:14;;;;;;;;;16216:34;;;;;;;;;;;;;;;;;;;;;;;16236:14;;16216:34;;16236:14;;16216:34;;16236:14;16216:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16216:34:15;-1:-1:-1;;;;;16216:34:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16216:34:15;;;-1:-1:-1;;16216:34:15;;;;;-1:-1:-1;;;;;16216:34:15;;;;;;;;;;-1:-1:-1;;;16216:34:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16216:34:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;16216:34:15;;;;-1:-1:-1;;;16268:11:15;;;;16216:34;;-1:-1:-1;;;;;;16268:25:15;;;16260:46;;;;;-1:-1:-1;;;;;16260:46:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;16324:5;:14;;;16316:35;;;;;;;-1:-1:-1;;;;;16316:35:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;16378:11;;;;16361:14;16407:10;;16399:35;;;;;-1:-1:-1;;;;;16399:35:15;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;16399:35:15;;;;;;;;;;;;;;;16456:1;16447:6;:10;:26;;;;;16472:1;16461:8;;:12;16447:26;16444:237;;;16516:8;;16585:3;;16611:37;;;;;;;;16528:5;16507:17;;;16506:27;;;;16547:16;;;;;16506:27;-1:-1:-1;;;;;16585:3:15;;;;:16;;16602:7;;16585:3;;16611:35;;:37;;;;;;;;;;;;;;16585:3;16611:37;;;5:2:-1;;;;30:1;27;20:12;5:2;16611:37:15;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16611:37:15;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16611:37:15;16585:72;;;-1:-1:-1;;;16585:72:15;;;;;;-1:-1:-1;;;;;16585:72:15;;;;;;;;;;;;;;;;;;;;;;;;;;;16611:37;;16585:72;;;;;;;-1:-1:-1;16585:72:15;;;;5:2:-1;;;;30:1;27;20:12;5:2;16585:72:15;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16585:72:15;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16585:72:15;16577:93;;;;;;;-1:-1:-1;;;;;16577:93:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;16444:237;;16702:1;16693:6;:10;:30;;;;;16722:1;16707:5;:12;;;:16;16693:30;16690:220;;;16766:12;;;;16739:14;;16782:5;;16757:21;;16839:3;;;16865:10;;16839:45;;;;;;-1:-1:-1;;;;;16839:45:15;;;;;;;16865:10;;;16839:45;;;;16756:31;;;;16839:45;;;;;;;;16801:16;;;;;16756:31;;-1:-1:-1;16839:3:15;;;;:16;;:45;;;;;;;;;;;;;;;;:3;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;16839:45:15;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16839:45:15;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16839:45:15;16831:68;;;;;;;-1:-1:-1;;;;;16831:68:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;16690:220;;16932:1;16923:6;:10;16920:110;;;16957:3;;16983:11;;;;;16957:46;;;;;;-1:-1:-1;;;;;16957:46:15;;;;;;;;;;;;;;;;;;;;;;:3;;;;;:16;;:46;;;;;16983:11;;16957:46;;;;;:3;;:46;;;5:2:-1;;;;30:1;27;20:12;5:2;16957:46:15;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;16957:46:15;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16957:46:15;16949:70;;;;;;;-1:-1:-1;;;;;16949:70:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;17046:38;17062:12;17076:7;17046:15;:38::i;:::-;17039:45;16031:1060;-1:-1:-1;;;;;;16031:1060:15:o;17462:391::-;17549:26;;;;:17;:26;;;;;;;;-1:-1:-1;;;;;;17549:37:15;;;;;;;;;;:42;17541:79;;;;;-1:-1:-1;;;;;17541:79:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17672:25:15;;;;;;:14;:25;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;;17672:39:15;;;;;;;;;;;;17630:30;;;:19;:30;;;;;:39;;;;;;;;:81;;;;17761:5;:14;;;;;27:10:-1;;23:18;;;45:23;;;17761:39:15;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17761:39:15;;;;;;;;;;;;;17721:26;;;:17;:26;;;;;:37;;;;;;;;;:79;;;;17815:31;17672:39;;:25;17815:31;;;17462:391;;:::o;19111:130::-;19172:16;;:::i;:::-;19206:28;19212:21;;;:11;:21;;;;;;;;;19206:28;;:5;:28;;;;;;19199:35;;;;;;;;;;;;;;;;;;;;;;;19206:28;;19199:35;;19206:28;;19199:35;;19206:28;19199:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;19199:35:15;-1:-1:-1;;;;;19199:35:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;19199:35:15;;;-1:-1:-1;;19199:35:15;;;;;-1:-1:-1;;;;;19199:35:15;;;;;;;;;;-1:-1:-1;;;19199:35:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19199:35:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19111:130;;;:::o;2315:192:7:-;2394:26;2406:3;2411:8;2394:11;:26::i;:::-;2443:6;27:10:-1;;39:1;23:18;;45:23;;;2443:21:7;;;;;;2426:14;2470:19;;;:9;2443:21;2470:19;;;;;:32;-1:-1:-1;2315:192:7:o;13811:164:8:-;13919:1;13885:22;;;:12;:22;;;;;;-1:-1:-1;;;;;13885:22:8;:36;13881:90;;13942:22;;;;:12;:22;;;;;13935:29;;-1:-1:-1;;;;;;13935:29:8;;;13881:90;13811:164;:::o;3626:547:7:-;3724:19;;;;:9;:19;;;;;;-1:-1:-1;;;;;3724:28:7;;;:19;;:28;3716:37;;;;;;3766:19;;;;:9;:19;;;;;;;;3759:26;;-1:-1:-1;;;;;;3759:26:7;;;3821:14;:24;;;;;;-1:-1:-1;;;;;3876:17:7;;;;:10;:17;;;;;;:24;-1:-1:-1;;3876:28:7;3915:36;;;3911:225;;-1:-1:-1;;;;;3985:17:7;;3965;3985;;;:10;:17;;;;;:33;;4003:14;;3985:33;;;;;;;;;;;;;;3965:53;;4066:9;4026:10;:17;4037:5;-1:-1:-1;;;;;4026:17:7;-1:-1:-1;;;;;4026:17:7;;;;;;;;;;;;4044:18;4026:37;;;;;;;;;;;;;;;;;;;;;:49;;;;4083:25;;;:14;:25;;;;;:46;;;3911:225;-1:-1:-1;;;;;4142:17:7;;;;;;:10;:17;;;;;:26;;;;;-1:-1:-1;;4142:26:7;;;:::i;4437:260::-;4561:1;4530:19;;;:9;:19;;;;;;-1:-1:-1;;;;;4530:19:7;:33;4522:42;;;;;;4570:19;;;;:9;:19;;;;;;;;:25;;-1:-1:-1;;;;;4570:25:7;;;-1:-1:-1;;;;;;4570:25:7;;;;;;;4619:15;;;:10;:15;;;;;27:10:-1;;4570:25:7;23:18:-1;;45:23;;4619:30:7;;;;;;;;;;;4655:24;;;:14;:24;;;;;;:37;4437:260::o;289:596:9:-;367:17;808:18;;872:8;;289:596::o;10592:238:8:-;-1:-1:-1;;;;;10679:17:8;;;;10671:26;;;;;;10742:1;10711:19;;;:9;:19;;;;;;-1:-1:-1;;;;;10711:19:8;:33;10703:42;;;;;;10752:26;10764:3;10769:8;10752:11;:26::i;:::-;10790:35;;10816:8;;-1:-1:-1;;;;;10790:35:8;;;10807:1;;10790:35;;10807:1;;10790:35;10592:238;;:::o;643:21253:15:-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;643:21253:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;643:21253:15;;;-1:-1:-1;643:21253:15;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;643:21253:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;643:21253:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;643:21253:15;;;-1:-1:-1;643:21253:15;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;643:21253:15;;;;;;" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\status\\sticker-market\\StickerMarketMigrated.sol:StickerMarketMigrated": { - "bin-runtime": "608060405234801561001057600080fd5b50600436106101ac5760003560e060020a9004806392be2ab8116100fd578063b7f482111161009b578063df8de3e711610075578063df8de3e714610933578063e8bb714314610959578063f38f414e14610986578063f77c4791146109ac576101ac565b8063b7f48211146107d6578063c19d93fb146107fb578063d2bf36c014610827576101ac565b8063aeeaf3da116100d7578063aeeaf3da14610624578063b09afec114610651578063b34b582514610732578063b5420d68146107a9576101ac565b806392be2ab8146105b75780639389c5b5146105d45780639f9a9b63146105fd576101ac565b80634c06dc171161016a5780637b103999116101445780637b103999146104c857806386a7413c146104d05780638f4ffcb1146104fc5780639134709e1461058b576101ac565b80634c06dc1714610356578063536b0445146104315780636a84798114610451576101ac565b8062b3c91b146101b1578063060eb520146101d657806312d02502146101fa578063188b5372146102e7578063189d165e146103135780633cebb82314610330575b600080fd5b6101d4600480360360408110156101c757600080fd5b50803590602001356109b4565b005b6101de610a89565b60408051600160a060020a039092168252519081900360200190f35b6102d5600480360360a081101561021057600080fd5b81359160208101359181019060608101604082013564010000000081111561023757600080fd5b82018360208201111561024957600080fd5b8035906020019184602083028401116401000000008311171561026b57600080fd5b91939092600160a060020a038335169260408101906020013564010000000081111561029657600080fd5b8201836020820111156102a857600080fd5b803590602001918460018302840111640100000000831117156102ca57600080fd5b509092509050610a98565b60408051918252519081900360200190f35b6102d5600480360360408110156102fd57600080fd5b50600160a060020a038135169060200135610b1c565b6101d46004803603602081101561032957600080fd5b5035610c13565b6101d46004803603602081101561034657600080fd5b5035600160a060020a0316610cf8565b6102d5600480360360a081101561036c57600080fd5b81359160208101359181019060608101604082013564010000000081111561039357600080fd5b8201836020820111156103a557600080fd5b803590602001918460208302840111640100000000831117156103c757600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156103f257600080fd5b82018360208201111561040457600080fd5b8035906020019184600183028401116401000000008311171561042657600080fd5b509092509050610d77565b6101d46004803603602081101561044757600080fd5b503560ff16610edf565b6101d46004803603604081101561046757600080fd5b8135919081019060408101602082013564010000000081111561048957600080fd5b82018360208201111561049b57600080fd5b803590602001918460018302840111640100000000831117156104bd57600080fd5b509092509050610fac565b6101de6110b2565b6101d4600480360360408110156104e657600080fd5b5080359060200135600160a060020a03166110c1565b6101d46004803603608081101561051257600080fd5b600160a060020a03823581169260208101359260408201359092169181019060808101606082013564010000000081111561054c57600080fd5b82018360208201111561055e57600080fd5b8035906020019184600183028401116401000000008311171561058057600080fd5b509092509050611264565b6102d5600480360360408110156105a157600080fd5b5080359060200135600160a060020a0316611687565b6101d4600480360360208110156105cd57600080fd5b503561169b565b6101d4600480360360608110156105ea57600080fd5b5080359060208101359060400135611726565b6102d56004803603602081101561061357600080fd5b5035600160e060020a0319166118ed565b6101d46004803603604081101561063a57600080fd5b5080359060200135600160e060020a031916611991565b61066e6004803603602081101561066757600080fd5b5035611b3c565b604051808060200184815260200180602001838103835286818151815260200191508051906020019060200280838360005b838110156106b85781810151838201526020016106a0565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156106f45781810151838201526020016106dc565b50505050905090810190601f1680156107215780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b6107596004803603602081101561074857600080fd5b5035600160e060020a031916611c8f565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561079557818101518382015260200161077d565b505050509050019250505060405180910390f35b6102d5600480360360408110156107bf57600080fd5b50600160e060020a03198135169060200135611d92565b6101d4600480360360408110156107ec57600080fd5b50803590602001351515611e1f565b610803611fc2565b6040518082600481111561081357fe5b60ff16815260200191505060405180910390f35b6108446004803603602081101561083d57600080fd5b5035611fd2565b604051808060200187600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200180602001838103835289818151815260200191508051906020019060200280838360005b838110156108b657818101518382015260200161089e565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156108f25781810151838201526020016108da565b50505050905090810190601f16801561091f5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b6101d46004803603602081101561094957600080fd5b5035600160a060020a0316612142565b6101d46004803603604081101561096f57600080fd5b5080359060200135600160e060020a03191661235f565b6101d46004803603602081101561099c57600080fd5b5035600160a060020a031661250a565b6101de612640565b600054600160a060020a03163314610a04576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517eb3c91b0000000000000000000000000000000000000000000000000000000081529283018590526024830184905251600160a060020a039091169162b3c91b91604480830192600092919082900301818387803b158015610a6d57600080fd5b505af1158015610a81573d6000803e3d6000fd5b505050505050565b600354600160a060020a031681565b6000610b103387878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93508e92508d918a908a908190840183828082843760009201919091525061264f92505050565b98975050505050505050565b60008054600160a060020a03163314610b6d576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517f188b5372000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163188b5372916044808201926020929091908290030181600087803b158015610be057600080fd5b505af1158015610bf4573d6000803e3d6000fd5b505050506040513d6020811015610c0a57600080fd5b50519392505050565b600054600160a060020a03163314610c63576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6002819055612710811115610cc2576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e6e6f74206265206d6f7265207468656e203130302e3030250000000000604482015290519081900360640190fd5b6040805182815290517f59701ed6f46ff3f5c94b1b741d5b3f2968eb7a0ae31d2cf2a3a9f2153d18b5149181900360200190a150565b600054600160a060020a03163314610d48576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054600160a060020a03163314610dc8576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600480546040517f4c06dc170000000000000000000000000000000000000000000000000000000081529182018a8152602483018a9052600160a060020a03878116606485015260a06044850190815260a485018a9052921692634c06dc17928c928c928c928c928c928c928c9291608481019060c401886020890280828437600083820152601f01601f191690910184810383528581526020019050858580828437600081840152601f19601f8201169050808301925050509950505050505050505050602060405180830381600087803b158015610ea757600080fd5b505af1158015610ebb573d6000803e3d6000fd5b505050506040513d6020811015610ed157600080fd5b505198975050505050505050565b600054600160a060020a03163314610f2f576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6000805482919074ff0000000000000000000000000000000000000000191660a060020a836004811115610f5f57fe5b02179055507f9f17f1d96f7bb1d5a573d638f26fdb9fa651427eb2e7b36481cd5e1351581e588160405180826004811115610f9657fe5b60ff16815260200191505060405180910390a150565b600054600160a060020a03163314610ffc576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517f6a8479810000000000000000000000000000000000000000000000000000000081529283018681526024840191825260448401859052600160a060020a0390921692636a847981928792879287929190606401848480828437600081840152601f19601f820116905080830192505050945050505050600060405180830381600087803b15801561109557600080fd5b505af11580156110a9573d6000803e3d6000fd5b50505050505050565b600454600160a060020a031681565b600160005460a060020a900460ff1660048111156110db57fe5b14806111135750600054600160a060020a0316331480156111135750600360005460a060020a900460ff16600481111561111157fe5b145b1515611157576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806111ed5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b1580156111c057600080fd5b505afa1580156111d4573d6000803e3d6000fd5b505050506040513d60208110156111ea57600080fd5b50515b15156111f857600080fd5b60048054604080517f86a7413c000000000000000000000000000000000000000000000000000000008152928301869052600160a060020a03858116602485015290519116916386a7413c91604480830192600092919082900301818387803b15801561109557600080fd5b600354600160a060020a038481169116146112c9576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0383163314611329576040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600061136a83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061299692505050565b905060606113b484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250600492505050600319860161299d565b604080517f627579546f6b656e2875696e743235362c61646472657373290000000000000081529051908190036019019020909150600160e060020a03198381169116141561148f578051604014611456576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b60008082806020019051604081101561146e57600080fd5b5080516020909101519092509050611487898383612a1f565b5050506110a9565b6040518060346130a58239603401905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611637578051609c1115611546576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b6000806060600060608580602001905160a081101561156457600080fd5b815160208301516040840180519294919382019264010000000081111561158a57600080fd5b8201602081018481111561159d57600080fd5b81518560208202830111640100000000821117156115ba57600080fd5b505060208201516040909201805191949293916401000000008111156115df57600080fd5b820160208101848111156115f257600080fd5b815164010000000081118282018710171561160c57600080fd5b50509291905050509450945094509450945061162c8c848488888661264f565b5050505050506110a9565b6040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611694338484612a1f565b9392505050565b600054600160a060020a031633146116eb576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60018190556040805182815290517f1d4a2348bf98e0fa847f28a7db9967b1327ac954c312b659b65a860bb69591729181900360200190a150565b600160005460a060020a900460ff16600481111561174057fe5b14806117785750600054600160a060020a0316331480156117785750600360005460a060020a900460ff16600481111561177657fe5b145b15156117bc576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548390600160a060020a03163314806118525750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b15801561182557600080fd5b505afa158015611839573d6000803e3d6000fd5b505050506040513d602081101561184f57600080fd5b50515b151561185d57600080fd5b60048054604080517f9389c5b5000000000000000000000000000000000000000000000000000000008152928301879052602483018690526044830185905251600160a060020a0390911691639389c5b591606480830192600092919082900301818387803b1580156118cf57600080fd5b505af11580156118e3573d6000803e3d6000fd5b5050505050505050565b60048054604080517f9f9a9b63000000000000000000000000000000000000000000000000000000008152600160e060020a031985169381019390935251600092600160a060020a0390921691639f9a9b63916024808301926020929190829003018186803b15801561195f57600080fd5b505afa158015611973573d6000803e3d6000fd5b505050506040513d602081101561198957600080fd5b505192915050565b600160005460a060020a900460ff1660048111156119ab57fe5b14806119e35750600054600160a060020a0316331480156119e35750600360005460a060020a900460ff1660048111156119e157fe5b145b1515611a27576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611abd5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b158015611a9057600080fd5b505afa158015611aa4573d6000803e3d6000fd5b505050506040513d6020811015611aba57600080fd5b50515b1515611ac857600080fd5b60048054604080517faeeaf3da000000000000000000000000000000000000000000000000000000008152928301869052600160e060020a03198516602484015251600160a060020a039091169163aeeaf3da91604480830192600092919082900301818387803b15801561109557600080fd5b60048054604080517fb09afec1000000000000000000000000000000000000000000000000000000008152928301849052516060926000928492600160a060020a039091169163b09afec19160248083019287929190829003018186803b158015611ba657600080fd5b505afa158015611bba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526060811015611be357600080fd5b810190808051640100000000811115611bfb57600080fd5b82016020810184811115611c0e57600080fd5b8151856020820283011164010000000082111715611c2b57600080fd5b50506020820151604090920180519194929391640100000000811115611c5057600080fd5b82016020810184811115611c6357600080fd5b8151640100000000811182820187101715611c7d57600080fd5b50959a94995097509295505050505050565b60048054604080517fb34b5825000000000000000000000000000000000000000000000000000000008152600160e060020a031985169381019390935251606092600160a060020a039092169163b34b5825916024808301926000929190829003018186803b158015611d0157600080fd5b505afa158015611d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611d3e57600080fd5b810190808051640100000000811115611d5657600080fd5b82016020810184811115611d6957600080fd5b8151856020820283011164010000000082111715611d8657600080fd5b50909695505050505050565b60048054604080517fb5420d68000000000000000000000000000000000000000000000000000000008152600160e060020a03198616938101939093526024830184905251600092600160a060020a039092169163b5420d68916044808301926020929190829003018186803b158015611e0b57600080fd5b505afa158015610bf4573d6000803e3d6000fd5b600160005460a060020a900460ff166004811115611e3957fe5b1480611e715750600054600160a060020a031633148015611e715750600360005460a060020a900460ff166004811115611e6f57fe5b145b1515611eb5576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611f4b5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b158015611f1e57600080fd5b505afa158015611f32573d6000803e3d6000fd5b505050506040513d6020811015611f4857600080fd5b50515b1515611f5657600080fd5b60048054604080517fb7f48211000000000000000000000000000000000000000000000000000000008152928301869052841515602484015251600160a060020a039091169163b7f4821191604480830192600092919082900301818387803b15801561109557600080fd5b60005460a060020a900460ff1681565b60606000806000806060600460009054906101000a9004600160a060020a0316600160a060020a031663d2bf36c0886040518263ffffffff1660e060020a0281526004018082815260200191505060006040518083038186803b15801561203857600080fd5b505afa15801561204c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260c081101561207557600080fd5b81019080805164010000000081111561208d57600080fd5b820160208101848111156120a057600080fd5b81518560208202830111640100000000821117156120bd57600080fd5b5050602082015160408301516060840151608085015160a090950180519497939692959194919392916401000000008111156120f857600080fd5b8201602081018481111561210b57600080fd5b815164010000000081118282018710171561212557600080fd5b505092919050505095509550955095509550955091939550919395565b600054600160a060020a03163314612192576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600160a060020a03811615156121e35760008054604051600160a060020a0390911691303180156108fc02929091818181858888f193505050501580156121dd573d6000803e3d6000fd5b5061235c565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561224757600080fd5b505afa15801561225b573d6000803e3d6000fd5b505050506040513d602081101561227157600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156122e757600080fd5b505af11580156122fb573d6000803e3d6000fd5b505050506040513d602081101561231157600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600160005460a060020a900460ff16600481111561237957fe5b14806123b15750600054600160a060020a0316331480156123b15750600360005460a060020a900460ff1660048111156123af57fe5b145b15156123f5576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061248b5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b15801561245e57600080fd5b505afa158015612472573d6000803e3d6000fd5b505050506040513d602081101561248857600080fd5b50515b151561249657600080fd5b60048054604080517fe8bb7143000000000000000000000000000000000000000000000000000000008152928301869052600160e060020a03198516602484015251600160a060020a039091169163e8bb714391604480830192600092919082900301818387803b15801561109557600080fd5b600054600160a060020a0316331461255a576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600160a060020a03811615156125ba576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f7420756e73657420636f6e74726f6c6c6572000000000000000000604482015290519081900360640190fd5b60048054604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a038581169482019490945290519290911691633cebb8239160248082019260009290919082900301818387803b15801561262557600080fd5b505af1158015612639573d6000803e3d6000fd5b5050505050565b600054600160a060020a031681565b6000600160005460a060020a900460ff16600481111561266b57fe5b14806126a35750600054600160a060020a0316331480156126a35750600360005460a060020a900460ff1660048111156126a157fe5b145b15156126e7576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b600060015411156127ed57600354600154604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b811660048301523060248301526044820193909352905191909216916323b872dd9160648083019260209291908290030181600087803b15801561276b57600080fd5b505af115801561277f573d6000803e3d6000fd5b505050506040513d602081101561279557600080fd5b505115156127ed576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b6127108311156128315760405160e560020a62461bcd0281526004018080602001828103825260318152602001806130f96031913960400191505060405180910390fd5b600480546040517f4c06dc1700000000000000000000000000000000000000000000000000000000815291820186815260248301869052600160a060020a03888116606485015260a0604485019081528a5160a48601528a519190931693634c06dc1793899389938d938d938b93929091608481019160c4909101906020808901910280838360005b838110156128d25781810151838201526020016128ba565b50505050905001838103825284818151815260200191508051906020019080838360005b8381101561290e5781810151838201526020016128f6565b50505050905090810190601f16801561293b5780820380516001836020036101000a031916815260200191505b50975050505050505050602060405180830381600087803b15801561295f57600080fd5b505af1158015612973573d6000803e3d6000fd5b505050506040513d602081101561298957600080fd5b5051979650505050505050565b6020015190565b60608183018451101515156129b157600080fd5b6060821580156129cc57604051915060208201604052612a16565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612a055780518352602092830192016129ed565b5050858452601f01601f1916604052505b50949350505050565b6000600160005460a060020a900460ff166004811115612a3b57fe5b1480612a5e5750600260005460a060020a900460ff166004811115612a5c57fe5b145b80612a955750600054600160a060020a031633148015612a955750600360005460a060020a900460ff166004811115612a9357fe5b145b1515612ad9576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b60048054604080517f9c3a39a200000000000000000000000000000000000000000000000000000000815292830186905251600092839283928392600160a060020a0390921691639c3a39a2916024808301926080929190829003018186803b158015612b4557600080fd5b505afa158015612b59573d6000803e3d6000fd5b505050506040513d6080811015612b6f57600080fd5b5080516020820151604083015160609093015191965094509092509050600160a060020a0384161515612bec576040805160e560020a62461bcd02815260206004820152600860248201527f426164207061636b000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b821515612c43576040805160e560020a62461bcd02815260206004820152600860248201527f44697361626c6564000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b81600081118015612c5657506000600254115b15612dda57600254600354604080517ff77c4791000000000000000000000000000000000000000000000000000000008152905161271093850293909304938490039392600160a060020a03909216916323b872dd918d91849163f77c4791916004808301926020929190829003018186803b158015612cd557600080fd5b505afa158015612ce9573d6000803e3d6000fd5b505050506040513d6020811015612cff57600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b158015612d5657600080fd5b505af1158015612d6a573d6000803e3d6000fd5b505050506040513d6020811015612d8057600080fd5b50511515612dd8576040805160e560020a62461bcd02815260206004820152600860248201527f426164206275726e000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081118015612dea5750600082115b15612ef657600354604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038c811660048301523060248301526127109585029590950460448201819052915191949385900393909216916323b872dd9160648083019260209291908290030181600087803b158015612e7457600080fd5b505af1158015612e88573d6000803e3d6000fd5b505050506040513d6020811015612e9e57600080fd5b50511515612ef6576040805160e560020a62461bcd02815260206004820152600a60248201527f42616420646f6e61746500000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000811115612ff857600354604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038c81166004830152888116602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b158015612f7657600080fd5b505af1158015612f8a573d6000803e3d6000fd5b505050506040513d6020811015612fa057600080fd5b50511515612ff8576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b60048054604080517f188b5372000000000000000000000000000000000000000000000000000000008152600160a060020a038b811694820194909452602481018c90529051929091169163188b5372916044808201926020929091908290030181600087803b15801561306b57600080fd5b505af115801561307f573d6000803e3d6000fd5b505050506040513d602081101561309557600080fd5b5051999850505050505050505056fe72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c6279746573294d61726b65742044697361626c6564000000000000000000000000000000000042616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058204058225225ed23e46dbaa0b6ba53c60473cd9ebd46d66af9770bcaf170b0c39a0029", - "bin": "60806040526000805460a060020a60ff0219167401000000000000000000000000000000000000000017905534801561003757600080fd5b5060405160408061321e8339810180604052604081101561005757600080fd5b50805160209091015160008054600160a060020a0319908116331790915560038054600160a060020a0394851690831617905560048054939092169216919091179055613175806100a96000396000f3fe608060405234801561001057600080fd5b50600436106101ac5760003560e060020a9004806392be2ab8116100fd578063b7f482111161009b578063df8de3e711610075578063df8de3e714610933578063e8bb714314610959578063f38f414e14610986578063f77c4791146109ac576101ac565b8063b7f48211146107d6578063c19d93fb146107fb578063d2bf36c014610827576101ac565b8063aeeaf3da116100d7578063aeeaf3da14610624578063b09afec114610651578063b34b582514610732578063b5420d68146107a9576101ac565b806392be2ab8146105b75780639389c5b5146105d45780639f9a9b63146105fd576101ac565b80634c06dc171161016a5780637b103999116101445780637b103999146104c857806386a7413c146104d05780638f4ffcb1146104fc5780639134709e1461058b576101ac565b80634c06dc1714610356578063536b0445146104315780636a84798114610451576101ac565b8062b3c91b146101b1578063060eb520146101d657806312d02502146101fa578063188b5372146102e7578063189d165e146103135780633cebb82314610330575b600080fd5b6101d4600480360360408110156101c757600080fd5b50803590602001356109b4565b005b6101de610a89565b60408051600160a060020a039092168252519081900360200190f35b6102d5600480360360a081101561021057600080fd5b81359160208101359181019060608101604082013564010000000081111561023757600080fd5b82018360208201111561024957600080fd5b8035906020019184602083028401116401000000008311171561026b57600080fd5b91939092600160a060020a038335169260408101906020013564010000000081111561029657600080fd5b8201836020820111156102a857600080fd5b803590602001918460018302840111640100000000831117156102ca57600080fd5b509092509050610a98565b60408051918252519081900360200190f35b6102d5600480360360408110156102fd57600080fd5b50600160a060020a038135169060200135610b1c565b6101d46004803603602081101561032957600080fd5b5035610c13565b6101d46004803603602081101561034657600080fd5b5035600160a060020a0316610cf8565b6102d5600480360360a081101561036c57600080fd5b81359160208101359181019060608101604082013564010000000081111561039357600080fd5b8201836020820111156103a557600080fd5b803590602001918460208302840111640100000000831117156103c757600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156103f257600080fd5b82018360208201111561040457600080fd5b8035906020019184600183028401116401000000008311171561042657600080fd5b509092509050610d77565b6101d46004803603602081101561044757600080fd5b503560ff16610edf565b6101d46004803603604081101561046757600080fd5b8135919081019060408101602082013564010000000081111561048957600080fd5b82018360208201111561049b57600080fd5b803590602001918460018302840111640100000000831117156104bd57600080fd5b509092509050610fac565b6101de6110b2565b6101d4600480360360408110156104e657600080fd5b5080359060200135600160a060020a03166110c1565b6101d46004803603608081101561051257600080fd5b600160a060020a03823581169260208101359260408201359092169181019060808101606082013564010000000081111561054c57600080fd5b82018360208201111561055e57600080fd5b8035906020019184600183028401116401000000008311171561058057600080fd5b509092509050611264565b6102d5600480360360408110156105a157600080fd5b5080359060200135600160a060020a0316611687565b6101d4600480360360208110156105cd57600080fd5b503561169b565b6101d4600480360360608110156105ea57600080fd5b5080359060208101359060400135611726565b6102d56004803603602081101561061357600080fd5b5035600160e060020a0319166118ed565b6101d46004803603604081101561063a57600080fd5b5080359060200135600160e060020a031916611991565b61066e6004803603602081101561066757600080fd5b5035611b3c565b604051808060200184815260200180602001838103835286818151815260200191508051906020019060200280838360005b838110156106b85781810151838201526020016106a0565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156106f45781810151838201526020016106dc565b50505050905090810190601f1680156107215780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b6107596004803603602081101561074857600080fd5b5035600160e060020a031916611c8f565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561079557818101518382015260200161077d565b505050509050019250505060405180910390f35b6102d5600480360360408110156107bf57600080fd5b50600160e060020a03198135169060200135611d92565b6101d4600480360360408110156107ec57600080fd5b50803590602001351515611e1f565b610803611fc2565b6040518082600481111561081357fe5b60ff16815260200191505060405180910390f35b6108446004803603602081101561083d57600080fd5b5035611fd2565b604051808060200187600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200180602001838103835289818151815260200191508051906020019060200280838360005b838110156108b657818101518382015260200161089e565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156108f25781810151838201526020016108da565b50505050905090810190601f16801561091f5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b6101d46004803603602081101561094957600080fd5b5035600160a060020a0316612142565b6101d46004803603604081101561096f57600080fd5b5080359060200135600160e060020a03191661235f565b6101d46004803603602081101561099c57600080fd5b5035600160a060020a031661250a565b6101de612640565b600054600160a060020a03163314610a04576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517eb3c91b0000000000000000000000000000000000000000000000000000000081529283018590526024830184905251600160a060020a039091169162b3c91b91604480830192600092919082900301818387803b158015610a6d57600080fd5b505af1158015610a81573d6000803e3d6000fd5b505050505050565b600354600160a060020a031681565b6000610b103387878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93508e92508d918a908a908190840183828082843760009201919091525061264f92505050565b98975050505050505050565b60008054600160a060020a03163314610b6d576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517f188b5372000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163188b5372916044808201926020929091908290030181600087803b158015610be057600080fd5b505af1158015610bf4573d6000803e3d6000fd5b505050506040513d6020811015610c0a57600080fd5b50519392505050565b600054600160a060020a03163314610c63576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6002819055612710811115610cc2576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e6e6f74206265206d6f7265207468656e203130302e3030250000000000604482015290519081900360640190fd5b6040805182815290517f59701ed6f46ff3f5c94b1b741d5b3f2968eb7a0ae31d2cf2a3a9f2153d18b5149181900360200190a150565b600054600160a060020a03163314610d48576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054600160a060020a03163314610dc8576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600480546040517f4c06dc170000000000000000000000000000000000000000000000000000000081529182018a8152602483018a9052600160a060020a03878116606485015260a06044850190815260a485018a9052921692634c06dc17928c928c928c928c928c928c928c9291608481019060c401886020890280828437600083820152601f01601f191690910184810383528581526020019050858580828437600081840152601f19601f8201169050808301925050509950505050505050505050602060405180830381600087803b158015610ea757600080fd5b505af1158015610ebb573d6000803e3d6000fd5b505050506040513d6020811015610ed157600080fd5b505198975050505050505050565b600054600160a060020a03163314610f2f576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6000805482919074ff0000000000000000000000000000000000000000191660a060020a836004811115610f5f57fe5b02179055507f9f17f1d96f7bb1d5a573d638f26fdb9fa651427eb2e7b36481cd5e1351581e588160405180826004811115610f9657fe5b60ff16815260200191505060405180910390a150565b600054600160a060020a03163314610ffc576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517f6a8479810000000000000000000000000000000000000000000000000000000081529283018681526024840191825260448401859052600160a060020a0390921692636a847981928792879287929190606401848480828437600081840152601f19601f820116905080830192505050945050505050600060405180830381600087803b15801561109557600080fd5b505af11580156110a9573d6000803e3d6000fd5b50505050505050565b600454600160a060020a031681565b600160005460a060020a900460ff1660048111156110db57fe5b14806111135750600054600160a060020a0316331480156111135750600360005460a060020a900460ff16600481111561111157fe5b145b1515611157576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806111ed5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b1580156111c057600080fd5b505afa1580156111d4573d6000803e3d6000fd5b505050506040513d60208110156111ea57600080fd5b50515b15156111f857600080fd5b60048054604080517f86a7413c000000000000000000000000000000000000000000000000000000008152928301869052600160a060020a03858116602485015290519116916386a7413c91604480830192600092919082900301818387803b15801561109557600080fd5b600354600160a060020a038481169116146112c9576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0383163314611329576040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600061136a83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061299692505050565b905060606113b484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250600492505050600319860161299d565b604080517f627579546f6b656e2875696e743235362c61646472657373290000000000000081529051908190036019019020909150600160e060020a03198381169116141561148f578051604014611456576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b60008082806020019051604081101561146e57600080fd5b5080516020909101519092509050611487898383612a1f565b5050506110a9565b6040518060346130a58239603401905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611637578051609c1115611546576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b6000806060600060608580602001905160a081101561156457600080fd5b815160208301516040840180519294919382019264010000000081111561158a57600080fd5b8201602081018481111561159d57600080fd5b81518560208202830111640100000000821117156115ba57600080fd5b505060208201516040909201805191949293916401000000008111156115df57600080fd5b820160208101848111156115f257600080fd5b815164010000000081118282018710171561160c57600080fd5b50509291905050509450945094509450945061162c8c848488888661264f565b5050505050506110a9565b6040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611694338484612a1f565b9392505050565b600054600160a060020a031633146116eb576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60018190556040805182815290517f1d4a2348bf98e0fa847f28a7db9967b1327ac954c312b659b65a860bb69591729181900360200190a150565b600160005460a060020a900460ff16600481111561174057fe5b14806117785750600054600160a060020a0316331480156117785750600360005460a060020a900460ff16600481111561177657fe5b145b15156117bc576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548390600160a060020a03163314806118525750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b15801561182557600080fd5b505afa158015611839573d6000803e3d6000fd5b505050506040513d602081101561184f57600080fd5b50515b151561185d57600080fd5b60048054604080517f9389c5b5000000000000000000000000000000000000000000000000000000008152928301879052602483018690526044830185905251600160a060020a0390911691639389c5b591606480830192600092919082900301818387803b1580156118cf57600080fd5b505af11580156118e3573d6000803e3d6000fd5b5050505050505050565b60048054604080517f9f9a9b63000000000000000000000000000000000000000000000000000000008152600160e060020a031985169381019390935251600092600160a060020a0390921691639f9a9b63916024808301926020929190829003018186803b15801561195f57600080fd5b505afa158015611973573d6000803e3d6000fd5b505050506040513d602081101561198957600080fd5b505192915050565b600160005460a060020a900460ff1660048111156119ab57fe5b14806119e35750600054600160a060020a0316331480156119e35750600360005460a060020a900460ff1660048111156119e157fe5b145b1515611a27576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611abd5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b158015611a9057600080fd5b505afa158015611aa4573d6000803e3d6000fd5b505050506040513d6020811015611aba57600080fd5b50515b1515611ac857600080fd5b60048054604080517faeeaf3da000000000000000000000000000000000000000000000000000000008152928301869052600160e060020a03198516602484015251600160a060020a039091169163aeeaf3da91604480830192600092919082900301818387803b15801561109557600080fd5b60048054604080517fb09afec1000000000000000000000000000000000000000000000000000000008152928301849052516060926000928492600160a060020a039091169163b09afec19160248083019287929190829003018186803b158015611ba657600080fd5b505afa158015611bba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526060811015611be357600080fd5b810190808051640100000000811115611bfb57600080fd5b82016020810184811115611c0e57600080fd5b8151856020820283011164010000000082111715611c2b57600080fd5b50506020820151604090920180519194929391640100000000811115611c5057600080fd5b82016020810184811115611c6357600080fd5b8151640100000000811182820187101715611c7d57600080fd5b50959a94995097509295505050505050565b60048054604080517fb34b5825000000000000000000000000000000000000000000000000000000008152600160e060020a031985169381019390935251606092600160a060020a039092169163b34b5825916024808301926000929190829003018186803b158015611d0157600080fd5b505afa158015611d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611d3e57600080fd5b810190808051640100000000811115611d5657600080fd5b82016020810184811115611d6957600080fd5b8151856020820283011164010000000082111715611d8657600080fd5b50909695505050505050565b60048054604080517fb5420d68000000000000000000000000000000000000000000000000000000008152600160e060020a03198616938101939093526024830184905251600092600160a060020a039092169163b5420d68916044808301926020929190829003018186803b158015611e0b57600080fd5b505afa158015610bf4573d6000803e3d6000fd5b600160005460a060020a900460ff166004811115611e3957fe5b1480611e715750600054600160a060020a031633148015611e715750600360005460a060020a900460ff166004811115611e6f57fe5b145b1515611eb5576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611f4b5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b158015611f1e57600080fd5b505afa158015611f32573d6000803e3d6000fd5b505050506040513d6020811015611f4857600080fd5b50515b1515611f5657600080fd5b60048054604080517fb7f48211000000000000000000000000000000000000000000000000000000008152928301869052841515602484015251600160a060020a039091169163b7f4821191604480830192600092919082900301818387803b15801561109557600080fd5b60005460a060020a900460ff1681565b60606000806000806060600460009054906101000a9004600160a060020a0316600160a060020a031663d2bf36c0886040518263ffffffff1660e060020a0281526004018082815260200191505060006040518083038186803b15801561203857600080fd5b505afa15801561204c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260c081101561207557600080fd5b81019080805164010000000081111561208d57600080fd5b820160208101848111156120a057600080fd5b81518560208202830111640100000000821117156120bd57600080fd5b5050602082015160408301516060840151608085015160a090950180519497939692959194919392916401000000008111156120f857600080fd5b8201602081018481111561210b57600080fd5b815164010000000081118282018710171561212557600080fd5b505092919050505095509550955095509550955091939550919395565b600054600160a060020a03163314612192576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600160a060020a03811615156121e35760008054604051600160a060020a0390911691303180156108fc02929091818181858888f193505050501580156121dd573d6000803e3d6000fd5b5061235c565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561224757600080fd5b505afa15801561225b573d6000803e3d6000fd5b505050506040513d602081101561227157600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156122e757600080fd5b505af11580156122fb573d6000803e3d6000fd5b505050506040513d602081101561231157600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600160005460a060020a900460ff16600481111561237957fe5b14806123b15750600054600160a060020a0316331480156123b15750600360005460a060020a900460ff1660048111156123af57fe5b145b15156123f5576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061248b5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b15801561245e57600080fd5b505afa158015612472573d6000803e3d6000fd5b505050506040513d602081101561248857600080fd5b50515b151561249657600080fd5b60048054604080517fe8bb7143000000000000000000000000000000000000000000000000000000008152928301869052600160e060020a03198516602484015251600160a060020a039091169163e8bb714391604480830192600092919082900301818387803b15801561109557600080fd5b600054600160a060020a0316331461255a576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600160a060020a03811615156125ba576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f7420756e73657420636f6e74726f6c6c6572000000000000000000604482015290519081900360640190fd5b60048054604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a038581169482019490945290519290911691633cebb8239160248082019260009290919082900301818387803b15801561262557600080fd5b505af1158015612639573d6000803e3d6000fd5b5050505050565b600054600160a060020a031681565b6000600160005460a060020a900460ff16600481111561266b57fe5b14806126a35750600054600160a060020a0316331480156126a35750600360005460a060020a900460ff1660048111156126a157fe5b145b15156126e7576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b600060015411156127ed57600354600154604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b811660048301523060248301526044820193909352905191909216916323b872dd9160648083019260209291908290030181600087803b15801561276b57600080fd5b505af115801561277f573d6000803e3d6000fd5b505050506040513d602081101561279557600080fd5b505115156127ed576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b6127108311156128315760405160e560020a62461bcd0281526004018080602001828103825260318152602001806130f96031913960400191505060405180910390fd5b600480546040517f4c06dc1700000000000000000000000000000000000000000000000000000000815291820186815260248301869052600160a060020a03888116606485015260a0604485019081528a5160a48601528a519190931693634c06dc1793899389938d938d938b93929091608481019160c4909101906020808901910280838360005b838110156128d25781810151838201526020016128ba565b50505050905001838103825284818151815260200191508051906020019080838360005b8381101561290e5781810151838201526020016128f6565b50505050905090810190601f16801561293b5780820380516001836020036101000a031916815260200191505b50975050505050505050602060405180830381600087803b15801561295f57600080fd5b505af1158015612973573d6000803e3d6000fd5b505050506040513d602081101561298957600080fd5b5051979650505050505050565b6020015190565b60608183018451101515156129b157600080fd5b6060821580156129cc57604051915060208201604052612a16565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612a055780518352602092830192016129ed565b5050858452601f01601f1916604052505b50949350505050565b6000600160005460a060020a900460ff166004811115612a3b57fe5b1480612a5e5750600260005460a060020a900460ff166004811115612a5c57fe5b145b80612a955750600054600160a060020a031633148015612a955750600360005460a060020a900460ff166004811115612a9357fe5b145b1515612ad9576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b60048054604080517f9c3a39a200000000000000000000000000000000000000000000000000000000815292830186905251600092839283928392600160a060020a0390921691639c3a39a2916024808301926080929190829003018186803b158015612b4557600080fd5b505afa158015612b59573d6000803e3d6000fd5b505050506040513d6080811015612b6f57600080fd5b5080516020820151604083015160609093015191965094509092509050600160a060020a0384161515612bec576040805160e560020a62461bcd02815260206004820152600860248201527f426164207061636b000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b821515612c43576040805160e560020a62461bcd02815260206004820152600860248201527f44697361626c6564000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b81600081118015612c5657506000600254115b15612dda57600254600354604080517ff77c4791000000000000000000000000000000000000000000000000000000008152905161271093850293909304938490039392600160a060020a03909216916323b872dd918d91849163f77c4791916004808301926020929190829003018186803b158015612cd557600080fd5b505afa158015612ce9573d6000803e3d6000fd5b505050506040513d6020811015612cff57600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b158015612d5657600080fd5b505af1158015612d6a573d6000803e3d6000fd5b505050506040513d6020811015612d8057600080fd5b50511515612dd8576040805160e560020a62461bcd02815260206004820152600860248201527f426164206275726e000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081118015612dea5750600082115b15612ef657600354604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038c811660048301523060248301526127109585029590950460448201819052915191949385900393909216916323b872dd9160648083019260209291908290030181600087803b158015612e7457600080fd5b505af1158015612e88573d6000803e3d6000fd5b505050506040513d6020811015612e9e57600080fd5b50511515612ef6576040805160e560020a62461bcd02815260206004820152600a60248201527f42616420646f6e61746500000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000811115612ff857600354604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038c81166004830152888116602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b158015612f7657600080fd5b505af1158015612f8a573d6000803e3d6000fd5b505050506040513d6020811015612fa057600080fd5b50511515612ff8576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b60048054604080517f188b5372000000000000000000000000000000000000000000000000000000008152600160a060020a038b811694820194909452602481018c90529051929091169163188b5372916044808201926020929091908290030181600087803b15801561306b57600080fd5b505af115801561307f573d6000803e3d6000fd5b505050506040513d602081101561309557600080fd5b5051999850505050505050505056fe72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c6279746573294d61726b65742044697361626c6564000000000000000000000000000000000042616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058204058225225ed23e46dbaa0b6ba53c60473cd9ebd46d66af9770bcaf170b0c39a0029", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/status/sticker-market/StickerMarketMigrated.sol:StickerMarketMigrated": { + "bin-runtime": "608060405234801561001057600080fd5b50600436106101ac5760003560e060020a9004806392be2ab8116100fd578063b7f482111161009b578063df8de3e711610075578063df8de3e714610933578063e8bb714314610959578063f38f414e14610986578063f77c4791146109ac576101ac565b8063b7f48211146107d6578063c19d93fb146107fb578063d2bf36c014610827576101ac565b8063aeeaf3da116100d7578063aeeaf3da14610624578063b09afec114610651578063b34b582514610732578063b5420d68146107a9576101ac565b806392be2ab8146105b75780639389c5b5146105d45780639f9a9b63146105fd576101ac565b80634c06dc171161016a5780637b103999116101445780637b103999146104c857806386a7413c146104d05780638f4ffcb1146104fc5780639134709e1461058b576101ac565b80634c06dc1714610356578063536b0445146104315780636a84798114610451576101ac565b8062b3c91b146101b1578063060eb520146101d657806312d02502146101fa578063188b5372146102e7578063189d165e146103135780633cebb82314610330575b600080fd5b6101d4600480360360408110156101c757600080fd5b50803590602001356109b4565b005b6101de610a89565b60408051600160a060020a039092168252519081900360200190f35b6102d5600480360360a081101561021057600080fd5b81359160208101359181019060608101604082013564010000000081111561023757600080fd5b82018360208201111561024957600080fd5b8035906020019184602083028401116401000000008311171561026b57600080fd5b91939092600160a060020a038335169260408101906020013564010000000081111561029657600080fd5b8201836020820111156102a857600080fd5b803590602001918460018302840111640100000000831117156102ca57600080fd5b509092509050610a98565b60408051918252519081900360200190f35b6102d5600480360360408110156102fd57600080fd5b50600160a060020a038135169060200135610b1c565b6101d46004803603602081101561032957600080fd5b5035610c13565b6101d46004803603602081101561034657600080fd5b5035600160a060020a0316610cf8565b6102d5600480360360a081101561036c57600080fd5b81359160208101359181019060608101604082013564010000000081111561039357600080fd5b8201836020820111156103a557600080fd5b803590602001918460208302840111640100000000831117156103c757600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156103f257600080fd5b82018360208201111561040457600080fd5b8035906020019184600183028401116401000000008311171561042657600080fd5b509092509050610d77565b6101d46004803603602081101561044757600080fd5b503560ff16610edf565b6101d46004803603604081101561046757600080fd5b8135919081019060408101602082013564010000000081111561048957600080fd5b82018360208201111561049b57600080fd5b803590602001918460018302840111640100000000831117156104bd57600080fd5b509092509050610fac565b6101de6110b2565b6101d4600480360360408110156104e657600080fd5b5080359060200135600160a060020a03166110c1565b6101d46004803603608081101561051257600080fd5b600160a060020a03823581169260208101359260408201359092169181019060808101606082013564010000000081111561054c57600080fd5b82018360208201111561055e57600080fd5b8035906020019184600183028401116401000000008311171561058057600080fd5b509092509050611264565b6102d5600480360360408110156105a157600080fd5b5080359060200135600160a060020a0316611687565b6101d4600480360360208110156105cd57600080fd5b503561169b565b6101d4600480360360608110156105ea57600080fd5b5080359060208101359060400135611726565b6102d56004803603602081101561061357600080fd5b5035600160e060020a0319166118ed565b6101d46004803603604081101561063a57600080fd5b5080359060200135600160e060020a031916611991565b61066e6004803603602081101561066757600080fd5b5035611b3c565b604051808060200184815260200180602001838103835286818151815260200191508051906020019060200280838360005b838110156106b85781810151838201526020016106a0565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156106f45781810151838201526020016106dc565b50505050905090810190601f1680156107215780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b6107596004803603602081101561074857600080fd5b5035600160e060020a031916611c8f565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561079557818101518382015260200161077d565b505050509050019250505060405180910390f35b6102d5600480360360408110156107bf57600080fd5b50600160e060020a03198135169060200135611d92565b6101d4600480360360408110156107ec57600080fd5b50803590602001351515611e1f565b610803611fc2565b6040518082600481111561081357fe5b60ff16815260200191505060405180910390f35b6108446004803603602081101561083d57600080fd5b5035611fd2565b604051808060200187600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200180602001838103835289818151815260200191508051906020019060200280838360005b838110156108b657818101518382015260200161089e565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156108f25781810151838201526020016108da565b50505050905090810190601f16801561091f5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b6101d46004803603602081101561094957600080fd5b5035600160a060020a0316612142565b6101d46004803603604081101561096f57600080fd5b5080359060200135600160e060020a03191661235f565b6101d46004803603602081101561099c57600080fd5b5035600160a060020a031661250a565b6101de612640565b600054600160a060020a03163314610a04576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517eb3c91b0000000000000000000000000000000000000000000000000000000081529283018590526024830184905251600160a060020a039091169162b3c91b91604480830192600092919082900301818387803b158015610a6d57600080fd5b505af1158015610a81573d6000803e3d6000fd5b505050505050565b600354600160a060020a031681565b6000610b103387878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93508e92508d918a908a908190840183828082843760009201919091525061264f92505050565b98975050505050505050565b60008054600160a060020a03163314610b6d576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517f188b5372000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163188b5372916044808201926020929091908290030181600087803b158015610be057600080fd5b505af1158015610bf4573d6000803e3d6000fd5b505050506040513d6020811015610c0a57600080fd5b50519392505050565b600054600160a060020a03163314610c63576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6002819055612710811115610cc2576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e6e6f74206265206d6f7265207468656e203130302e3030250000000000604482015290519081900360640190fd5b6040805182815290517f59701ed6f46ff3f5c94b1b741d5b3f2968eb7a0ae31d2cf2a3a9f2153d18b5149181900360200190a150565b600054600160a060020a03163314610d48576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054600160a060020a03163314610dc8576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600480546040517f4c06dc170000000000000000000000000000000000000000000000000000000081529182018a8152602483018a9052600160a060020a03878116606485015260a06044850190815260a485018a9052921692634c06dc17928c928c928c928c928c928c928c9291608481019060c401886020890280828437600083820152601f01601f191690910184810383528581526020019050858580828437600081840152601f19601f8201169050808301925050509950505050505050505050602060405180830381600087803b158015610ea757600080fd5b505af1158015610ebb573d6000803e3d6000fd5b505050506040513d6020811015610ed157600080fd5b505198975050505050505050565b600054600160a060020a03163314610f2f576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6000805482919074ff0000000000000000000000000000000000000000191660a060020a836004811115610f5f57fe5b02179055507f9f17f1d96f7bb1d5a573d638f26fdb9fa651427eb2e7b36481cd5e1351581e588160405180826004811115610f9657fe5b60ff16815260200191505060405180910390a150565b600054600160a060020a03163314610ffc576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517f6a8479810000000000000000000000000000000000000000000000000000000081529283018681526024840191825260448401859052600160a060020a0390921692636a847981928792879287929190606401848480828437600081840152601f19601f820116905080830192505050945050505050600060405180830381600087803b15801561109557600080fd5b505af11580156110a9573d6000803e3d6000fd5b50505050505050565b600454600160a060020a031681565b600160005460a060020a900460ff1660048111156110db57fe5b14806111135750600054600160a060020a0316331480156111135750600360005460a060020a900460ff16600481111561111157fe5b145b1515611157576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806111ed5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b1580156111c057600080fd5b505afa1580156111d4573d6000803e3d6000fd5b505050506040513d60208110156111ea57600080fd5b50515b15156111f857600080fd5b60048054604080517f86a7413c000000000000000000000000000000000000000000000000000000008152928301869052600160a060020a03858116602485015290519116916386a7413c91604480830192600092919082900301818387803b15801561109557600080fd5b600354600160a060020a038481169116146112c9576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0383163314611329576040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600061136a83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061299692505050565b905060606113b484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250600492505050600319860161299d565b604080517f627579546f6b656e2875696e743235362c61646472657373290000000000000081529051908190036019019020909150600160e060020a03198381169116141561148f578051604014611456576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b60008082806020019051604081101561146e57600080fd5b5080516020909101519092509050611487898383612a1f565b5050506110a9565b6040518060346130a58239603401905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611637578051609c1115611546576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b6000806060600060608580602001905160a081101561156457600080fd5b815160208301516040840180519294919382019264010000000081111561158a57600080fd5b8201602081018481111561159d57600080fd5b81518560208202830111640100000000821117156115ba57600080fd5b505060208201516040909201805191949293916401000000008111156115df57600080fd5b820160208101848111156115f257600080fd5b815164010000000081118282018710171561160c57600080fd5b50509291905050509450945094509450945061162c8c848488888661264f565b5050505050506110a9565b6040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611694338484612a1f565b9392505050565b600054600160a060020a031633146116eb576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60018190556040805182815290517f1d4a2348bf98e0fa847f28a7db9967b1327ac954c312b659b65a860bb69591729181900360200190a150565b600160005460a060020a900460ff16600481111561174057fe5b14806117785750600054600160a060020a0316331480156117785750600360005460a060020a900460ff16600481111561177657fe5b145b15156117bc576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548390600160a060020a03163314806118525750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b15801561182557600080fd5b505afa158015611839573d6000803e3d6000fd5b505050506040513d602081101561184f57600080fd5b50515b151561185d57600080fd5b60048054604080517f9389c5b5000000000000000000000000000000000000000000000000000000008152928301879052602483018690526044830185905251600160a060020a0390911691639389c5b591606480830192600092919082900301818387803b1580156118cf57600080fd5b505af11580156118e3573d6000803e3d6000fd5b5050505050505050565b60048054604080517f9f9a9b63000000000000000000000000000000000000000000000000000000008152600160e060020a031985169381019390935251600092600160a060020a0390921691639f9a9b63916024808301926020929190829003018186803b15801561195f57600080fd5b505afa158015611973573d6000803e3d6000fd5b505050506040513d602081101561198957600080fd5b505192915050565b600160005460a060020a900460ff1660048111156119ab57fe5b14806119e35750600054600160a060020a0316331480156119e35750600360005460a060020a900460ff1660048111156119e157fe5b145b1515611a27576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611abd5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b158015611a9057600080fd5b505afa158015611aa4573d6000803e3d6000fd5b505050506040513d6020811015611aba57600080fd5b50515b1515611ac857600080fd5b60048054604080517faeeaf3da000000000000000000000000000000000000000000000000000000008152928301869052600160e060020a03198516602484015251600160a060020a039091169163aeeaf3da91604480830192600092919082900301818387803b15801561109557600080fd5b60048054604080517fb09afec1000000000000000000000000000000000000000000000000000000008152928301849052516060926000928492600160a060020a039091169163b09afec19160248083019287929190829003018186803b158015611ba657600080fd5b505afa158015611bba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526060811015611be357600080fd5b810190808051640100000000811115611bfb57600080fd5b82016020810184811115611c0e57600080fd5b8151856020820283011164010000000082111715611c2b57600080fd5b50506020820151604090920180519194929391640100000000811115611c5057600080fd5b82016020810184811115611c6357600080fd5b8151640100000000811182820187101715611c7d57600080fd5b50959a94995097509295505050505050565b60048054604080517fb34b5825000000000000000000000000000000000000000000000000000000008152600160e060020a031985169381019390935251606092600160a060020a039092169163b34b5825916024808301926000929190829003018186803b158015611d0157600080fd5b505afa158015611d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611d3e57600080fd5b810190808051640100000000811115611d5657600080fd5b82016020810184811115611d6957600080fd5b8151856020820283011164010000000082111715611d8657600080fd5b50909695505050505050565b60048054604080517fb5420d68000000000000000000000000000000000000000000000000000000008152600160e060020a03198616938101939093526024830184905251600092600160a060020a039092169163b5420d68916044808301926020929190829003018186803b158015611e0b57600080fd5b505afa158015610bf4573d6000803e3d6000fd5b600160005460a060020a900460ff166004811115611e3957fe5b1480611e715750600054600160a060020a031633148015611e715750600360005460a060020a900460ff166004811115611e6f57fe5b145b1515611eb5576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611f4b5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b158015611f1e57600080fd5b505afa158015611f32573d6000803e3d6000fd5b505050506040513d6020811015611f4857600080fd5b50515b1515611f5657600080fd5b60048054604080517fb7f48211000000000000000000000000000000000000000000000000000000008152928301869052841515602484015251600160a060020a039091169163b7f4821191604480830192600092919082900301818387803b15801561109557600080fd5b60005460a060020a900460ff1681565b60606000806000806060600460009054906101000a9004600160a060020a0316600160a060020a031663d2bf36c0886040518263ffffffff1660e060020a0281526004018082815260200191505060006040518083038186803b15801561203857600080fd5b505afa15801561204c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260c081101561207557600080fd5b81019080805164010000000081111561208d57600080fd5b820160208101848111156120a057600080fd5b81518560208202830111640100000000821117156120bd57600080fd5b5050602082015160408301516060840151608085015160a090950180519497939692959194919392916401000000008111156120f857600080fd5b8201602081018481111561210b57600080fd5b815164010000000081118282018710171561212557600080fd5b505092919050505095509550955095509550955091939550919395565b600054600160a060020a03163314612192576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600160a060020a03811615156121e35760008054604051600160a060020a0390911691303180156108fc02929091818181858888f193505050501580156121dd573d6000803e3d6000fd5b5061235c565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561224757600080fd5b505afa15801561225b573d6000803e3d6000fd5b505050506040513d602081101561227157600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156122e757600080fd5b505af11580156122fb573d6000803e3d6000fd5b505050506040513d602081101561231157600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600160005460a060020a900460ff16600481111561237957fe5b14806123b15750600054600160a060020a0316331480156123b15750600360005460a060020a900460ff1660048111156123af57fe5b145b15156123f5576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061248b5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b15801561245e57600080fd5b505afa158015612472573d6000803e3d6000fd5b505050506040513d602081101561248857600080fd5b50515b151561249657600080fd5b60048054604080517fe8bb7143000000000000000000000000000000000000000000000000000000008152928301869052600160e060020a03198516602484015251600160a060020a039091169163e8bb714391604480830192600092919082900301818387803b15801561109557600080fd5b600054600160a060020a0316331461255a576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600160a060020a03811615156125ba576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f7420756e73657420636f6e74726f6c6c6572000000000000000000604482015290519081900360640190fd5b60048054604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a038581169482019490945290519290911691633cebb8239160248082019260009290919082900301818387803b15801561262557600080fd5b505af1158015612639573d6000803e3d6000fd5b5050505050565b600054600160a060020a031681565b6000600160005460a060020a900460ff16600481111561266b57fe5b14806126a35750600054600160a060020a0316331480156126a35750600360005460a060020a900460ff1660048111156126a157fe5b145b15156126e7576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b600060015411156127ed57600354600154604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b811660048301523060248301526044820193909352905191909216916323b872dd9160648083019260209291908290030181600087803b15801561276b57600080fd5b505af115801561277f573d6000803e3d6000fd5b505050506040513d602081101561279557600080fd5b505115156127ed576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b6127108311156128315760405160e560020a62461bcd0281526004018080602001828103825260318152602001806130f96031913960400191505060405180910390fd5b600480546040517f4c06dc1700000000000000000000000000000000000000000000000000000000815291820186815260248301869052600160a060020a03888116606485015260a0604485019081528a5160a48601528a519190931693634c06dc1793899389938d938d938b93929091608481019160c4909101906020808901910280838360005b838110156128d25781810151838201526020016128ba565b50505050905001838103825284818151815260200191508051906020019080838360005b8381101561290e5781810151838201526020016128f6565b50505050905090810190601f16801561293b5780820380516001836020036101000a031916815260200191505b50975050505050505050602060405180830381600087803b15801561295f57600080fd5b505af1158015612973573d6000803e3d6000fd5b505050506040513d602081101561298957600080fd5b5051979650505050505050565b6020015190565b60608183018451101515156129b157600080fd5b6060821580156129cc57604051915060208201604052612a16565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612a055780518352602092830192016129ed565b5050858452601f01601f1916604052505b50949350505050565b6000600160005460a060020a900460ff166004811115612a3b57fe5b1480612a5e5750600260005460a060020a900460ff166004811115612a5c57fe5b145b80612a955750600054600160a060020a031633148015612a955750600360005460a060020a900460ff166004811115612a9357fe5b145b1515612ad9576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b60048054604080517f9c3a39a200000000000000000000000000000000000000000000000000000000815292830186905251600092839283928392600160a060020a0390921691639c3a39a2916024808301926080929190829003018186803b158015612b4557600080fd5b505afa158015612b59573d6000803e3d6000fd5b505050506040513d6080811015612b6f57600080fd5b5080516020820151604083015160609093015191965094509092509050600160a060020a0384161515612bec576040805160e560020a62461bcd02815260206004820152600860248201527f426164207061636b000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b821515612c43576040805160e560020a62461bcd02815260206004820152600860248201527f44697361626c6564000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b81600081118015612c5657506000600254115b15612dda57600254600354604080517ff77c4791000000000000000000000000000000000000000000000000000000008152905161271093850293909304938490039392600160a060020a03909216916323b872dd918d91849163f77c4791916004808301926020929190829003018186803b158015612cd557600080fd5b505afa158015612ce9573d6000803e3d6000fd5b505050506040513d6020811015612cff57600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b158015612d5657600080fd5b505af1158015612d6a573d6000803e3d6000fd5b505050506040513d6020811015612d8057600080fd5b50511515612dd8576040805160e560020a62461bcd02815260206004820152600860248201527f426164206275726e000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081118015612dea5750600082115b15612ef657600354604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038c811660048301523060248301526127109585029590950460448201819052915191949385900393909216916323b872dd9160648083019260209291908290030181600087803b158015612e7457600080fd5b505af1158015612e88573d6000803e3d6000fd5b505050506040513d6020811015612e9e57600080fd5b50511515612ef6576040805160e560020a62461bcd02815260206004820152600a60248201527f42616420646f6e61746500000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000811115612ff857600354604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038c81166004830152888116602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b158015612f7657600080fd5b505af1158015612f8a573d6000803e3d6000fd5b505050506040513d6020811015612fa057600080fd5b50511515612ff8576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b60048054604080517f188b5372000000000000000000000000000000000000000000000000000000008152600160a060020a038b811694820194909452602481018c90529051929091169163188b5372916044808201926020929091908290030181600087803b15801561306b57600080fd5b505af115801561307f573d6000803e3d6000fd5b505050506040513d602081101561309557600080fd5b5051999850505050505050505056fe72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c6279746573294d61726b65742044697361626c6564000000000000000000000000000000000042616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820d6e2e00a0351094b137b118df028db8cd5d9a79b9bf122d056f39be2606695900029", + "bin": "60806040526000805460a060020a60ff0219167401000000000000000000000000000000000000000017905534801561003757600080fd5b5060405160408061321e8339810180604052604081101561005757600080fd5b50805160209091015160008054600160a060020a0319908116331790915560038054600160a060020a0394851690831617905560048054939092169216919091179055613175806100a96000396000f3fe608060405234801561001057600080fd5b50600436106101ac5760003560e060020a9004806392be2ab8116100fd578063b7f482111161009b578063df8de3e711610075578063df8de3e714610933578063e8bb714314610959578063f38f414e14610986578063f77c4791146109ac576101ac565b8063b7f48211146107d6578063c19d93fb146107fb578063d2bf36c014610827576101ac565b8063aeeaf3da116100d7578063aeeaf3da14610624578063b09afec114610651578063b34b582514610732578063b5420d68146107a9576101ac565b806392be2ab8146105b75780639389c5b5146105d45780639f9a9b63146105fd576101ac565b80634c06dc171161016a5780637b103999116101445780637b103999146104c857806386a7413c146104d05780638f4ffcb1146104fc5780639134709e1461058b576101ac565b80634c06dc1714610356578063536b0445146104315780636a84798114610451576101ac565b8062b3c91b146101b1578063060eb520146101d657806312d02502146101fa578063188b5372146102e7578063189d165e146103135780633cebb82314610330575b600080fd5b6101d4600480360360408110156101c757600080fd5b50803590602001356109b4565b005b6101de610a89565b60408051600160a060020a039092168252519081900360200190f35b6102d5600480360360a081101561021057600080fd5b81359160208101359181019060608101604082013564010000000081111561023757600080fd5b82018360208201111561024957600080fd5b8035906020019184602083028401116401000000008311171561026b57600080fd5b91939092600160a060020a038335169260408101906020013564010000000081111561029657600080fd5b8201836020820111156102a857600080fd5b803590602001918460018302840111640100000000831117156102ca57600080fd5b509092509050610a98565b60408051918252519081900360200190f35b6102d5600480360360408110156102fd57600080fd5b50600160a060020a038135169060200135610b1c565b6101d46004803603602081101561032957600080fd5b5035610c13565b6101d46004803603602081101561034657600080fd5b5035600160a060020a0316610cf8565b6102d5600480360360a081101561036c57600080fd5b81359160208101359181019060608101604082013564010000000081111561039357600080fd5b8201836020820111156103a557600080fd5b803590602001918460208302840111640100000000831117156103c757600080fd5b91939092600160a060020a03833516926040810190602001356401000000008111156103f257600080fd5b82018360208201111561040457600080fd5b8035906020019184600183028401116401000000008311171561042657600080fd5b509092509050610d77565b6101d46004803603602081101561044757600080fd5b503560ff16610edf565b6101d46004803603604081101561046757600080fd5b8135919081019060408101602082013564010000000081111561048957600080fd5b82018360208201111561049b57600080fd5b803590602001918460018302840111640100000000831117156104bd57600080fd5b509092509050610fac565b6101de6110b2565b6101d4600480360360408110156104e657600080fd5b5080359060200135600160a060020a03166110c1565b6101d46004803603608081101561051257600080fd5b600160a060020a03823581169260208101359260408201359092169181019060808101606082013564010000000081111561054c57600080fd5b82018360208201111561055e57600080fd5b8035906020019184600183028401116401000000008311171561058057600080fd5b509092509050611264565b6102d5600480360360408110156105a157600080fd5b5080359060200135600160a060020a0316611687565b6101d4600480360360208110156105cd57600080fd5b503561169b565b6101d4600480360360608110156105ea57600080fd5b5080359060208101359060400135611726565b6102d56004803603602081101561061357600080fd5b5035600160e060020a0319166118ed565b6101d46004803603604081101561063a57600080fd5b5080359060200135600160e060020a031916611991565b61066e6004803603602081101561066757600080fd5b5035611b3c565b604051808060200184815260200180602001838103835286818151815260200191508051906020019060200280838360005b838110156106b85781810151838201526020016106a0565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156106f45781810151838201526020016106dc565b50505050905090810190601f1680156107215780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b6107596004803603602081101561074857600080fd5b5035600160e060020a031916611c8f565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561079557818101518382015260200161077d565b505050509050019250505060405180910390f35b6102d5600480360360408110156107bf57600080fd5b50600160e060020a03198135169060200135611d92565b6101d4600480360360408110156107ec57600080fd5b50803590602001351515611e1f565b610803611fc2565b6040518082600481111561081357fe5b60ff16815260200191505060405180910390f35b6108446004803603602081101561083d57600080fd5b5035611fd2565b604051808060200187600160a060020a0316600160a060020a031681526020018615151515815260200185815260200184815260200180602001838103835289818151815260200191508051906020019060200280838360005b838110156108b657818101518382015260200161089e565b50505050905001838103825284818151815260200191508051906020019080838360005b838110156108f25781810151838201526020016108da565b50505050905090810190601f16801561091f5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b6101d46004803603602081101561094957600080fd5b5035600160a060020a0316612142565b6101d46004803603604081101561096f57600080fd5b5080359060200135600160e060020a03191661235f565b6101d46004803603602081101561099c57600080fd5b5035600160a060020a031661250a565b6101de612640565b600054600160a060020a03163314610a04576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517eb3c91b0000000000000000000000000000000000000000000000000000000081529283018590526024830184905251600160a060020a039091169162b3c91b91604480830192600092919082900301818387803b158015610a6d57600080fd5b505af1158015610a81573d6000803e3d6000fd5b505050505050565b600354600160a060020a031681565b6000610b103387878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93508e92508d918a908a908190840183828082843760009201919091525061264f92505050565b98975050505050505050565b60008054600160a060020a03163314610b6d576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517f188b5372000000000000000000000000000000000000000000000000000000008152600160a060020a0387811694820194909452602481018690529051929091169163188b5372916044808201926020929091908290030181600087803b158015610be057600080fd5b505af1158015610bf4573d6000803e3d6000fd5b505050506040513d6020811015610c0a57600080fd5b50519392505050565b600054600160a060020a03163314610c63576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6002819055612710811115610cc2576040805160e560020a62461bcd02815260206004820152601b60248201527f63616e6e6f74206265206d6f7265207468656e203130302e3030250000000000604482015290519081900360640190fd5b6040805182815290517f59701ed6f46ff3f5c94b1b741d5b3f2968eb7a0ae31d2cf2a3a9f2153d18b5149181900360200190a150565b600054600160a060020a03163314610d48576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008054600160a060020a03163314610dc8576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600480546040517f4c06dc170000000000000000000000000000000000000000000000000000000081529182018a8152602483018a9052600160a060020a03878116606485015260a06044850190815260a485018a9052921692634c06dc17928c928c928c928c928c928c928c9291608481019060c401886020890280828437600083820152601f01601f191690910184810383528581526020019050858580828437600081840152601f19601f8201169050808301925050509950505050505050505050602060405180830381600087803b158015610ea757600080fd5b505af1158015610ebb573d6000803e3d6000fd5b505050506040513d6020811015610ed157600080fd5b505198975050505050505050565b600054600160a060020a03163314610f2f576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b6000805482919074ff0000000000000000000000000000000000000000191660a060020a836004811115610f5f57fe5b02179055507f9f17f1d96f7bb1d5a573d638f26fdb9fa651427eb2e7b36481cd5e1351581e588160405180826004811115610f9657fe5b60ff16815260200191505060405180910390a150565b600054600160a060020a03163314610ffc576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60048054604080517f6a8479810000000000000000000000000000000000000000000000000000000081529283018681526024840191825260448401859052600160a060020a0390921692636a847981928792879287929190606401848480828437600081840152601f19601f820116905080830192505050945050505050600060405180830381600087803b15801561109557600080fd5b505af11580156110a9573d6000803e3d6000fd5b50505050505050565b600454600160a060020a031681565b600160005460a060020a900460ff1660048111156110db57fe5b14806111135750600054600160a060020a0316331480156111135750600360005460a060020a900460ff16600481111561111157fe5b145b1515611157576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a03163314806111ed5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b1580156111c057600080fd5b505afa1580156111d4573d6000803e3d6000fd5b505050506040513d60208110156111ea57600080fd5b50515b15156111f857600080fd5b60048054604080517f86a7413c000000000000000000000000000000000000000000000000000000008152928301869052600160a060020a03858116602485015290519116916386a7413c91604480830192600092919082900301818387803b15801561109557600080fd5b600354600160a060020a038481169116146112c9576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0383163314611329576040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600061136a83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061299692505050565b905060606113b484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250600492505050600319860161299d565b604080517f627579546f6b656e2875696e743235362c61646472657373290000000000000081529051908190036019019020909150600160e060020a03198381169116141561148f578051604014611456576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b60008082806020019051604081101561146e57600080fd5b5080516020909101519092509050611487898383612a1f565b5050506110a9565b6040518060346130a58239603401905060405180910390207bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415611637578051609c1115611546576040805160e560020a62461bcd02815260206004820152600f60248201527f4261642064617461206c656e6774680000000000000000000000000000000000604482015290519081900360640190fd5b6000806060600060608580602001905160a081101561156457600080fd5b815160208301516040840180519294919382019264010000000081111561158a57600080fd5b8201602081018481111561159d57600080fd5b81518560208202830111640100000000821117156115ba57600080fd5b505060208201516040909201805191949293916401000000008111156115df57600080fd5b820160208101848111156115f257600080fd5b815164010000000081118282018710171561160c57600080fd5b50509291905050509450945094509450945061162c8c848488888661264f565b5050505050506110a9565b6040805160e560020a62461bcd02815260206004820152600860248201527f4261642063616c6c000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611694338484612a1f565b9392505050565b600054600160a060020a031633146116eb576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b60018190556040805182815290517f1d4a2348bf98e0fa847f28a7db9967b1327ac954c312b659b65a860bb69591729181900360200190a150565b600160005460a060020a900460ff16600481111561174057fe5b14806117785750600054600160a060020a0316331480156117785750600360005460a060020a900460ff16600481111561177657fe5b145b15156117bc576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548390600160a060020a03163314806118525750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b15801561182557600080fd5b505afa158015611839573d6000803e3d6000fd5b505050506040513d602081101561184f57600080fd5b50515b151561185d57600080fd5b60048054604080517f9389c5b5000000000000000000000000000000000000000000000000000000008152928301879052602483018690526044830185905251600160a060020a0390911691639389c5b591606480830192600092919082900301818387803b1580156118cf57600080fd5b505af11580156118e3573d6000803e3d6000fd5b5050505050505050565b60048054604080517f9f9a9b63000000000000000000000000000000000000000000000000000000008152600160e060020a031985169381019390935251600092600160a060020a0390921691639f9a9b63916024808301926020929190829003018186803b15801561195f57600080fd5b505afa158015611973573d6000803e3d6000fd5b505050506040513d602081101561198957600080fd5b505192915050565b600160005460a060020a900460ff1660048111156119ab57fe5b14806119e35750600054600160a060020a0316331480156119e35750600360005460a060020a900460ff1660048111156119e157fe5b145b1515611a27576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611abd5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b158015611a9057600080fd5b505afa158015611aa4573d6000803e3d6000fd5b505050506040513d6020811015611aba57600080fd5b50515b1515611ac857600080fd5b60048054604080517faeeaf3da000000000000000000000000000000000000000000000000000000008152928301869052600160e060020a03198516602484015251600160a060020a039091169163aeeaf3da91604480830192600092919082900301818387803b15801561109557600080fd5b60048054604080517fb09afec1000000000000000000000000000000000000000000000000000000008152928301849052516060926000928492600160a060020a039091169163b09afec19160248083019287929190829003018186803b158015611ba657600080fd5b505afa158015611bba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526060811015611be357600080fd5b810190808051640100000000811115611bfb57600080fd5b82016020810184811115611c0e57600080fd5b8151856020820283011164010000000082111715611c2b57600080fd5b50506020820151604090920180519194929391640100000000811115611c5057600080fd5b82016020810184811115611c6357600080fd5b8151640100000000811182820187101715611c7d57600080fd5b50959a94995097509295505050505050565b60048054604080517fb34b5825000000000000000000000000000000000000000000000000000000008152600160e060020a031985169381019390935251606092600160a060020a039092169163b34b5825916024808301926000929190829003018186803b158015611d0157600080fd5b505afa158015611d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611d3e57600080fd5b810190808051640100000000811115611d5657600080fd5b82016020810184811115611d6957600080fd5b8151856020820283011164010000000082111715611d8657600080fd5b50909695505050505050565b60048054604080517fb5420d68000000000000000000000000000000000000000000000000000000008152600160e060020a03198616938101939093526024830184905251600092600160a060020a039092169163b5420d68916044808301926020929190829003018186803b158015611e0b57600080fd5b505afa158015610bf4573d6000803e3d6000fd5b600160005460a060020a900460ff166004811115611e3957fe5b1480611e715750600054600160a060020a031633148015611e715750600360005460a060020a900460ff166004811115611e6f57fe5b145b1515611eb5576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a0316331480611f4b5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b158015611f1e57600080fd5b505afa158015611f32573d6000803e3d6000fd5b505050506040513d6020811015611f4857600080fd5b50515b1515611f5657600080fd5b60048054604080517fb7f48211000000000000000000000000000000000000000000000000000000008152928301869052841515602484015251600160a060020a039091169163b7f4821191604480830192600092919082900301818387803b15801561109557600080fd5b60005460a060020a900460ff1681565b60606000806000806060600460009054906101000a9004600160a060020a0316600160a060020a031663d2bf36c0886040518263ffffffff1660e060020a0281526004018082815260200191505060006040518083038186803b15801561203857600080fd5b505afa15801561204c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260c081101561207557600080fd5b81019080805164010000000081111561208d57600080fd5b820160208101848111156120a057600080fd5b81518560208202830111640100000000821117156120bd57600080fd5b5050602082015160408301516060840151608085015160a090950180519497939692959194919392916401000000008111156120f857600080fd5b8201602081018481111561210b57600080fd5b815164010000000081118282018710171561212557600080fd5b505092919050505095509550955095509550955091939550919395565b600054600160a060020a03163314612192576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600160a060020a03811615156121e35760008054604051600160a060020a0390911691303180156108fc02929091818181858888f193505050501580156121dd573d6000803e3d6000fd5b5061235c565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561224757600080fd5b505afa15801561225b573d6000803e3d6000fd5b505050506040513d602081101561227157600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156122e757600080fd5b505af11580156122fb573d6000803e3d6000fd5b505050506040513d602081101561231157600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600160005460a060020a900460ff16600481111561237957fe5b14806123b15750600054600160a060020a0316331480156123b15750600360005460a060020a900460ff1660048111156123af57fe5b145b15156123f5576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b6000548290600160a060020a031633148061248b5750600480546040805160e160020a637d6d887302815292830184905233602484015251600160a060020a039091169163fadb10e6916044808301926020929190829003018186803b15801561245e57600080fd5b505afa158015612472573d6000803e3d6000fd5b505050506040513d602081101561248857600080fd5b50515b151561249657600080fd5b60048054604080517fe8bb7143000000000000000000000000000000000000000000000000000000008152928301869052600160e060020a03198516602484015251600160a060020a039091169163e8bb714391604480830192600092919082900301818387803b15801561109557600080fd5b600054600160a060020a0316331461255a576040805160e560020a62461bcd02815260206004820152600c602482015260008051602061312a833981519152604482015290519081900360640190fd5b600160a060020a03811615156125ba576040805160e560020a62461bcd02815260206004820152601760248201527f43616e6e6f7420756e73657420636f6e74726f6c6c6572000000000000000000604482015290519081900360640190fd5b60048054604080517f3cebb823000000000000000000000000000000000000000000000000000000008152600160a060020a038581169482019490945290519290911691633cebb8239160248082019260009290919082900301818387803b15801561262557600080fd5b505af1158015612639573d6000803e3d6000fd5b5050505050565b600054600160a060020a031681565b6000600160005460a060020a900460ff16600481111561266b57fe5b14806126a35750600054600160a060020a0316331480156126a35750600360005460a060020a900460ff1660048111156126a157fe5b145b15156126e7576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b600060015411156127ed57600354600154604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038b811660048301523060248301526044820193909352905191909216916323b872dd9160648083019260209291908290030181600087803b15801561276b57600080fd5b505af115801561277f573d6000803e3d6000fd5b505050506040513d602081101561279557600080fd5b505115156127ed576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b6127108311156128315760405160e560020a62461bcd0281526004018080602001828103825260318152602001806130f96031913960400191505060405180910390fd5b600480546040517f4c06dc1700000000000000000000000000000000000000000000000000000000815291820186815260248301869052600160a060020a03888116606485015260a0604485019081528a5160a48601528a519190931693634c06dc1793899389938d938d938b93929091608481019160c4909101906020808901910280838360005b838110156128d25781810151838201526020016128ba565b50505050905001838103825284818151815260200191508051906020019080838360005b8381101561290e5781810151838201526020016128f6565b50505050905090810190601f16801561293b5780820380516001836020036101000a031916815260200191505b50975050505050505050602060405180830381600087803b15801561295f57600080fd5b505af1158015612973573d6000803e3d6000fd5b505050506040513d602081101561298957600080fd5b5051979650505050505050565b6020015190565b60608183018451101515156129b157600080fd5b6060821580156129cc57604051915060208201604052612a16565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612a055780518352602092830192016129ed565b5050858452601f01601f1916604052505b50949350505050565b6000600160005460a060020a900460ff166004811115612a3b57fe5b1480612a5e5750600260005460a060020a900460ff166004811115612a5c57fe5b145b80612a955750600054600160a060020a031633148015612a955750600360005460a060020a900460ff166004811115612a9357fe5b145b1515612ad9576040805160e560020a62461bcd02815260206004820152600f60248201526000805160206130d9833981519152604482015290519081900360640190fd5b60048054604080517f9c3a39a200000000000000000000000000000000000000000000000000000000815292830186905251600092839283928392600160a060020a0390921691639c3a39a2916024808301926080929190829003018186803b158015612b4557600080fd5b505afa158015612b59573d6000803e3d6000fd5b505050506040513d6080811015612b6f57600080fd5b5080516020820151604083015160609093015191965094509092509050600160a060020a0384161515612bec576040805160e560020a62461bcd02815260206004820152600860248201527f426164207061636b000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b821515612c43576040805160e560020a62461bcd02815260206004820152600860248201527f44697361626c6564000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b81600081118015612c5657506000600254115b15612dda57600254600354604080517ff77c4791000000000000000000000000000000000000000000000000000000008152905161271093850293909304938490039392600160a060020a03909216916323b872dd918d91849163f77c4791916004808301926020929190829003018186803b158015612cd557600080fd5b505afa158015612ce9573d6000803e3d6000fd5b505050506040513d6020811015612cff57600080fd5b50516040805160e060020a63ffffffff8616028152600160a060020a039384166004820152929091166024830152604482018590525160648083019260209291908290030181600087803b158015612d5657600080fd5b505af1158015612d6a573d6000803e3d6000fd5b505050506040513d6020811015612d8057600080fd5b50511515612dd8576040805160e560020a62461bcd02815260206004820152600860248201527f426164206275726e000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b505b600081118015612dea5750600082115b15612ef657600354604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038c811660048301523060248301526127109585029590950460448201819052915191949385900393909216916323b872dd9160648083019260209291908290030181600087803b158015612e7457600080fd5b505af1158015612e88573d6000803e3d6000fd5b505050506040513d6020811015612e9e57600080fd5b50511515612ef6576040805160e560020a62461bcd02815260206004820152600a60248201527f42616420646f6e61746500000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000811115612ff857600354604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038c81166004830152888116602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b158015612f7657600080fd5b505af1158015612f8a573d6000803e3d6000fd5b505050506040513d6020811015612fa057600080fd5b50511515612ff8576040805160e560020a62461bcd02815260206004820152600b60248201527f426164207061796d656e74000000000000000000000000000000000000000000604482015290519081900360640190fd5b60048054604080517f188b5372000000000000000000000000000000000000000000000000000000008152600160a060020a038b811694820194909452602481018c90529051929091169163188b5372916044808201926020929091908290030181600087803b15801561306b57600080fd5b505af115801561307f573d6000803e3d6000fd5b505050506040513d602081101561309557600080fd5b5051999850505050505050505056fe72656769737465725061636b2875696e743235362c75696e743235362c6279746573345b5d2c616464726573732c6279746573294d61726b65742044697361626c6564000000000000000000000000000000000042616420617267756d656e742c205f646f6e6174652063616e6e6f74206265206d6f7265207468656e203130302e303025556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820d6e2e00a0351094b137b118df028db8cd5d9a79b9bf122d056f39be2606695900029", "abi": [ { "constant": false, @@ -130681,10 +78821,10 @@ "type": "event" } ], - "srcmap": "668:16961:24:-;;;1286:31;;;-1:-1:-1;;;;;;1286:31:24;;;;;2186:154;5:2:-1;;;;30:1;27;20:12;5:2;2186:154:24;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2186:154:24;;;;;;;371:10:1;:23;;-1:-1:-1;;;;;;371:23:1;;;384:10;371:23;;;;2293:3:24;:10;;-1:-1:-1;;;;;2293:10:24;;;;;;;;;2313:8;:20;;;;;;;;;;;;;;668:16961;;;;;;", - "srcmap-runtime": "668:16961:24:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;668:16961:24;;;;;;;;-1:-1:-1;;;668:16961:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7763:149;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7763:149:24;;;;;;;:::i;:::-;;1428:21;;;:::i;:::-;;;;-1:-1:-1;;;;;1428:21:24;;;;;;;;;;;;;;3580:328;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;3580:328:24;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;3580:328:24;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;3580:328:24;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;3580:328:24;;;;-1:-1:-1;;;;;3580:328:24;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;3580:328:24;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;3580:328:24;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;3580:328:24;;-1:-1:-1;3580:328:24;-1:-1:-1;3580:328:24;:::i;:::-;;;;;;;;;;;;;;;;8989:199;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;8989:199:24;;;;;;;;:::i;8576:212::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8576:212:24;;:::i;532:126:1:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;532:126:1;-1:-1:-1;;;;;532:126:1;;:::i;9655:350:24:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;9655:350:24;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;9655:350:24;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;9655:350:24;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;9655:350:24;;;;-1:-1:-1;;;;;9655:350:24;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;9655:350:24;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;9655:350:24;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;9655:350:24;;-1:-1:-1;9655:350:24;-1:-1:-1;9655:350:24;:::i;8028:148::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8028:148:24;;;;:::i;7360:188::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;7360:188:24;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;7360:188:24;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;7360:188:24;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;7360:188:24;;-1:-1:-1;7360:188:24;-1:-1:-1;7360:188:24;:::i;1471:29::-;;;:::i;4116:180::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4116:180:24;;;;;;-1:-1:-1;;;;;4116:180:24;;:::i;6050:1102::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;6050:1102:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;6050:1102:24;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;6050:1102:24;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;6050:1102:24;;-1:-1:-1;6050:1102:24;-1:-1:-1;6050:1102:24;:::i;2829:199::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2829:199:24;;;;;;-1:-1:-1;;;;;2829:199:24;;:::i;8299:156::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8299:156:24;;:::i;4495:212::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4495:212:24;;;;;;;;;;;;:::i;11491:174::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11491:174:24;-1:-1:-1;;;;;;11491:174:24;;:::i;4916:196::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4916:196:24;;;;;;-1:-1:-1;;;;;;4916:196:24;;:::i;12440:267::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12440:267:24;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12440:267:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12440:267:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11209:191;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11209:191:24;-1:-1:-1;;;;;;11209:191:24;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;11209:191:24;;;;;;;;;;;;;;;;;11756:197;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;;11756:197:24;;;;;;;;:::i;5607:188::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5607:188:24;;;;;;;;;:::i;1286:31::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12031:344;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12031:344:24;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;12031:344:24;-1:-1:-1;;;;;12031:344:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12031:344:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12031:344:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10634:428;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10634:428:24;-1:-1:-1;;;;;10634:428:24;;:::i;5327:202::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5327:202:24;;;;;;-1:-1:-1;;;;;;5327:202:24;;:::i;10129:234::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10129:234:24;-1:-1:-1;;;;;10129:234:24;;:::i;295:33:1:-;;;:::i;7763:149:24:-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;7870:8:24;;;:35;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7870:8:24;;;;:18;;:35;;;;;:8;;:35;;;;;;;:8;;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;7870:35:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7870:35:24;;;;7763:149;;:::o;1428:21::-;;;-1:-1:-1;;;;;1428:21:24;;:::o;3580:328::-;3792:14;3831:70;3840:10;3852:9;;3831:70;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;3831:70:24;;;;137:4:-1;3831:70:24;;;;;;;;;;;;;;;;;3863:6;;-1:-1:-1;3871:6:24;;-1:-1:-1;3879:7:24;;3888:12;;;;;;3831:70;;3888:12;;;;3831:70;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;3831:8:24;;-1:-1:-1;;;3831:70:24:i;:::-;3822:79;3580:328;-1:-1:-1;;;;;;;;3580:328:24:o;8989:199::-;9104:15;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;9142:8:24;;;:39;;;;;;-1:-1:-1;;;;;9142:39:24;;;;;;;;;;;;;;;;;;:8;;;;;:22;;:39;;;;;;;;;;;;;;;:8;;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;9142:39:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9142:39:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9142:39:24;;8989:199;-1:-1:-1;;;8989:199:24:o;8576:212::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;8668:8:24;:17;;;8713:5;8703:15;;;8695:55;;;;;-1:-1:-1;;;;;8695:55:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;8765:16;;;;;;;;;;;;;;;;;8576:212;:::o;532:126:1:-;240:10;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;623:10;:27;;-1:-1:-1;;623:27:1;-1:-1:-1;;;;;623:27:1;;;;;;;;;;532:126::o;9655:350:24:-;9890:14;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;9927:8:24;;;:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9927:71:24;;;;;;;;;;;;;;;;;;;;:8;;;:21;;9949:6;;9957:7;;9966:9;;;;9977:6;;9985:12;;;;9927:71;;;;;;;9966:9;9927:71;;;;9966:9;9927:71;1:33:-1;99:1;81:16;;;74:27;137:4;117:14;-1:-1;;113:30;157:16;;;9927:71:24;;;;;;;;;;;-1:-1:-1;9927:71:24;;;;;1:33:-1;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;9927:71:24;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9927:71:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9927:71:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9927:71:24;;9655:350;-1:-1:-1;;;;;;;;9655:350:24:o;8028:148::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;8121:5:24;:14;;8129:6;;8121:5;-1:-1:-1;;8121:14:24;-1:-1:-1;;;8129:6:24;8121:14;;;;;;;;;;;;;8150:19;8162:6;8150:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;8028:148;:::o;7360:188::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;7491:8:24;;;:50;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7491:8:24;;;;:27;;7519:7;;7528:12;;;;7491:50;;;;7528:12;;;;7491:50;1:33:-1;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;7491:50:24;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7491:50:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7491:50:24;;;;7360:188;;;:::o;1471:29::-;;;-1:-1:-1;;;;;1471:29:24;;:::o;4116:180::-;1627:10;1618:5;;-1:-1:-1;;;1618:5:24;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1656:10:24;;-1:-1:-1;;;;;1656:10:24;1642;:24;:53;;;;-1:-1:-1;1679:16:24;1670:5;;-1:-1:-1;;;1670:5:24;;;;:25;;;;;;;;;1642:53;1610:106;;;;;;;-1:-1:-1;;;;;1610:106:24;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1610:106:24;;;;;;;;;;;;;;;2061:10;;4231:7;;-1:-1:-1;;;;;2061:10:24;2047;:24;;:69;;-1:-1:-1;2075:8:24;;;:41;;;-1:-1:-1;;;;;2075:41:24;;;;;;;;2105:10;2075:41;;;;;-1:-1:-1;;;;;2075:8:24;;;;:20;;:41;;;;;;;;;;;;;;:8;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;2075:41:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2075:41:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2075:41:24;2047:69;2039:78;;;;;;;;4254:8;;;:35;;;;;;;;;;;;-1:-1:-1;;;;;4254:35:24;;;;;;;;;:8;;;:21;;:35;;;;;:8;;:35;;;;;;;:8;;:35;;;5:2:-1;;;;30:1;27;20:12;6050:1102:24;6234:3;;-1:-1:-1;;;;;6216:22:24;;;6234:3;;6216:22;6208:44;;;;;-1:-1:-1;;;;;6208:44:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6270:29:24;;6288:10;6270:29;6262:50;;;;;-1:-1:-1;;;;;6262:50:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;6322:10;6335:19;6348:5;;6335:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;6335:12:24;;-1:-1:-1;;;6335:19:24:i;:::-;6322:32;;6364:18;6385:29;6391:5;;6385:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;6397:1:24;;-1:-1:-1;;;;;6399:14:24;;6385:5;:29::i;:::-;6441:38;;;;;;;;;;;;;;;;6364:50;;-1:-1:-1;;;;;;;6427:53:24;;;;;;6424:722;;;6503:12;;6519:2;6503:18;6495:46;;;;;-1:-1:-1;;;;;6495:46:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;6556:14;6572:13;6600:5;6589:37;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6589:37:24;;;;;;;;;-1:-1:-1;6589:37:24;-1:-1:-1;6640:25:24;6644:5;6589:37;;6640:3;:25::i;:::-;;6424:722;;;;;6699:65;;;;;;;;;;;;;;;;;;6685:80;;;:3;:80;;;;6682:464;;;6789:12;;6805:3;-1:-1:-1;6789:19:24;6781:47;;;;;-1:-1:-1;;;;;6781:47:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;6843:14;6859:15;6876:25;6903:14;6919:25;6959:5;6948:59;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;6948:59:24;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;;6948:59:24;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;0:372;;6948:59:24;;;;;;6842:165;;;;;;;;;;7021:65;7030:5;7037:9;7048:6;7056;7064:7;7073:12;7021:8;:65::i;:::-;;6682:464;;;;;;;;7117:18;;;-1:-1:-1;;;;;7117:18:24;;;;;;;;;;;;;;;;;;;;;;;;;;;2829:199;2945:15;2983:38;2987:10;2999:7;3008:12;2983:3;:38::i;:::-;2976:45;2829:199;-1:-1:-1;;;2829:199:24:o;8299:156::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;8394:11:24;:20;;;8429:19;;;;;;;;;;;;;;;;;8299:156;:::o;4495:212::-;1627:10;1618:5;;-1:-1:-1;;;1618:5:24;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1656:10:24;;-1:-1:-1;;;;;1656:10:24;1642;:24;:53;;;;-1:-1:-1;1679:16:24;1670:5;;-1:-1:-1;;;1670:5:24;;;;:25;;;;;;;;;1642:53;1610:106;;;;;;;-1:-1:-1;;;;;1610:106:24;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1610:106:24;;;;;;;;;;;;;;;2061:10;;4630:7;;-1:-1:-1;;;;;2061:10:24;2047;:24;;:69;;-1:-1:-1;2075:8:24;;;:41;;;-1:-1:-1;;;;;2075:41:24;;;;;;;;2105:10;2075:41;;;;;-1:-1:-1;;;;;2075:8:24;;;;:20;;:41;;;;;;;;;;;;;;:8;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;2075:41:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2075:41:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2075:41:24;2047:69;2039:78;;;;;;;;4653:8;;;:47;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4653:8:24;;;;:21;;:47;;;;;:8;;:47;;;;;;;:8;;:47;;;5:2:-1;;;;30:1;27;20:12;5:2;4653:47:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4653:47:24;;;;1726:1;4495:212;;;:::o;11491:174::-;11621:8;;;:37;;;;;;-1:-1:-1;;;;;;11621:37:24;;;;;;;;;;11586:12;;-1:-1:-1;;;;;11621:8:24;;;;:26;;:37;;;;;;;;;;;;;;:8;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;11621:37:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11621:37:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11621:37:24;;11491:174;-1:-1:-1;;11491:174:24:o;4916:196::-;1627:10;1618:5;;-1:-1:-1;;;1618:5:24;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1656:10:24;;-1:-1:-1;;;;;1656:10:24;1642;:24;:53;;;;-1:-1:-1;1679:16:24;1670:5;;-1:-1:-1;;;1670:5:24;;;;:25;;;;;;;;;1642:53;1610:106;;;;;;;-1:-1:-1;;;;;1610:106:24;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1610:106:24;;;;;;;;;;;;;;;2061:10;;5038:7;;-1:-1:-1;;;;;2061:10:24;2047;:24;;:69;;-1:-1:-1;2075:8:24;;;:41;;;-1:-1:-1;;;;;2075:41:24;;;;;;;;2105:10;2075:41;;;;;-1:-1:-1;;;;;2075:8:24;;;;:20;;:41;;;;;;;;;;;;;;:8;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;2075:41:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2075:41:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2075:41:24;2047:69;2039:78;;;;;;;;5061:8;;;:44;;;;;;;;;;;;-1:-1:-1;;;;;;5061:44:24;;;;;;;-1:-1:-1;;;;;5061:8:24;;;;:24;;:44;;;;;:8;;:44;;;;;;;:8;;:44;;;5:2:-1;;;;30:1;27;20:12;12440:267:24;12669:8;;;:31;;;;;;;;;;;;;12543:24;;12581:17;;12543:24;;-1:-1:-1;;;;;12669:8:24;;;;:21;;:31;;;;;12581:17;;12669:31;;;;;;;:8;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;12669:31:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12669:31:24;;;;;;39:16:-1;36:1;17:17;2:54;101:4;12669:31:24;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;12669:31:24;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;;12669:31:24;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;-1:-1;12662:38:24;;;;-1:-1:-1;12669:31:24;-1:-1:-1;12440:267:24;;-1:-1:-1;;;;;;12440:267:24:o;11209:191::-;11356:8;;;:37;;;;;;-1:-1:-1;;;;;;11356:37:24;;;;;;;;;;11304:29;;-1:-1:-1;;;;;11356:8:24;;;;:26;;:37;;;;;:8;;:37;;;;;;;:8;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;11356:37:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11356:37:24;;;;;;39:16:-1;36:1;17:17;2:54;101:4;11356:37:24;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;11356:37:24;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;11356:37:24;;11209:191;-1:-1:-1;;;;;;11209:191:24:o;11756:197::-;11904:8;;;:42;;;;;;-1:-1:-1;;;;;;11904:42:24;;;;;;;;;;;;;;;;11865:14;;-1:-1:-1;;;;;11904:8:24;;;;:24;;:42;;;;;;;;;;;;;;:8;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;11904:42:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5607:188:24;1627:10;1618:5;;-1:-1:-1;;;1618:5:24;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1656:10:24;;-1:-1:-1;;;;;1656:10:24;1642;:24;:53;;;;-1:-1:-1;1679:16:24;1670:5;;-1:-1:-1;;;1670:5:24;;;;:25;;;;;;;;;1642:53;1610:106;;;;;;;-1:-1:-1;;;;;1610:106:24;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1610:106:24;;;;;;;;;;;;;;;2061:10;;5725:7;;-1:-1:-1;;;;;2061:10:24;2047;:24;;:69;;-1:-1:-1;2075:8:24;;;:41;;;-1:-1:-1;;;;;2075:41:24;;;;;;;;2105:10;2075:41;;;;;-1:-1:-1;;;;;2075:8:24;;;;:20;;:41;;;;;;;;;;;;;;:8;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;2075:41:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2075:41:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2075:41:24;2047:69;2039:78;;;;;;;;5748:8;;;:40;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5748:8:24;;;;:21;;:40;;;;;:8;;:40;;;;;;;:8;;:40;;;5:2:-1;;;;30:1;27;20:12;1286:31:24;;;-1:-1:-1;;;1286:31:24;;;;;:::o;12031:344::-;12132:24;12170:13;12197;12224:17;12255:13;12282:24;12339:8;;;;;;;;;-1:-1:-1;;;;;12339:8:24;-1:-1:-1;;;;;12339:20:24;;12360:7;12339:29;;;;;-1:-1:-1;;;12339:29:24;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12339:29:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12339:29:24;;;;;;39:16:-1;36:1;17:17;2:54;101:4;12339:29:24;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:3;5:12;;2:2;;;30:1;27;20:12;2:2;12339:29:24;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;;12339:29:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;0:372;;12339:29:24;;;;;;12332:36;;;;;;;;;;;;12031:344;;;;;;;:::o;10634:428::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;10731:20:24;;;10727:122;;;10775:10;;;10767:51;;-1:-1:-1;;;;;10775:10:24;;;;10804:4;10796:21;10767:51;;;;;10796:21;;10767:51;10775:10;10767:51;10796:21;10775:10;10767:51;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10767:51:24;10832:7;;10727:122;10923:30;;;;;;10947:4;10923:30;;;;;;10888:6;;10858:16;;-1:-1:-1;;;;;10923:15:24;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;10923:30:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10923:30:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10923:30:24;10978:10;;;10963:35;;;;;;-1:-1:-1;;;;;10978:10:24;;;10963:35;;;;;;;;;;;;10923:30;;-1:-1:-1;10963:14:24;;;;;;:35;;;;;10923:30;;10963:35;;;;;;;;;;;:14;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;10963:35:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10963:35:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;11035:10:24;;11013:42;;;;;;;;-1:-1:-1;;;;;11035:10:24;;;;11013:42;;;;;;;;;10963:35;11013:42;;;278:1:1;;;10634:428:24;:::o;5327:202::-;1627:10;1618:5;;-1:-1:-1;;;1618:5:24;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1656:10:24;;-1:-1:-1;;;;;1656:10:24;1642;:24;:53;;;;-1:-1:-1;1679:16:24;1670:5;;-1:-1:-1;;;1670:5:24;;;;:25;;;;;;;;;1642:53;1610:106;;;;;;;-1:-1:-1;;;;;1610:106:24;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1610:106:24;;;;;;;;;;;;;;;2061:10;;5452:7;;-1:-1:-1;;;;;2061:10:24;2047;:24;;:69;;-1:-1:-1;2075:8:24;;;:41;;;-1:-1:-1;;;;;2075:41:24;;;;;;;;2105:10;2075:41;;;;;-1:-1:-1;;;;;2075:8:24;;;;:20;;:41;;;;;;;;;;;;;;:8;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;2075:41:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2075:41:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2075:41:24;2047:69;2039:78;;;;;;;;5475:8;;;:47;;;;;;;;;;;;-1:-1:-1;;;;;;5475:47:24;;;;;;;-1:-1:-1;;;;;5475:8:24;;;;:27;;:47;;;;;:8;;:47;;;;;;;:8;;:47;;;5:2:-1;;;;30:1;27;20:12;10129:234:24;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;10249:28:24;;;;10241:64;;;;;-1:-1:-1;;;;;10241:64:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;10315:8;;;:41;;;;;;-1:-1:-1;;;;;10315:41:24;;;;;;;;;;;;:8;;;;;:25;;:41;;;;;:8;;:41;;;;;;;;:8;;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;10315:41:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10315:41:24;;;;10129:234;:::o;295:33:1:-;;;-1:-1:-1;;;;;295:33:1;;:::o;12769:586:24:-;13021:14;1627:10;1618:5;;-1:-1:-1;;;1618:5:24;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1656:10:24;;-1:-1:-1;;;;;1656:10:24;1642;:24;:53;;;;-1:-1:-1;1679:16:24;1670:5;;-1:-1:-1;;;1670:5:24;;;;:25;;;;;;;;;1642:53;1610:106;;;;;;;-1:-1:-1;;;;;1610:106:24;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1610:106:24;;;;;;;;;;;;;;;13069:1;13055:11;;:15;13052:121;;;13093:3;;;13134:11;13093:53;;;;;;-1:-1:-1;;;;;13093:53:24;;;;;;;13127:4;13093:53;;;;;;;;;;;;;:3;;;;;:16;;:53;;;;;;;;;;;;;;:3;;:53;;;5:2:-1;;;;30:1;27;20:12;5:2;13093:53:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13093:53:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13093:53:24;13085:77;;;;;;;-1:-1:-1;;;;;13085:77:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;13201:5;13190:16;;;13182:78;;;;-1:-1:-1;;;;;13182:78:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13277:8;;;:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13277:71:24;;;;;;;;;;;;;;;;;;;;;;:8;;;;;:21;;13299:6;;13307:7;;13316:9;;13327:6;;13335:12;;13277:71;;;;;;;;;;;;;;;;;;;;;:8;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13277:71:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13277:71:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13277:71:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13277:71:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13277:71:24;;12769:586;-1:-1:-1;;;;;;;12769:586:24:o;14981:161::-;15116:4;15101:24;15095:31;;15074:62::o;15148:2477::-;15233:12;15292:7;15283:6;:16;15265:6;:13;:35;;15257:44;;;;;;;;15312:22;15375:15;;15403:1967;;;;17511:4;17505:11;17492:24;;17562:4;17551:9;17547:20;17541:4;17534:34;15368:2214;;15403:1967;15585:4;15579:11;15566:24;;16244:2;16235:7;16231:16;16626:9;16619:17;16613:4;16609:28;16597:9;16586;16582:25;16578:60;16674:7;16670:2;16666:16;16926:6;16912:9;16905:17;16899:4;16895:28;16883:9;16875:6;16871:22;16867:57;16863:70;16700:425;16959:3;16955:2;16952:11;16700:425;;;17097:9;;17086:21;;17000:4;16992:13;;;;17032;16700:425;;;-1:-1:-1;;17143:26:24;;;17351:2;17334:11;-1:-1:-1;;17330:25:24;17324:4;17317:39;-1:-1:-1;15368:2214:24;-1:-1:-1;17609:9:24;15148:2477;-1:-1:-1;;;;15148:2477:24:o;13461:1101::-;13615:15;1854:10;1845:5;;-1:-1:-1;;;1845:5:24;;;;:19;;;;;;;;;:45;;;-1:-1:-1;1877:13:24;1868:5;;-1:-1:-1;;;1868:5:24;;;;:22;;;;;;;;;1845:45;:104;;;-1:-1:-1;1909:10:24;;-1:-1:-1;;;;;1909:10:24;1895;:24;:53;;;;-1:-1:-1;1932:16:24;1923:5;;-1:-1:-1;;;1923:5:24;;;;:25;;;;;;;;;1895:53;1837:132;;;;;;;-1:-1:-1;;;;;1837:132:24;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1837:132:24;;;;;;;;;;;;;;;13768:8;;;:32;;;;;;;;;;;;;13660:13;;;;;;;;-1:-1:-1;;;;;13768:8:24;;;;:23;;:32;;;;;;;;;;;;;;:8;:32;;;5:2:-1;;;;30:1;27;20:12;5:2;13768:32:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13768:32:24;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;13768:32:24;;;;;;;;;;;;;;;;;-1:-1:-1;13768:32:24;-1:-1:-1;13768:32:24;;-1:-1:-1;13768:32:24;-1:-1:-1;;;;;;13818:19:24;;;;13810:40;;;;;-1:-1:-1;;;;;13810:40:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;13868:8;13860:29;;;;;;;-1:-1:-1;;;;;13860:29:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;13916:5;13899:14;13934:10;;:26;;;;;13959:1;13948:8;;:12;13934:26;13931:237;;;14003:8;;14072:3;;14098:37;;;;;;;;14015:5;13994:17;;;13993:27;;;;14034:16;;;;;13993:27;-1:-1:-1;;;;;14072:3:24;;;;:16;;14089:7;;14072:3;;14098:35;;:37;;;;;;;;;;;;;;14072:3;14098:37;;;5:2:-1;;;;30:1;27;20:12;5:2;14098:37:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14098:37:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14098:37:24;14072:72;;;-1:-1:-1;;;14072:72:24;;;;;;-1:-1:-1;;;;;14072:72:24;;;;;;;;;;;;;;;;;;;;;;;;;;;14098:37;;14072:72;;;;;;;-1:-1:-1;14072:72:24;;;;5:2:-1;;;;30:1;27;20:12;5:2;14072:72:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14072:72:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14072:72:24;14064:93;;;;;;;-1:-1:-1;;;;;14064:93:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;13931:237;;14189:1;14180:6;:10;:24;;;;;14203:1;14194:6;:10;14180:24;14177:203;;;14306:3;;:48;;;;;;-1:-1:-1;;;;;14306:48:24;;;;;;;14340:4;14306:48;;;;14249:5;14230:15;;;14229:25;;;;14306:48;;;;;;;;14229:25;;14268:16;;;;;14306:3;;;;:16;;:48;;;;;;;;;;;;;;-1:-1:-1;14306:3:24;:48;;;5:2:-1;;;;30:1;27;20:12;5:2;14306:48:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14306:48:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14306:48:24;14298:71;;;;;;;-1:-1:-1;;;;;14298:71:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;14402:1;14393:6;:10;14390:104;;;14427:3;;:40;;;;;;-1:-1:-1;;;;;14427:40:24;;;;;;;;;;;;;;;;;;;;;;:3;;;;;:16;;:40;;;;;;;;;;;;;;:3;;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;14427:40:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14427:40:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14427:40:24;14419:64;;;;;;;-1:-1:-1;;;;;14419:64:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;14510:8;;;:45;;;;;;-1:-1:-1;;;;;14510:45:24;;;;;;;;;;;;;;;;;;:8;;;;;:22;;:45;;;;;;;;;;;;;;;:8;;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;14510:45:24;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14510:45:24;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14510:45:24;;13461:1101;-1:-1:-1;;;;;;;;;13461:1101:24:o" + "srcmap": "648:16961:16:-;;;1266:31;;;-1:-1:-1;;;;;;1266:31:16;;;;;2166:154;5:2:-1;;;;30:1;27;20:12;5:2;2166:154:16;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2166:154:16;;;;;;;358:10:0;:23;;-1:-1:-1;;;;;;358:23:0;;;371:10;358:23;;;;2273:3:16;:10;;-1:-1:-1;;;;;2273:10:16;;;;;;;;;2293:8;:20;;;;;;;;;;;;;;648:16961;;;;;;", + "srcmap-runtime": "648:16961:16:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;648:16961:16;;;;;;;;-1:-1:-1;;;648:16961:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7743:149;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7743:149:16;;;;;;;:::i;:::-;;1408:21;;;:::i;:::-;;;;-1:-1:-1;;;;;1408:21:16;;;;;;;;;;;;;;3560:328;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;3560:328:16;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;3560:328:16;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;3560:328:16;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;3560:328:16;;;;-1:-1:-1;;;;;3560:328:16;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;3560:328:16;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;3560:328:16;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;3560:328:16;;-1:-1:-1;3560:328:16;-1:-1:-1;3560:328:16;:::i;:::-;;;;;;;;;;;;;;;;8969:199;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;8969:199:16;;;;;;;;:::i;8556:212::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8556:212:16;;:::i;514:124:0:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;514:124:0;-1:-1:-1;;;;;514:124:0;;:::i;9635:350:16:-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;9635:350:16;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;9635:350:16;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;9635:350:16;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;9635:350:16;;;;-1:-1:-1;;;;;9635:350:16;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;9635:350:16;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;9635:350:16;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;9635:350:16;;-1:-1:-1;9635:350:16;-1:-1:-1;9635:350:16;:::i;8008:148::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8008:148:16;;;;:::i;7340:188::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;7340:188:16;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;7340:188:16;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;7340:188:16;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;7340:188:16;;-1:-1:-1;7340:188:16;-1:-1:-1;7340:188:16;:::i;1451:29::-;;;:::i;4096:180::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4096:180:16;;;;;;-1:-1:-1;;;;;4096:180:16;;:::i;6030:1102::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;6030:1102:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;6030:1102:16;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;6030:1102:16;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;6030:1102:16;;-1:-1:-1;6030:1102:16;-1:-1:-1;6030:1102:16;:::i;2809:199::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2809:199:16;;;;;;-1:-1:-1;;;;;2809:199:16;;:::i;8279:156::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8279:156:16;;:::i;4475:212::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4475:212:16;;;;;;;;;;;;:::i;11471:174::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11471:174:16;-1:-1:-1;;;;;;11471:174:16;;:::i;4896:196::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4896:196:16;;;;;;-1:-1:-1;;;;;;4896:196:16;;:::i;12420:267::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12420:267:16;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12420:267:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12420:267:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11189:191;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11189:191:16;-1:-1:-1;;;;;;11189:191:16;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;11189:191:16;;;;;;;;;;;;;;;;;11736:197;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;;11736:197:16;;;;;;;;:::i;5587:188::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5587:188:16;;;;;;;;;:::i;1266:31::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12011:344;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12011:344:16;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;12011:344:16;-1:-1:-1;;;;;12011:344:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12011:344:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;12011:344:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10614:428;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10614:428:16;-1:-1:-1;;;;;10614:428:16;;:::i;5307:202::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5307:202:16;;;;;;-1:-1:-1;;;;;;5307:202:16;;:::i;10109:234::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10109:234:16;-1:-1:-1;;;;;10109:234:16;;:::i;285:33:0:-;;;:::i;7743:149:16:-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;7850:8:16;;;:35;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7850:8:16;;;;:18;;:35;;;;;:8;;:35;;;;;;;:8;;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;7850:35:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7850:35:16;;;;7743:149;;:::o;1408:21::-;;;-1:-1:-1;;;;;1408:21:16;;:::o;3560:328::-;3772:14;3811:70;3820:10;3832:9;;3811:70;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;3811:70:16;;;;137:4:-1;3811:70:16;;;;;;;;;;;;;;;;;3843:6;;-1:-1:-1;3851:6:16;;-1:-1:-1;3859:7:16;;3868:12;;;;;;3811:70;;3868:12;;;;3811:70;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;3811:8:16;;-1:-1:-1;;;3811:70:16:i;:::-;3802:79;3560:328;-1:-1:-1;;;;;;;;3560:328:16:o;8969:199::-;9084:15;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;9122:8:16;;;:39;;;;;;-1:-1:-1;;;;;9122:39:16;;;;;;;;;;;;;;;;;;:8;;;;;:22;;:39;;;;;;;;;;;;;;;:8;;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;9122:39:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9122:39:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9122:39:16;;8969:199;-1:-1:-1;;;8969:199:16:o;8556:212::-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;8648:8:16;:17;;;8693:5;8683:15;;;8675:55;;;;;-1:-1:-1;;;;;8675:55:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;8745:16;;;;;;;;;;;;;;;;;8556:212;:::o;514:124:0:-;234:10;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;604:10;:27;;-1:-1:-1;;604:27:0;-1:-1:-1;;;;;604:27:0;;;;;;;;;;514:124::o;9635:350:16:-;9870:14;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;9907:8:16;;;:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9907:71:16;;;;;;;;;;;;;;;;;;;;:8;;;:21;;9929:6;;9937:7;;9946:9;;;;9957:6;;9965:12;;;;9907:71;;;;;;;9946:9;9907:71;;;;9946:9;9907:71;1:33:-1;99:1;81:16;;;74:27;137:4;117:14;-1:-1;;113:30;157:16;;;9907:71:16;;;;;;;;;;;-1:-1:-1;9907:71:16;;;;;1:33:-1;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;9907:71:16;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9907:71:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9907:71:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9907:71:16;;9635:350;-1:-1:-1;;;;;;;;9635:350:16:o;8008:148::-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;8101:5:16;:14;;8109:6;;8101:5;-1:-1:-1;;8101:14:16;-1:-1:-1;;;8109:6:16;8101:14;;;;;;;;;;;;;8130:19;8142:6;8130:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;8008:148;:::o;7340:188::-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;7471:8:16;;;:50;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7471:8:16;;;;:27;;7499:7;;7508:12;;;;7471:50;;;;7508:12;;;;7471:50;1:33:-1;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;7471:50:16;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7471:50:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;7471:50:16;;;;7340:188;;;:::o;1451:29::-;;;-1:-1:-1;;;;;1451:29:16;;:::o;4096:180::-;1607:10;1598:5;;-1:-1:-1;;;1598:5:16;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1636:10:16;;-1:-1:-1;;;;;1636:10:16;1622;:24;:53;;;;-1:-1:-1;1659:16:16;1650:5;;-1:-1:-1;;;1650:5:16;;;;:25;;;;;;;;;1622:53;1590:106;;;;;;;-1:-1:-1;;;;;1590:106:16;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1590:106:16;;;;;;;;;;;;;;;2041:10;;4211:7;;-1:-1:-1;;;;;2041:10:16;2027;:24;;:69;;-1:-1:-1;2055:8:16;;;:41;;;-1:-1:-1;;;;;2055:41:16;;;;;;;;2085:10;2055:41;;;;;-1:-1:-1;;;;;2055:8:16;;;;:20;;:41;;;;;;;;;;;;;;:8;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;2055:41:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2055:41:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2055:41:16;2027:69;2019:78;;;;;;;;4234:8;;;:35;;;;;;;;;;;;-1:-1:-1;;;;;4234:35:16;;;;;;;;;:8;;;:21;;:35;;;;;:8;;:35;;;;;;;:8;;:35;;;5:2:-1;;;;30:1;27;20:12;6030:1102:16;6214:3;;-1:-1:-1;;;;;6196:22:16;;;6214:3;;6196:22;6188:44;;;;;-1:-1:-1;;;;;6188:44:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6250:29:16;;6268:10;6250:29;6242:50;;;;;-1:-1:-1;;;;;6242:50:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;6302:10;6315:19;6328:5;;6315:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;6315:12:16;;-1:-1:-1;;;6315:19:16:i;:::-;6302:32;;6344:18;6365:29;6371:5;;6365:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;6377:1:16;;-1:-1:-1;;;;;6379:14:16;;6365:5;:29::i;:::-;6421:38;;;;;;;;;;;;;;;;6344:50;;-1:-1:-1;;;;;;;6407:53:16;;;;;;6404:722;;;6483:12;;6499:2;6483:18;6475:46;;;;;-1:-1:-1;;;;;6475:46:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;6536:14;6552:13;6580:5;6569:37;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6569:37:16;;;;;;;;;-1:-1:-1;6569:37:16;-1:-1:-1;6620:25:16;6624:5;6569:37;;6620:3;:25::i;:::-;;6404:722;;;;;6679:65;;;;;;;;;;;;;;;;;;6665:80;;;:3;:80;;;;6662:464;;;6769:12;;6785:3;-1:-1:-1;6769:19:16;6761:47;;;;;-1:-1:-1;;;;;6761:47:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;6823:14;6839:15;6856:25;6883:14;6899:25;6939:5;6928:59;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;6928:59:16;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;;6928:59:16;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;0:372;;6928:59:16;;;;;;6822:165;;;;;;;;;;7001:65;7010:5;7017:9;7028:6;7036;7044:7;7053:12;7001:8;:65::i;:::-;;6662:464;;;;;;;;7097:18;;;-1:-1:-1;;;;;7097:18:16;;;;;;;;;;;;;;;;;;;;;;;;;;;2809:199;2925:15;2963:38;2967:10;2979:7;2988:12;2963:3;:38::i;:::-;2956:45;2809:199;-1:-1:-1;;;2809:199:16:o;8279:156::-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;8374:11:16;:20;;;8409:19;;;;;;;;;;;;;;;;;8279:156;:::o;4475:212::-;1607:10;1598:5;;-1:-1:-1;;;1598:5:16;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1636:10:16;;-1:-1:-1;;;;;1636:10:16;1622;:24;:53;;;;-1:-1:-1;1659:16:16;1650:5;;-1:-1:-1;;;1650:5:16;;;;:25;;;;;;;;;1622:53;1590:106;;;;;;;-1:-1:-1;;;;;1590:106:16;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1590:106:16;;;;;;;;;;;;;;;2041:10;;4610:7;;-1:-1:-1;;;;;2041:10:16;2027;:24;;:69;;-1:-1:-1;2055:8:16;;;:41;;;-1:-1:-1;;;;;2055:41:16;;;;;;;;2085:10;2055:41;;;;;-1:-1:-1;;;;;2055:8:16;;;;:20;;:41;;;;;;;;;;;;;;:8;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;2055:41:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2055:41:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2055:41:16;2027:69;2019:78;;;;;;;;4633:8;;;:47;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4633:8:16;;;;:21;;:47;;;;;:8;;:47;;;;;;;:8;;:47;;;5:2:-1;;;;30:1;27;20:12;5:2;4633:47:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4633:47:16;;;;1706:1;4475:212;;;:::o;11471:174::-;11601:8;;;:37;;;;;;-1:-1:-1;;;;;;11601:37:16;;;;;;;;;;11566:12;;-1:-1:-1;;;;;11601:8:16;;;;:26;;:37;;;;;;;;;;;;;;:8;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;11601:37:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11601:37:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11601:37:16;;11471:174;-1:-1:-1;;11471:174:16:o;4896:196::-;1607:10;1598:5;;-1:-1:-1;;;1598:5:16;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1636:10:16;;-1:-1:-1;;;;;1636:10:16;1622;:24;:53;;;;-1:-1:-1;1659:16:16;1650:5;;-1:-1:-1;;;1650:5:16;;;;:25;;;;;;;;;1622:53;1590:106;;;;;;;-1:-1:-1;;;;;1590:106:16;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1590:106:16;;;;;;;;;;;;;;;2041:10;;5018:7;;-1:-1:-1;;;;;2041:10:16;2027;:24;;:69;;-1:-1:-1;2055:8:16;;;:41;;;-1:-1:-1;;;;;2055:41:16;;;;;;;;2085:10;2055:41;;;;;-1:-1:-1;;;;;2055:8:16;;;;:20;;:41;;;;;;;;;;;;;;:8;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;2055:41:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2055:41:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2055:41:16;2027:69;2019:78;;;;;;;;5041:8;;;:44;;;;;;;;;;;;-1:-1:-1;;;;;;5041:44:16;;;;;;;-1:-1:-1;;;;;5041:8:16;;;;:24;;:44;;;;;:8;;:44;;;;;;;:8;;:44;;;5:2:-1;;;;30:1;27;20:12;12420:267:16;12649:8;;;:31;;;;;;;;;;;;;12523:24;;12561:17;;12523:24;;-1:-1:-1;;;;;12649:8:16;;;;:21;;:31;;;;;12561:17;;12649:31;;;;;;;:8;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;12649:31:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12649:31:16;;;;;;39:16:-1;36:1;17:17;2:54;101:4;12649:31:16;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;12649:31:16;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;;12649:31:16;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;-1:-1;12642:38:16;;;;-1:-1:-1;12649:31:16;-1:-1:-1;12420:267:16;;-1:-1:-1;;;;;;12420:267:16:o;11189:191::-;11336:8;;;:37;;;;;;-1:-1:-1;;;;;;11336:37:16;;;;;;;;;;11284:29;;-1:-1:-1;;;;;11336:8:16;;;;:26;;:37;;;;;:8;;:37;;;;;;;:8;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;11336:37:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11336:37:16;;;;;;39:16:-1;36:1;17:17;2:54;101:4;11336:37:16;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;11336:37:16;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;11336:37:16;;11189:191;-1:-1:-1;;;;;;11189:191:16:o;11736:197::-;11884:8;;;:42;;;;;;-1:-1:-1;;;;;;11884:42:16;;;;;;;;;;;;;;;;11845:14;;-1:-1:-1;;;;;11884:8:16;;;;:24;;:42;;;;;;;;;;;;;;:8;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;11884:42:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5587:188:16;1607:10;1598:5;;-1:-1:-1;;;1598:5:16;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1636:10:16;;-1:-1:-1;;;;;1636:10:16;1622;:24;:53;;;;-1:-1:-1;1659:16:16;1650:5;;-1:-1:-1;;;1650:5:16;;;;:25;;;;;;;;;1622:53;1590:106;;;;;;;-1:-1:-1;;;;;1590:106:16;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1590:106:16;;;;;;;;;;;;;;;2041:10;;5705:7;;-1:-1:-1;;;;;2041:10:16;2027;:24;;:69;;-1:-1:-1;2055:8:16;;;:41;;;-1:-1:-1;;;;;2055:41:16;;;;;;;;2085:10;2055:41;;;;;-1:-1:-1;;;;;2055:8:16;;;;:20;;:41;;;;;;;;;;;;;;:8;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;2055:41:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2055:41:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2055:41:16;2027:69;2019:78;;;;;;;;5728:8;;;:40;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5728:8:16;;;;:21;;:40;;;;;:8;;:40;;;;;;;:8;;:40;;;5:2:-1;;;;30:1;27;20:12;1266:31:16;;;-1:-1:-1;;;1266:31:16;;;;;:::o;12011:344::-;12112:24;12150:13;12177;12204:17;12235:13;12262:24;12319:8;;;;;;;;;-1:-1:-1;;;;;12319:8:16;-1:-1:-1;;;;;12319:20:16;;12340:7;12319:29;;;;;-1:-1:-1;;;12319:29:16;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12319:29:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12319:29:16;;;;;;39:16:-1;36:1;17:17;2:54;101:4;12319:29:16;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:3;5:12;;2:2;;;30:1;27;20:12;2:2;12319:29:16;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;-1:-1;;12319:29:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;0:372;;12319:29:16;;;;;;12312:36;;;;;;;;;;;;12011:344;;;;;;;:::o;10614:428::-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;10711:20:16;;;10707:122;;;10755:10;;;10747:51;;-1:-1:-1;;;;;10755:10:16;;;;10784:4;10776:21;10747:51;;;;;10776:21;;10747:51;10755:10;10747:51;10776:21;10755:10;10747:51;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10747:51:16;10812:7;;10707:122;10903:30;;;;;;10927:4;10903:30;;;;;;10868:6;;10838:16;;-1:-1:-1;;;;;10903:15:16;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;10903:30:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10903:30:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10903:30:16;10958:10;;;10943:35;;;;;;-1:-1:-1;;;;;10958:10:16;;;10943:35;;;;;;;;;;;;10903:30;;-1:-1:-1;10943:14:16;;;;;;:35;;;;;10903:30;;10943:35;;;;;;;;;;;:14;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;10943:35:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10943:35:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;11015:10:16;;10993:42;;;;;;;;-1:-1:-1;;;;;11015:10:16;;;;10993:42;;;;;;;;;10943:35;10993:42;;;271:1:0;;;10614:428:16;:::o;5307:202::-;1607:10;1598:5;;-1:-1:-1;;;1598:5:16;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1636:10:16;;-1:-1:-1;;;;;1636:10:16;1622;:24;:53;;;;-1:-1:-1;1659:16:16;1650:5;;-1:-1:-1;;;1650:5:16;;;;:25;;;;;;;;;1622:53;1590:106;;;;;;;-1:-1:-1;;;;;1590:106:16;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1590:106:16;;;;;;;;;;;;;;;2041:10;;5432:7;;-1:-1:-1;;;;;2041:10:16;2027;:24;;:69;;-1:-1:-1;2055:8:16;;;:41;;;-1:-1:-1;;;;;2055:41:16;;;;;;;;2085:10;2055:41;;;;;-1:-1:-1;;;;;2055:8:16;;;;:20;;:41;;;;;;;;;;;;;;:8;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;2055:41:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2055:41:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2055:41:16;2027:69;2019:78;;;;;;;;5455:8;;;:47;;;;;;;;;;;;-1:-1:-1;;;;;;5455:47:16;;;;;;;-1:-1:-1;;;;;5455:8:16;;;;:27;;:47;;;;;:8;;:47;;;;;;;:8;;:47;;;5:2:-1;;;;30:1;27;20:12;10109:234:16;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;10229:28:16;;;;10221:64;;;;;-1:-1:-1;;;;;10221:64:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;10295:8;;;:41;;;;;;-1:-1:-1;;;;;10295:41:16;;;;;;;;;;;;:8;;;;;:25;;:41;;;;;:8;;:41;;;;;;;;:8;;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;10295:41:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10295:41:16;;;;10109:234;:::o;285:33:0:-;;;-1:-1:-1;;;;;285:33:0;;:::o;12749:586:16:-;13001:14;1607:10;1598:5;;-1:-1:-1;;;1598:5:16;;;;:19;;;;;;;;;:78;;;-1:-1:-1;1636:10:16;;-1:-1:-1;;;;;1636:10:16;1622;:24;:53;;;;-1:-1:-1;1659:16:16;1650:5;;-1:-1:-1;;;1650:5:16;;;;:25;;;;;;;;;1622:53;1590:106;;;;;;;-1:-1:-1;;;;;1590:106:16;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1590:106:16;;;;;;;;;;;;;;;13049:1;13035:11;;:15;13032:121;;;13073:3;;;13114:11;13073:53;;;;;;-1:-1:-1;;;;;13073:53:16;;;;;;;13107:4;13073:53;;;;;;;;;;;;;:3;;;;;:16;;:53;;;;;;;;;;;;;;:3;;:53;;;5:2:-1;;;;30:1;27;20:12;5:2;13073:53:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13073:53:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13073:53:16;13065:77;;;;;;;-1:-1:-1;;;;;13065:77:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;13181:5;13170:16;;;13162:78;;;;-1:-1:-1;;;;;13162:78:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13257:8;;;:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13257:71:16;;;;;;;;;;;;;;;;;;;;;;:8;;;;;:21;;13279:6;;13287:7;;13296:9;;13307:6;;13315:12;;13257:71;;;;;;;;;;;;;;;;;;;;;:8;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13257:71:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13257:71:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13257:71:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13257:71:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13257:71:16;;12749:586;-1:-1:-1;;;;;;;12749:586:16:o;14961:161::-;15096:4;15081:24;15075:31;;15054:62::o;15128:2477::-;15213:12;15272:7;15263:6;:16;15245:6;:13;:35;;15237:44;;;;;;;;15292:22;15355:15;;15383:1967;;;;17491:4;17485:11;17472:24;;17542:4;17531:9;17527:20;17521:4;17514:34;15348:2214;;15383:1967;15565:4;15559:11;15546:24;;16224:2;16215:7;16211:16;16606:9;16599:17;16593:4;16589:28;16577:9;16566;16562:25;16558:60;16654:7;16650:2;16646:16;16906:6;16892:9;16885:17;16879:4;16875:28;16863:9;16855:6;16851:22;16847:57;16843:70;16680:425;16939:3;16935:2;16932:11;16680:425;;;17077:9;;17066:21;;16980:4;16972:13;;;;17012;16680:425;;;-1:-1:-1;;17123:26:16;;;17331:2;17314:11;-1:-1:-1;;17310:25:16;17304:4;17297:39;-1:-1:-1;15348:2214:16;-1:-1:-1;17589:9:16;15128:2477;-1:-1:-1;;;;15128:2477:16:o;13441:1101::-;13595:15;1834:10;1825:5;;-1:-1:-1;;;1825:5:16;;;;:19;;;;;;;;;:45;;;-1:-1:-1;1857:13:16;1848:5;;-1:-1:-1;;;1848:5:16;;;;:22;;;;;;;;;1825:45;:104;;;-1:-1:-1;1889:10:16;;-1:-1:-1;;;;;1889:10:16;1875;:24;:53;;;;-1:-1:-1;1912:16:16;1903:5;;-1:-1:-1;;;1903:5:16;;;;:25;;;;;;;;;1875:53;1817:132;;;;;;;-1:-1:-1;;;;;1817:132:16;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1817:132:16;;;;;;;;;;;;;;;13748:8;;;:32;;;;;;;;;;;;;13640:13;;;;;;;;-1:-1:-1;;;;;13748:8:16;;;;:23;;:32;;;;;;;;;;;;;;:8;:32;;;5:2:-1;;;;30:1;27;20:12;5:2;13748:32:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13748:32:16;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;13748:32:16;;;;;;;;;;;;;;;;;-1:-1:-1;13748:32:16;-1:-1:-1;13748:32:16;;-1:-1:-1;13748:32:16;-1:-1:-1;;;;;;13798:19:16;;;;13790:40;;;;;-1:-1:-1;;;;;13790:40:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;13848:8;13840:29;;;;;;;-1:-1:-1;;;;;13840:29:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;13896:5;13879:14;13914:10;;:26;;;;;13939:1;13928:8;;:12;13914:26;13911:237;;;13983:8;;14052:3;;14078:37;;;;;;;;13995:5;13974:17;;;13973:27;;;;14014:16;;;;;13973:27;-1:-1:-1;;;;;14052:3:16;;;;:16;;14069:7;;14052:3;;14078:35;;:37;;;;;;;;;;;;;;14052:3;14078:37;;;5:2:-1;;;;30:1;27;20:12;5:2;14078:37:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14078:37:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14078:37:16;14052:72;;;-1:-1:-1;;;14052:72:16;;;;;;-1:-1:-1;;;;;14052:72:16;;;;;;;;;;;;;;;;;;;;;;;;;;;14078:37;;14052:72;;;;;;;-1:-1:-1;14052:72:16;;;;5:2:-1;;;;30:1;27;20:12;5:2;14052:72:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14052:72:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14052:72:16;14044:93;;;;;;;-1:-1:-1;;;;;14044:93:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;13911:237;;14169:1;14160:6;:10;:24;;;;;14183:1;14174:6;:10;14160:24;14157:203;;;14286:3;;:48;;;;;;-1:-1:-1;;;;;14286:48:16;;;;;;;14320:4;14286:48;;;;14229:5;14210:15;;;14209:25;;;;14286:48;;;;;;;;14209:25;;14248:16;;;;;14286:3;;;;:16;;:48;;;;;;;;;;;;;;-1:-1:-1;14286:3:16;:48;;;5:2:-1;;;;30:1;27;20:12;5:2;14286:48:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14286:48:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14286:48:16;14278:71;;;;;;;-1:-1:-1;;;;;14278:71:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;14382:1;14373:6;:10;14370:104;;;14407:3;;:40;;;;;;-1:-1:-1;;;;;14407:40:16;;;;;;;;;;;;;;;;;;;;;;:3;;;;;:16;;:40;;;;;;;;;;;;;;:3;;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;14407:40:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14407:40:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14407:40:16;14399:64;;;;;;;-1:-1:-1;;;;;14399:64:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;14490:8;;;:45;;;;;;-1:-1:-1;;;;;14490:45:16;;;;;;;;;;;;;;;;;;:8;;;;;:22;;:45;;;;;;;;;;;;;;;:8;;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;14490:45:16;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14490:45:16;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14490:45:16;;13441:1101;-1:-1:-1;;;;;;;;;13441:1101:16:o" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ApproveAndCallFallBack.sol:ApproveAndCallFallBack": { + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ApproveAndCallFallBack.sol:ApproveAndCallFallBack": { "bin-runtime": "", "bin": "", "abi": [ @@ -130718,9 +78858,9 @@ "srcmap": "", "srcmap-runtime": "" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC20Receiver.sol:ERC20Receiver": { - "bin-runtime": "608060405234801561001057600080fd5b5060043610610068577c010000000000000000000000000000000000000000000000000000000060003504631bea8006811461006d5780632fd55265146100ad578063338b5dea146100d55780639e281a9814610101575b600080fd5b61009b6004803603604081101561008357600080fd5b50600160a060020a038135811691602001351661012d565b60408051918252519081900360200190f35b6100d3600480360360208110156100c357600080fd5b5035600160a060020a0316610156565b005b6100d3600480360360408110156100eb57600080fd5b50600160a060020a0381351690602001356101f8565b6100d36004803603604081101561011757600080fd5b50600160a060020a0381351690602001356102f1565b600160a060020a0391821660009081526020818152604080832093909416825291909152205490565b604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008152336004820181905230602483015291516101f592918491600160a060020a0383169163dd62ed3e916044808301926020929190829003018186803b1580156101c457600080fd5b505afa1580156101d8573d6000803e3d6000fd5b505050506040513d60208110156101ee57600080fd5b50516102fc565b50565b604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815233600482015230602482015290518291600160a060020a0385169163dd62ed3e91604480820192602092909190829003018186803b15801561026057600080fd5b505afa158015610274573d6000803e3d6000fd5b505050506040513d602081101561028a57600080fd5b505110156102e2576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b6102ed3383836102fc565b5050565b6102ed33838361045b565b60008111610354576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152306024830152604482018490529151918416916323b872dd916064808201926020929091908290030181600087803b1580156103c657600080fd5b505af11580156103da573d6000803e3d6000fd5b505050506040513d60208110156103f057600080fd5b50511561045657600160a060020a0380831660008181526020818152604080832094881680845294825291829020805486019055815185815291517ff1444b5cad7ce70cb018d1b8edc8618fe303f3c7f034d8d572a6e27facbf2bef9281900390910190a35b505050565b600081116104b3576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038083166000908152602081815260408083209387168352929052205481111561052e576040805160e560020a62461bcd02815260206004820152601260248201527f496e73756666696369656e742066756e64730000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038083166000818152602081815260408083209488168084529482528083208054879003905580517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850186905251929363a9059cbb9360448083019491928390030190829087803b1580156105b657600080fd5b505af11580156105ca573d6000803e3d6000fd5b505050506040513d60208110156105e057600080fd5b50511515610638576040805160e560020a62461bcd02815260206004820152600d60248201527f5472616e73666572206661696c00000000000000000000000000000000000000604482015290519081900360640190fd5b82600160a060020a031682600160a060020a03167f8210728e7c071f615b840ee026032693858fbcd5e5359e67e438c890f59e5620836040518082815260200191505060405180910390a350505056fea165627a7a723058204e6c66ca30da5ac7a7bcbbab27938d477083e128d2a203f4f93cbc2347cb2f0f0029", - "bin": "608060405234801561001057600080fd5b506106b4806100206000396000f3fe608060405234801561001057600080fd5b5060043610610068577c010000000000000000000000000000000000000000000000000000000060003504631bea8006811461006d5780632fd55265146100ad578063338b5dea146100d55780639e281a9814610101575b600080fd5b61009b6004803603604081101561008357600080fd5b50600160a060020a038135811691602001351661012d565b60408051918252519081900360200190f35b6100d3600480360360208110156100c357600080fd5b5035600160a060020a0316610156565b005b6100d3600480360360408110156100eb57600080fd5b50600160a060020a0381351690602001356101f8565b6100d36004803603604081101561011757600080fd5b50600160a060020a0381351690602001356102f1565b600160a060020a0391821660009081526020818152604080832093909416825291909152205490565b604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008152336004820181905230602483015291516101f592918491600160a060020a0383169163dd62ed3e916044808301926020929190829003018186803b1580156101c457600080fd5b505afa1580156101d8573d6000803e3d6000fd5b505050506040513d60208110156101ee57600080fd5b50516102fc565b50565b604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815233600482015230602482015290518291600160a060020a0385169163dd62ed3e91604480820192602092909190829003018186803b15801561026057600080fd5b505afa158015610274573d6000803e3d6000fd5b505050506040513d602081101561028a57600080fd5b505110156102e2576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b6102ed3383836102fc565b5050565b6102ed33838361045b565b60008111610354576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152306024830152604482018490529151918416916323b872dd916064808201926020929091908290030181600087803b1580156103c657600080fd5b505af11580156103da573d6000803e3d6000fd5b505050506040513d60208110156103f057600080fd5b50511561045657600160a060020a0380831660008181526020818152604080832094881680845294825291829020805486019055815185815291517ff1444b5cad7ce70cb018d1b8edc8618fe303f3c7f034d8d572a6e27facbf2bef9281900390910190a35b505050565b600081116104b3576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038083166000908152602081815260408083209387168352929052205481111561052e576040805160e560020a62461bcd02815260206004820152601260248201527f496e73756666696369656e742066756e64730000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038083166000818152602081815260408083209488168084529482528083208054879003905580517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850186905251929363a9059cbb9360448083019491928390030190829087803b1580156105b657600080fd5b505af11580156105ca573d6000803e3d6000fd5b505050506040513d60208110156105e057600080fd5b50511515610638576040805160e560020a62461bcd02815260206004820152600d60248201527f5472616e73666572206661696c00000000000000000000000000000000000000604482015290519081900360640190fd5b82600160a060020a031682600160a060020a03167f8210728e7c071f615b840ee026032693858fbcd5e5359e67e438c890f59e5620836040518082815260200191505060405180910390a350505056fea165627a7a723058204e6c66ca30da5ac7a7bcbbab27938d477083e128d2a203f4f93cbc2347cb2f0f0029", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Receiver.sol:ERC20Receiver": { + "bin-runtime": "608060405234801561001057600080fd5b5060043610610068577c010000000000000000000000000000000000000000000000000000000060003504631bea8006811461006d5780632fd55265146100ad578063338b5dea146100d55780639e281a9814610101575b600080fd5b61009b6004803603604081101561008357600080fd5b50600160a060020a038135811691602001351661012d565b60408051918252519081900360200190f35b6100d3600480360360208110156100c357600080fd5b5035600160a060020a0316610156565b005b6100d3600480360360408110156100eb57600080fd5b50600160a060020a0381351690602001356101f8565b6100d36004803603604081101561011757600080fd5b50600160a060020a0381351690602001356102f1565b600160a060020a0391821660009081526020818152604080832093909416825291909152205490565b604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008152336004820181905230602483015291516101f592918491600160a060020a0383169163dd62ed3e916044808301926020929190829003018186803b1580156101c457600080fd5b505afa1580156101d8573d6000803e3d6000fd5b505050506040513d60208110156101ee57600080fd5b50516102fc565b50565b604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815233600482015230602482015290518291600160a060020a0385169163dd62ed3e91604480820192602092909190829003018186803b15801561026057600080fd5b505afa158015610274573d6000803e3d6000fd5b505050506040513d602081101561028a57600080fd5b505110156102e2576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b6102ed3383836102fc565b5050565b6102ed33838361045b565b60008111610354576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152306024830152604482018490529151918416916323b872dd916064808201926020929091908290030181600087803b1580156103c657600080fd5b505af11580156103da573d6000803e3d6000fd5b505050506040513d60208110156103f057600080fd5b50511561045657600160a060020a0380831660008181526020818152604080832094881680845294825291829020805486019055815185815291517ff1444b5cad7ce70cb018d1b8edc8618fe303f3c7f034d8d572a6e27facbf2bef9281900390910190a35b505050565b600081116104b3576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038083166000908152602081815260408083209387168352929052205481111561052e576040805160e560020a62461bcd02815260206004820152601260248201527f496e73756666696369656e742066756e64730000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038083166000818152602081815260408083209488168084529482528083208054879003905580517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850186905251929363a9059cbb9360448083019491928390030190829087803b1580156105b657600080fd5b505af11580156105ca573d6000803e3d6000fd5b505050506040513d60208110156105e057600080fd5b50511515610638576040805160e560020a62461bcd02815260206004820152600d60248201527f5472616e73666572206661696c00000000000000000000000000000000000000604482015290519081900360640190fd5b82600160a060020a031682600160a060020a03167f8210728e7c071f615b840ee026032693858fbcd5e5359e67e438c890f59e5620836040518082815260200191505060405180910390a350505056fea165627a7a72305820c2bef836d906c4be8d1fc149ecd9b52679fc6961fcd1c865925fed70cff65a9b0029", + "bin": "608060405234801561001057600080fd5b506106b4806100206000396000f3fe608060405234801561001057600080fd5b5060043610610068577c010000000000000000000000000000000000000000000000000000000060003504631bea8006811461006d5780632fd55265146100ad578063338b5dea146100d55780639e281a9814610101575b600080fd5b61009b6004803603604081101561008357600080fd5b50600160a060020a038135811691602001351661012d565b60408051918252519081900360200190f35b6100d3600480360360208110156100c357600080fd5b5035600160a060020a0316610156565b005b6100d3600480360360408110156100eb57600080fd5b50600160a060020a0381351690602001356101f8565b6100d36004803603604081101561011757600080fd5b50600160a060020a0381351690602001356102f1565b600160a060020a0391821660009081526020818152604080832093909416825291909152205490565b604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008152336004820181905230602483015291516101f592918491600160a060020a0383169163dd62ed3e916044808301926020929190829003018186803b1580156101c457600080fd5b505afa1580156101d8573d6000803e3d6000fd5b505050506040513d60208110156101ee57600080fd5b50516102fc565b50565b604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815233600482015230602482015290518291600160a060020a0385169163dd62ed3e91604480820192602092909190829003018186803b15801561026057600080fd5b505afa158015610274573d6000803e3d6000fd5b505050506040513d602081101561028a57600080fd5b505110156102e2576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b6102ed3383836102fc565b5050565b6102ed33838361045b565b60008111610354576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152306024830152604482018490529151918416916323b872dd916064808201926020929091908290030181600087803b1580156103c657600080fd5b505af11580156103da573d6000803e3d6000fd5b505050506040513d60208110156103f057600080fd5b50511561045657600160a060020a0380831660008181526020818152604080832094881680845294825291829020805486019055815185815291517ff1444b5cad7ce70cb018d1b8edc8618fe303f3c7f034d8d572a6e27facbf2bef9281900390910190a35b505050565b600081116104b3576040805160e560020a62461bcd02815260206004820152600c60248201527f42616420617267756d656e740000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038083166000908152602081815260408083209387168352929052205481111561052e576040805160e560020a62461bcd02815260206004820152601260248201527f496e73756666696369656e742066756e64730000000000000000000000000000604482015290519081900360640190fd5b600160a060020a038083166000818152602081815260408083209488168084529482528083208054879003905580517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850186905251929363a9059cbb9360448083019491928390030190829087803b1580156105b657600080fd5b505af11580156105ca573d6000803e3d6000fd5b505050506040513d60208110156105e057600080fd5b50511515610638576040805160e560020a62461bcd02815260206004820152600d60248201527f5472616e73666572206661696c00000000000000000000000000000000000000604482015290519081900360640190fd5b82600160a060020a031682600160a060020a03167f8210728e7c071f615b840ee026032693858fbcd5e5359e67e438c890f59e5620836040518082815260200191505060405180910390a350505056fea165627a7a72305820c2bef836d906c4be8d1fc149ecd9b52679fc6961fcd1c865925fed70cff65a9b0029", "abi": [ { "constant": true, @@ -130846,10 +78986,10 @@ "type": "event" } ], - "srcmap": "130:2071:26:-;;;408:28;8:9:-1;5:2;;;30:1;27;20:12;5:2;408:28:26;130:2071;;;;;;", - "srcmap-runtime": "130:2071:26:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;130:2071:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1134:217;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1134:217:26;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;442:263;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;442:263:26;-1:-1:-1;;;;;442:263:26;;:::i;:::-;;879:249;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;879:249:26;;;;;;;;:::i;711:162::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;711:162:26;;;;;;;;:::i;1134:217::-;-1:-1:-1;;;;;1307:30:26;;;1260:24;1307:30;;;;;;;;;;;:37;;;;;;;;;;;;;1134:217::o;442:263::-;599:89;;;;;;555:10;599:89;;;;;;669:4;599:89;;;;;;528:170;;555:10;579:6;;-1:-1:-1;;;;;599:16:26;;;;;:89;;;;;;;;;;;;;;:16;:89;;;5:2:-1;;;;30:1;27;20:12;5:2;599:89:26;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;599:89:26;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;599:89:26;528:13;:170::i;:::-;442:263;:::o;879:249::-;998:43;;;;;;1015:10;998:43;;;;1035:4;998:43;;;;;;1045:7;;-1:-1:-1;;;;;998:16:26;;;;;:43;;;;;;;;;;;;;;;:16;:43;;;5:2:-1;;;;30:1;27;20:12;5:2;998:43:26;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;998:43:26;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;998:43:26;:54;;990:79;;;;;-1:-1:-1;;;;;990:79:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;1079:42;1093:10;1105:6;1113:7;1079:13;:42::i;:::-;879:249;;:::o;711:162::-;823:43;838:10;850:6;858:7;823:14;:43::i;1357:381::-;1509:1;1499:11;;1491:36;;;;;-1:-1:-1;;;;;1491:36:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;1541:50;;;;;;-1:-1:-1;;;;;1541:50:26;;;;;;;1576:4;1541:50;;;;;;;;;;;;:19;;;;;;:50;;;;;;;;;;;;;;;-1:-1:-1;1541:19:26;:50;;;5:2:-1;;;;30:1;27;20:12;5:2;1541:50:26;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1541:50:26;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1541:50:26;1537:195;;;-1:-1:-1;;;;;1607:30:26;;;:13;:30;;;;;;;;;;;:37;;;;;;;;;;;;;:48;;;;;;1674:47;;;;;;;;;;;;;;;;;1537:195;1357:381;;;:::o;1744:454::-;1897:1;1887:11;;1879:36;;;;;-1:-1:-1;;;;;1879:36:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1933:30:26;;;:13;:30;;;;;;;;;;;:37;;;;;;;;;;:48;-1:-1:-1;1933:48:26;1925:79;;;;;-1:-1:-1;;;;;1925:79:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2014:30:26;;;:13;:30;;;;;;;;;;;:37;;;;;;;;;;;;:48;;;;;;;2080:31;;;;;;;;;;;;;;;;;;;2014:30;;2080:15;;:31;;;;;;;;;;;;;;2014:30;2080:31;;;5:2:-1;;;;30:1;27;20:12;5:2;2080:31:26;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2080:31:26;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2080:31:26;2072:57;;;;;;;-1:-1:-1;;;;;2072:57:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;2176:5;-1:-1:-1;;;;;2144:47:26;2167:6;-1:-1:-1;;;;;2144:47:26;;2183:7;2144:47;;;;;;;;;;;;;;;;;;1744:454;;;:::o" + "srcmap": "125:2071:18:-;;;403:28;8:9:-1;5:2;;;30:1;27;20:12;5:2;403:28:18;125:2071;;;;;;", + "srcmap-runtime": "125:2071:18:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;125:2071:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1129:217;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1129:217:18;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;437:263;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;437:263:18;-1:-1:-1;;;;;437:263:18;;:::i;:::-;;874:249;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;874:249:18;;;;;;;;:::i;706:162::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;706:162:18;;;;;;;;:::i;1129:217::-;-1:-1:-1;;;;;1302:30:18;;;1255:24;1302:30;;;;;;;;;;;:37;;;;;;;;;;;;;1129:217::o;437:263::-;594:89;;;;;;550:10;594:89;;;;;;664:4;594:89;;;;;;523:170;;550:10;574:6;;-1:-1:-1;;;;;594:16:18;;;;;:89;;;;;;;;;;;;;;:16;:89;;;5:2:-1;;;;30:1;27;20:12;5:2;594:89:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;594:89:18;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;594:89:18;523:13;:170::i;:::-;437:263;:::o;874:249::-;993:43;;;;;;1010:10;993:43;;;;1030:4;993:43;;;;;;1040:7;;-1:-1:-1;;;;;993:16:18;;;;;:43;;;;;;;;;;;;;;;:16;:43;;;5:2:-1;;;;30:1;27;20:12;5:2;993:43:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;993:43:18;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;993:43:18;:54;;985:79;;;;;-1:-1:-1;;;;;985:79:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;1074:42;1088:10;1100:6;1108:7;1074:13;:42::i;:::-;874:249;;:::o;706:162::-;818:43;833:10;845:6;853:7;818:14;:43::i;1352:381::-;1504:1;1494:11;;1486:36;;;;;-1:-1:-1;;;;;1486:36:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;1536:50;;;;;;-1:-1:-1;;;;;1536:50:18;;;;;;;1571:4;1536:50;;;;;;;;;;;;:19;;;;;;:50;;;;;;;;;;;;;;;-1:-1:-1;1536:19:18;:50;;;5:2:-1;;;;30:1;27;20:12;5:2;1536:50:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1536:50:18;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1536:50:18;1532:195;;;-1:-1:-1;;;;;1602:30:18;;;:13;:30;;;;;;;;;;;:37;;;;;;;;;;;;;:48;;;;;;1669:47;;;;;;;;;;;;;;;;;1532:195;1352:381;;;:::o;1739:454::-;1892:1;1882:11;;1874:36;;;;;-1:-1:-1;;;;;1874:36:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1928:30:18;;;:13;:30;;;;;;;;;;;:37;;;;;;;;;;:48;-1:-1:-1;1928:48:18;1920:79;;;;;-1:-1:-1;;;;;1920:79:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2009:30:18;;;:13;:30;;;;;;;;;;;:37;;;;;;;;;;;;:48;;;;;;;2075:31;;;;;;;;;;;;;;;;;;;2009:30;;2075:15;;:31;;;;;;;;;;;;;;2009:30;2075:31;;;5:2:-1;;;;30:1;27;20:12;5:2;2075:31:18;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2075:31:18;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2075:31:18;2067:57;;;;;;;-1:-1:-1;;;;;2067:57:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;2171:5;-1:-1:-1;;;;;2139:47:18;2162:6;-1:-1:-1;;;;;2139:47:18;;2178:7;2139:47;;;;;;;;;;;;;;;;;;1739:454;;;:::o" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC20Token.sol:ERC20Token": { + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/ERC20Token.sol:ERC20Token": { "bin-runtime": "", "bin": "", "abi": [ @@ -131030,308 +79170,9 @@ "srcmap": "", "srcmap-runtime": "" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC721.sol:ERC721": { - "bin-runtime": "", - "bin": "", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_approved", - "type": "address" - }, - { - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_from", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_from", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_operator", - "type": "address" - }, - { - "name": "_approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_from", - "type": "address" - }, - { - "name": "_to", - "type": "address" - }, - { - "name": "_tokenId", - "type": "uint256" - }, - { - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": true, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - } - ], - "srcmap": "", - "srcmap-runtime": "" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\ERC721Receiver.sol:ERC721Receiver": { - "bin-runtime": "", - "bin": "", - "abi": [ - { - "constant": false, - "inputs": [ - { - "name": "_operator", - "type": "address" - }, - { - "name": "_from", - "type": "address" - }, - { - "name": "_tokenId", - "type": "uint256" - }, - { - "name": "_data", - "type": "bytes" - } - ], - "name": "onERC721Received", - "outputs": [ - { - "name": "", - "type": "bytes4" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - } - ], - "srcmap": "", - "srcmap-runtime": "" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\MiniMeToken.sol:MiniMeToken": { - "bin-runtime": "60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820d89ad50aa17e108be6d0248c1f70e8aa7652cd4f9dcfddbdbbdd4339a54e4e470029", - "bin": "60c0604052600760808190527f4d4d545f302e310000000000000000000000000000000000000000000000000060a0908152620000409160049190620001e6565b503480156200004e57600080fd5b50604051620023a1380380620023a1833981018060405260e08110156200007457600080fd5b8151602083015160408401516060850180519395929491939183019291640100000000811115620000a457600080fd5b82016020810184811115620000b857600080fd5b8151640100000000811182820187101715620000d357600080fd5b50506020820151604090920180519194929391640100000000811115620000f957600080fd5b820160208101848111156200010d57600080fd5b81516401000000008111828201871017156200012857600080fd5b505060209182015160008054600160a060020a03191633179055600b8054600160a060020a038c166101000261010060a860020a0319909116179055865191945092506200017d9160019190870190620001e6565b506002805460ff191660ff85161790558151620001a2906003906020850190620001e6565b5060058054600160a060020a031916600160a060020a039790971696909617909555505050600655600b805460ff191691151591909117905550436007556200028b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022957805160ff191683800117855562000259565b8280016001018555821562000259579182015b82811115620002595782518255916020019190600101906200023c565b50620002679291506200026b565b5090565b6200028891905b8082111562000267576000815560010162000272565b90565b612106806200029b6000396000f3fe60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820d89ad50aa17e108be6d0248c1f70e8aa7652cd4f9dcfddbdbbdd4339a54e4e470029", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/MiniMeToken.sol:MiniMeToken": { + "bin-runtime": "60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058204bafd6f8ee43d39c8b08db766f937253f9eb33640809d425fe95c56cbdb3b92d0029", + "bin": "60c0604052600760808190527f4d4d545f302e310000000000000000000000000000000000000000000000000060a0908152620000409160049190620001e6565b503480156200004e57600080fd5b50604051620023a1380380620023a1833981018060405260e08110156200007457600080fd5b8151602083015160408401516060850180519395929491939183019291640100000000811115620000a457600080fd5b82016020810184811115620000b857600080fd5b8151640100000000811182820187101715620000d357600080fd5b50506020820151604090920180519194929391640100000000811115620000f957600080fd5b820160208101848111156200010d57600080fd5b81516401000000008111828201871017156200012857600080fd5b505060209182015160008054600160a060020a03191633179055600b8054600160a060020a038c166101000261010060a860020a0319909116179055865191945092506200017d9160019190870190620001e6565b506002805460ff191660ff85161790558151620001a2906003906020850190620001e6565b5060058054600160a060020a031916600160a060020a039790971696909617909555505050600655600b805460ff191691151591909117905550436007556200028b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022957805160ff191683800117855562000259565b8280016001018555821562000259579182015b82811115620002595782518255916020019190600101906200023c565b50620002679291506200026b565b5090565b6200028891905b8082111562000267576000815560010162000272565b90565b612106806200029b6000396000f3fe60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058204bafd6f8ee43d39c8b08db766f937253f9eb33640809d425fe95c56cbdb3b92d0029", "abi": [ { "constant": true, @@ -131918,12 +79759,12 @@ "type": "event" } ], - "srcmap": "1934:33:30:-;1666:21261;1934:33;;1666:21261;1934:33;;;;;;;;;;;;;;:::i;:::-;;4383:763;8:9:-1;5:2;;;30:1;27;20:12;5:2;4383:763:30;;;;;;;;;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;4383:763:30;;;;;;;;;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;-1:-1;;4383:763:30;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;-1:-1;;4383:763:30;;;;;371:10:1;:23;;384:10;-1:-1:-1;;371:23:1;;;;;;4657:12:30;:48;;-1:-1:-1;;4657:48:30;371:23:1;-1:-1:-1;4657:48:30;;;;;;4715:17;;4383:763;;-1:-1:-1;4383:763:30;-1:-1:-1;4715:17:30;;-1:-1:-1;;4715:17:30;;;;;:::i;:::-;-1:-1:-1;4790:8:30;:24;;-1:-1:-1;;4790:24:30;;;;;;;4869:21;;;;:6;;:21;;;;;:::i;:::-;-1:-1:-1;4946:11:30;:57;;-1:-1:-1;;4946:57:30;-1:-1:-1;4946:57:30;;;;;;;;;;;-1:-1:-1;;;5013:19:30;:42;5065:16;:36;;-1:-1:-1;;5065:36:30;;;;;;;;;;-1:-1:-1;5127:12:30;5111:13;:28;1666:21261;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1666:21261:30;;;-1:-1:-1;1666:21261:30;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "srcmap-runtime": "1666:21261:30:-;;;;;;;;-1:-1:-1;1666:21261:30;;;;;-1:-1:-1;1666:21261:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21647:10;;21636:22;;-1:-1:-1;;;;;21647:10:30;21636;:22::i;:::-;21628:52;;;;;;;-1:-1:-1;;;;;21628:52:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;21714:10;;21698:69;;;;;;21756:10;21698:69;;;;;;-1:-1:-1;;;;;21714:10:30;;;;21698:40;;21745:9;;21698:69;;;;;;;;;;;;;;21745:9;21714:10;21698:69;;;5:2:-1;;;;30:1;27;20:12;5:2;21698:69:30;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21698:69:30;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21698:69:30;21690:96;;;;;;;-1:-1:-1;;;;;21690:96:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;1666:21261;1708:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1708:18:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1708:18:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10445:148;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10445:148:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10445:148:30;;-1:-1:-1;;;;;10445:148:30;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2860:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2860:25:30;;;:::i;:::-;;;;;;;;;;;;;;;;12215:103;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12215:103:30;;;:::i;6012:804::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6012:804:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6012:804:30;;;;;;;;;;;;;;;;;:::i;1788:21::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1788:21:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;532:126:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;532:126:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;532:126:1;-1:-1:-1;;;;;532:126:1;;:::i;12684:973:30:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12684:973:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12684:973:30;;-1:-1:-1;;;;;12684:973:30;;;;;;:::i;1934:33::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1934:33:30;;;:::i;15528:880::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15528:880:30;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;15528:880:30;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;15528:880:30;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;15528:880:30;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;15528:880:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;15528:880:30;;;;;;;;;;;-1:-1:-1;15528:880:30;;;;-1:-1:-1;15528:880:30;;;;-1:-1:-1;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;15528:880:30;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;15528:880:30;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;15528:880:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;15528:880:30;;-1:-1:-1;;15528:880:30;;;-1:-1:-1;;;15528:880:30;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;15528:880:30;;;;;;;;;;;;;;9904:132;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9904:132:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9904:132:30;-1:-1:-1;;;;;9904:132:30;;:::i;2559:30::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2559:30:30;;;:::i;16750:703::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16750:703:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16750:703:30;;-1:-1:-1;;;;;16750:703:30;;;;;;:::i;1869:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1869:20:30;;;:::i;13883:903::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13883:903:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13883:903:30;;:::i;5457:195::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5457:195:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5457:195:30;;-1:-1:-1;;;;;5457:195:30;;;;;;:::i;3439:28::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3439:28:30;;;:::i;2746:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2746:31:30;;;:::i;11642:435::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11642:435:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11642:435:30;;-1:-1:-1;;;;;11642:435:30;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;11642:435:30;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;11642:435:30;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;11642:435:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;11642:435:30;;-1:-1:-1;11642:435:30;;-1:-1:-1;;;;;11642:435:30:i;17694:630::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17694:630:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17694:630:30;;-1:-1:-1;;;;;17694:630:30;;;;;;:::i;10923:194::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10923:194:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;10923:194:30;;;;;;;;;;:::i;22105:413::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22105:413:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22105:413:30;-1:-1:-1;;;;;22105:413:30;;:::i;3525:38::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3525:38:30;;;:::i;18560:124::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18560:124:30;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18560:124:30;;;;:::i;295:33:1:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;295:33:1;;;:::i;20900:250:30:-;20957:4;;-1:-1:-1;;;;;20996:19:30;;;20992:61;;;21037:5;21030:12;;;;;20992:61;-1:-1:-1;;21142:1:30;21093:18;;21137:6;20900:250;;;;:::o;1708:18::-;;;;;;;;;;;;;;;-1:-1:-1;;1708:18:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;10445:148::-;10515:12;10546:40;10556:10;10568:8;10578:7;10546:9;:40::i;:::-;10539:47;;10445:148;;;;;:::o;2860:25::-;;;;:::o;12215:103::-;12261:4;12284:27;12298:12;12284:13;:27::i;:::-;12277:34;;12215:103;;:::o;6012:804::-;6141:12;6464:10;;-1:-1:-1;;;;;6464:10:30;6450;:24;6446:316;;6498:16;;;;6490:47;;;;;;;-1:-1:-1;;;;;6490:47:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6618:14:30;;;;;;:7;:14;;;;;;;;6633:10;6618:26;;;;;;;;-1:-1:-1;;6614:87:30;;;-1:-1:-1;6681:5:30;6674:12;;6614:87;-1:-1:-1;;;;;6714:14:30;;;;;;:7;:14;;;;;;;;6729:10;6714:26;;;;;;;:37;;;;;;;6446:316;6778:31;6789:5;6796:3;6801:7;6778:10;:31::i;:::-;6771:38;;6012:804;;;;;;:::o;1788:21::-;;;;;;:::o;532:126:1:-;240:10;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;623:10;:27;;-1:-1:-1;;623:27:1;-1:-1:-1;;;;;623:27:1;;;;;;;;;;532:126::o;12684:973:30:-;-1:-1:-1;;;;;13160:16:30;;12807:4;13160:16;;;:8;:16;;;;;:23;:28;;13159:80;;-1:-1:-1;;;;;;13194:16:30;;;;;;:8;:16;;;;;:19;;13226:12;;13194:16;:19;;;;;;;;;;;;;;;:29;-1:-1:-1;;;;;13194:29:30;:44;13159:80;13155:496;;;13267:11;;-1:-1:-1;;;;;13267:11:30;13259:34;13255:231;;13320:11;;13370:19;;-1:-1:-1;;;;;13320:11:30;;;;:23;;13344:6;;13352:38;;13356:12;;13352:3;:38::i;:::-;13320:71;;;-1:-1:-1;13320:71:30;;;;;;-1:-1:-1;;;;;13320:71:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:2:-1;;;;30:1;27;20:12;5:2;13320:71:30;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13320:71:30;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13320:71:30;;-1:-1:-1;13313:78:30;;13255:231;-1:-1:-1;13470:1:30;13463:8;;13155:496;-1:-1:-1;;;;;13609:16:30;;;;;;:8;:16;;;;;13598:42;;13627:12;13598:10;:42::i;:::-;13591:49;;;;1934:33;;;;;;;;;;;;;;;-1:-1:-1;;1934:33:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15528:880;15778:7;15826:14;15854:18;;15850:77;;;-1:-1:-1;15904:12:30;15850:77;15936:22;15961:12;;;;;;;;;-1:-1:-1;;;;;15961:12:30;-1:-1:-1;;;;;15961:29:30;;16012:4;16031:13;16058:15;16087:18;16119:17;16150;15961:220;;;;;-1:-1:-1;;;15961:220:30;;;;;;;-1:-1:-1;;;;;15961:220:30;-1:-1:-1;;;;;15961:220:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;15961:220:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15961:220:30;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;15961:220:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15961:220:30;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15961:220:30;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15961:220:30;16192:39;;;;;;16220:10;16192:39;;;;;;15961:220;;-1:-1:-1;;;;;;16192:27:30;;;;;:39;;;;;-1:-1:-1;;16192:39:30;;;;;;;;-1:-1:-1;16192:27:30;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;16192:39:30;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16316:49:30;;;;;;;;-1:-1:-1;;;;;16316:49:30;;;-1:-1:-1;16316:49:30;;-1:-1:-1;16316:49:30;;;;;;;;16390:10;15528:880;-1:-1:-1;;;;;;;15528:880:30:o;9904:132::-;9962:15;9996:33;10008:6;10016:12;9996:11;:33::i;2559:30::-;;;-1:-1:-1;;;;;2559:30:30;;:::o;16750:703::-;16881:4;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;16901:19:30;16923:27;16937:12;16923:13;:27::i;:::-;16901:49;-1:-1:-1;16968:24:30;;;:42;-1:-1:-1;16968:42:30;16960:69;;;;;-1:-1:-1;;;;;16960:69:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;17061:22;17086:33;17098:6;17106:12;17086:11;:33::i;:::-;17061:58;-1:-1:-1;17137:27:30;;;:48;-1:-1:-1;17137:48:30;17129:77;;;;;-1:-1:-1;;;;;17129:77:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;17238:62;17255:18;17292:7;17275:14;:24;17238:16;:62::i;:::-;-1:-1:-1;;;;;17327:16:30;;;;;;:8;:16;;;;;17310:63;;17345:27;;;17310:16;:63::i;:::-;17388:37;;17417:7;;-1:-1:-1;;;;;17388:37:30;;;17405:1;;17388:37;;17405:1;;17388:37;-1:-1:-1;17442:4:30;;16750:703;-1:-1:-1;;;;16750:703:30:o;1869:20::-;;;;;;;;;;;;;;;-1:-1:-1;;1869:20:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13883:903;14318:18;:25;13945:4;;14318:30;;14317:84;;;14388:12;14354:18;14373:1;14354:21;;;;;;;;;;;;;;;;;;;:31;-1:-1:-1;;;;;14354:31:30;:46;14317:84;14313:467;;;14429:11;;-1:-1:-1;;;;;14429:11:30;14421:34;14417:192;;14482:11;;14526:19;;-1:-1:-1;;;;;14482:11:30;;;;:25;;14508:38;;14512:12;;14508:3;:38::i;:::-;14482:65;;;;;-1:-1:-1;;;14482:65:30;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14482:65:30;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14482:65:30;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14482:65:30;;-1:-1:-1;14475:72:30;;14417:192;-1:-1:-1;14593:1:30;14586:8;;14313:467;14725:44;14736:18;14756:12;14725:10;:44::i;:::-;14718:51;;;;5457:195;5553:16;;5521:12;;5553:16;;5545:47;;;;;;;-1:-1:-1;;;;;5545:47:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;5609:36;5620:10;5632:3;5637:7;5609:10;:36::i;3439:28::-;;;;;;:::o;2746:31::-;;;;:::o;11642:435::-;11788:12;11824:40;11834:10;11846:8;11856:7;11824:9;:40::i;:::-;11816:67;;;;;;;-1:-1:-1;;;;;11816:67:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;11894:154;;;;;11956:10;11894:154;;;;;;;;;;;;12009:4;11894:154;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11894:48:30;;;;;11956:10;11894:154;;12009:4;11894:154;;;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;11894:154:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11894:154:30;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;12066:4:30;;11642:435;-1:-1:-1;;;;;;;11642:435:30:o;17694:630::-;17824:4;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;17844:19:30;17866:27;17880:12;17866:13;:27::i;:::-;17844:49;-1:-1:-1;17911:25:30;;;;17903:54;;;;;-1:-1:-1;;;;;17903:54:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;17967:24;17994:33;18006:6;18014:12;17994:11;:33::i;:::-;17967:60;-1:-1:-1;18045:30:30;;;;18037:60;;;;;-1:-1:-1;;;;;18037:60:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;18107:62;18124:18;18161:7;18144:14;:24;18107:16;:62::i;:::-;-1:-1:-1;;;;;18196:16:30;;;;;;:8;:16;;;;;18179:65;;18214:29;;;18179:16;:65::i;:::-;18259:37;;18288:7;;18284:1;;-1:-1:-1;;;;;18259:37:30;;;;;18284:1;;18259:37;-1:-1:-1;18313:4:30;;17694:630;-1:-1:-1;;;;17694:630:30:o;10923:194::-;-1:-1:-1;;;;;11085:15:30;;;11045:17;11085:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;10923:194::o;22105:413::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;22178:20:30;;;22174:113;;;22214:10;;;:42;;-1:-1:-1;;;;;22214:10:30;;;;22242:4;22234:21;22214:42;;;;;22234:21;;22214:42;:10;:42;22234:21;22214:10;:42;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22214:42:30;22270:7;;22174:113;22379:30;;;;;;22403:4;22379:30;;;;;;22345:6;;-1:-1:-1;;;;;;;22379:15:30;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;22379:30:30;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22379:30:30;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22379:30:30;22434:10;;;22419:35;;;;;;-1:-1:-1;;;;;22434:10:30;;;22419:35;;;;;;;;;;;;22379:30;;-1:-1:-1;22419:14:30;;;;;;:35;;;;;22379:30;;22419:35;;;;;;;;;;;:14;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;22419:35:30;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22419:35:30;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;22491:10:30;;22469:42;;;;;;;;-1:-1:-1;;;;;22491:10:30;;;;22469:42;;;;;;;;;22419:35;22469:42;;;278:1:1;;;22105:413:30;:::o;3525:38::-;;;;;;-1:-1:-1;;;;;3525:38:30;;:::o;18560:124::-;240:10:1;;-1:-1:-1;;;;;240:10:1;226;:24;218:49;;;;;-1:-1:-1;;;;;218:49:1;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;218:49:1;;;;;;;;;;;;;;;18641:16:30;:36;;-1:-1:-1;;18641:36:30;;;;;;;;;;18560:124::o;295:33:1:-;;;-1:-1:-1;;;;;295:33:1;;:::o;8809:946:30:-;8970:16;;8942:4;;8970:16;;8962:47;;;;;;;-1:-1:-1;;;;;8962:47:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;9332:12;;;9331:49;;-1:-1:-1;;;;;;9350:14:30;;;;;;;:7;:14;;;;;;;;:24;;;;;;;;;;:29;9331:49;9323:83;;;;;;;-1:-1:-1;;;;;9323:83:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;9500:10;;9489:22;;-1:-1:-1;;;;;9500:10:30;9489;:22::i;:::-;9485:149;;;9551:10;;;9535:63;;;;;;-1:-1:-1;;;;;9535:63:30;;;;;;;;;;;;;;;;;;;;;;9551:10;;;;;9535:37;;:63;;;;;;;;;;;;;;;;;;9551:10;9535:63;;;5:2:-1;;;;30:1;27;20:12;5:2;9535:63:30;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9535:63:30;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9535:63:30;9527:96;;;;;;;-1:-1:-1;;;;;9527:96:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9644:14:30;;;;;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;:34;;;9693;;;;;;;;;;;;;;;;;-1:-1:-1;9744:4:30;8809:946;;;;;:::o;7205:1598::-;7330:4;7355:12;;7351:54;;;-1:-1:-1;7390:4:30;7383:11;;7351:54;7423:19;;7445:12;-1:-1:-1;7415:67:30;;;;;-1:-1:-1;;;;;7415:67:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7571:17:30;;;;;;7570:45;;-1:-1:-1;7609:4:30;-1:-1:-1;;;;;7594:20:30;;;;7570:45;7562:69;;;;;;;-1:-1:-1;;;;;7562:69:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;7763:27;7793:32;7805:5;7812:12;7793:11;:32::i;:::-;7763:62;;7861:7;7839:19;:29;7835:72;;;7891:5;7884:12;;;;;7835:72;7987:10;;7976:22;;-1:-1:-1;;;;;7987:10:30;7976;:22::i;:::-;7972:146;;;8038:10;;;8022:59;;;;;;-1:-1:-1;;;;;8022:59:30;;;;;;;;;;;;;;;;;;;;;;8038:10;;;;;8022:38;;:59;;;;;;;;;;;;;;;;;;8038:10;8022:59;;;5:2:-1;;;;30:1;27;20:12;5:2;8022:59:30;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8022:59:30;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8022:59:30;8014:93;;;;;;;-1:-1:-1;;;;;8014:93:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8253:15:30;;;;;;:8;:15;;;;;8236:64;;8270:29;;;8236:16;:64::i;:::-;8420:25;8448:30;8460:3;8465:12;8448:11;:30::i;:::-;8420:58;-1:-1:-1;8496:27:30;;;:48;-1:-1:-1;8496:48:30;8488:77;;;;;-1:-1:-1;;;;;8488:77:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8614:13:30;;;;;;:8;:13;;;;;8597:60;;8629:27;;;8597:16;:60::i;:::-;8745:29;;8766:7;;-1:-1:-1;;;;;8745:29:30;;;;;;;;;;;;;-1:-1:-1;8792:4:30;;7205:1598;-1:-1:-1;;;;;7205:1598:30:o;21237:95::-;21289:4;21316:1;21312;:5;:13;;21324:1;21312:13;;;-1:-1:-1;21320:1:30;;21237:95;-1:-1:-1;21237:95:30:o;19070:867::-;19230:18;;19206:4;;19230:23;19226:62;;;-1:-1:-1;19276:1:30;19269:8;;19226:62;19365:18;;;;-1:-1:-1;;19365:20:30;;;19353:33;;;;;;;;;;;;;;;:43;-1:-1:-1;;;;;19353:43:30;19343:53;;19339:130;;19431:18;;;;-1:-1:-1;;19431:20:30;;;19419:33;;;;;;;;;;;;;;;:39;;;;-1:-1:-1;;;;;19419:39:30;;-1:-1:-1;19412:46:30;;19339:130;19491:11;19503:1;19491:14;;;;;;;;;;;;;;;;;;;:24;-1:-1:-1;;;;;19491:24:30;19482:33;;19478:72;;;-1:-1:-1;19538:1:30;19531:8;;19478:72;19644:18;;19611:8;;-1:-1:-1;;19644:20:30;19674:218;19687:3;19681;:9;19674:218;;;19754:16;;19735:1;19718:9;;;19730:1;19718:13;19717:19;;19782:6;;19754:11;;19717:19;;19754:16;;;;;;;;;;;;;;;:26;-1:-1:-1;;;;;19754:26:30;:34;19750:132;;19814:3;19808:9;;19750:132;;;19866:1;19862:3;:5;19856:11;;19750:132;19674:218;;;;19908:11;19920:3;19908:16;;;;;;;;;;;;;;;;;;;:22;;;;-1:-1:-1;;;;;19908:22:30;;;-1:-1:-1;;;;;19070:867:30:o;20167:549::-;20264:18;;:23;;20263:90;;-1:-1:-1;20305:18:30;;20340:12;;20305:18;;-1:-1:-1;;20305:21:30;;;20293:34;;;;;;;;;;;;;;;:44;-1:-1:-1;;;;;20293:44:30;:59;20263:90;20259:451;;;20416:20;;20369:32;;20404:11;;20416:20;20404:11;20416:20;;;;:::i;:::-;20404:33;;;;;;;;;;;;;;;;;20451:47;;-1:-1:-1;;20451:47:30;20485:12;-1:-1:-1;;;;;20451:47:30;;;;;;;20512:37;;;;;-1:-1:-1;20512:37:30;;;;-1:-1:-1;20259:451:30;;;20627:18;;20580:32;;20627:18;;-1:-1:-1;;20627:20:30;;;20615:33;;;;;;;;;;;;;;;20662:37;;-1:-1:-1;;;;;20662:37:30;;;;;;-1:-1:-1;20662:37:30;;;;-1:-1:-1;20259:451:30;20167:549;;:::o;1666:21261::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;" + "srcmap": "1919:33:20:-;1651:21261;1919:33;;1651:21261;1919:33;;;;;;;;;;;;;;:::i;:::-;;4368:763;8:9:-1;5:2;;;30:1;27;20:12;5:2;4368:763:20;;;;;;;;;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;4368:763:20;;;;;;;;;;;;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;-1:-1;;4368:763:20;;;;;;;;;;;;;;;19:11:-1;11:20;;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;-1:-1;;4368:763:20;;;;;358:10:0;:23;;371:10;-1:-1:-1;;358:23:0;;;;;;4642:12:20;:48;;-1:-1:-1;;4642:48:20;358:23:0;-1:-1:-1;4642:48:20;;;;;;4700:17;;4368:763;;-1:-1:-1;4368:763:20;-1:-1:-1;4700:17:20;;-1:-1:-1;;4700:17:20;;;;;:::i;:::-;-1:-1:-1;4775:8:20;:24;;-1:-1:-1;;4775:24:20;;;;;;;4854:21;;;;:6;;:21;;;;;:::i;:::-;-1:-1:-1;4931:11:20;:57;;-1:-1:-1;;4931:57:20;-1:-1:-1;4931:57:20;;;;;;;;;;;-1:-1:-1;;;4998:19:20;:42;5050:16;:36;;-1:-1:-1;;5050:36:20;;;;;;;;;;-1:-1:-1;5112:12:20;5096:13;:28;1651:21261;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1651:21261:20;;;-1:-1:-1;1651:21261:20;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "srcmap-runtime": "1651:21261:20:-;;;;;;;;-1:-1:-1;1651:21261:20;;;;;-1:-1:-1;1651:21261:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21632:10;;21621:22;;-1:-1:-1;;;;;21632:10:20;21621;:22::i;:::-;21613:52;;;;;;;-1:-1:-1;;;;;21613:52:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;21699:10;;21683:69;;;;;;21741:10;21683:69;;;;;;-1:-1:-1;;;;;21699:10:20;;;;21683:40;;21730:9;;21683:69;;;;;;;;;;;;;;21730:9;21699:10;21683:69;;;5:2:-1;;;;30:1;27;20:12;5:2;21683:69:20;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21683:69:20;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21683:69:20;21675:96;;;;;;;-1:-1:-1;;;;;21675:96:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;1651:21261;1693:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1693:18:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1693:18:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10430:148;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10430:148:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10430:148:20;;-1:-1:-1;;;;;10430:148:20;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2845:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2845:25:20;;;:::i;:::-;;;;;;;;;;;;;;;;12200:103;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12200:103:20;;;:::i;5997:804::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5997:804:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5997:804:20;;;;;;;;;;;;;;;;;:::i;1773:21::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1773:21:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;514:124:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;514:124:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;514:124:0;-1:-1:-1;;;;;514:124:0;;:::i;12669:973:20:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12669:973:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12669:973:20;;-1:-1:-1;;;;;12669:973:20;;;;;;:::i;1919:33::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1919:33:20;;;:::i;15513:880::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15513:880:20;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;15513:880:20;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;15513:880:20;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;15513:880:20;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;15513:880:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;15513:880:20;;;;;;;;;;;-1:-1:-1;15513:880:20;;;;-1:-1:-1;15513:880:20;;;;-1:-1:-1;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;15513:880:20;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;15513:880:20;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;15513:880:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;15513:880:20;;-1:-1:-1;;15513:880:20;;;-1:-1:-1;;;15513:880:20;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;15513:880:20;;;;;;;;;;;;;;9889:132;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9889:132:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9889:132:20;-1:-1:-1;;;;;9889:132:20;;:::i;2544:30::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2544:30:20;;;:::i;16735:703::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16735:703:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16735:703:20;;-1:-1:-1;;;;;16735:703:20;;;;;;:::i;1854:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1854:20:20;;;:::i;13868:903::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13868:903:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13868:903:20;;:::i;5442:195::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5442:195:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5442:195:20;;-1:-1:-1;;;;;5442:195:20;;;;;;:::i;3424:28::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3424:28:20;;;:::i;2731:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2731:31:20;;;:::i;11627:435::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11627:435:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11627:435:20;;-1:-1:-1;;;;;11627:435:20;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;11627:435:20;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;11627:435:20;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;11627:435:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;11627:435:20;;-1:-1:-1;11627:435:20;;-1:-1:-1;;;;;11627:435:20:i;17679:630::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17679:630:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17679:630:20;;-1:-1:-1;;;;;17679:630:20;;;;;;:::i;10908:194::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10908:194:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;10908:194:20;;;;;;;;;;:::i;22090:413::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22090:413:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22090:413:20;-1:-1:-1;;;;;22090:413:20;;:::i;3510:38::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3510:38:20;;;:::i;18545:124::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18545:124:20;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18545:124:20;;;;:::i;285:33:0:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;285:33:0;;;:::i;20885:250:20:-;20942:4;;-1:-1:-1;;;;;20981:19:20;;;20977:61;;;21022:5;21015:12;;;;;20977:61;-1:-1:-1;;21127:1:20;21078:18;;21122:6;20885:250;;;;:::o;1693:18::-;;;;;;;;;;;;;;;-1:-1:-1;;1693:18:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;10430:148::-;10500:12;10531:40;10541:10;10553:8;10563:7;10531:9;:40::i;:::-;10524:47;;10430:148;;;;;:::o;2845:25::-;;;;:::o;12200:103::-;12246:4;12269:27;12283:12;12269:13;:27::i;:::-;12262:34;;12200:103;;:::o;5997:804::-;6126:12;6449:10;;-1:-1:-1;;;;;6449:10:20;6435;:24;6431:316;;6483:16;;;;6475:47;;;;;;;-1:-1:-1;;;;;6475:47:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6603:14:20;;;;;;:7;:14;;;;;;;;6618:10;6603:26;;;;;;;;-1:-1:-1;;6599:87:20;;;-1:-1:-1;6666:5:20;6659:12;;6599:87;-1:-1:-1;;;;;6699:14:20;;;;;;:7;:14;;;;;;;;6714:10;6699:26;;;;;;;:37;;;;;;;6431:316;6763:31;6774:5;6781:3;6786:7;6763:10;:31::i;:::-;6756:38;;5997:804;;;;;;:::o;1773:21::-;;;;;;:::o;514:124:0:-;234:10;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;604:10;:27;;-1:-1:-1;;604:27:0;-1:-1:-1;;;;;604:27:0;;;;;;;;;;514:124::o;12669:973:20:-;-1:-1:-1;;;;;13145:16:20;;12792:4;13145:16;;;:8;:16;;;;;:23;:28;;13144:80;;-1:-1:-1;;;;;;13179:16:20;;;;;;:8;:16;;;;;:19;;13211:12;;13179:16;:19;;;;;;;;;;;;;;;:29;-1:-1:-1;;;;;13179:29:20;:44;13144:80;13140:496;;;13252:11;;-1:-1:-1;;;;;13252:11:20;13244:34;13240:231;;13305:11;;13355:19;;-1:-1:-1;;;;;13305:11:20;;;;:23;;13329:6;;13337:38;;13341:12;;13337:3;:38::i;:::-;13305:71;;;-1:-1:-1;13305:71:20;;;;;;-1:-1:-1;;;;;13305:71:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:2:-1;;;;30:1;27;20:12;5:2;13305:71:20;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13305:71:20;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13305:71:20;;-1:-1:-1;13298:78:20;;13240:231;-1:-1:-1;13455:1:20;13448:8;;13140:496;-1:-1:-1;;;;;13594:16:20;;;;;;:8;:16;;;;;13583:42;;13612:12;13583:10;:42::i;:::-;13576:49;;;;1919:33;;;;;;;;;;;;;;;-1:-1:-1;;1919:33:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15513:880;15763:7;15811:14;15839:18;;15835:77;;;-1:-1:-1;15889:12:20;15835:77;15921:22;15946:12;;;;;;;;;-1:-1:-1;;;;;15946:12:20;-1:-1:-1;;;;;15946:29:20;;15997:4;16016:13;16043:15;16072:18;16104:17;16135;15946:220;;;;;-1:-1:-1;;;15946:220:20;;;;;;;-1:-1:-1;;;;;15946:220:20;-1:-1:-1;;;;;15946:220:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;15946:220:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15946:220:20;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;15946:220:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15946:220:20;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15946:220:20;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15946:220:20;16177:39;;;;;;16205:10;16177:39;;;;;;15946:220;;-1:-1:-1;;;;;;16177:27:20;;;;;:39;;;;;-1:-1:-1;;16177:39:20;;;;;;;;-1:-1:-1;16177:27:20;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;16177:39:20;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16301:49:20;;;;;;;;-1:-1:-1;;;;;16301:49:20;;;-1:-1:-1;16301:49:20;;-1:-1:-1;16301:49:20;;;;;;;;16375:10;15513:880;-1:-1:-1;;;;;;;15513:880:20:o;9889:132::-;9947:15;9981:33;9993:6;10001:12;9981:11;:33::i;2544:30::-;;;-1:-1:-1;;;;;2544:30:20;;:::o;16735:703::-;16866:4;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;16886:19:20;16908:27;16922:12;16908:13;:27::i;:::-;16886:49;-1:-1:-1;16953:24:20;;;:42;-1:-1:-1;16953:42:20;16945:69;;;;;-1:-1:-1;;;;;16945:69:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;17046:22;17071:33;17083:6;17091:12;17071:11;:33::i;:::-;17046:58;-1:-1:-1;17122:27:20;;;:48;-1:-1:-1;17122:48:20;17114:77;;;;;-1:-1:-1;;;;;17114:77:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;17223:62;17240:18;17277:7;17260:14;:24;17223:16;:62::i;:::-;-1:-1:-1;;;;;17312:16:20;;;;;;:8;:16;;;;;17295:63;;17330:27;;;17295:16;:63::i;:::-;17373:37;;17402:7;;-1:-1:-1;;;;;17373:37:20;;;17390:1;;17373:37;;17390:1;;17373:37;-1:-1:-1;17427:4:20;;16735:703;-1:-1:-1;;;;16735:703:20:o;1854:20::-;;;;;;;;;;;;;;;-1:-1:-1;;1854:20:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13868:903;14303:18;:25;13930:4;;14303:30;;14302:84;;;14373:12;14339:18;14358:1;14339:21;;;;;;;;;;;;;;;;;;;:31;-1:-1:-1;;;;;14339:31:20;:46;14302:84;14298:467;;;14414:11;;-1:-1:-1;;;;;14414:11:20;14406:34;14402:192;;14467:11;;14511:19;;-1:-1:-1;;;;;14467:11:20;;;;:25;;14493:38;;14497:12;;14493:3;:38::i;:::-;14467:65;;;;;-1:-1:-1;;;14467:65:20;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14467:65:20;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14467:65:20;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14467:65:20;;-1:-1:-1;14460:72:20;;14402:192;-1:-1:-1;14578:1:20;14571:8;;14298:467;14710:44;14721:18;14741:12;14710:10;:44::i;:::-;14703:51;;;;5442:195;5538:16;;5506:12;;5538:16;;5530:47;;;;;;;-1:-1:-1;;;;;5530:47:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;5594:36;5605:10;5617:3;5622:7;5594:10;:36::i;3424:28::-;;;;;;:::o;2731:31::-;;;;:::o;11627:435::-;11773:12;11809:40;11819:10;11831:8;11841:7;11809:9;:40::i;:::-;11801:67;;;;;;;-1:-1:-1;;;;;11801:67:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;11879:154;;;;;11941:10;11879:154;;;;;;;;;;;;11994:4;11879:154;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11879:48:20;;;;;11941:10;11879:154;;11994:4;11879:154;;;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;11879:154:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11879:154:20;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;12051:4:20;;11627:435;-1:-1:-1;;;;;;;11627:435:20:o;17679:630::-;17809:4;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;17829:19:20;17851:27;17865:12;17851:13;:27::i;:::-;17829:49;-1:-1:-1;17896:25:20;;;;17888:54;;;;;-1:-1:-1;;;;;17888:54:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;17952:24;17979:33;17991:6;17999:12;17979:11;:33::i;:::-;17952:60;-1:-1:-1;18030:30:20;;;;18022:60;;;;;-1:-1:-1;;;;;18022:60:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;18092:62;18109:18;18146:7;18129:14;:24;18092:16;:62::i;:::-;-1:-1:-1;;;;;18181:16:20;;;;;;:8;:16;;;;;18164:65;;18199:29;;;18164:16;:65::i;:::-;18244:37;;18273:7;;18269:1;;-1:-1:-1;;;;;18244:37:20;;;;;18269:1;;18244:37;-1:-1:-1;18298:4:20;;17679:630;-1:-1:-1;;;;17679:630:20:o;10908:194::-;-1:-1:-1;;;;;11070:15:20;;;11030:17;11070:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;10908:194::o;22090:413::-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;22163:20:20;;;22159:113;;;22199:10;;;:42;;-1:-1:-1;;;;;22199:10:20;;;;22227:4;22219:21;22199:42;;;;;22219:21;;22199:42;:10;:42;22219:21;22199:10;:42;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22199:42:20;22255:7;;22159:113;22364:30;;;;;;22388:4;22364:30;;;;;;22330:6;;-1:-1:-1;;;;;;;22364:15:20;;;;;:30;;;;;;;;;;;;;;:15;:30;;;5:2:-1;;;;30:1;27;20:12;5:2;22364:30:20;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22364:30:20;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22364:30:20;22419:10;;;22404:35;;;;;;-1:-1:-1;;;;;22419:10:20;;;22404:35;;;;;;;;;;;;22364:30;;-1:-1:-1;22404:14:20;;;;;;:35;;;;;22364:30;;22404:35;;;;;;;;;;;:14;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;22404:35:20;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22404:35:20;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;22476:10:20;;22454:42;;;;;;;;-1:-1:-1;;;;;22476:10:20;;;;22454:42;;;;;;;;;22404:35;22454:42;;;271:1:0;;;22090:413:20;:::o;3510:38::-;;;;;;-1:-1:-1;;;;;3510:38:20;;:::o;18545:124::-;234:10:0;;-1:-1:-1;;;;;234:10:0;220;:24;212:49;;;;;-1:-1:-1;;;;;212:49:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;212:49:0;;;;;;;;;;;;;;;18626:16:20;:36;;-1:-1:-1;;18626:36:20;;;;;;;;;;18545:124::o;285:33:0:-;;;-1:-1:-1;;;;;285:33:0;;:::o;8794:946:20:-;8955:16;;8927:4;;8955:16;;8947:47;;;;;;;-1:-1:-1;;;;;8947:47:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;9317:12;;;9316:49;;-1:-1:-1;;;;;;9335:14:20;;;;;;;:7;:14;;;;;;;;:24;;;;;;;;;;:29;9316:49;9308:83;;;;;;;-1:-1:-1;;;;;9308:83:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;9485:10;;9474:22;;-1:-1:-1;;;;;9485:10:20;9474;:22::i;:::-;9470:149;;;9536:10;;;9520:63;;;;;;-1:-1:-1;;;;;9520:63:20;;;;;;;;;;;;;;;;;;;;;;9536:10;;;;;9520:37;;:63;;;;;;;;;;;;;;;;;;9536:10;9520:63;;;5:2:-1;;;;30:1;27;20:12;5:2;9520:63:20;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9520:63:20;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9520:63:20;9512:96;;;;;;;-1:-1:-1;;;;;9512:96:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9629:14:20;;;;;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;:34;;;9678;;;;;;;;;;;;;;;;;-1:-1:-1;9729:4:20;8794:946;;;;;:::o;7190:1598::-;7315:4;7340:12;;7336:54;;;-1:-1:-1;7375:4:20;7368:11;;7336:54;7408:19;;7430:12;-1:-1:-1;7400:67:20;;;;;-1:-1:-1;;;;;7400:67:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7556:17:20;;;;;;7555:45;;-1:-1:-1;7594:4:20;-1:-1:-1;;;;;7579:20:20;;;;7555:45;7547:69;;;;;;;-1:-1:-1;;;;;7547:69:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;7748:27;7778:32;7790:5;7797:12;7778:11;:32::i;:::-;7748:62;;7846:7;7824:19;:29;7820:72;;;7876:5;7869:12;;;;;7820:72;7972:10;;7961:22;;-1:-1:-1;;;;;7972:10:20;7961;:22::i;:::-;7957:146;;;8023:10;;;8007:59;;;;;;-1:-1:-1;;;;;8007:59:20;;;;;;;;;;;;;;;;;;;;;;8023:10;;;;;8007:38;;:59;;;;;;;;;;;;;;;;;;8023:10;8007:59;;;5:2:-1;;;;30:1;27;20:12;5:2;8007:59:20;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8007:59:20;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8007:59:20;7999:93;;;;;;;-1:-1:-1;;;;;7999:93:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8238:15:20;;;;;;:8;:15;;;;;8221:64;;8255:29;;;8221:16;:64::i;:::-;8405:25;8433:30;8445:3;8450:12;8433:11;:30::i;:::-;8405:58;-1:-1:-1;8481:27:20;;;:48;-1:-1:-1;8481:48:20;8473:77;;;;;-1:-1:-1;;;;;8473:77:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8599:13:20;;;;;;:8;:13;;;;;8582:60;;8614:27;;;8582:16;:60::i;:::-;8730:29;;8751:7;;-1:-1:-1;;;;;8730:29:20;;;;;;;;;;;;;-1:-1:-1;8777:4:20;;7190:1598;-1:-1:-1;;;;;7190:1598:20:o;21222:95::-;21274:4;21301:1;21297;:5;:13;;21309:1;21297:13;;;-1:-1:-1;21305:1:20;;21222:95;-1:-1:-1;21222:95:20:o;19055:867::-;19215:18;;19191:4;;19215:23;19211:62;;;-1:-1:-1;19261:1:20;19254:8;;19211:62;19350:18;;;;-1:-1:-1;;19350:20:20;;;19338:33;;;;;;;;;;;;;;;:43;-1:-1:-1;;;;;19338:43:20;19328:53;;19324:130;;19416:18;;;;-1:-1:-1;;19416:20:20;;;19404:33;;;;;;;;;;;;;;;:39;;;;-1:-1:-1;;;;;19404:39:20;;-1:-1:-1;19397:46:20;;19324:130;19476:11;19488:1;19476:14;;;;;;;;;;;;;;;;;;;:24;-1:-1:-1;;;;;19476:24:20;19467:33;;19463:72;;;-1:-1:-1;19523:1:20;19516:8;;19463:72;19629:18;;19596:8;;-1:-1:-1;;19629:20:20;19659:218;19672:3;19666;:9;19659:218;;;19739:16;;19720:1;19703:9;;;19715:1;19703:13;19702:19;;19767:6;;19739:11;;19702:19;;19739:16;;;;;;;;;;;;;;;:26;-1:-1:-1;;;;;19739:26:20;:34;19735:132;;19799:3;19793:9;;19735:132;;;19851:1;19847:3;:5;19841:11;;19735:132;19659:218;;;;19893:11;19905:3;19893:16;;;;;;;;;;;;;;;;;;;:22;;;;-1:-1:-1;;;;;19893:22:20;;;-1:-1:-1;;;;;19055:867:20:o;20152:549::-;20249:18;;:23;;20248:90;;-1:-1:-1;20290:18:20;;20325:12;;20290:18;;-1:-1:-1;;20290:21:20;;;20278:34;;;;;;;;;;;;;;;:44;-1:-1:-1;;;;;20278:44:20;:59;20248:90;20244:451;;;20401:20;;20354:32;;20389:11;;20401:20;20389:11;20401:20;;;;:::i;:::-;20389:33;;;;;;;;;;;;;;;;;20436:47;;-1:-1:-1;;20436:47:20;20470:12;-1:-1:-1;;;;;20436:47:20;;;;;;;20497:37;;;;;-1:-1:-1;20497:37:20;;;;-1:-1:-1;20244:451:20;;;20612:18;;20565:32;;20612:18;;-1:-1:-1;;20612:20:20;;;20600:33;;;;;;;;;;;;;;;20647:37;;-1:-1:-1;;;;;20647:37:20;;;;;;-1:-1:-1;20647:37:20;;;;-1:-1:-1;20244:451:20;20152:549;;:::o;1651:21261::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\MiniMeToken.sol:MiniMeTokenFactory": { - "bin-runtime": "608060405234801561001057600080fd5b5060043610610047577c010000000000000000000000000000000000000000000000000000000060003504635b7b72c1811461004c575b600080fd5b6101a8600480360360c081101561006257600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561009f57600080fd5b8201836020820111156100b157600080fd5b803590602001918460018302840111640100000000831117156100d357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561013157600080fd5b82018360208201111561014357600080fd5b8035906020019184600183028401116401000000008311171561016557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050505035151590506101d1565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600080308888888888886040516101e7906103b1565b73ffffffffffffffffffffffffffffffffffffffff808916825287166020808301919091526040820187905260ff8516608083015282151560c083015260e0606083018181528751918401919091528651909160a084019161010085019189019080838360005b8381101561026657818101518382015260200161024e565b50505050905090810190601f1680156102935780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156102c65781810151838201526020016102ae565b50505050905090810190601f1680156102f35780820380516001836020036101000a031916815260200191505b509950505050505050505050604051809103906000f08015801561031b573d6000803e3d6000fd5b50604080517f3cebb823000000000000000000000000000000000000000000000000000000008152336004820152905191925073ffffffffffffffffffffffffffffffffffffffff831691633cebb8239160248082019260009290919082900301818387803b15801561038d57600080fd5b505af11580156103a1573d6000803e3d6000fd5b50929a9950505050505050505050565b6123a1806103bf8339019056fe60c0604052600760808190527f4d4d545f302e310000000000000000000000000000000000000000000000000060a0908152620000409160049190620001e6565b503480156200004e57600080fd5b50604051620023a1380380620023a1833981018060405260e08110156200007457600080fd5b8151602083015160408401516060850180519395929491939183019291640100000000811115620000a457600080fd5b82016020810184811115620000b857600080fd5b8151640100000000811182820187101715620000d357600080fd5b50506020820151604090920180519194929391640100000000811115620000f957600080fd5b820160208101848111156200010d57600080fd5b81516401000000008111828201871017156200012857600080fd5b505060209182015160008054600160a060020a03191633179055600b8054600160a060020a038c166101000261010060a860020a0319909116179055865191945092506200017d9160019190870190620001e6565b506002805460ff191660ff85161790558151620001a2906003906020850190620001e6565b5060058054600160a060020a031916600160a060020a039790971696909617909555505050600655600b805460ff191691151591909117905550436007556200028b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022957805160ff191683800117855562000259565b8280016001018555821562000259579182015b82811115620002595782518255916020019190600101906200023c565b50620002679291506200026b565b5090565b6200028891905b8082111562000267576000815560010162000272565b90565b612106806200029b6000396000f3fe60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820d89ad50aa17e108be6d0248c1f70e8aa7652cd4f9dcfddbdbbdd4339a54e4e470029a165627a7a72305820240728b0bd92b80fe9314b11caa75bad1163c0eb7fbd4edc514f7f6a29590ec70029", - "bin": "608060405234801561001057600080fd5b5061278b806100206000396000f3fe608060405234801561001057600080fd5b5060043610610047577c010000000000000000000000000000000000000000000000000000000060003504635b7b72c1811461004c575b600080fd5b6101a8600480360360c081101561006257600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561009f57600080fd5b8201836020820111156100b157600080fd5b803590602001918460018302840111640100000000831117156100d357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561013157600080fd5b82018360208201111561014357600080fd5b8035906020019184600183028401116401000000008311171561016557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050505035151590506101d1565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600080308888888888886040516101e7906103b1565b73ffffffffffffffffffffffffffffffffffffffff808916825287166020808301919091526040820187905260ff8516608083015282151560c083015260e0606083018181528751918401919091528651909160a084019161010085019189019080838360005b8381101561026657818101518382015260200161024e565b50505050905090810190601f1680156102935780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156102c65781810151838201526020016102ae565b50505050905090810190601f1680156102f35780820380516001836020036101000a031916815260200191505b509950505050505050505050604051809103906000f08015801561031b573d6000803e3d6000fd5b50604080517f3cebb823000000000000000000000000000000000000000000000000000000008152336004820152905191925073ffffffffffffffffffffffffffffffffffffffff831691633cebb8239160248082019260009290919082900301818387803b15801561038d57600080fd5b505af11580156103a1573d6000803e3d6000fd5b50929a9950505050505050505050565b6123a1806103bf8339019056fe60c0604052600760808190527f4d4d545f302e310000000000000000000000000000000000000000000000000060a0908152620000409160049190620001e6565b503480156200004e57600080fd5b50604051620023a1380380620023a1833981018060405260e08110156200007457600080fd5b8151602083015160408401516060850180519395929491939183019291640100000000811115620000a457600080fd5b82016020810184811115620000b857600080fd5b8151640100000000811182820187101715620000d357600080fd5b50506020820151604090920180519194929391640100000000811115620000f957600080fd5b820160208101848111156200010d57600080fd5b81516401000000008111828201871017156200012857600080fd5b505060209182015160008054600160a060020a03191633179055600b8054600160a060020a038c166101000261010060a860020a0319909116179055865191945092506200017d9160019190870190620001e6565b506002805460ff191660ff85161790558151620001a2906003906020850190620001e6565b5060058054600160a060020a031916600160a060020a039790971696909617909555505050600655600b805460ff191691151591909117905550436007556200028b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022957805160ff191683800117855562000259565b8280016001018555821562000259579182015b82811115620002595782518255916020019190600101906200023c565b50620002679291506200026b565b5090565b6200028891905b8082111562000267576000815560010162000272565b90565b612106806200029b6000396000f3fe60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a72305820d89ad50aa17e108be6d0248c1f70e8aa7652cd4f9dcfddbdbbdd4339a54e4e470029a165627a7a72305820240728b0bd92b80fe9314b11caa75bad1163c0eb7fbd4edc514f7f6a29590ec70029", + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/MiniMeToken.sol:MiniMeTokenFactory": { + "bin-runtime": "608060405234801561001057600080fd5b5060043610610047577c010000000000000000000000000000000000000000000000000000000060003504635b7b72c1811461004c575b600080fd5b6101a8600480360360c081101561006257600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561009f57600080fd5b8201836020820111156100b157600080fd5b803590602001918460018302840111640100000000831117156100d357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561013157600080fd5b82018360208201111561014357600080fd5b8035906020019184600183028401116401000000008311171561016557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050505035151590506101d1565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600080308888888888886040516101e7906103b1565b73ffffffffffffffffffffffffffffffffffffffff808916825287166020808301919091526040820187905260ff8516608083015282151560c083015260e0606083018181528751918401919091528651909160a084019161010085019189019080838360005b8381101561026657818101518382015260200161024e565b50505050905090810190601f1680156102935780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156102c65781810151838201526020016102ae565b50505050905090810190601f1680156102f35780820380516001836020036101000a031916815260200191505b509950505050505050505050604051809103906000f08015801561031b573d6000803e3d6000fd5b50604080517f3cebb823000000000000000000000000000000000000000000000000000000008152336004820152905191925073ffffffffffffffffffffffffffffffffffffffff831691633cebb8239160248082019260009290919082900301818387803b15801561038d57600080fd5b505af11580156103a1573d6000803e3d6000fd5b50929a9950505050505050505050565b6123a1806103bf8339019056fe60c0604052600760808190527f4d4d545f302e310000000000000000000000000000000000000000000000000060a0908152620000409160049190620001e6565b503480156200004e57600080fd5b50604051620023a1380380620023a1833981018060405260e08110156200007457600080fd5b8151602083015160408401516060850180519395929491939183019291640100000000811115620000a457600080fd5b82016020810184811115620000b857600080fd5b8151640100000000811182820187101715620000d357600080fd5b50506020820151604090920180519194929391640100000000811115620000f957600080fd5b820160208101848111156200010d57600080fd5b81516401000000008111828201871017156200012857600080fd5b505060209182015160008054600160a060020a03191633179055600b8054600160a060020a038c166101000261010060a860020a0319909116179055865191945092506200017d9160019190870190620001e6565b506002805460ff191660ff85161790558151620001a2906003906020850190620001e6565b5060058054600160a060020a031916600160a060020a039790971696909617909555505050600655600b805460ff191691151591909117905550436007556200028b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022957805160ff191683800117855562000259565b8280016001018555821562000259579182015b82811115620002595782518255916020019190600101906200023c565b50620002679291506200026b565b5090565b6200028891905b8082111562000267576000815560010162000272565b90565b612106806200029b6000396000f3fe60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058204bafd6f8ee43d39c8b08db766f937253f9eb33640809d425fe95c56cbdb3b92d0029a165627a7a72305820b4dae5c9f9c5faf2a56a4d275e27bb8d70403ddb97c7878c8bd3f5d46543299d0029", + "bin": "608060405234801561001057600080fd5b5061278b806100206000396000f3fe608060405234801561001057600080fd5b5060043610610047577c010000000000000000000000000000000000000000000000000000000060003504635b7b72c1811461004c575b600080fd5b6101a8600480360360c081101561006257600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561009f57600080fd5b8201836020820111156100b157600080fd5b803590602001918460018302840111640100000000831117156100d357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561013157600080fd5b82018360208201111561014357600080fd5b8035906020019184600183028401116401000000008311171561016557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050505035151590506101d1565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b600080308888888888886040516101e7906103b1565b73ffffffffffffffffffffffffffffffffffffffff808916825287166020808301919091526040820187905260ff8516608083015282151560c083015260e0606083018181528751918401919091528651909160a084019161010085019189019080838360005b8381101561026657818101518382015260200161024e565b50505050905090810190601f1680156102935780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b838110156102c65781810151838201526020016102ae565b50505050905090810190601f1680156102f35780820380516001836020036101000a031916815260200191505b509950505050505050505050604051809103906000f08015801561031b573d6000803e3d6000fd5b50604080517f3cebb823000000000000000000000000000000000000000000000000000000008152336004820152905191925073ffffffffffffffffffffffffffffffffffffffff831691633cebb8239160248082019260009290919082900301818387803b15801561038d57600080fd5b505af11580156103a1573d6000803e3d6000fd5b50929a9950505050505050505050565b6123a1806103bf8339019056fe60c0604052600760808190527f4d4d545f302e310000000000000000000000000000000000000000000000000060a0908152620000409160049190620001e6565b503480156200004e57600080fd5b50604051620023a1380380620023a1833981018060405260e08110156200007457600080fd5b8151602083015160408401516060850180519395929491939183019291640100000000811115620000a457600080fd5b82016020810184811115620000b857600080fd5b8151640100000000811182820187101715620000d357600080fd5b50506020820151604090920180519194929391640100000000811115620000f957600080fd5b820160208101848111156200010d57600080fd5b81516401000000008111828201871017156200012857600080fd5b505060209182015160008054600160a060020a03191633179055600b8054600160a060020a038c166101000261010060a860020a0319909116179055865191945092506200017d9160019190870190620001e6565b506002805460ff191660ff85161790558151620001a2906003906020850190620001e6565b5060058054600160a060020a031916600160a060020a039790971696909617909555505050600655600b805460ff191691151591909117905550436007556200028b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200022957805160ff191683800117855562000259565b8280016001018555821562000259579182015b82811115620002595782518255916020019190600101906200023c565b50620002679291506200026b565b5090565b6200028891905b8082111562000267576000815560010162000272565b90565b612106806200029b6000396000f3fe60806040526004361061016a5760003560e060020a90048063827f32c0116100d5578063cae9ca511161008e578063df8de3e711610068578063df8de3e714610889578063e77772fe146108bc578063f41e60c5146108d1578063f77c4791146108fd5761016a565b8063cae9ca511461074d578063d3ce77fe14610815578063dd62ed3e1461084e5761016a565b8063827f32c01461067257806395d89b41146106ab578063981b24d0146106c0578063a9059cbb146106ea578063bef97c8714610723578063c5bcc4f1146107385761016a565b80633cebb823116101275780633cebb823146104415780634ee2cd7e1461047457806354fd4d50146104ad5780636638c087146104c257806370a082311461062a57806380a540011461065d5761016a565b806306fdde03146102c0578063095ea7b31461034a578063176345141461039757806318160ddd146103be57806323b872dd146103d3578063313ce56714610416575b60005461017f90600160a060020a0316610912565b15156101d5576040805160e560020a62461bcd02815260206004820152601160248201527f4465706f73697420756e616c6c6f776564000000000000000000000000000000604482015290519081900360640190fd5b600054604080517ff48c30540000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163f48c3054913491602480830192602092919082900301818588803b15801561023b57600080fd5b505af115801561024f573d6000803e3d6000fd5b50505050506040513d602081101561026657600080fd5b505115156102be576040805160e560020a62461bcd02815260206004820152600e60248201527f4465706f7369742064656e696564000000000000000000000000000000000000604482015290519081900360640190fd5b005b3480156102cc57600080fd5b506102d561093c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561030f5781810151838201526020016102f7565b50505050905090810190601f16801561033c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035657600080fd5b506103836004803603604081101561036d57600080fd5b50600160a060020a0381351690602001356109c9565b604080519115158252519081900360200190f35b3480156103a357600080fd5b506103ac6109df565b60408051918252519081900360200190f35b3480156103ca57600080fd5b506103ac6109e5565b3480156103df57600080fd5b50610383600480360360608110156103f657600080fd5b50600160a060020a038135811691602081013590911690604001356109f6565b34801561042257600080fd5b5061042b610ad8565b6040805160ff9092168252519081900360200190f35b34801561044d57600080fd5b506102be6004803603602081101561046457600080fd5b5035600160a060020a0316610ae1565b34801561048057600080fd5b506103ac6004803603604081101561049757600080fd5b50600160a060020a038135169060200135610b60565b3480156104b957600080fd5b506102d5610cab565b3480156104ce57600080fd5b5061060e600480360360a08110156104e557600080fd5b81019060208101813564010000000081111561050057600080fd5b82018360208201111561051257600080fd5b8035906020019184600183028401116401000000008311171561053457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929560ff85351695909490935060408101925060200135905064010000000081111561059257600080fd5b8201836020820111156105a457600080fd5b803590602001918460018302840111640100000000831117156105c657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955050823593505050602001351515610d06565b60408051600160a060020a039092168252519081900360200190f35b34801561063657600080fd5b506103ac6004803603602081101561064d57600080fd5b5035600160a060020a0316610f6a565b34801561066957600080fd5b5061060e610f76565b34801561067e57600080fd5b506103836004803603604081101561069557600080fd5b50600160a060020a038135169060200135610f85565b3480156106b757600080fd5b506102d5611119565b3480156106cc57600080fd5b506103ac600480360360208110156106e357600080fd5b5035611174565b3480156106f657600080fd5b506103836004803603604081101561070d57600080fd5b50600160a060020a038135169060200135611266565b34801561072f57600080fd5b506103836112d0565b34801561074457600080fd5b506103ac6112d9565b34801561075957600080fd5b506103836004803603606081101561077057600080fd5b600160a060020a03823516916020810135918101906060810160408201356401000000008111156107a057600080fd5b8201836020820111156107b257600080fd5b803590602001918460018302840111640100000000831117156107d457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112df945050505050565b34801561082157600080fd5b506103836004803603604081101561083857600080fd5b50600160a060020a038135169060200135611446565b34801561085a57600080fd5b506103ac6004803603604081101561087157600080fd5b50600160a060020a03813581169160200135166115d6565b34801561089557600080fd5b506102be600480360360208110156108ac57600080fd5b5035600160a060020a0316611601565b3480156108c857600080fd5b5061060e61181e565b3480156108dd57600080fd5b506102be600480360360208110156108f457600080fd5b50351515611832565b34801561090957600080fd5b5061060e611895565b600080600160a060020a038316151561092f576000915050610937565b50506000813b115b919050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b820191906000526020600020905b8154815290600101906020018083116109a457829003601f168201915b505050505081565b60006109d63384846118a4565b90505b92915050565b60075481565b60006109f043611174565b90505b90565b60008054600160a060020a03163314610ac357600b5460ff161515610a65576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0384166000908152600960209081526040808320338452909152902054821115610a9857506000610ad1565b600160a060020a03841660009081526009602090815260408083203384529091529020805483900390555b610ace848484611b06565b90505b9392505050565b60025460ff1681565b600054600160a060020a03163314610b31576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382166000908152600860205260408120541580610bbc5750600160a060020a038316600090815260086020526040812080548492908110610ba557fe5b6000918252602090912001546001608060020a0316115b15610c8257600554600160a060020a031615610c7a57600554600654600160a060020a0390911690634ee2cd7e908590610bf7908690611e1a565b6040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a031681526020018281526020019250505060206040518083038186803b158015610c4757600080fd5b505afa158015610c5b573d6000803e3d6000fd5b505050506040513d6020811015610c7157600080fd5b505190506109d9565b5060006109d9565b600160a060020a0383166000908152600860205260409020610ca49083611e30565b90506109d9565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600082801515610d135750435b6000600b60019054906101000a9004600160a060020a0316600160a060020a0316635b7b72c130848b8b8b8a6040518763ffffffff1660e060020a0281526004018087600160a060020a0316600160a060020a03168152602001868152602001806020018560ff1660ff1681526020018060200184151515158152602001838103835287818151815260200191508051906020019080838360005b83811015610dc6578181015183820152602001610dae565b50505050905090810190601f168015610df35780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015610e26578181015183820152602001610e0e565b50505050905090810190601f168015610e535780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015610e7857600080fd5b505af1158015610e8c573d6000803e3d6000fd5b505050506040513d6020811015610ea257600080fd5b5051604080517f3cebb8230000000000000000000000000000000000000000000000000000000081523360048201529051919250600160a060020a03831691633cebb8239160248082019260009290919082900301818387803b158015610f0857600080fd5b505af1158015610f1c573d6000803e3d6000fd5b5050604080518581529051600160a060020a03851693507f086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade92509081900360200190a2979650505050505050565b60006109d98243610b60565b600554600160a060020a031681565b60008054600160a060020a03163314610fd6576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b6000610fe143611174565b905082810181111561103d576040805160e560020a62461bcd02815260206004820152600e60248201527f546f74616c206f766572666c6f77000000000000000000000000000000000000604482015290519081900360640190fd5b60006110498543610b60565b90508381018111156110a5576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b6110b2600a858401611f80565b600160a060020a03851660009081526008602052604090206110d690828601611f80565b6040518490600160a060020a038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4506001949350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156109c15780601f10610996576101008083540402835291602001916109c1565b600a5460009015806111a9575081600a600081548110151561119257fe5b6000918252602090912001546001608060020a0316115b1561125457600554600160a060020a03161561124c57600554600654600160a060020a039091169063981b24d0906111e2908590611e1a565b6040518263ffffffff1660e060020a0281526004018082815260200191505060206040518083038186803b15801561121957600080fd5b505afa15801561122d573d6000803e3d6000fd5b505050506040513d602081101561124357600080fd5b50519050610937565b506000610937565b61125f600a83611e30565b9050610937565b600b5460009060ff1615156112c5576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b6109d6338484611b06565b600b5460ff1681565b60065481565b60006112ec3385856118a4565b1515611342576040805160e560020a62461bcd02815260206004820152600e60248201527f417070726f7665206661696c6564000000000000000000000000000000000000604482015290519081900360640190fd5b6040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156113d55781810151838201526020016113bd565b50505050905090810190601f1680156114025780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561142457600080fd5b505af1158015611438573d6000803e3d6000fd5b506001979650505050505050565b60008054600160a060020a03163314611497576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b60006114a243611174565b9050828110156114fc576040805160e560020a62461bcd02815260206004820152601060248201527f4e6f20656e6f75676820737570706c7900000000000000000000000000000000604482015290519081900360640190fd5b60006115088543610b60565b905083811015611562576040805160e560020a62461bcd02815260206004820152601160248201527f4e6f20656e6f7567682062616c616e6365000000000000000000000000000000604482015290519081900360640190fd5b61156f600a858403611f80565b600160a060020a038516600090815260086020526040902061159390858303611f80565b6040518490600090600160a060020a038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4506001949350505050565b600160a060020a03918216600090815260096020908152604080832093909416825291909152205490565b600054600160a060020a03163314611651576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600160a060020a03811615156116a25760008054604051600160a060020a0390911691303180156108fc02929091818181858888f1935050505015801561169c573d6000803e3d6000fd5b5061181b565b604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290518291600091600160a060020a038416916370a08231916024808301926020929190829003018186803b15801561170657600080fd5b505afa15801561171a573d6000803e3d6000fd5b505050506040513d602081101561173057600080fd5b505160008054604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810185905290519394509085169263a9059cbb92604480840193602093929083900390910190829087803b1580156117a657600080fd5b505af11580156117ba573d6000803e3d6000fd5b505050506040513d60208110156117d057600080fd5b5050600054604080518381529051600160a060020a03928316928616917ff931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c919081900360200190a350505b50565b600b546101009004600160a060020a031681565b600054600160a060020a03163314611882576040805160e560020a62461bcd02815260206004820152600c60248201526000805160206120bb833981519152604482015290519081900360640190fd5b600b805460ff1916911515919091179055565b600054600160a060020a031681565b600b5460009060ff161515611903576040805160e560020a62461bcd02815260206004820152601260248201527f5472616e73666572732064697361626c65640000000000000000000000000000604482015290519081900360640190fd5b8115806119335750600160a060020a03808516600090815260096020908152604080832093871683529290522054155b1515611989576040805160e560020a62461bcd02815260206004820152601560248201527f526573657420616c6c6f77616e63652066697273740000000000000000000000604482015290519081900360640190fd5b60005461199e90600160a060020a0316610912565b15611a9f5760008054604080517fda682aeb000000000000000000000000000000000000000000000000000000008152600160a060020a0388811660048301528781166024830152604482018790529151919092169263da682aeb92606480820193602093909283900390910190829087803b158015611a1d57600080fd5b505af1158015611a31573d6000803e3d6000fd5b505050506040513d6020811015611a4757600080fd5b50511515611a9f576040805160e560020a62461bcd02815260206004820152601460248201527f556e617574686f72697a656420617070726f7665000000000000000000000000604482015290519081900360640190fd5b600160a060020a03808516600081815260096020908152604080832094881680845294825291829020869055815186815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35060019392505050565b6000811515611b1757506001610ad1565b6006544311611b70576040805160e560020a62461bcd02815260206004820152601460248201527f496e76616c696420626c6f636b2e6e756d626572000000000000000000000000604482015290519081900360640190fd5b600160a060020a03831615801590611b915750600160a060020a0383163014155b1515611be7576040805160e560020a62461bcd02815260206004820152600b60248201527f496e76616c6964205f746f000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000611bf38543610b60565b905082811015611c07576000915050610ad1565b600054611c1c90600160a060020a0316610912565b15611d1d5760008054604080517f4a393149000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015288811660248301526044820188905291519190921692634a39314992606480820193602093909283900390910190829087803b158015611c9b57600080fd5b505af1158015611caf573d6000803e3d6000fd5b505050506040513d6020811015611cc557600080fd5b50511515611d1d576040805160e560020a62461bcd02815260206004820152601560248201527f556e617574686f72697a6564207472616e736665720000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611d4190848303611f80565b6000611d4d8543610b60565b9050838101811115611da9576040805160e560020a62461bcd02815260206004820152601060248201527f42616c616e6365206f766572666c6f7700000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0385166000908152600860205260409020611dcd90828601611f80565b8385600160a060020a031687600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450600195945050505050565b6000818310611e2957816109d6565b5090919050565b81546000901515611e43575060006109d9565b825483906000198101908110611e5557fe5b6000918252602090912001546001608060020a03168210611eb257825483906000198101908110611e8257fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031690506109d9565b826000815481101515611ec157fe5b6000918252602090912001546001608060020a0316821015611ee5575060006109d9565b8254600090600019015b81811115611f40578454600283830160010104908590879083908110611f1157fe5b6000918252602090912001546001608060020a031611611f3357809250611f3a565b6001810391505b50611eef565b8482815481101515611f4e57fe5b60009182526020909120015470010000000000000000000000000000000090046001608060020a031695945050505050565b81541580611fb457508154439083906000198101908110611f9d57fe5b6000918252602090912001546001608060020a0316105b156120285781546000908390611fcd8260018301612073565b81548110611fd757fe5b600091825260209091200180546001608060020a03848116700100000000000000000000000000000000024382166fffffffffffffffffffffffffffffffff1990931692909217161790555061206f565b81546000908390600019810190811061203d57fe5b600091825260209091200180546001608060020a03808516700100000000000000000000000000000000029116179055505b5050565b8154818355818111156120975760008381526020902061209791810190830161209c565b505050565b6109f391905b808211156120b657600081556001016120a2565b509056fe556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058204bafd6f8ee43d39c8b08db766f937253f9eb33640809d425fe95c56cbdb3b92d0029a165627a7a72305820b4dae5c9f9c5faf2a56a4d275e27bb8d70403ddb97c7878c8bd3f5d46543299d0029", "abi": [ { "constant": false, @@ -131965,337 +79806,10 @@ "type": "function" } ], - "srcmap": "23160:1270:30:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23160:1270:30;;;;;;;", - "srcmap-runtime": "23160:1270:30:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23160:1270:30;;;;;;;;;;;;;;;;;;;23846:582;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;23846:582:30;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;23846:582:30;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;23846:582:30;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;23846:582:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;23846:582:30;;;;;;;;;;;-1:-1:-1;23846:582:30;;;;-1:-1:-1;23846:582:30;;;;-1:-1:-1;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;23846:582:30;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;23846:582:30;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;23846:582:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;23846:582:30;;-1:-1:-1;;;;23846:582:30;;;;-1:-1:-1;23846:582:30;:::i;:::-;;;;;;;;;;;;;;;;;;;;24084:11;24107:20;24167:4;24186:12;24212:14;24240:10;24264:13;24291:12;24317:17;24130:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;24130:218:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24130:218:30;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;24130:218:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;24359:37:30;;;;;;24385:10;24359:37;;;;;;24107:241;;-1:-1:-1;24359:25:30;;;;;;:37;;;;;-1:-1:-1;;24359:37:30;;;;;;;;-1:-1:-1;24359:25:30;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;24359:37:30;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;24413:8:30;;23846:582;-1:-1:-1;;;;;;;;;;23846:582:30:o;23160:1270::-;;;;;;;;:::o" + "srcmap": "23145:1270:20:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23145:1270:20;;;;;;;", + "srcmap-runtime": "23145:1270:20:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23145:1270:20;;;;;;;;;;;;;;;;;;;23831:582;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;23831:582:20;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;23831:582:20;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;23831:582:20;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;23831:582:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;23831:582:20;;;;;;;;;;;-1:-1:-1;23831:582:20;;;;-1:-1:-1;23831:582:20;;;;-1:-1:-1;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;23831:582:20;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;23831:582:20;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;23831:582:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;23831:582:20;;-1:-1:-1;;;;23831:582:20;;;;-1:-1:-1;23831:582:20;:::i;:::-;;;;;;;;;;;;;;;;;;;;24069:11;24092:20;24152:4;24171:12;24197:14;24225:10;24249:13;24276:12;24302:17;24115:218;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;24115:218:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24115:218:20;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;24115:218:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;24344:37:20;;;;;;24370:10;24344:37;;;;;;24092:241;;-1:-1:-1;24344:25:20;;;;;;:37;;;;;-1:-1:-1;;24344:37:20;;;;;;;;-1:-1:-1;24344:25:20;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;24344:37:20;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;24398:8:20;;23831:582;-1:-1:-1;;;;;;;;;;23831:582:20:o;23145:1270::-;;;;;;;;:::o" }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\NonfungibleToken.sol:NonfungibleToken": { - "bin-runtime": "608060405234801561001057600080fd5b50600436106100d1576000357c0100000000000000000000000000000000000000000000000000000000900480636352211e1161008e5780636352211e1461022257806370a082311461023f578063a22cb46514610265578063b88d4fde14610293578063e985e9c514610323578063ea66aeb314610351576100d1565b806301ffc9a7146100d6578063081812fc14610111578063095ea7b31461014a57806323b872dd146101785780632f745c59146101ae57806342842e0e146101ec575b600080fd5b6100fd600480360360208110156100ec57600080fd5b5035600160e060020a0319166103c7565b604080519115158252519081900360200190f35b61012e6004803603602081101561012757600080fd5b50356103e6565b60408051600160a060020a039092168252519081900360200190f35b6101766004803603604081101561016057600080fd5b50600160a060020a038135169060200135610463565b005b6101766004803603606081101561018e57600080fd5b50600160a060020a038135811691602081013590911690604001356105a9565b6101da600480360360408110156101c457600080fd5b50600160a060020a038135169060200135610678565b60408051918252519081900360200190f35b6101766004803603606081101561020257600080fd5b50600160a060020a0381358116916020810135909116906040013561071e565b61012e6004803603602081101561023857600080fd5b5035610971565b6101da6004803603602081101561025557600080fd5b5035600160a060020a0316610982565b6101766004803603604081101561027b57600080fd5b50600160a060020a0381351690602001351515610a00565b610176600480360360808110156102a957600080fd5b600160a060020a038235811692602081013590911691604082013591908101906080810160608201356401000000008111156102e457600080fd5b8201836020820111156102f657600080fd5b8035906020019184600183028401116401000000008311171561031857600080fd5b509092509050610abd565b6100fd6004803603604081101561033957600080fd5b50600160a060020a0381358116916020013516610d3a565b6103776004803603602081101561036757600080fd5b5035600160a060020a0316610d68565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156103b357818101518382015260200161039b565b505050509050019250505060405180910390f35b600160e060020a03191660009081526020819052604090205460ff1690565b60006103f182610dd4565b1515610447576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600090815260026020526040902054600160a060020a031690565b600061046e82610df1565b9050600160a060020a0383811690821614156104c2576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b33600160a060020a03821614806104fc5750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b1515610540576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b803360006105b683610df1565b905080600160a060020a031682600160a060020a031614806105f15750600083815260026020526040902054600160a060020a038381169116145b806106215750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b1515610665576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b610670868686610e60565b505050505050565b600160a060020a03821660009081526003602052604081205482106106e7576040805160e560020a62461bcd02815260206004820152601360248201527f496e646578206f7574206f6620626f756e647300000000000000000000000000604482015290519081900360640190fd5b600160a060020a038316600090815260036020526040902080548390811061070b57fe5b9060005260206000200154905092915050565b8033600061072b83610df1565b905080600160a060020a031682600160a060020a031614806107665750600083815260026020526040902054600160a060020a038381169116145b806107965750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b15156107da576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b85858560206040519081016040528060008152506107f98a8a8a610e60565b61080b83600160a060020a0316610fe6565b156109655760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561088d578181015183820152602001610875565b50505050905090810190601f1680156108ba5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156108dc57600080fd5b505af11580156108f0573d6000803e3d6000fd5b505050506040513d602081101561090657600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214610963576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b505b50505050505050505050565b600061097c82610df1565b92915050565b6000600160a060020a03821615156109e4576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600160a060020a031660009081526003602052604090205490565b600160a060020a038216331415610a4f576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b336000818152600560209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b82336000610aca83610df1565b905080600160a060020a031682600160a060020a03161480610b055750600083815260026020526040902054600160a060020a038381169116145b80610b355750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b1515610b79576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b87878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610bc092508e91508d90508c610e60565b610bd283600160a060020a0316610fe6565b15610d2c5760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b83811015610c54578181015183820152602001610c3c565b50505050905090810190601f168015610c815780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015610ca357600080fd5b505af1158015610cb7573d6000803e3d6000fd5b505050506040513d6020811015610ccd57600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214610d2a576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b505b505050505050505050505050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600160a060020a038116600090815260036020908152604091829020805483518184028101840190945280845260609392830182828015610dc857602002820191906000526020600020905b815481526020019060010190808311610db4575b50505050509050919050565b600090815260016020526040902054600160a060020a0316151590565b600081815260016020526040812054600160a060020a031680151561097c576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b82600160a060020a0316610e7382610df1565b600160a060020a031614610ebf576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b600160a060020a0382161515610f1f576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000818152600260209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19908116909155600183528184208054600160a060020a03888116919093161790558616835260039091529020610f7e9082610fee565b600160a060020a0382166000908152600360205260409020610fa0908261107d565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000903b1190565b60008181526004602052604090205480151561100a5750611079565b600082815260046020526040812081905583548490600019810190811061102d57fe5b9060005260206000200154905080846001840381548110151561104c57fe5b60009182526020909120015583546110688560001983016110a5565b506000908152600460205260409020555b5050565b8154600181018084556000938452602080852090920183905591835260049052604090912055565b8154818355818111156110c9576000838152602090206110c99181019083016110ce565b505050565b6110ec91905b808211156110e857600081556001016110d4565b5090565b9056fe426164206f7065726174696f6e00000000000000000000000000000000000000556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058202cd28ac3c51c2db7e5c694d35e4ea2fdc3a4aa5c7274a25f9af055227f5343080029", - "bin": "608060405234801561001057600080fd5b506100437f01ffc9a70000000000000000000000000000000000000000000000000000000064010000000061007a810204565b6100757f80ac58cd0000000000000000000000000000000000000000000000000000000064010000000061007a810204565b610148565b7fffffffff00000000000000000000000000000000000000000000000000000000808216141561010b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f42616420696e7465726661636549640000000000000000000000000000000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b61115b806101576000396000f3fe608060405234801561001057600080fd5b50600436106100d1576000357c0100000000000000000000000000000000000000000000000000000000900480636352211e1161008e5780636352211e1461022257806370a082311461023f578063a22cb46514610265578063b88d4fde14610293578063e985e9c514610323578063ea66aeb314610351576100d1565b806301ffc9a7146100d6578063081812fc14610111578063095ea7b31461014a57806323b872dd146101785780632f745c59146101ae57806342842e0e146101ec575b600080fd5b6100fd600480360360208110156100ec57600080fd5b5035600160e060020a0319166103c7565b604080519115158252519081900360200190f35b61012e6004803603602081101561012757600080fd5b50356103e6565b60408051600160a060020a039092168252519081900360200190f35b6101766004803603604081101561016057600080fd5b50600160a060020a038135169060200135610463565b005b6101766004803603606081101561018e57600080fd5b50600160a060020a038135811691602081013590911690604001356105a9565b6101da600480360360408110156101c457600080fd5b50600160a060020a038135169060200135610678565b60408051918252519081900360200190f35b6101766004803603606081101561020257600080fd5b50600160a060020a0381358116916020810135909116906040013561071e565b61012e6004803603602081101561023857600080fd5b5035610971565b6101da6004803603602081101561025557600080fd5b5035600160a060020a0316610982565b6101766004803603604081101561027b57600080fd5b50600160a060020a0381351690602001351515610a00565b610176600480360360808110156102a957600080fd5b600160a060020a038235811692602081013590911691604082013591908101906080810160608201356401000000008111156102e457600080fd5b8201836020820111156102f657600080fd5b8035906020019184600183028401116401000000008311171561031857600080fd5b509092509050610abd565b6100fd6004803603604081101561033957600080fd5b50600160a060020a0381358116916020013516610d3a565b6103776004803603602081101561036757600080fd5b5035600160a060020a0316610d68565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156103b357818101518382015260200161039b565b505050509050019250505060405180910390f35b600160e060020a03191660009081526020819052604090205460ff1690565b60006103f182610dd4565b1515610447576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600090815260026020526040902054600160a060020a031690565b600061046e82610df1565b9050600160a060020a0383811690821614156104c2576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b33600160a060020a03821614806104fc5750600160a060020a038116600090815260056020908152604080832033845290915290205460ff165b1515610540576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b803360006105b683610df1565b905080600160a060020a031682600160a060020a031614806105f15750600083815260026020526040902054600160a060020a038381169116145b806106215750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b1515610665576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b610670868686610e60565b505050505050565b600160a060020a03821660009081526003602052604081205482106106e7576040805160e560020a62461bcd02815260206004820152601360248201527f496e646578206f7574206f6620626f756e647300000000000000000000000000604482015290519081900360640190fd5b600160a060020a038316600090815260036020526040902080548390811061070b57fe5b9060005260206000200154905092915050565b8033600061072b83610df1565b905080600160a060020a031682600160a060020a031614806107665750600083815260026020526040902054600160a060020a038381169116145b806107965750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b15156107da576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b85858560206040519081016040528060008152506107f98a8a8a610e60565b61080b83600160a060020a0316610fe6565b156109655760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b8381101561088d578181015183820152602001610875565b50505050905090810190601f1680156108ba5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156108dc57600080fd5b505af11580156108f0573d6000803e3d6000fd5b505050506040513d602081101561090657600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214610963576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b505b50505050505050505050565b600061097c82610df1565b92915050565b6000600160a060020a03821615156109e4576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600160a060020a031660009081526003602052604090205490565b600160a060020a038216331415610a4f576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b336000818152600560209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b82336000610aca83610df1565b905080600160a060020a031682600160a060020a03161480610b055750600083815260026020526040902054600160a060020a038381169116145b80610b355750600160a060020a0380821660009081526005602090815260408083209386168352929052205460ff165b1515610b79576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b87878787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610bc092508e91508d90508c610e60565b610bd283600160a060020a0316610fe6565b15610d2c5760405160e160020a630a85bd010281523360048201818152600160a060020a038781166024850152604484018690526080606485019081528551608486015285516000959289169463150b7a029490938b938a938a939260a4019060208501908083838e5b83811015610c54578181015183820152602001610c3c565b50505050905090810190601f168015610c815780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015610ca357600080fd5b505af1158015610cb7573d6000803e3d6000fd5b505050506040513d6020811015610ccd57600080fd5b50519050600160e060020a0319811660e160020a630a85bd010214610d2a576040805160e560020a62461bcd02815260206004820152600d60248201526000805160206110f0833981519152604482015290519081900360640190fd5b505b505050505050505050505050565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600160a060020a038116600090815260036020908152604091829020805483518184028101840190945280845260609392830182828015610dc857602002820191906000526020600020905b815481526020019060010190808311610db4575b50505050509050919050565b600090815260016020526040902054600160a060020a0316151590565b600081815260016020526040812054600160a060020a031680151561097c576040805160e560020a62461bcd02815260206004820152600960248201527f42616420746f6b656e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b82600160a060020a0316610e7382610df1565b600160a060020a031614610ebf576040805160e560020a62461bcd02815260206004820152600c6024820152600080516020611110833981519152604482015290519081900360640190fd5b600160a060020a0382161515610f1f576040805160e560020a62461bcd02815260206004820152600b60248201527f4261642061646472657373000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000818152600260209081526040808320805473ffffffffffffffffffffffffffffffffffffffff19908116909155600183528184208054600160a060020a03888116919093161790558616835260039091529020610f7e9082610fee565b600160a060020a0382166000908152600360205260409020610fa0908261107d565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000903b1190565b60008181526004602052604090205480151561100a5750611079565b600082815260046020526040812081905583548490600019810190811061102d57fe5b9060005260206000200154905080846001840381548110151561104c57fe5b60009182526020909120015583546110688560001983016110a5565b506000908152600460205260409020555b5050565b8154600181018084556000938452602080852090920183905591835260049052604090912055565b8154818355818111156110c9576000838152602090206110c99181019083016110ce565b505050565b6110ec91905b808211156110e857600081556001016110d4565b5090565b9056fe426164206f7065726174696f6e00000000000000000000000000000000000000556e617574686f72697a65640000000000000000000000000000000000000000a165627a7a723058202cd28ac3c51c2db7e5c694d35e4ea2fdc3a4aa5c7274a25f9af055227f5343080029", - "abi": [ - { - "constant": true, - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "to", - "type": "address" - }, - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "from", - "type": "address" - }, - { - "name": "to", - "type": "address" - }, - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "index", - "type": "uint256" - } - ], - "name": "tokenOfOwnerByIndex", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "from", - "type": "address" - }, - { - "name": "to", - "type": "address" - }, - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "to", - "type": "address" - }, - { - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "from", - "type": "address" - }, - { - "name": "to", - "type": "address" - }, - { - "name": "tokenId", - "type": "uint256" - }, - { - "name": "_data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "owner", - "type": "address" - } - ], - "name": "tokensOwnedBy", - "outputs": [ - { - "name": "tokenList", - "type": "uint256[]" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": true, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "approved", - "type": "address" - }, - { - "indexed": true, - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - } - ], - "srcmap": "808:11937:31:-;;;3062:155;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1156:40:2;1175:20;1156:18;;;;:40;:::i;:::-;3171:39:31;3190:19;3171:18;;;;:39;:::i;:::-;808:11937;;1519:180:2;1595:25;;;;;;1587:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1651:33;;:20;:33;;;;;;;;;;:40;;-1:-1:-1;;1651:40:2;1687:4;1651:40;;;1519:180::o;808:11937:31:-;;;;;;;", - "srcmap-runtime": "808:11937:31:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;808:11937:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1300:135:2;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1300:135:2;-1:-1:-1;;;;;;1300:135:2;;:::i;:::-;;;;;;;;;;;;;;;;;;4960:165:31;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4960:165:31;;:::i;:::-;;;;-1:-1:-1;;;;;4960:165:31;;;;;;;;;;;;;;4341:330;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4341:330:31;;;;;;;;:::i;:::-;;6550:143;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6550:143:31;;;;;;;;;;;;;;;;;:::i;8986:217::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;8986:217:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;7332:209;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7332:209:31;;;;;;;;;;;;;;;;;:::i;3813:107::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3813:107:31;;:::i;3420:169::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3420:169:31;-1:-1:-1;;;;;3420:169:31;;:::i;5417:232::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5417:232:31;;;;;;;;;;:::i;8246:230::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;8246:230:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;8246:230:31;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;8246:230:31;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;8246:230:31;;-1:-1:-1;8246:230:31;-1:-1:-1;8246:230:31;:::i;5970:147::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5970:147:31;;;;;;;;;;:::i;8482:132::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8482:132:31;-1:-1:-1;;;;;8482:132:31;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;8482:132:31;;;;;;;;;;;;;;;;;1300:135:2;-1:-1:-1;;;;;;1394:33:2;1370:4;1394:33;;;;;;;;;;;;;;1300:135::o;4960:165:31:-;5021:7;5048:15;5055:7;5048:6;:15::i;:::-;5040:37;;;;;;;-1:-1:-1;;;;;5040:37:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5094:24:31;;;;:15;:24;;;;;;-1:-1:-1;;;;;5094:24:31;;4960:165::o;4341:330::-;4406:13;4422:17;4431:7;4422:8;:17::i;:::-;4406:33;-1:-1:-1;;;;;;4457:11:31;;;;;;;;4449:37;;;;;-1:-1:-1;;;;;4449:37:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4449:37:31;;;;;;;;;;;;;;;4504:10;-1:-1:-1;;;;;4504:19:31;;;;:60;;-1:-1:-1;;;;;;4527:25:31;;;;;;:18;:25;;;;;;;;4553:10;4527:37;;;;;;;;;;4504:60;4496:85;;;;;;;-1:-1:-1;;;;;4496:85:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;4496:85:31;;;;;;;;;;;;;;;4592:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;4592:29:31;-1:-1:-1;;;;;4592:29:31;;;;;;;;;4636:28;;4592:24;;4636:28;;;;;;;4341:330;;;:::o;6550:143::-;6640:7;2391:10;2373:15;2427:17;6640:7;2427:8;:17::i;:::-;2411:33;;2631:5;-1:-1:-1;;;;;2620:16:31;:7;-1:-1:-1;;;;;2620:16:31;;:55;;;-1:-1:-1;2640:24:31;;;;:15;:24;;;;;;-1:-1:-1;;;;;2640:35:31;;;:24;;:35;2620:55;:93;;;-1:-1:-1;;;;;;2679:25:31;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2620:93;2612:118;;;;;;;-1:-1:-1;;;;;2612:118:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2612:118:31;;;;;;;;;;;;;;;6659:27;6668:4;6674:2;6678:7;6659:8;:27::i;:::-;6550:143;;;;;;:::o;8986:217::-;-1:-1:-1;;;;;9103:19:31;;9068:7;9103:19;;;:12;:19;;;;;:26;9095:34;;9087:66;;;;;-1:-1:-1;;;;;9087:66:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9170:19:31;;;;;;:12;:19;;;;;:26;;9190:5;;9170:26;;;;;;;;;;;;;;9163:33;;8986:217;;;;:::o;7332:209::-;7444:7;2391:10;2373:15;2427:17;7444:7;2427:8;:17::i;:::-;2411:33;;2631:5;-1:-1:-1;;;;;2620:16:31;:7;-1:-1:-1;;;;;2620:16:31;;:55;;;-1:-1:-1;2640:24:31;;;;:15;:24;;;;;;-1:-1:-1;;;;;2640:35:31;;;:24;;:35;2620:55;:93;;;-1:-1:-1;;;;;;2679:25:31;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2620:93;2612:118;;;;;;;-1:-1:-1;;;;;2612:118:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2612:118:31;;;;;;;;;;;;;;;7466:4;7472:2;7476:7;2754:301;;;;;;;;;;;;;7507:27;7516:4;7522:2;7526:7;7507:8;:27::i;:::-;2856:15;:2;-1:-1:-1;;;;;2856:13:31;;:15::i;:::-;2852:197;;;2903:69;;-1:-1:-1;;;;;2903:69:31;;2939:10;2903:69;;;;;;-1:-1:-1;;;;;2903:69:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;2887:13;;2903:35;;;;;;2939:10;;2951:4;;2957:7;;2966:5;;2903:69;;;;;;;;;;;2887:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2903:69:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2903:69:31;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2903:69:31;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2903:69:31;;-1:-1:-1;;;;;;;2994:26:31;;-1:-1:-1;;;;;2994:26:31;2986:52;;;;;-1:-1:-1;;;;;2986:52:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2986:52:31;;;;;;;;;;;;;;;2852:197;;2740:1;;;;7332:209;;;;;;:::o;3813:107::-;3870:7;3896:17;3905:7;3896:8;:17::i;:::-;3889:24;3813:107;-1:-1:-1;;3813:107:31:o;3420:169::-;3477:7;-1:-1:-1;;;;;3504:19:31;;;;3496:43;;;;;-1:-1:-1;;;;;3496:43:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3556:19:31;;;;;:12;:19;;;;;:26;;3420:169::o;5417:232::-;-1:-1:-1;;;;;5498:16:31;;5504:10;5498:16;;5490:42;;;;;-1:-1:-1;;;;;5490:42:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;5490:42:31;;;;;;;;;;;;;;;5561:10;5542:30;;;;:18;:30;;;;;;;;-1:-1:-1;;;;;5542:34:31;;;;;;;;;;;;:45;;-1:-1:-1;;5542:45:31;;;;;;;;;;5602:40;;;;;;;5542:34;;5561:10;5602:40;;;;;;;;;;;5417:232;;:::o;8246:230::-;8379:7;2391:10;2373:15;2427:17;8379:7;2427:8;:17::i;:::-;2411:33;;2631:5;-1:-1:-1;;;;;2620:16:31;:7;-1:-1:-1;;;;;2620:16:31;;:55;;;-1:-1:-1;2640:24:31;;;;:15;:24;;;;;;-1:-1:-1;;;;;2640:35:31;;;:24;;:35;2620:55;:93;;;-1:-1:-1;;;;;;2679:25:31;;;;;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;2620:93;2612:118;;;;;;;-1:-1:-1;;;;;2612:118:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2612:118:31;;;;;;;;;;;;;;;8401:4;8407:2;8411:7;8420:5;;2754:301;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;8442:27:31;;-1:-1:-1;8451:4:31;;-1:-1:-1;8457:2:31;;-1:-1:-1;8461:7:31;8442:8;:27::i;:::-;2856:15;:2;-1:-1:-1;;;;;2856:13:31;;:15::i;:::-;2852:197;;;2903:69;;-1:-1:-1;;;;;2903:69:31;;2939:10;2903:69;;;;;;-1:-1:-1;;;;;2903:69:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;2887:13;;2903:35;;;;;;2939:10;;2951:4;;2957:7;;2966:5;;2903:69;;;;;;;;;;;2887:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2903:69:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2903:69:31;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2903:69:31;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2903:69:31;;-1:-1:-1;;;;;;;2994:26:31;;-1:-1:-1;;;;;2994:26:31;2986:52;;;;;-1:-1:-1;;;;;2986:52:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2986:52:31;;;;;;;;;;;;;;;2852:197;;2740:1;;;;8246:230;;;;;;;;:::o;5970:147::-;-1:-1:-1;;;;;6075:25:31;;;6052:4;6075:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;5970:147::o;8482:132::-;-1:-1:-1;;;;;8588:19:31;;;;;;:12;:19;;;;;;;;;8581:26;;;;;;;;;;;;;;;;;8543;;8581;;;8588:19;8581:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8482:132;;;:::o;9392:151::-;9448:4;9480:20;;;:11;:20;;;;;;-1:-1:-1;;;;;9480:20:31;9517:19;;;9392:151::o;12545:193::-;12603:7;12638:20;;;:11;:20;;;;;;-1:-1:-1;;;;;12638:20:31;12676:19;;;12668:41;;;;;-1:-1:-1;;;;;12668:41:31;;;;;;;;;;;;;;;;;;;;;;;;;;;11317:418;11426:4;-1:-1:-1;;;;;11405:25:31;:17;11414:7;11405:8;:17::i;:::-;-1:-1:-1;;;;;11405:25:31;;11397:50;;;;;-1:-1:-1;;;;;11397:50:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11397:50:31;;;;;;;;;;;;;;;-1:-1:-1;;;;;11465:16:31;;;;11457:40;;;;;-1:-1:-1;;;;;11457:40:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;11515:24;;;;:15;:24;;;;;;;;11508:31;;-1:-1:-1;;11508:31:31;;;;;;;11554:20;;;;;:25;;-1:-1:-1;;;;;11554:25:31;;;;;;;;;;11607:18;;;;:12;:18;;;;;11589:46;;11531:7;11589:17;:46::i;:::-;-1:-1:-1;;;;;11660:16:31;;;;;;:12;:16;;;;;11645:41;;11678:7;11645:14;:41::i;:::-;11720:7;11716:2;-1:-1:-1;;;;;11701:27:31;11710:4;-1:-1:-1;;;;;11701:27:31;;;;;;;;;;;11317:418;;;:::o;484:635:0:-;544:4;1064:20;;1103:8;;484:635::o;11904:418:31:-;11997:8;12008:25;;;:15;:25;;;;;;12046:8;;12043:44;;;12070:7;;;12043:44;12103:25;;;;:15;:25;;;;;12096:32;;;12171:16;;12161:9;;-1:-1:-1;;12171:18:31;;;12161:29;;;;;;;;;;;;;;12138:52;;12230:12;12211:9;12225:1;12221:3;:5;12211:16;;;;;;;;;;;;;;;;;;;:31;12252:18;;;:9;-1:-1:-1;;12252:18:31;;;:::i;:::-;-1:-1:-1;12280:29:31;;;;:15;:29;;;;;:35;11904:418;;;:::o;11745:149::-;27:10:-1;;39:1;23:18;;45:23;;;-1:-1;11863:24:31;;;;;;;;;;;;;11835:25;;;:15;:25;;;;;;:52;11745:149::o;808:11937::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o" - }, - "C:\\Users\\schim\\Documents\\GitHub\\sticker-market\\.embark\\contracts\\token\\TokenController.sol:TokenController": { + "/Users/petty/GitHub/status/sticker-market/.embark/contracts/token/TokenController.sol:TokenController": { "bin-runtime": "", "bin": "", "abi": [